/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
body {
  background: #cfc8c0;
  /* background:  #f7f6f4; */
}
#header, #contact {
  background: #000000;
}
body {
  color: #1c180d;
  font-family: "Khula", sans-serif;
  /* -webkit-font-smoothing: antialiased; */
  /* -moz-osx-font-smoothing: grayscale; */
  margin-bottom: 0;
  min-height: 100%;
}
::-webkit-scrollbar {
  height: 3px;
  width: 3px;
  margin-right: 3px;
  margin-left: auto;
  color: #1c180d;
}
/* Track */
::-webkit-scrollbar-track {
  box-shadow: inset 0 0 0px grey; 
  border-radius: 3px;
}
/* Handle */
::-webkit-scrollbar-thumb {
  background: #87784d; 
  /* border-radius: 10px; */
}
/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: #fcd877; 
}
a {
	text-decoration: none;
	color: #f0e4cd;
	outline: none;
}
.hidden {
	position: absolute;
	opacity: 0;
	pointer-events: none;
}
a:hover {
	color: #516977;
}
.no-hover {
  cursor: default !important;
}  
.hover {
  cursor: pointer !important;
  /* z-index: 999; */
}
.bg-div {
  height: 0;
  background-size: cover;  /* Ensure the background covers the div without stretching */
  background-position: center;  /* Center the background image */
  background-repeat: no-repeat;  /* Do not repeat the background image */
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease-in-out;
}
.testimonial-active {
  height: 100vh;
  opacity: 1;
  visibility: visible;
}
#sarah {
  background-image: url('/static/testimonials/sarah2k.webp');
}
@media (min-aspect-ratio: 1/1) {
  .bg-div {
    background-position: top;
  }
  #anna, #zeta, #chris {
    background-position: center;
  }
}
@media (max-aspect-ratio: 1/1) {
  /* Styles for screens where height is greater than or equal to width */
  .bg-div {
      max-height: 100vw;  /* Set height equal to the width */
  }
}
.form-check-label:hover, .form-check-input:hover, .blend-subingredient {
  cursor: pointer !important;
}
.form-check-label {
	padding-left: 15px;
  margin-left: -15px;
}
td.nutrition-info:hover {
  text-decoration: underline;
}
.blend-subingredient, .unique-ingredient {
  /* padding-left: 2px;
  padding-right: 2px; */
  padding-left: 7px;
  padding-right: 6px;
  margin-left: -4px;
  margin-right: -4px;
}
.nutrition-info, .not-nutrition-info, .subingredient {
  font-weight: 700;
  text-align: left;
}
.nutrition-info {
  cursor: pointer;
  min-width: 200px;
  max-width: 200px;
}
.not-nutrition-info {
  min-width: 120px;
  max-width: 120px;
}
.subingredient {
  padding-left: 30px;
  font-weight: 600;
}
td {
  text-align: center;
}

td, .ingredient, .quantity{
  font-weight: 600;
}
/*--------------------------------------------------------------
# Buttons
--------------------------------------------------------------*/
button {
  border: none !important;
  font-weight: 600;
  font-size: 1rem;
  letter-spacing: 0.5px;
  display: inline-block;
  padding: 10px 28px;
  color: #fff;
  width: auto;
  border-radius: 6px;
  cursor: pointer;
  outline: none;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}
.buy-btn {
  margin-left: max(10px, 5%);
}
.btn-primary, .back-to-top {
  background-color: none !important;
  background-image: linear-gradient(135deg, #87784d, #fcd877);
}
.btn-primary:hover, .back-to-top:hover{
  background-image: linear-gradient(135deg, #9a8b5e, #ffe585);
}
.btn-primary:active, .back-to-top:active{
  background-image: linear-gradient(135deg, #6d6a3c, #e2c75a);
}
.btn-secondary {
  background-image: linear-gradient(135deg, #a6a6a6, #c0c0c0);
}
.btn-secondary:hover {
  background-image: linear-gradient(135deg, #b6b6b6, #d2d2d2);
}
.btn-secondary:active {
  background-image: linear-gradient(135deg, #8a8a8a, #a9a9a9);
}
button:hover, .pill:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}
/* button:hover, .pill:hover {
  transform: translateY(1px);
} */
button:active:focus, .btn-primary:active:focus, .btn-secondary:active:focus, .btn-tertiary:active:focus, .btn-secondary:active:focus {
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2); /* Less shadow on click */
}
.form-control[type="search"] {
  border: none;
  box-shadow: none;
}
button:active, .pill:active {
  transform: scale(0.98);
}
button:focus, .btn-primary:focus, .btn-secondary:focus, .btn-tertiary:focus, .btn-secondary:focus {
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.6); /* Additional shadow to highlight */
}
.main-container:hover {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}
.main-container:active, .main-container:focus, #mc_embed_signup .mc-field-group input:focus {
  border-color: #fcd877 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2); /* Less shadow on click */
}
.main-container:focus {
  box-shadow: 0 0 3px rgba(0, 0, 0, 0.6); /* Additional shadow to highlight */
}
.dark-mode .main-container:hover {
  box-shadow: 0 2px 6px rgba(255, 255, 255, 0.3);
}
 .dark-mode .main-container:active, .dark-mode .main-container:focus {
  border-color: #fcd877 !important;
  box-shadow: 0 1px 3px rgba(255, 255, 255, 0.2); /* Less shadow on click */
}
.dark-mode .main-container:focus {
  box-shadow: 0 0 3px rgba(255, 255, 255, 0.6); /* Additional shadow to highlight */
}
/*--------------------------------------------------------------
# Header
--------------------------------------------------------------*/
#header {
  transition: all 0.3s linear;
  z-index: 99999999999999999999999;
  height: 70px;
}
ion-icon {
  font-size: 24px;
  pointer-events: none;
}
.icon-hover {
  cursor: pointer;
  border-radius: 4px;
  height: fit-content;
  width: fit-content;
}
.fa {
  border-radius: 4px;
}
.icon-wrapper-18 {
  height: 18px !important;
  width: 18px !important;
}
.icon-wrapper-24, .icon-wrapper-24.remove-ranking, .icon-wrapper-24.remove-filter {
  height: 24px !important;
  width: 24px !important;
}
.icon-wrapper-32 {
  height: 32px !important;
  width: 32px !important;
}
.icon-wrapper-18 ion-icon {
  font-size: 18px !important;
}
.icon-wrapper-24 ion-icon, .icon-wrapper-24.remove-ranking ion-icon, .icon-wrapper-24.remove-filter ion-icon {
  font-size: 24px !important;
}
.icon-wrapper-32 ion-icon {
  font-size: 32px !important;
}
.icon-hover:hover, .stack.action:hover .fa {
  background: #ccc;
  color: #000;
}
.dark-mode .icon-hover:hover, .dark-mode .stack.action:hover .fa, .dark-mode .flex-row .box, .dark-mode .services .col-lg-6, .dark-mode .link, .dark-mode #discover-popup section .link {
  background: #363635;
  color: #ccc;
}
.dark-mode .icon-hover {
  color: #ccc;
}
.stack ion-icon[name="trash-outline"], ion-icon[name="close-circle"] {
  color: #E57373;
}
ion-icon[name="apps-outline"] {
  margin-left: -12px;
}
/* .subscribe {
  display: inline-block;
  align-items: center;
  height: 40px;
  background: #000;
  color: #fff;
  padding-right: 30px;
  padding-left: 30px;
  margin-right: min(10px, 5vw);
  margin-left: auto;
  margin-top: 0px;
  margin-bottom: 0px;
  min-width: fit-content;
  border-radius: 20px;
}
.subscribe ion-icon {
  display: inline-block;
  color: #fff;
  padding: 0px;
  height: 30px;
  width: 30px;
  /* visibility: visible; */
  /* height: auto; */
  /* width: auto; */
  /* z-index: 9999999999999; */
/* } */
.subscribe span {
  height: 40px;
} */

.hover-grab {
  cursor: grab !important;
}
.drag-container-fixed-wrapper {
  border-radius: 4px;
  position: relative !important;
  z-index: -5 !important;
  /* position: relative;
  z-index: 1; */
}
.ranking-container {
  z-index: -5 !important;
  position: relative;
}
.pill-description {
  margin-left: 10px;
  font-weight: 600;
}
.drag-container-fixed-wrapper:hover .trash {
  color: #E57373;
}
.sort-container {
  font-size: 100%;
  margin-left: 10px;
  margin-bottom: auto;
  margin-top: auto;
  padding-top: 3px;
}
.categories-container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.categories-container div {
  flex: 1 0 50%; /* grow, shrink, basis */
  margin: 2px;
  height: 40px;
  border: 2px solid #000;
  background: #000;
  color: #fff;
  text-align: center;
  line-height: 40px;
  min-width: 148px;
  max-width: 148px;
  font-size: .75rem !important;
  font-weight: 600;
  transition: 0.3s;
}
.dark-mode .categories-container div {
  border: 2px solid #9a9a9a;
  background: #9a9a9a;
}
.categories-container div:hover {
  background-color: #fff;
  color: #000;
  border: 2px solid #000;
  cursor: pointer;
}
@media (max-width: 400px) {
  .categories-container div {
    flex: 1 0 100%;
  }
}
.chevron-down {
  font-size: .65em !important;
  margin-top: auto;
  margin-bottom: auto;
  margin-left: -24px;
  color: #000;
}
.stack-text-container {
  /* cursor: pointer !important; */
  height: 24px;
}
.liked ion-icon, .not-liked:hover ion-icon {
  color: #d19c9d;
}
.liked:hover ion-icon, .not-liked ion-icon {
  color: inherit;
}
/* .right-arrow, .left-arrow {
  display: ;
} */
.bottom-footer {
  min-height: -webkit-calc(100vh - 180px);
	min-height: -moz-calc(100vh - 180px);
	min-height: calc(100vh - 180px);
}
.logo-text, .logo-icon {
  cursor: pointer;
}

.logo-text {
  font-size: 30px;
  margin: 0;
  padding: 0;
  padding-top: 5px;
  line-height: 1;
  font-weight: 700;
  letter-spacing: 2px;
  color: #fff;
}
.logo-icon {
  margin-top: -5px;
  height: 70px;
  width: 70px;
}

.scrolled-offset {
margin-top: 70px;
}
.text-hover:hover {
  cursor: pointer;
  text-decoration: underline;
}
#menu-contents {
  margin-top: 25px;
  margin-left: auto;
  margin-right: auto;
}
#menu-contents span {
  font-size: 1rem;
}
#menu-contents .chevron-down {
  margin-left: 4px;
}
.menu-row {
  min-width: 300px;
  max-width: 300px;
  font-weight: 700;
}
.menu-sub-row {
  min-width: 280px;
  max-width: 280px;
  font-weight: 600;
}
.menu-sub-sub-row {
  min-width: 270px;
  max-width: 270px;
  font-weight: 400;
}
.menu-sub-sub-sub-row {
  min-width: 260px;
  max-width: 260px;
  font-weight: 300;
}
.menu-icon {
  margin-left: -24px;
  width: 24px;
  /* pointer-events: auto; */
  z-index: 99999999999999999999999999;
}
.menu-icon:hover {
  cursor: pointer;
}
.menu-dropdown {
  margin-left: 20px;
}
.click-event-text:hover {
  cursor: pointer;
  text-decoration: underline;
  /* min-width: 300px; */
}
/*--------------------------------------------------------------
# Navigation Menu
--------------------------------------------------------------*/
.navbar {
  padding: 0;
}
.navbar ul {
  margin: 0;
  padding: 0;
  display: flex;
  list-style: none;
  align-items: center;
}
.navbar li {
  position: relative;
  /* Tweak on 5/14 for chevron down */
  display: flex;
  margin-right: -10px;
}
#updateDisplay {
  margin-right: 5px;
}
.navbar li a, .navbar li .hover, .dropdown a, .dropdown a:focus, .drop:hover a{
  display: flex; 
  align-items: center;
  justify-content: space-between;
  font-size: 16px;
  color: #fff !important;
  white-space: nowrap;
  padding: 25px 10px 24px 15px;
}
.navbar li i, .navbar a:focus i {
  font-size: 12px;
  line-height: 0;
  margin-left: 5px;
}
.navbar-logo-container {
  width: 250px;
  height: 70px;
}
.navbar li:hover, .navbar a:hover ion-icon, .navbar .active, .navbar .active:focus, .navbar li:hover > a , #leftSide h4:hover, #contact .copyright a:hover, .social-links ion-icon:hover, .navbar-logo-container:hover .logo-text, .logo-text:hover, .dark-mode .navbar-search-dropdown a:hover, .dark-mode .products-category-container .category-title a:hover {
  color: #fef8eb !important;
}
.dropdown-content, .navbar-dropdown-content {
  /* display: none; */

  transition: visibility 0s, opacity 0.4s;
  /* transition: background-color 0.3s linear, color 0.3s linear, opacity 0.3s linear; */
  position: absolute;
  background: #000;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 99999999;
}
.dropdown-content {
  display: none;
}
.navbar-dropdown-content {
  display: flex !important;
  opacity: 0;
  visibility: hidden !important;
}
#discover-dropdown:hover #discover-dropdown-content, #compare-dropdown:hover #compare-dropdown-content, #profile-dropdown:hover #profile-dropdown-content {
  display: inline !important;
}
.navbar-dropdown {
  height: 70px;
}
.navbar-dropdown li {
  padding-top: 12px;
  padding-bottom: 12px;
  margin-right: -27px;
}
.navbar-dropdown .chevron-down {
  /* margin-left: 0px; */
  margin-left: -12px;
  font-size: .8rem !important;
}
.navbar-dropdown li a {
  /* padding-right: 6px; */
  /* padding-left: 6px; */
  padding-right: 24px !important;
}
/* #updateDisplay {
  margin-left: -20px;
} */
#updateDisplay {
  margin-left: -16px !important;
  padding-left: 0px;
}
/* #supplements-dropdown-wrapper {
  margin-right: 25px;
} */
/* #supplements-dropdown-wrapper:hover #supplements-dropdown-content, #supplements-dropdown-content:hover, #search-dropdown-wrapper:hover  { */
#search-dropdown-wrapper {
  padding-right: 20px;
  margin-right: -5px;
}

#supplements-dropdown-wrapper:hover .dropdown-full-width, .dropdown-full-width:hover, .show-search-dropdown #search-dropdown-wrapper .dropdown-full-width {
  visibility: visible !important;
  opacity: 1;
}
#supplements-dropdown-wrapper:hover #supplements-dropdown a {
/* .navbar-dropdown:hover a, .dropdown-full-width a:hover { */
  text-decoration: underline !important;
}
@media (max-width: 992px) {
  #supplements-dropdown-wrapper:hover .dropdown-full-width {
    visibility: hidden !important;
    opacity: 0;
  }
  #supplements-dropdown-wrapper {
    margin-right: 0px;
  }
  #supplements-dropdown-wrapper ion-icon {
    display: none !important;
  }
}
@media (max-width: 768px) {
  .navbar-search-dropdown a {
    font-size: 12px;
  }
}
#supplements-dropdown:hover {
  cursor: pointer !important;
}
#supplements-dropdown-chevron {
  padding-top: 16px;
  pointer-events: none;
  color: #fef8eb;
}
.dropdown-full-width {
  position: fixed;
  top: 70px;
  left: 0px;
  width: 100%;
}
.show-search-dropdown #supplements-dropdown-wrapper .dropdown-full-width {
  top: 166px;
}
.navbar-dropdown .dropdown-full-width a {
  padding: 6px;
  color: #fff;
}
.navbar-search-dropdown div{
  max-width: 550px;
}
#search-dropdown-wrapper .navbar-search-dropdown a {
  color: #1c180d !important;
}
.dark-mode #search-dropdown-wrapper .navbar-search-dropdown a, .dark-mode td a:hover, .dark-mode .product-title a:hover {
  color: #ccc !important;
}
.products-category-container .category-title a, td a, .product-title a {
  color: #1c180d
}
.navbar-search-dropdown a:hover, .products-category-container .category-title a:hover, td a:hover, .product-title a:hover {
  color: #000 !important;
}
.dark-mode .navbar-search-dropdown a, .dark-mode td a, .dark-mode .product-title a {
  color: #fff !important;
}
.navbar-dropdown a:hover, .dropdown-full-width a:hover, .flex-row .box a:hover, .redirect a:hover, .products-category-container .category-title a:hover {
  cursor: pointer;
  text-decoration: underline;
}
.dropdown-full-width-contents {
  margin-left: auto;
  margin-right: auto;
  min-width: 800px;
  max-width: 1400px;
}
.dropdown-full-width .flex-column {
  margin-bottom: 20px;
}
.dropdown-category {
  margin-left: 0px;
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 5px;
} 
.dropdown-subcategory {
  margin-left: 10px;
  font-weight: 400;
  font-size: 1rem;
}
#discover-dropdown, #compare-dropdown, #profile-dropdown {
  padding-right: 0px;
}
#compare-dropown {
  margin-left: 0px;
}
.navbar-dropdown ul {
  display: block;
  position: absolute;
  left: 0;
  top: calc(100% + 30px);
  margin: 0;
  padding: 10px 0;
  z-index: 99;
  opacity: 0;
  visibility: hidden;
  box-shadow: 0px 0px 30px rgba(127, 137, 161, 0.25);
  transition: 0.3s;
}
.navbar-dropdown ul li {
  min-width: 200px;
}
.navbar-dropdown a {
  padding: 12px;
}
.navbar-dropdown ul a {
  color: #fff;
}
.navbar-dropdown ul a i {
  font-size: 12px;
}
#resources-dropdown {
  display: none;
}
@media (max-width: 992px) {
.desktop {
  display: none;
}
#resources-dropdown {
  display: block;
}
.navbar-dropdown .dropdown ul {
  left: -90%;
}
.navbar-dropdown .dropdown:hover > ul {
  left: -100%;
}
}
@media (max-width: 992px) {
.show-contact {
  display: none;
}
}
@media (max-width: 700px) {
#leftSide {
  visibility: hidden;
}
#rightSide {
  width: 100% !important;
  margin-left: 0px !important;
}
}
@media (max-width: 500px) {
#updateDisplay {
  min-width: 24px !important;
  width: 24px !important;
  margin-right: 20px;
  /* margin-left: 0px !important; */
}
.dropdown a {
  padding-left: 7px !important;
  padding-right: 7px !important;
}
}
.sign-up {
background: #f0e4cd ;
/* border: 2px solid rgba(25, 25, 25); */
}
.sign-up:hover {
border: 2px solid #87784d;
}
/* TODO when navbar-molie, the x disappears when the page is widened to the point that the navbar is no longer mobile */
@media (max-width: 550px) {
  .logo-text  {
    /* display: none; */
    font-size: 0;
  }
}
/*--------------------------------------------------------------
# Contact
--------------------------------------------------------------*/
#contact {
  /* background: #191919; */
  /* height: 110px; */
  padding: 0 0 15px 0;
  color: #fff;
  font-size: 14px;
  bottom: 0 !important;
  margin-bottom: 0 !important;
}
#contact .copyright {
  text-align: center;
  padding-top: 15px;
}
#contact .copyright a{
  padding: 0 0 0 0;
  color: #fff;
  font-size: 14px;
}
#contact .copyright .social-links a {
  padding: 0px;
  width: 18px;
  height: 18px;
  padding-top: 6px;
}
.social-links ion-icon {
  color: rgba(255, 255, 255, 0.6);
  font-size: 18px;
  display: inline-block;
  /* line-height: 1px; */
  transition: 0.3s;
}
.footer {
  position: static;
  width: 100%;
  margin: 0;
  bottom: 0;
  padding: 10px;
}
.footer-content-wrapper {
  padding-top: 15px;
  padding-bottom: 15px;
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
}
.footer a, .footer span, .footer-socials ion-icon {
  font-weight: 600;
  color: #1c180d;
  margin: 0 10px;
  font-size: .95rem;
}
.footer a:hover {
  color: #000;
  text-decoration: underline;
}
.dark-mode .footer a:hover, .dark-mode .footer a:hover ion-icon {
  color: #fff;
}
.footer-socials ion-icon {
  padding-top: 2px;
  position: relative;
  z-index: -1;
}
@media (max-width: 998px) {
  .footer a, .footer span, .footer-socials ion-icon {
    font-size: .8rem;
    margin: 0 5px;
  }
  .footer-socials ion-icon {
    padding-top: 3px;
  }
}
@media (max-width: 768px) {
.footer a {
  text-decoration: underline;
}
}
.footer-socials span, .footer-socials a, .footer-socials ion-icon {
  margin: 0;
}
.footer-socials a {
  padding-left: 3px;
  padding-right: 3px;
  margin-left: 2px;
  margin-right: 2px;
  padding-top: 5px;
}

/* @media screen and (max-width: 768px) {
  .footer a, .footer span {
    margin: 0;
  }
} */

input[type=range]::-webkit-slider-thumb {
  background: #87784d;
}
input[type=range]::-moz-range-thumb {
  background: #87784d;
}
input[type=range]::-ms-thumb {
  background: #87784d;
}

input[type=range]:focus::-webkit-slider-thumb {
  background: #fcd877; 
  -webkit-appearance: none;
  appearance: none;
  box-shadow: none;
  /* box-shadow: 0px 0px 10px #f0e4cd; */
}
input[type=range]:focus::-moz-range-thumb {
  background: #fcd877;
  box-shadow: none;
  /* box-shadow: 0px 0px 10px #f0e4cd; */
}
input[type=range]:focus::-ms-thumb {
  background: #fcd877;
  box-shadow: none;
  /* box-shadow: 0px 0px 10px #f0e4cd; */
}
.btn-secondary:focus, .btn-secondary:active {
  border-color: #4f4e4c;  
} 
/*--------------------------------------------------------------
# Back to top button
--------------------------------------------------------------*/
.back-to-top {
  position: fixed;
  visibility: hidden;
  opacity: 0;
  right: 15px;
  bottom: 15px;
  z-index: 996;
  width: 40px;
  height: 40px;
  transition: all 0.4s;
  cursor: pointer;
}
.back-to-top ion-icon {
  font-size: 24px !important;
  color: #fef8eb;
}
.back-to-top.active {
  visibility: visible;
  opacity: 1;
}
#ingredients-back-to-top {
    /* position: fixed; */
    position: inherit;
    margin-left: auto;
    bottom: 138px;
}
.hide.active {
  visibility: hidden;
}
/*--------------------------------------------------------------
# Skills
--------------------------------------------------------------*/
.content-card {
  position: relative;
  background: #f0e4cd;
  padding: 15px;
  padding-top: 45px;
  border-radius: 14px;
  box-shadow: none;
  /* cursor: pointer; */
  z-index: 1;
}

.content-card::before {
  content: "";
  position: absolute;
  inset: 1px;
  background: var(--bg-gradient-jet);
  border-radius: inherit;
  z-index: -1;
}
 .skills-title { margin-bottom: 20px; }

 .skills-list { padding: 20px; }
 
 
 .skills-item:not(:last-child) { margin-bottom: 15px; }
 
 .skill .title-wrapper {
   display: flex;
   align-items: center;
   gap: 5px;
   margin-bottom: 8px;
 }
 
 /* .skill .title-wrapper data {
   color: var(--light-gray);
   font-size: var(--fs-7);
   font-weight: var(--fw-300);
 } */
 
 .skill-progress-bg {
   /* background: var(--jet); */
   width: 100%;
   height: 8px;
   border-radius: 10px;
 }
 
 .skill-progress-fill {
   /* background: var(--text-gradient-me-theme); */
   height: 100%;
   border-radius: inherit;
 } 
/*--------------------------------------------------------------
# GPT Table with bars
--------------------------------------------------------------*/
#nutritionProfileHeader {
  justify-content: space-between;
  width: 100%;
}
/* .left {
  text-align: center;
  margin-left: max(10px, 5vw);
} */
.right {
  /* display: flex; */
  /* justify-content: space-between; */
  /* flex-grow: 0; Prevent it from growing */
  /* margin-right: max(10px, 5vw); */
  right: max(10px, 5vw);
} 
.right > *:not(:last-child) {
  margin-right: 10px; /* Adjust the space as needed */
}
.pill {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  color: #fff;
}
.dark-mode .pill {
  color: #fff;
}
.pills-container {
  margin-top: 4px;
  margin-bottom: 2px;
}
.pills-container .pill {
  background: #1c180d;
  margin-left: 4px;
  margin-right: 4px;
  text-align: center;
}
#detailed-view-flavors {
  margin-top: 25px;
  margin-bottom: 15px;
  width: 95%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  grid-column: 1 / 3;
}
.pill.view-product-btn, .pill.buy-btn {
  font-size: 1rem;
  padding: 10px 20px;
}
.pill.view-product-btn, .pill.buy-btn {
  border-radius: 6px;
}
#detailed-view-flavors .pill, .ranking-container .pill, .pill.view-product-btn, .pill.buy-btn {
  flex: 0 1 auto;
  min-width: fit-content;
  margin-bottom: 4px;
}
.dark-mode #detailed-view-flavors .pill, .dark-mode .ranking-container .pill, .dark-mode .pill.view-product-btn, .dark-mode .pill.buy-btn {
  background: #1c180d;
  color: #ccc;
}
/* #detailed-view-flavors .pill:hover, .ranking-container .pill:hover {
  transform: translateY(0px);
} */
#detailed-view-flavors .pill:hover, #detailed-view-flavors .pill.active, .ranking-container .pill:hover, .ranking-container .pill.active, .pill.view-product-btn:hover, .pill.view-product-btn.active, .pill.buy-btn:hover, .pill.buy-btn.active, #mc-embedded-subscribe, #hero-carousel-header-btn {  
  background: #1c180d;
  color: #fff;
}
#mc-embedded-subscribe:hover, #hero-carousel-header-btn:hover {
  background: #000;
} 
.dark-mode #detailed-view-flavors .pill:hover, .dark-mode #detailed-view-flavors .pill.active, .dark-mode .pill.view-product-btn, .dark-mode .pill.buy-btn, .dark-mode #mc-embedded-subscribe:hover, .dark-mode #hero-carousel-header-btn:hover {
  background: #ccc;
  color: #000;
}
#detailed-view-flavors .pill, .ranking-container .pill, .pill.view-product-btn, .pill.buy-btn, .dark-mode .pill.view-product-btn:hover, .dark-mode .pill.buy-btn:hover, .dark-mode #mc-embedded-subscribe, .dark-mode #hero-carousel-header-btn {
  background: #fff;
  color: #1c180d;
}
.pill.pill-selected, .pill.pill-unselected:hover {
  background: #fff;
  color: #000;
}
.pill.pill-unselected {
  background: #000;
  color: #fff;
}
.pill.pill-selected:hover {
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  transform: none;
}
.pill-margin-right {
  margin-right: 10px;
}
@media screen and (max-width: 768px) {
  button .btn-primary {
    font-size: .8rem;
    padding: 8px 23px;
  }
  .pill {
    font-size: 10px;
  }
  .pill-margin-right {
    margin-right: 2px;
  }
  .pill-description {
    font-size: .8rem;
  }
  
}
.grid-container {
  display: grid;
  grid-template-columns: 1fr auto; /* One column for content, one for the bar */
  gap: 10px; /* Space between rows */
  margin-top: min(15px, 5%);
  margin-bottom: min(15px, 5%);
} 

#nutritionProfileHeader, .grid-container {
  min-width: 231px;
  max-width: min(90%, 800px);
  margin-left: auto;
  margin-right: auto;
}

.item-container {
  display: flex;
  justify-content: space-between; /* Aligns items to the left and right */
  align-items: center; /* Aligns items vertically */
  padding: 8px;
  border-right: 1px solid #f1f1f1;
}
#compare-example-title {
  margin-top: 30px;
}
#compare-example-title span {
  font-weight: 600;
  font-size: 1.2rem;
}
#compare-example {
  margin-top: 10px;
}
#compare-example-light {
  display: block;
}
#compare-example-dark {
  display: none;
}
.dark-mode #compare-example-light {
  display: none;
}
.dark-mode #compare-example-dark {
  display: block;
}
.bar-container {
  grid-column: 2; /* Place in the second column */
  width: 20vw; 
  height: 16px; /* Height of the bar */
  border-radius: 8px;
  background: #f1f1f1; /* Background of the bar container */
  position: relative;;
  margin-top: auto;
  margin-bottom: auto;
}
.dark-mode .bar-container {
  background: #363c44;
}
.dark-mode .item-container {
  border-right: 1px solid #363c44;
}
span.percent-daily-value-cell {
  font-size: .7rem;
  margin-left: 4px;
}
.percent-daily-value-contents, .percent-daily-value-contents span {
  margin-top: -4px;
  font-size: .6rem;
}
.percent-daily-value-cell div  {
  width: fit-content;
  margin-left: auto;
  margin-right: 10%;
}
.bar {
  padding-top: 0px;
  margin-top: 2px;
  margin-left: auto;
  margin-right: auto;
  height: 12px;
  /* background: #4CAF50; Color of the filled bar */
  background: rgb(220, 220, 220);
  display: block;
  width: 80%;
  border-radius: 6px;
  /* bottom: 0; */
}
/* .dark-mode .bar {
  background: rgb(150, 150, 150);
} */
.bar--red, .bar--orange, .bar--green {
  margin-left: 0px;
  margin-top: -2px;
}
.bar--red {
  background: rgba(221, 54, 54) !important;
}
.bar--orange {
  background: rgba(240, 128, 34) !important;
}
.bar--green {
  background: rgba(51, 199, 113) !important;
}
.quantity {
  line-height: 110%;
  text-align: right;
}
.tooltip {
  opacity: 1;
  width: 80%;
  margin-left: auto;
  margin-right: auto;
  border-radius: 4px;
  text-align: center;
  background: rgb(79, 78, 76);
  color: #fff;
}
#percentiles-title {
  font-style: italic;
  font-weight: 600;
  font-size: .8rem;
}
td a:hover, .product-title a:hover {
  text-decoration: underline;
}
/*--------------------------------------------------------------
# Popup
--------------------------------------------------------------*/
.show {
  visibility: visible !important;
}
.show ion-icon {
  font-size: 2rem;
}
.unloaded-product {
  visibility: hidden;
}
.search-hide, .filter-hide, .delayed-product {
  visibility: hidden !important;
  display: none !important;
}
.popup {
  visibility: hidden;
  position: fixed;
  left: 0;
  top: 70px;
  background-color: rgba(0, 0, 0, 0.4);
  pointer-events: none;
}
.popup-content {
  pointer-events: visible;
  background: #fef8eb;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 0px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
  height: -webkit-calc(100vh - 70px);
  height: -moz-calc(100vh - 70px);
  height: calc(100vh - 70px);
  width: -webkit-calc(100vw);
  width: -moz-calc(100vw);
  width: calc(100vw);
  overflow: auto;
} 
.place-center {
  position: fixed;
  pointer-events: none;
  top: 70px;
  height: -webkit-calc(100vh - 70px);
  height: -moz-calc(100vh - 70px);
  height: calc(100vh - 70px);
  width: -webkit-calc(100vw);
  width: -moz-calc(100vw);
  width: calc(100vw);
  display: grid;
  place-items: center;
}
.place-center .loading-container {
  z-index: 999999;
  width: 100%;
}
.popup-container {
  visibility: hidden;
  position: fixed;
  pointer-events: none;
  top: 70px;
  height: -webkit-calc(100vh - 70px);
  height: -moz-calc(100vh - 70px);
  height: calc(100vh - 70px);
  width: -webkit-calc(100vw);
  width: -moz-calc(100vw);
  width: calc(100vw);
  background-color: rgba(0, 0, 0, 0.4);
  display: grid;
  place-items: center;
}
.popup-contents {
  pointer-events: visible;
  z-index: 999999;
  width: min(90%, 800px);
  max-height: -webkit-calc(85vh - 70px);
  max-height: -moz-calc(85vh - 70px);
  max-height: calc(85vh - 70px);
  padding-top: 10px;
  padding-bottom: 30px;
  border-radius: 10px;
  overflow: auto;
}
#save-display-preferences {
  z-index: 99999999;
}
#account-settings-container .popup-contents, #create-stack-container .popup-contents{
  max-width: 600px;
}
.popup-header {
  flex-grow: 1;
  text-align: center;
  font-size: 2rem;
  font-weight: bolder;
  /* padding-bottom: 10px; */
}
#criteria-container {
  position: relative;
  max-height: 420px;
  z-index: -1;
  /* overflow-y: visible !important; */
  /* overflow-x: hidden !important; */
}
#criteria .popup-header {
  margin-left: -30px;
}
.popup-contents div, .detailed-view-container div {
  margin-left: auto;
  margin-right: auto;
}
.detailed-view-description {
  margin-top: 10px;
  margin-bottom: 30px;
  max-width: 90%;
}
.popup-contents div {
  width: 90%;
}
#criteria .row div {
  width: fit-content;
  margin-left: 0px;
  margin-right: 0px;
}
#criteria .row #search {
  margin-left: 12px;
}
#search {
  margin-left: 12px;
  margin-top: 0px;
  margin-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  overflow: visible;
}
.navbar-search-dropdown, .popup-search-dropdown {
  
  position: fixed;
  margin-top: 5px;
  padding-bottom: 0px;
  padding-left: 5px;
  padding-right: 5px;
  border-radius: 4px;
  overflow-y: auto;
  overflow-x: auto;
  z-index: 10;
}
.popup-search-dropdown {
  width: 450px !important;
  max-height: 250px;
}
.navbar-search-dropdown {
  max-height: 350px;
}
.popup-search-dropdown .search-result {
  min-width: 100%;
}
.popup-search-dropdown .search-result, .popup-search-dropdown .custom-checkbox {
  z-index: 999999999999999999999999999;
  position: relative;
}
.category, .subcategory, .divisor, .operator, .unit, .condition, .direction, .priority {
  margin-left: 0px;
  padding-right: 25px;
}
.main-container {
  position: relative;
}
.condition-container {
  padding-right: 0px;
}
.main-container.condition {
  width: 50px;
  padding-left: 5px;
  padding-right: 5px;
}
.unit-container {
  margin-left: -24px !important;
}
#criteria .popup-contents{
  overflow: visible !important;
}
.follow-item {
  padding-top: 10px;
  padding-bottom: 10px;
}
.follow-item a {
  display: flex;
  align-items: center; /* Align items vertically */
  /* justify-content: center;  */
}
.follow-item a:hover .follow-username {
  text-decoration: underline;
}
.follow-item span {
  display: inline-block;
}
.follow-emoji {
  font-size: 4rem;
}
.follow-username {
  margin-left: 20px;
  /* margin-right: min(20px, 5vw); */
  font-size: 2rem;
  font-weight: bolder;
  min-width: 100px;
}
.tab::after {
  content: '';
  position: absolute;
  right: 0;
  bottom: 0;
  width: 3px;
  height: 100%;
  /* height: 20px; */
  /* background-color: darkgrey; */
  cursor: nwse-resize; /* Diagonal resize cursor */
}
.non-tab {
  /* margin-left: calc(max(33%, 400px) + 3px); */
  /* width: calc(100% - (max(33%, 400px) + 3px)); */
  height: -webkit-calc(100vh);
  height: -moz-calc(100vh);
  height: calc(100vh);
}

@media (max-width: 768px) {
  .tab {
    width: 100%;
  }
}
#filter-tab {
  margin-top: 0px;
  width: max(33%, 400px);
  height: -webkit-calc(100vh - 70px);
  height: -moz-calc(100vh - 70px);
  height: calc(100vh - 70px);
  background-color: inherit;
  /* overflow: auto; */
  position: none;
  z-index: 99999999999;
  /* box-shadow: 0 0 0 2px #000000; */
}
.fixed-tab {
  width: 100%;
  max-width: 600px;
  position: fixed;
}
.scrollable-tab {
  width: calc(100% - 8px);
  height: calc(100% - 200px);
  margin-left: auto;
  margin-right: auto;
  /* padding-right: 5%; */
  /* padding-top: 10px; */
  overflow: auto;
  z-index: 1;
  /* pointer-events: visible; */
}
#user-info {
  margin-top: 70px;
}
#account-settings-container .scrollable-tab {
  /* padding-top: 70px; */
  position: relative;
  /* height: -webkit-calc(85vh - 70px); */
  /* height: -moz-calc(85vh - 70px); */
  /* height: calc(85vh - 70px); */
  height: fit-content
}
#filter-tab {
  pointer-events: visible;
}
#fixed-filter-tab {
  width: min(90%, 400px);
  margin-left: auto;
  margin-right: auto;
  /* pointer-events: visible; */
}
.fixed-popup-header {
  width: 90%;
  margin-left: auto;
  margin-right: auto;
}
/* #ingredients-back-to-top {
  right: auto;
  left: max(calc(33% - 55px), 345px);
  left: max(calc(29%), 340px);
} */
@media (max-width: 768px) {
  #filter-tab {
    width: 100%;
  }
  /* #ingredients-back-to-top {
    left: auto;
    right: 5%;
  } */
}
#filter-tab h6:hover, .search-pattern:hover, .filter-value:hover, #clear-all {
  cursor: pointer;
}
#createStackDescription {
  text-align: center;
  margin-top: max(180px, 18vh);
}
#createStackDescription {
  /* text-align: center; */
  margin-bottom: max(25px, 2.5vh);
}
.form-range {
  width: 150px;
  margin-right: 10px;
}
.filters-section {
  padding: 18px;
  margin-left: 5%;
  margin-right: 5%;
}
.popup-contents div.top-banner {
  position: relative;
  z-index: 999999999999999999999999999999999999999;
}
#detailed-view .popup-contents div.top-banner {
  position: fixed;
  margin-top: -10px;
  margin-left: 2.5%;
  margin-right: 2.5%;
  width: 85%;
  max-width: 720px;
  /* margin-bottom: 10px; */
}

.filters-section, .top-banner {
  border-bottom: 1px solid #000000;
}
.dark-mode .filters-section, .dark-mode .top-banner {
  border-bottom: 1px solid #fff;
}
.filters-section h5 {
  font-weight: 600;
  padding-bottom: 2px;
}
span {
  font-size: 1rem;
}
#clear-all {
  margin-left: 4px;
  padding-top: 18px;
}
#clear-all:hover {
  text-decoration: underline;
}
.selected, .sort {
  text-decoration: underline;
}

select[value="flavor"] {
  width: 75px;
}
select[value="ingredient"] {
  width: 115px;
}
.perm-placeholder {
  z-index: 999999;
  padding-top: 8px;
  margin-right: -18px;
  left: 18px;
  color: #212529;
}
.perm-price {
  height: 40px;
  margin-top: -3px;
  margin-left: 24px;
  color: #212529;
  z-index: 1;
}
.filters-section input {
  padding-left: 24px;
  /* width: 80%; */
  /* font-size: calc(1.275rem + .3vw); */
}
.filter-wrapper {
  margin-top: 15px;
  margin-bottom: 10px;
}
.search-result {
  margin-top: 0px;
}
/* Basic styling for the label */
.custom-checkbox {
  position: relative;
  display: block;
  cursor: pointer;
  /* margin-bottom: -10px; */
  /* TODO */
  margin-bottom: 0px;
}

/* Style the actual checkbox */
.custom-checkbox input[type="checkbox"] {
  /* position: absolute; */
  position: relative;
  opacity: 1;
  cursor: pointer !important;
  z-index: 2; /* Ensures checkbox is above the overlay for functionality */
  content: "" !important;
  background-color: rgba(255, 255, 255, 1) !important;
  box-shadow: none !important;
  border-radius: 0;
}
.form-check-input {
  margin-top: 4px;
}
.inner-text {
  display: inline-block;
  font-size: 1rem;
  font-weight: 600;
  width: 406px;
  white-space: nowrap;
  vertical-align: top;
  cursor: pointer;
}
#flavor-list .inner-text {
  padding-top: 7px;
  width: fit-content;
 /* font-size: 1rem; */
}

/* Style for the overlay square */
.custom-checkbox .overlay {
  margin-top: 8px;
  margin-left: 4px;
  position: absolute;
  top: 0;
  left: 0;
  height: 16px; /* Adjust size as needed */
  width: 16px; /* Adjust size as needed */
  background-color: rgba(26, 62, 92, 0.5); /* Semi-transparent black square */
  z-index: 3; /* Below the checkbox but above other content */
  display: none;
  pointer-events: none; /* Avoids the square blocking user input */
}

/* Show the square when hovering */
.custom-checkbox:hover .overlay, .custom-checkbox input[type="checkbox"]:checked ~ .overlay {
  display: block;
}
.custom-checkbox:hover .inner-text {
  text-decoration: underline;
}
/* When the checkbox is checked, change the background and border color */
.custom-checkbox input[type="checkbox"]:checked ~ .overlay {
  background-color: #1c180d;
}
form {
  width: 90%;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}
#stack-form {
  max-width: 500px;
}
.form-group {
  margin-top: 30px;
}
.tab-chevron {
  position: fixed;
  /* visibility: hidden; */
  left: 15px;
  top: 85px;
  z-index: 996;
  /* background: #72C1EF; */
  width: 24px;
  height: 24px;
  /* transition: all 0.4s; */
  cursor: pointer;
  visibility: hidden;
}
.tab-chevron ion-icon, .filters-section ion-icon {
  font-size: 24px;
}
.buttons-container {
  position: fixed;
  top: 80px;
  left: 10px;
  border-radius: 6px;
  height: 160px;
  /* height: 240px; */
  width: 36px;
  visibility: hidden;
}
.fixed-top-left {
  position: fixed;
  left: 16px;
  z-index: 996;
  cursor: pointer;
}
/* .fixed-top-left ion-icon{
  height: 24px;
  width: 24px;
} */
.pos-1 {
  top: 85px;
}
.pos-2 {
  top: 125px;
}
.pos-3 {
  top: 165px;
}
.pos-4 {
  top: 205px;
}
.pos-5 {
  top: 245px;
}
.pos-6 {
  top: 285px;
}
.pos-7 {
  top: 325px;
}
.open-tab-chevron ion-icon, .filters-section ion-icon {
  font-size: 24px;
}
.help-contents {
  margin-top: 5%;
}
.help-contents div {
  margin-top: 1%;
}
.help-contents .d-flex {
  margin-top: 2%;
}
.help-contents .justify-content-center {
  margin-top: 6%;
}
.help-contents span {
  align-items: center;
  text-align: justify;
  display: flex;
}
.help-contents .d-flex span {
  margin-top: 2%;
}
.help-contents .icon-wrapper-18 {
  display: inline-block !important;
}
.help-contents .icon-wrapper-18 ion-icon {
  padding-left: 10px;
}
.popup-contents form .form-control[type="text"],
.popup-contents form .form-control[type="password"],
.popup-contents form .form-control[type="number"],
.popup-contents form .form-control[type="search"],
.popup-contents form .form-control[type="text"],
.popup-contents form .form-control[type="tel"],
.popup-contents form .form-control[type="url"] {
  background: transparent !important;
  border: none;
  border-bottom: 2px solid #ccc; /* Thin bottom border */
  border-radius: 0; /* Removing default border-radius */
  background-color: transparent;
  transition: border-color 0.3s;
  padding: 10px 10px 0px 10px;
  box-shadow: none;
}
.popup-contents form .form-control[type="text"]:focus,
.popup-contents form .form-control[type="password"]:focus,
.popup-contents form .form-control[type="number"]:focus,
.popup-contents form .form-control[type="search"]:focus,
.popup-contents form .form-control[type="text"],
.popup-contents form .form-control[type="tel"]:focus,
.popup-contents form .form-control[type="url"]:focus {
  border-bottom-color: #1c180d;
  box-shadow: none; /* Removing default 3D shadow in favor of the bottom border */
  /* box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(#72C1EF, 0.6); */
}
.popup-contents form .form-control[type="select"],
.popup-contents form .form-control:not([type])  {
  border: none;
  border-bottom: 2px solid #ccc; /* Thin bottom border like the input fields */
  border-radius: 0; /* Removing default border-radius */
  padding: 10px 10px 0px 10px;
  background-color: transparent;
  -webkit-appearance: none; /* Removes default styling for select dropdown */
  -moz-appearance: none;
  appearance: none;
  transition: border-color 0.3s;
  position: relative;
}
/* Focus effect for select dropdown */
.popup-contents form .form-control:focus {
  border-bottom-color: #87784d; /* Change to your primary color */
  box-shadow: none; /* Removing default 3D shadow in favor of the bottom border */
  outline: none;
}
.popup-contents form .select-container {
position: relative; /* Add this to create a positioning context */
}
.popup-contents form option, .popup-contents form input::placeholder {
  color: #212529;
}
.popup-contents form .select-container:hover, .popup-contents form .select-container select:hover, .popup-contents form .select-container input:hover {
  cursor: pointer !important;
}
/* Styling the native select element */
.popup-contents form .select-container select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  /* padding: 10px; */
  /* border: 1px solid #ccc; */
  border-radius: 4px;
  /* background-color: white; */
  font-size: 1rem;
  line-height: 1.5;
  transition: border-color 0.3s ease;
}

/* Custom arrow */
.popup-contents form .select-container::after {
  content: "";
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid #848884; /* Arrow color */
  pointer-events: none;
}

/* Accessibility: Highlighting the dropdown on focus */
.popup-contents form .select-container select:focus + .focus-indicator {
  position: absolute;
  top: -1px; left: -1px; right: -1px; bottom: -1px;
  border: 2px solid var(--select-focus);
  border-radius: inherit;
}

/* Changing icon color on select focus */
.popup-contents form .form-control[type="select"]:focus + .select-container:after,
.popup-contents form .form-control:not([type]):focus + .select-container:after { /* This targets <select> elements */
  color: #87784d;
}
.form-check-input {
  width: 24px !important;
  height: 24px !important;
  border: 1px solid rgba(0,0,0,.25) !important;
}
.emoji-picker__wrapper, #signout {
  z-index: 99999999999999999;
}
@media screen and (max-width: 1032px) {
  .emoji-picker__wrapper {
    top: 355px !important;
  }
  .emoji-picker__wrapper, .emoji-picker {
    max-width: 100%;
  }
}
button.emoji-picker__category-button {
  color: #666666 !important;
}
.emoji-picker__search {
  background: #fff !important;
  color: #000 !important;
}
.emoji-picker__emoji, .emoji-picker__preview-emoji {
  color: #000 !important;
}
.emoji-picker__emoji {
  background: #fff !important;
}
.emoji-picker__emoji[data-emoji="🖕"],
.emoji-picker__emoji[data-emoji="💦"],
.emoji-picker__emoji[data-emoji="🍆"],
.emoji-picker__emoji[data-emoji="👌"],
.emoji-picker__emoji[data-emoji="👅"] {
  display: none !important;
}
.emoji::placeholder {
  font-size: 1rem;
}
.emoji {
  cursor: pointer;
  font-size: 1.5rem;
}
.profile-emoji {
  background: transparent !important;
  font-size: 5rem;
}
.card {
  position: relative;
	display: inline-block;
	/* vertical-align: top; */
	/* min-width: 16em; */
	/* margin: 0 1em 2.5em; */
	/* padding: 1.5em 1.5em 2em; */
	/* padding-bottom: .5em; */
  width: 100%;
}
.stack, .card, .popup-contents, .top-banner, .flex-row .box, .services .icon-box, #dropdown, .buttons-container, .bg-container, .navbar-search-dropdown, .link {
/* .popup-contents, .top-banner, .flex-row .box, .services .icon-box { */
  /* background: #f0e4cd; */
  background: #dcd3c7;
}
.product, .stack, .card, .popup-contents, .buttons-container, .bg-container {
  box-shadow: 0 0 0 1px #1c180d;
  /* box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1); */
}
.bg-container {
  position: fixed;
  left: 60px;
  top: 145px;
  height: 48px;
  padding-left: 50px;
  padding-right: 50px;
  border-radius: 24px;
}
.bg-container span {
  font-size: 28px;
  margin-top: auto;
  margin-bottom: auto;
}
.tab::after {
  background: #000;
}
.tab .popup-contents {
  box-shadow: none !important;
}
.dark-mode .stack, .dark-mode .card, .dark-mode .buttons-container, .dark-mode .link, .dark-mode #discover-popup section .link  {
	/* box-shadow: 0 0 0 2px #9a9a9a; */
  box-shadow: 0px 2px 15px rgba(154, 154, 154, 0.1);
}
dark-mode .tab::after {
  background: #f0e4cd;
}
.dark-mode .form-control:disabled {
  background: #b0b0b0;
}
.dark-mode .stack, .dark-mode .card, .dark-mode .popup-contents, .dark-mode #filter-tab, .dark-mode .top-banner, .dark-mode .search-pattern, .dark-mode .box, .dark-mode .services .col-lg-4, .dark-mode .services .icon-box, .dark-mode #dropdown, .dark-mode .buttons-container, .dark-mode .navbar-search-dropdown {
  background: #4f4e4c;
}
.form-control:disabled:hover {
  cursor: default !important;
  box-shadow: none !important;
}
.form-control:disabled:focus, .form-control:disabled:active {
  border-color: transparent !important;
}

.card-contents {
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.card-contents span {
  font-weight: 700;
}
.profile-username {
  font-size: 1.5em;
}
#follow-btn {
  width: 130px;
}
.profile-stats {
  /* max-width: 100%; */
}
.profile-stats span{
  padding-left: 5px;
  padding-right: 5px;
  flex-wrap: nowrap;
  /* padding-right: 20px; */
}
@media (max-width: 650px) {
  .card-contents {
    padding-bottom: 20px;
  }
  .stack-text {
    display: none !important;
  }
  .profile-emoji {
    font-size: 3rem;
  }
  .profile-username {
    font-size: 1.2rem;
  }
  .profile-stats span {
    font-size: .8rem;
  }
  /* .btn-primary {
    font-size: .9rem;
  } */
}
svg {
  font-size: 24px !important;
}
.stack-container {
  cursor: pointer;
}
.stack-text-container {
  cursor: pointer !important;
}
.stack-text {
  position: absolute;
	top: 100%;
	opacity: 0;
	pointer-events: none;
}
.icon-top:hover .stack-text, .icon-bottom:hover .stack-text, .icon-top-left:hover .stack-text, .heart:hover .stack-text, .stack-text-container:hover .stack-text, .remove-sort:hover .action__text--invisible, .buttons-container div:hover .action__text--invisible, #open-tab-chevron:hover .action__text--invisible, .discard-changes-container:hover .action__text--invisible {
  opacity: 1;
  color: #ddd;
  font-size: 75%;
  letter-spacing: 0;
  background: #2F3035;
  border-radius: 2px;
  padding: 3px 5px;
  right: 10px;
  top: 37px;
  font-weight: 700;
}
.buttons-container div:hover .action__text--invisible, #open-tab-chevron:hover .action__text--invisible {
  left: 30px;
  right: auto;
  top: auto;
}
.discard-changes-container:hover .action__text--invisible {
  top: 49px;
}
.heart:hover .stack-text, .stack-text-container:hover .stack-text {
  top: 80px;
  /* left: 5px; */
  right: auto;
}
.remove-sort:hover .action__text--invisible {
  font-size: 50%;
  line-height: .9em;
  right: 0px;
}
.icon-bottom, .icon-top, .icon-top-left {
  position: absolute;
  cursor: pointer;
  height: 28px;
  width: 28px;
}
.icon-bottom, .icon-top {
  right: 5px;
}
.icon-top-left {
  top: 10px;
  left: 10px;
}
.icon-top {
  top: 7px;
}
.icon-bottom {
  bottom: 7px;
}
/*--------------------------------------------------------------
# Search
--------------------------------------------------------------*/
.search-container {
  min-width: 100%;
  display: flex;
  margin-bottom: 30px;
} 
#search-box, .navbar-search-dropdown {
  width: 95%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.search-container .row a {
  margin-left: auto;
  margin-right: auto;
}
#navbar-search {
  padding-left: 40px;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' class='bi bi-search' viewBox='0 0 16 16'%3E%3Cpath d='M11.742 10.344a6.5 6.5 0 1 0-1.397 1.398h-.001c.03.04.062.078.098.115l3.85 3.85a1 1 0 0 0 1.415-1.414l-3.85-3.85a1.007 1.007 0 0 0-.115-.1zM12 6.5a5.5 5.5 0 1 1-11 0 5.5 5.5 0 0 1 11 0z'%3E%3C/path%3E%3C/svg%3E") no-repeat 13px center !important;
}
#search-text {
  width: 450px;
  height: 40px;
}
#search-text {
  background: #fff;
}
.dark-mode .form-control {
  background: #ccc;
}

input {
  caret-color: #000;
  color: #000;
}
/*--------------------------------------------------------------
# Preloader
--------------------------------------------------------------*/
#preloader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 9999999999999999999999999999999999999999;
  overflow: hidden;
  background: #cfc8c0;
}
.dark-mode #preloader {
  background: #1e1e1e;
}
#preloader:before {
  content: "";
  position: fixed;
  top: calc(50% - 30px);
  left: calc(50% - 30px);
  border: 6px solid #fcd877 ;
  border-top-color: #f0e4cd;
  border-radius: 50%;
  width: 60px;
  height: 60px;
  -webkit-animation: animate-preloader 1s linear infinite;
  animation: animate-preloader 1s linear infinite;
}
@-webkit-keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

@keyframes animate-preloader {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
/*--------------------------------------------------------------
# Loading
--------------------------------------------------------------*/
.loading-container {
  align-items: center;
  justify-content: center;
  max-height: 20px;
}
.loading-container i {
  margin-right: 10px;
}
.fas.fa-spinner.fa-spin {
  font-size: 24px; /* Adjust size as needed */
  animation: spin 2s linear infinite;
}
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}
/*--------------------------------------------------------------
# Disable aos animation delay on mobile devices
--------------------------------------------------------------*/
@media screen and (max-width: 768px) {
  [data-aos-delay] {
    transition-delay: 0 !important;
  }
}
/*--------------------------------------------------------------
# Details Box
--------------------------------------------------------------*/
.details-box {
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0px 7px 40px rgba(0, 0, 0, 0.7);
  font-size: 20px;
  width: min(80%, 800px);
  font-weight: 500;
  opacity: 0%;
  padding: 1rem;
  border-radius: 8px;
  position: fixed;
  color: #000;
  top: 0px;
  /* position: fixed; */
  margin-left: auto;
  margin-right: auto;
  left: 50%;
  transform: translateX(-50%);
  transition: opacity .4s ease;
  z-index: 999999;
  cursor: pointer
}
.details-box-show {
  opacity: 100%;
}
/* .dark-mode .details-box {
  color: #fef8eb;
} */
/*--------------------------------------------------------------
# Light Mode
--------------------------------------------------------------*/
::selection, .search-pattern {
  background: #fcd877;
}
::selection, .search-pattern, .follow-item span, .redirect a {
  color: #1c180d;
}
#checkbox-label {
  background: rgba(0, 0, 5, 0.9);
  color: #fff;
}
.btn-main, .mdl-button--primary.mdl-button--primary, .mdl-button--raised.mdl-button--colored  {
  border: none !important;
} 
.flex-row .box, .services .icon-box {
  box-shadow: 0px 2px 15px rgba(0, 0, 0, 0.1);
}
#referral .box:hover, .services .icon-box:hover {
  background: #fcd877;
  box-shadow: 10px 15px 30px rgba(0, 0, 0, 0.18);
}
.dark-mode #referral .box:hover, .dark-mode .services .icon-box:hover {
  background: #87784d;
}
oval, .faq h4, .faq h6 {
  background: #fef8eb;
}
/* form a, .firebaseui-link, .firebaseui-title {
  color: #0d2c44;
}
form a:hover {
  color: #144466;
} */
/* tr.tr td {
  border-top: 1px solid #000;
} */
/*--------------------------------------------------------------
# Dark Mode
--------------------------------------------------------------*/
.dark-mode, .dark-mode #ball, .dark-mode .faq h4, .dark-mode .faq h6 {
  color: #ccc;
  background: #1e1e1e;
}
.dark-mode h3, .dark-mode h4, .dark-mode h5, .dark-mode h6, .dark-mode .flex-row .box h5, .dark-mode .flex-row .box span, .dark-mode form a:hover, .dark-mode .section-title, .dark-mode .redirect a, .dark-mode .popup-contents, .dark-mode .inner-text, .dark-mode .navbar-search-dropdown, .dark-mode .card, .dark-mode i, .dark-mode .footer span, .dark-mode .footer a, .dark-mode .footer a ion-icon, .dark-mode .products-category-container .category-title a, .dark-mode form input, .dark-mode form label, .dark-mode .firebaseui-link, .dark-mode .firebaseui-title {
  color: #ccc;
}
.dark-mode {
  background: #1e1e1e;
}
/* TODO fixe for certain background */
/* .dark-mode .follow-item span {
  color: #fff;
} */
.dark-mode input {
  caret-color: #ccc;
}
.dark-mode #checkbox-label {
  background: #f0e4cd;
}
/* {
  color: #f0e4cd
} */
.dark-mode .flex-row .box, .dark-mode .services .icon-box {
  box-shadow: 0px 2px 15px rgba(255, 255, 255, 0.9);;
}
.dark-mode #refferal .box:hover, .dark-mode .services .icon-box:hover {
  box-shadow: 10px 15px 30px rgba(255, 255, 255, 0.82);
}
.dark-mode .cta::before {
  background: rgba(0, 0, 0, 0.5);
}
.dark-mode oval {
  background: rgba(40, 40, 100, 0.5) !important;
}
.dark-mode tr.tr td, .dark-mode .sources-toggle {
  border-top: 1px solid #fff;
}
.dark-mode text {
  fill: #fff !important;
}
.dark-mode .popup-contents form input, .dark-mode .popup-contents form input::placeholder, .dark-mode .popup-contents form select, .dark-mode .popup-contents form select::placeholder, .dark-mode .footer a:hover, .dark-mode .footer a:hover ion-icon, .dark-mode .details-box {
  color: #fff;
}
.dark-mode .btn-primary:hover, .dark-mode .back-to-top:hover {
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.2);
}
.dark-mode .btn-primary:active, .dark-mode .back-to-top:active {
  box-shadow: 0 2px 5px rgba(255, 255, 255, 0.1); /* Less shadow on click */
}
.dark-mode .btn-primary:focus, .dark-mode .back-to-top:focus {
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.6); /* Additional shadow to highlight */
}
.dark-mode .firebaseui-textfield.mdl-textfield .firebaseui-input {
  border-color: #ccc;
}
/*--------------------------------------------------------------
# Products/Stacks grid code
--------------------------------------------------------------*/
.view {
  -webkit-transition: -webkit-transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
  margin-top: 70px;
  min-height: calc(100vh - 223px);
}

.view--compare {
  -webkit-transform: scale3d(0.9,0.9,1);
  transform: scale3d(0.9,0.9,1);
}

/* product grid */
.grid {
  margin: 0 auto;
  padding: 4em 1em;
  width: fit-content;
  max-width: 1400px;
  text-align: center;
  overflow: hidden;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

/* if flexbox is productorted, let's use it to lay out the products */
.flexbox .grid {
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-flex-direction: row;
  -ms-flex-direction: row;
  flex-direction: row;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-align-content: stretch;
  -ms-flex-line-pack: stretch;
  align-content: stretch;
  -webkit-align-items: flex-start;
  -ms-flex-align: start;
  align-items: flex-start;
}
.product, .stack {
  position: relative;
  display: inline-block;
  vertical-align: top;
  min-width: 16em;
  max-width: 16em;
  margin: 0 1em 2.5em;
  padding: 1.5em 1.5em 2em;
  padding-bottom: .5em;
  border-radius: 5px;
}
.flexbox .product, .flexbox .stack {
  display: block;
  -webkit-flex: 0 0 16em;
  -ms-flex: 0 0 16em;
  flex: 0 0 16em;
}
.product__info span, .stack__info span {
  display: none !important;
}
.product__info > span, .stack__info > span {
  padding-top: 1em;
}
@media (max-width: 980px) {
  .stack__info h5 {
    font-size: .9rem;
  }
  .stack__info h6 {
    font-size: .8rem;
  }
}
/* since we'll be using the product info inside of the comparison, we'll hide the extra info for the grid view */
.grid .extra {
  display: none;
}
.product__image, .stack__image {
  display: block;
  margin: 0 auto;
  max-width: 100%;
  -webkit-transform-origin: 50% 100%;
  transform-origin: 50% 100%;
  object-fit: contain;
}
.product:hover .product__image, .stack:hover .stack__image, tr th:hover .product__image {
  cursor: pointer;
  -webkit-animation: swing 0.6s forwards;	
  animation: swing 0.6s forwards;	
}
@media (min-width: 956px) {
  .grid .product__image, .grid .stack__image {
    height: 208px;
    width: 208px;
  }
  h1 {
    font-size: 160px;
  }
}
@media (max-width: 955px) {
  .grid .product__image, .grid .stack__image {
    height: 104px;
    width: 104px;
  }
  h1 {
    font-size: 80px;
  }
}

/* https://daneden.github.io/animate.css/ */
@-webkit-keyframes swing {
  25% {
    -webkit-transform: rotate3d(0, 0, 1, 6deg);
    transform: rotate3d(0, 0, 1, 6deg);
  }

  50% {
    -webkit-transform: rotate3d(0, 0, 1, -4deg);
    transform: rotate3d(0, 0, 1, -4deg);
  }

  75% {
    -webkit-transform: rotate3d(0, 0, 1, 2deg);
    transform: rotate3d(0, 0, 1, 2deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

@keyframes swing {
  25% {
    -webkit-transform: rotate3d(0, 0, 1, 6deg);
    transform: rotate3d(0, 0, 1, 6deg);
  }

  50% {
    -webkit-transform: rotate3d(0, 0, 1, -4deg);
    transform: rotate3d(0, 0, 1, -4deg);
  }

  75% {
    -webkit-transform: rotate3d(0, 0, 1, 2deg);
    transform: rotate3d(0, 0, 1, 2deg);
  }

  100% {
    -webkit-transform: rotate3d(0, 0, 1, 0deg);
    transform: rotate3d(0, 0, 1, 0deg);
  }
}

.product__brand {
  font-size: 105%;
  font-weight: bold;
  margin: .5em 0 0;
  min-height: 2.5em;
}

.product__brand, .product__name, .product__servings, .product__price, .product__price--cents, .product__additional_content h5, .product__price_and_additional_content {
  font-weight: bold;
}
.product__brand, .product__name, .product__servings, #contact span, .section-title h2, .section-title p, .product-title  h2, .product__price_and_additional_content, .form-group label {
  cursor: text;
}
.section-title h2, .section-title p {
  font-weight: 700;
  padding-top: 7px;
  margin-bottom: 0px;
}
.product-title  h2 {
  width: fit-content;
  max-width: 95%;
  margin-left: auto;
  margin-right: auto;
  font-weight: 700;
  padding-top: 7px;
  margin-bottom: 0px;
  text-align: center;
}
.section-title h2 {
  margin-right: 8px;
}

.products-category-container {
  margin-top: min(4em, 10%);
}

.products-category-container:first-of-type {
  margin-top: 0px;
}

.products-category-container .category-title a {
  min-height: fit-content;
  /* width: fit-content; */
  font-weight: 700;
  font-size: 1.5rem;
  /* margin-left: auto; */
  /* margin-right: auto; */
  padding-top: 6px;
  margin-right: 7px;
  cursor: pointer;
}
.category-title {
  /* margin-bottom: min(3em, 6%); */
  margin-bottom: min(1em, 2%);
}
.ranking-position {
  font-size: 1.2rem;
  top: 10px;
  left: 10px;
  position: absolute;
  font-weight: 700;
}

sup {
  font-size: 0.6em; 
}
.nutrition-info sup {
  font-weight: 1000;

}
.detail-text {
  margin-top: -2%;
  margin-bottom: min(2em, 3%);
  font-style: italic;
  font-size: 100%;
  font-weight: 600;
  cursor: text;
}

.product__name, .product__servings, .product__price, .product__additional_content h5 {
  font-size: 100%;
  margin: 0;
  min-height: 3em;
  align-items: center;
}

.product__servings, .product__price, .product__price_and_additional_content h5 {
  min-height: 1em;
  max-height: 1em;
}

.product__price--cents {
  padding-top: -2px;
  font-size: 75%;
  margin: 0;
}

.product__price_and_additional_content {
  margin-left: auto;
  margin-right: auto;
  min-height: 1.5em;
  max-height: 1.5em;
  max-width: max(80%, 10em);
}

.product__cost {
  margin-top: 0px;
  margin-bottom: 0px;
  cursor: pointer;
}
.product__cost ion-icon {
  font-size: 100%;
}
.product__info span.product__cost-wrapper-contents {
  display: flex !important;
}
.product__info span.product__price, .product__info span.product__price--cents, .product__additional_content span {
  display: inline-block !important;
}

.product__cost-wrapper-contents, .product__info span.product__cost-wrapper {
  height: fit-content;
}

.product__info span.product__cost-wrapper {
  display: flex !important;
  margin-bottom: -2px;
}
.product__cost-wrapper:hover .product__cost-wrapper-contents, .product__cost-wrapper-contents:hover {
  border-bottom: 1.5px solid #000;
}
.dark-mode .product__cost-wrapper:hover .product__cost-wrapper-contents {
  border-bottom: 1.5px solid #ccc;
}
ion-icon[name="pricetag-outline"] {
  margin-right: 3px;
}
.product__cps {
  margin-left: 3px;
  padding-top: 8px;
  font-size: 70%;
}
.hover-underline span:hover {
  text-decoration: underline;
  cursor: pointer;
}
@media screen and (max-width: 59.688em) {
  .hover-underline span{
    text-decoration: underline;
  }
  .product__cost-wrapper-contents, .product__cost-wrapper-contents:hover {
    margin-bottom: -1px;
    border-bottom: .5px solid #000 !important;
  }
  .dark-mode .product__cost-wrapper:hover, .dark-mode .product__cost-wrapper-contents {
    border-bottom: .5px solid #ccc !important;
  }
  .product__cost-wrapper ion-icon {
    font-size: .8rem;
  }
  .product__additional_content span, .product__info span.product__price {
    font-size: .64rem;
  }
  .product__info span.product__price--cents {
    font-size: .48rem;
  }
}
@media screen and (max-width: 500px) {
  .product__cost-wrapper ion-icon {
    font-size: .6rem;
  }
  .product__additional_content span, .product__info span.product__price {
    font-size: .5rem;
  }
  .product__info span.product__price--cents {
    font-size: .4rem;
  }
}
td .hover-underline {
  max-width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

.action {
  display: inline-block;
  font-size: 1em;
  white-space: nowrap;
  padding: 0.85em 1.25em;
  cursor: pointer !important;
  /* border: none; */
  background: transparent;
  text-align: center;
}

.action:focus {
  outline: none;
}

.action--button {
  background: #2C2D34;
  color: #fff;
  border-radius: 2px;
  -webkit-transition: background 0.2s;
  transition: background 0.2s;
  height: 50px;
}

.action--button:hover {
  background: #000000;
}

.action__text {
  /* font-family: 'Raleway', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
  font-weight: bold;
  letter-spacing: 1px;
  font-size: .813em;
  vertical-align: middle;
  display: inline-block;
}

.action__text--invisible {
  position: absolute;
  top: 100%;
  opacity: 0;
  pointer-events: none;
}

.action--button i + span {
  margin-left: 1em;
}

.flexbox .action--buy {
  -webkit-align-self: center;
  -ms-flex-item-align: center;
  align-self: center;
  margin-top: 1em;
  -webkit-flex: none;
  -ms-flex: none;
  flex: none;
}

.action--close {
  z-index: 9999999999999999999999999;
  position: absolute;
  overflow: hidden;
  top: 0;
  right: 0;
  font-size: 1.5em;
  color: #ddd;
  pointer-events: none;
  /* opacity: 0; */
  -webkit-transition: opacity 0.3s, background 0.2s;
  transition: opacity 0.3s, background 0.2s;
  pointer-events: auto;
  opacity: 1;
  -webkit-transition-delay: 0.4s, 0s;
  transition-delay: 0.4s, 0s;
}


/* .action--close:hover,
.action--close:focus {
  color: #000000;
} */

.action--compare, #clear-btn {
  margin: 0 0 0 4px;
  opacity: 0;
  pointer-events: none;
  cursor: default;
  /* background-color: #A8D5BA; */
  -webkit-transition: opacity 0.3s;
  transition: opacity 0.3s;
}
@media (max-width: 500px) {
  .action--compare span, #clear-btn span {
    display: none !important;
  }
  .action--compare, #clear-btn, .action--button i + span {
    margin: 0;
  }
  .action--compare i , #clear-btn i {
    margin-left: -2px;
  }
  .action--compare, #clear-btn {
    width: 50px;
  }
}

.action--compare {
  background-color: #87DCA9;
}
.action--compare:hover {
  background-color: #45EA87;
}
#clear-btn {
  background-color: #E57373
}
#clear-btn:hover {
  background-color: #D32F2F; /* Example: Darker Red */
}

.compare-basket--active .action--compare, .compare-basket--active #clear-btn {
  opacity: 1;
  /* background-color: #A8D5BA; */
  pointer-events: auto;
  cursor: pointer;
}

.action--remove {
  position: absolute;
  overflow: hidden;
  color: #ddd;
  top: 0px;
  right: 2px;
  padding: 0;
  font-size: 0.65em;
  box-shadow: none !important;
  background: transparent !important;
}

.action--remove .fatimes {
  background: transparent !important;
}

.action--remove:hover .fa-times {
  background: #1c180d;
}
.action--compare-add {
  color: #000000;
  cursor: pointer;
  position: absolute;
  top: 0px;
  right: -5px;
}
.navbar-search-dropdown .action--compare-add {
  right: 5px;
  top: auto;
}
.navbar-search-dropdown .action--text {
  /* position: absolute; */
  margin-right: -100px;
}

.product--selected .action--compare-add:hover .action__text--add, .navbar-search-dropdown .action--compare-remove:hover .action__text--remove {
  position: absolute;
  top: 100%;
  opacity: 0;
  pointer-events: none;
}

.product--selected .action--compare-add:hover .action__text--remove, .action--compare-add:hover .action__text--add, .navbar-search-dropdown .action--compare-remove:hover .action__text--remove {
  opacity: 1;
  top: 35px;
  right: 10px;
  color: #ddd;
  font-size: 75%;
  letter-spacing: 0;
  background: #2F3035;
  border-radius: 2px;
  padding: 3px 5px;
  font-weight: 700;
}

.navbar-search-dropdown .action--compare-remove {
  font-size: 12px;
}
.fa {
  padding: 2px;
  cursor: pointer;
}
.check-hidden {
  cursor: pointer !important;
}

.action--compare-add .fa-check,
.action--compare-add input[type=checkbox]:checked ~ .fa-plus {
  display: none;
}

.action--compare-add input[type=checkbox]:checked ~ .fa-check {
  display: block;
  /* color: #000000; */
}
@media (max-width: 992px) {
  .fa-plus, .fa-check, .fa-times {
    font-size: 14px;
  }
}

.fa .fa-close {
  color: #000000;
}
.fa .fa-remove {
  color: #fff;
}
.action .action--close:hover {
  cursor: pointer;
}

.check-hidden {
  position: absolute;
  opacity: 0;
}

.compare-basket {
  width: 100%;
  padding: 0.75em;
  text-align: right;
  position: fixed;
  top: 0;
  left: 0;
  background: #000000;
  z-index: 1000;
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -khtml-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transform: translate3d(0,-100%,0);
  transform: translate3d(0,-100%,0);
  -webkit-transition: -webkit-transform 0.3s cubic-bezier(0.2,1,0.3,1);
  transition: transform 0.3s cubic-bezier(0.2,1,0.3,1);
}

.compare-basket--active {
  top: 70px;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.flexbox .compare-basket {
  margin-top: 70px;
  display: -webkit-flex;
  display: -ms-flex;
  display: flex;
  -webkit-justify-content: flex-end;
  -ms-flex-pack: end;
  justify-content: flex-end;
}

.product-icon {
  display: inline-block;
  vertical-align: middle;
  background: #42444F;
  width: 50px;
  height: 50px;
  padding: 5px;
  margin: 0 3px;
  border-radius: 2px;
  position: relative;
}
.navbar-search-dropdown .product-icon {
  background: transparent;
}

.product-icon::after {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  border-radius: 4px;
  z-index: -1;
  box-shadow: -56px 0 #2C2D34;
}

.product-icon .flex-container {
  display: flex;
  justify-content: center; /* Centers the image horizontally */
  align-items: center;     /* Centers the image vertically */
  width: 100%;
  height: 100%;
}

.compare-basket--full .product-icon::after {
  display: none;
}

.flexbox .product-icon {
  display: block;
}
.product-icon .product__image {
  max-height: 40px;
}

/* comparison overlay */
.compare {
  position: fixed;
  z-index: 100;
  width: 100%;
  height: 0;
  overflow-y: auto;
  top: 70px !important;
  left: 0;
  z-index: 1001;
  -webkit-transition: height 0s 0.4s;
  transition: height 0s 0.4s;
  background: #fef8eb;
}
.dark-mode .compare {
  background: #2C2D34;

}

.flexbox .compare {
  display: -webkit-flex;
  display: -ms-flex;
  display: inline-flexbox;
}

.view--compare + .compare, .compare {
  display: none !important;
}


.compare::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  /* min-height: fit-content; */
  top: 0;
  left: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  -webkit-transition: opacity 0.4s;
  transition: opacity 0.4s;
}

/* .view--compare + .compare::before {
  opacity: 1;
} */

.compare__item {
  /* height: 100%; */
  /* min-height: fit-content; */
  width: 50%;
  text-align: center;
  cursor: default;
  padding: 2em 0;
  -webkit-transition: -webkit-transform 0.4s ease-in-out;
  transition: transform 0.4s ease-in-out;
  /* display: grid; */
  /* grid-template-rows: auto */
  /* flex-direction: column; */
}
.compare__item .product__brand {
  margin: 1em 0;
  /* align-items: center; */
  /* min-height: 0; */
}

.compare__item .product__price {
  color: #CECECE;
}

/* TODO remove this code */
.compare__item span[class^="product__"] {
  display: block;
  padding: 0.85em 0;
  -webkit-transition: background-color 0.3s;
  transition: background-color 0.3s;
  min-height: fit-content;
}

.compare__item span[class^="product__"].hover {
  background: #000;
}

/* three items */
.compare__item:first-of-type:nth-last-of-type(3),
.compare__item:first-of-type:nth-last-of-type(3) ~ .compare__item {
    width: 33.3333%;
}

.flexbox .compare__item {
  -webkit-flex: auto;
  -ms-flex: auto;
  flex: auto;
}

.compare__item:nth-child(odd) {
  -webkit-transform: translate3d(0,-100vh,0);
  transform: translate3d(0,-100vh,0);
}

.compare__item:nth-child(even) {
  -webkit-transform: translate3d(0,100vh,0);
  transform: translate3d(0,100vh,0);
}

.view--compare + .compare .compare__item:nth-child(odd),
.view--compare + .compare .compare__item:nth-child(even) {
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
}

.compare__effect {
  width: 100%;
  height: 100%;
  /* min-height: fit-content; */
  opacity: 0;
  -webkit-transition: -webkit-transform 1s cubic-bezier(0.2, 1, 0.3, 1), opacity 1s cubic-bezier(0.2, 1, 0.3, 1);
  transition: transform 1s cubic-bezier(0.2, 1, 0.3, 1), opacity 1s cubic-bezier(0.2, 1, 0.3, 1);
}

.compare__item:nth-child(odd) .compare__effect {
  -webkit-transform: translate3d(0,-250px,0);
  transform: translate3d(0,-250px,0);
}

.compare__item:nth-child(even) .compare__effect {
  -webkit-transform: translate3d(0,250px,0);
  transform: translate3d(0,250px,0);
}

.view--compare + .compare .compare__item:nth-child(odd) .compare__effect,
.view--compare + .compare .compare__item:nth-child(even) .compare__effect {
  opacity: 1;
  -webkit-transform: translate3d(0,0,0);
  transform: translate3d(0,0,0);
  -webkit-transition-delay: 0.3s;
  transition-delay: 0.3s;
}

@media screen and (min-width: 59.688em) {
  .flexbox .compare__effect {
    display: -webkit-flex;
    display: -ms-flex;
    display: flex;
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-justify-content: space-between;
    -ms-flex-pack: justify;
    justify-content: space-between;
  }

  .flexbox .compare__item .product__image {
    -webkit-align-self: center;
    -ms-flex-align: center;
    align-self: center;
    -webkit-flex: none;
    -ms-flex: none;
    flex: none;
  }
}

@media screen and (max-width: 59.688em) {
  .grid {
    padding: 2em 0.5em;
    font-size: 65%;
  }

  .product, .stack {
    /* margin: 0 0.5em 1em; */
    min-width: 13em;
    max-width: 13em;
  }

  .product__brand {
    font-size: 85%;
    margin: .5rem 0 0;
    /* min-height: 2.5rem; */
  }
  .product__name {
    font-size: 75%;
  }
  
  .flexbox .product, .flexbox .stack {
    -webkit-flex: 0 0 13em;
    -ms-flex: 0 0 13em;
    flex: 0 0 13em;
  }

  .flexbox .compare {
    -webkit-flex-direction: column;
    -ms-flex-direction: column;
    flex-direction: column;
  }

  .no-flexbox .compare__item,
  .compare__item,
  .compare__item:first-of-type:nth-last-of-type(3),
  .compare__item:first-of-type:nth-last-of-type(3) ~ .compare__item {
    width: 100%;
  }

  .compare__item {
    text-align: left;
    padding: 1.5em;
    font-size: 90%;
  }

  .compare__item .product__image {
    height: 40px;
    float: left;
  }

  .compare__item .product__brand .product__name {
    margin: 0 40px 0 43px;
    font-size: 0.85em;
    display: block;
  }

  .compare__item .product__year { border-bottom: 2px solid #2E294E; }
  .compare__item .product__region { border-bottom: 2px solid #6D6FD2; }
  .compare__item .product__varietal { border-bottom: 2px solid #4B5267; }
  .compare__item .product__alcohol { border-bottom: 2px solid #3C3474; }

  .action--close {
    padding: 0.5em 0.75em;
  }

  .compare__item .action--buy {
    margin: 0;
    display: block;
  }

  .compare__item span[class^="product__"] {
    display: inline-block;
    padding: 0.25em;
    margin: 0 0 0.5em 0;
    font-size: 0.85em;
  }

  .compare__item:nth-child(odd) {
    -webkit-transform: translate3d(-100%,0,0);
    transform: translate3d(-100%,0,0);
  }

  .compare__item:nth-child(even) {
    -webkit-transform: translate3d(100%,0,0);
    transform: translate3d(100%,0,0);
  }

  .compare__item:nth-child(odd) .compare__effect {
    -webkit-transform: translate3d(-250px,0,0);
    transform: translate3d(-250px,0,0);
  }

  .compare__item:nth-child(even) .compare__effect {
    -webkit-transform: translate3d(250px,0,0);
    transform: translate3d(250px,0,0);
  }
}
@media screen and (max-width: 40em) {
  .product__info {
    padding: 0;
  }
  .product, .stack {
    margin: 0 0.5em .5em;
    padding: .4rem .4rem 0rem;
    min-width: 9em;
    max-width: 9em;
  }
  .product__price_and_additional_content {
    /* width: 100%; */
    padding: 0;
    font-size: 90%;
  }
  .grid .product__image, .grid .stack__image {
    height: 90px;
    width: 90px;
  }
}
/*--------------------------------------------------------------
# Table
--------------------------------------------------------------*/
tr, th {
  border: 0px;
}
.ingredients-table-header td {
  font-weight: 700;
}
#ingredientTable {
  padding-bottom: 20px;
  border-collapse: collapse;
  -webkit-tap-highlight-color: transparent;
  z-index: 99;
  table-layout: auto;
}
@media (hover: none) {
  #ingredientTable td {
    -webkit-tap-highlight-color: transparent;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    user-select: none;
  }
}
tbody tr:first-child td, .dark-mode tbody tr:first-child td {
  border: none;
}
/* .ingredients-table-header td {
  border: 0px !important;
} */
/* td {
  border: none
} */
td  {
  border-top: 1px solid #000;
  border-left: 0px;
  border-right: 0px;
  border-bottom: 0px;
  outline: none;
  min-width: 100px;
  box-sizing: border-box;
}
.dark-mode td, .dark-mode td.nutrition-info, .dark-mode td.quantity-cell {
  color: #fff;
  border-top: 1px solid #fff;
}
.best-value {
  font-weight: 700;
  font-style: italic;
}  
table {
  border-spacing:0px;
  padding: 10px;
  margin-top: 50px;
  margin-left: auto;
  margin-right: auto;
  background: transparent !important;
  width: fit-content; /* Add full width to table */
  min-height: 80%;
  max-width: 96%;
  overflow-x: auto; /* Add overflow for horizontal scrolling on small screens */
  display: block; /* Make table a block element to respect the overflow */
  
  /* line-height: 250%; */
}
table, table ion-icon {
  font-size: .95rem;
}

table img {
  min-height: 150px;
  min-width: 150px;
  max-height: 150px;
  max-width: 150px;
  aspect-ratio: 1/1;
} 

tr.tr td, tr.tr th{
  text-align: center;
}
tr.tr td {
  font-weight: 600;
}
th {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-right: 10px;
  padding-left: 10px;
}
td {  
  /* padding: 0px; */
  padding-top: 7px;
  padding-bottom: 7px;
  /* padding-right: 10px; */
  /* padding-left: 10px; */
  position: relative;
  /* min-width: 175px; */
  /* min-height: 30px; */
}
td.row-values { 
  display: flex;
  justify-content: space-between;
}
.percent-daily-value-cell {
  min-width: 70px;
}
.percent-daily-value-cell.hide-column, .percentile-cell.hide-column {
  display: none !important;
}
.price-cell {
  cursor: pointer;
}
.price-cell:hover {
  text-decoration: underline;
}
@media (min-width: 1200px) {
  #nutritionProfileHeader {
    min-width: 300px;
  }
  #percentiles-title {
    font-size: 1rem;
    font-weight: 700;
  }
}

@media (max-width: 768px) {
  table, table span, table ion-icon {
    font-size: .8rem;
  }
  td {
    padding-top: 5px;
    padding-bottom: 5px;
  }
  table img {
    min-height: 100px;
    min-width: 100px;
    max-height: 100px;
  }
  .nutrition-info {
    padding-right: 0px;
  }
  .nutrition-info {
    min-width: 150px;
    max-width: 150px;
  }
  .not-nutrition-info {
    min-width: 90px;
    max-width: 90px;
  }
  .bar--red, .bar--orange, .bar--green {
    margin-top: 0px;
  } 
  #nutritionProfileHeader {
    min-width: 175px;
  }
  .quantity-cell {
    min-width: 70px;
  }
  td.percent-daily-value-cell {
    min-width: 40px;
  }
  td.percentile-cell {
    min-width: 80px;
  }
  #percentiles-title {
    font-size: .7rem;
  }
  #compare-example-light, #compare-example-dark {
    height: 150px;
    width: 200px;
  }
  .price-cell {
    text-decoration: underline;
  }
}

/*--------------------------------------------------------------
# Detailed View
--------------------------------------------------------------*/

#detailed-view .popup-contents {
  width: min(90%, 1200px);
}
#criteria .popup-contents {
  width: min(90%, 920px);
}
.detailed-view-container-wrapper {
  margin-left: auto;
  margin-right: auto;
  max-width: 600px;
}
.detailed-view-container {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  /* grid-template-rows: minmax(auto, 1fr) minmax(auto, 1fr); */
  grid-auto-rows: auto;
  grid-gap: 10px;
  height: fit-content;
  margin-top: 40px;
}

.detailed-view {
  height: 300px;
  width: 300px;
}
.zoom-wrapper {
  width: 300px;
}
.zoom-wrapper img:hover, .zoom-wrapper .img-overlay:hover {
  cursor: crosshair;
}

#label-zoom-image {
  max-height: 250px;
}
.detailed-view-container .zoom-wrapper div {
  position: relative;
  overflow: hidden;
  height: 300px;
  width: 300px;
  max-width: 100%;
  max-height: 100%;
}

.image-box img {
  max-height: min(300px, 100%);
  max-width: min(300px, 100%);
  transition: transform 0.2s;
  transform-origin: center center;
}
.image-box:hover img {
    transform: scale(3);
}
.img-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  opacity: 0;
  transition: opacity 0.2s;
}
.image-box:hover .img-overlay {
  opacity: 1;
}
.detailed-view-description {
  height: fit-content;
  grid-column: 1 / 3;
}

.detailed-view-description h6 {
  font-weight: 600;
  text-align: justify;
}

#detailed-view .search-result {
  display: inline;
}

@media (max-width: 800px) {  
  .detailed-view-container {
    display: block;
  }
  /* .left1, .left2, .detailed-view-description {
    grid-column: 1 / -1;
  } */
  .left1, .left2 {
    margin-top: 20px;
    margin-bottom: -30px;
    max-width: 70%;
    max-height: 70%;
  }
  .detailed-view-description {
    /* margin-top: 20px; */
    max-width: 100%;
    margin-top: 60px;
    /* margin-bottom: 30px; */
  }
}
.redirect a {
  display: inline-block;
  font-weight: 700;
  font-size: 1.2rem;
  min-width: 100%;
  text-align: center;
  /* margin-left: auto; */
  /* margin-right: auto; */
}
/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
a {
text-decoration: none;
width: fit-content;
}
.col-lg-4 {
  padding: 10px 10px 10px 10px;
  margin-right: auto;
  margin-left: auto;
}
u {
  font-weight: 600;
}
/*--------------------------------------------------------------
# Why Us
--------------------------------------------------------------*/
.flex-row {
  padding-top: 10px;
}
.flex-row .box {
  padding: 50px 30px;
  transition: all ease-in-out 0.3s;
}
.flex-row .box span {
  display: block;
  font-size: 28px;
  font-weight: 700;
}
.flex-row .box h5 {
  display: block;
  font-size: 28px;
  font-weight: 700;
}
.flex-row .box h4 {
  font-size: 24px;
  font-weight: 600;
  padding: 0;
  margin: 20px 0;
  width: fit-content;
}
/* TODO add back
.flex-row .box h4:hover {
  cursor: pointer;
  text-decoration: underline;
} */
.flex-row .box p {
  text-align: justify;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
.flex-row .box a {
  display: block;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
/*--------------------------------------------------------------
# Services
--------------------------------------------------------------*/
.services .col-lg-6{
padding-top: 25px;
}
.services .icon-box {
text-align: center;
padding: 80px 20px;
transition: all ease-in-out 0.3s;
}
.services .icon-box:hover, .services .icon-box p:hover {
cursor: pointer;
}
.services .icon-box .icon {
position: relative;
margin: 0 auto;
width: 64px;
height: 64px;
font-size: 16px;
/* background: #87784d; */
transition: all 0.3s ease-out 0s;
display: flex;
align-items: center;
justify-content: center;
margin-bottom: 20px;
transform-style: preserve-3d;
}
.services .icon-box .icon i {
color: #697587;
font-size: 28px;
}
.services ion-icon {
/* --ionicon-stroke-width: 50px; */
font-size: 34px;
color: #fff;
}
.services .icon-box .icon::before {
position: absolute;
content: "";
left: -8px;
top: -8px;
height: 100%;
width: 100%;
transition: all 0.3s ease-out 0s;
transform: translateZ(-1px);
}
.services .icon-box h4 {
font-weight: 700;
margin-bottom: 15px;
font-size: 24px;
}
/* .services .icon-box h4 a {
color: #191919;
} */
.services .icon-box p {
line-height: 24px;
font-size: 14px;
font-weight: 600;
margin-bottom: 0;
}
.services .icon-box:hover, .services .icon-box:focus {
background: #87784d ;
border-color:  #cca7a8;
padding: 70px 20px 90px 20px;
}
.services .icon-box:hover .icon {
background: #fff;
}
.services .icon-box:hover .icon::before, .services .icon-box:focus .icon::before{
background: #87784d ;
}
.services .icon-box:hover h4 , .services .icon-box:focus h4, .services .icon-box:hover a , .services .icon-box:focus a, .services .icon-box:hover p , .services .icon-box:focus p {
color: #fff !important;
}
.services .icon-box .icon {
background: #fef8eb;
}
.services .icon-box .icon::before {
background: #cca7a8;
}

/*--------------------------------------------------------------
# General
--------------------------------------------------------------*/
a {
  text-decoration: none;
  width: fit-content;
  }
  .col-lg-4 {
    padding: 10px 10px 10px 10px;
  }
  u {
    font-weight: 600;
  }
  /*--------------------------------------------------------------
  # Services
  --------------------------------------------------------------*/
  .cta {
    padding: 60px 0;
  }
  #services {
  padding-top: 0px;
  }
  .services .icon-box {
  text-align: center;
  padding: 80px 20px;
  transition: all ease-in-out 0.3s;
  }
  .services .icon-box:hover, .services .icon-box p:hover {
  cursor: pointer;
  }
  .services .icon-box .icon {
  position: relative;
  margin: 0 auto;
  width: 64px;
  height: 64px;
  font-size: 16px;
  /* background: #87784d; */
  transition: all 0.3s ease-out 0s;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  transform-style: preserve-3d;
  }
  .services .icon-box .icon i {
  color: #697587;
  font-size: 28px;
  }
  .services ion-icon {
  /* --ionicon-stroke-width: 50px; */
  font-size: 34px;
  color: #e2c75a;
  }
  .services .icon-box .icon::before {
  position: absolute;
  content: "";
  left: -8px;
  top: -8px;
  height: 100%;
  width: 100%;
  transition: all 0.3s ease-out 0s;
  transform: translateZ(-1px);
  }
  .services .icon-box h4 {
  font-weight: 700;
  margin-bottom: 15px;
  font-size: 24px;
  }
  /* .services .icon-box h4 a {
  color: #191919;
  } */
  .services .icon-box p {
  line-height: 24px;
  font-size: 14px;
  margin-bottom: 0;
  }
  .services .icon-box:hover, .services .icon-box:focus {
  background: #fcd877 ;
  /* border-color:  #fcd877; */
  padding: 70px 20px 90px 20px;
  }
  .services .icon-box:hover .icon {
  background: #fff;
  }
  .services .icon-box:hover .icon::before, .services .icon-box:focus .icon::before{
  background: #fcd877 ;
  }
  .services .icon-box:hover h4 , .services .icon-box:focus h4, .services .icon-box:hover a , .services .icon-box:focus a, .services .icon-box:hover p , .services .icon-box:focus p {
  color: #fff !important;
  }
  .services .icon-box .icon {
  background: #fef8eb;
  }
  .services .icon-box .icon::before {
    background: #fcd877;
  }
  .dark-mode .services .icon-box .icon::before {
    background: #87784d;
  }

/*--------------------------------------------------------------
# subscribe
--------------------------------------------------------------*/
/* .cta {  */
    /* background: linear-gradient(rgba(2, 2, 2, 0.25), rgba(0, 0, 0, 0.25)), url("../testimonials/brooklyn4k.webp") fixed center center; */
    /* background-size: cover; */
    /* padding: 120px 0; */
    /* color: #fff; */
  /* } */
  .cta .btn-get-started {
    font-size: 22px;
  }
  .mc-field-group {
    width: 293px !important;
  }
  #mc_embed_signup {
    width: fit-content;
    max-width: none;
  }
  #mc-embedded-subscribe {
    margin: 1em 0 5% !important;
    /* margin-left: auto; */
    /* margin-right: auto; */
  }
  #mc_embed_signup_scroll h4 {
    font-weight: 600;
    font-size: calc(1.3rem + .5vw);
    margin-bottom: 3%;
  }
  #mce-error-response, #mce-success-response {
    width: 100%;
  }
  
  /* #mce-error-response {
    color: #D32F2F;
  } */
  #mce-success-response {
    min-width: 300px;
    color: #1c180d !important;
  }
  .dark-mode #mce-success-response {
    color: #ccc !important;
  }
  
  @media (min-width: 1024px) {
    .cta {
      background-attachment: fixed;
    }
    }
    @media (max-width: 768px) {
    .cta {
      text-align: center;
    }
    .cta .container {
      padding-top: 40px;
    }
  }
  .drag-container {
    position: relative;
    margin-top: 5px;
  }

  .list-item {
    position: absolute !important;
    top: 0px;
    /* left: 0; ??? */ 
    height: 45px;
    /* margin-top: 20px; */
    /* padding-top: 20px; */
    /* padding-bottom: 20px; */
    margin-left: auto;
    margin-right: auto;
    width: 100% !important;
    /* HOT FIX width: 90% !important; */
    /* width: 85% !important; */
    z-index: -1 !important;
  }

  .item-content {
    min-height: 40px;
    max-height: 40px;
    height: 100%;
    border: 0px solid rgba(123, 123, 123, 0.498039);
    border-radius: 4px;
    /* color: rgb(153, 153, 153); */
    line-height: 45px;
    font-size: 24px;
    font-weight: 400;
    background: transparent;
    width: 94% !important;
    margin-left: auto;
    margin-right: auto;
    cursor: grab;

  }
  #sort-mobile .item-content, #filter-mobile .item-content {
    margin-top: 10px;
    margin-left: 0px;
    width: 96% !important;
  }
  #sort-mobile .d-flex, #filter-mobile .d-flex {
    padding: 0px;
  }
  .category-container {
    margin-left: 12px;
  }
  .operator-container {
    margin-left: -6px !important;
  }
  #ranking, #filter {
    position: relative;
    /* height: 100%; */
    width: 90%;
    z-index: -3;
  }
  #ranking-drag-container, #filter-drag-container {
    /* position: relative; */
    z-index: -2;
  }
  @media screen and (max-width: 768px) {
    #search-text {
      max-width: 300px;
    }
    .popup-search-dropdown {
      max-width: 300px !important;
    }
    .inner-text {
      width: 256px;
      font-weight: 500;
    }
    /* .category-container .category {
      width: 85px;
    } */
    #ranking, #filter {
      width: 100%;
    }
    .drag-container, .item-content {
      /* HOT FIX width: 95% !important; */
      width: 100% !important;
    }
    .operator-container {
      margin-left: 0px !important;
    }
    .hover-grab {
      display: none;
    }
    .item-content {
      cursor: default;
    }
    #criteria .row #search {
      margin-left: 6px;
    }
    .category-container .category {
      margin-left: 12px;
    }
    #search, #search-text, .category-container, .subcategory-container, .divisor-container, .operator-container, .unit-container, .condition-container, .direction-container, .priority-container {
      height: 30px;
    }
    .category-container, .subcategory-container, .divisor-container, .operator-container, .unit-container, .condition-container, .direction-container, .priority-container {
      margin-left: -18px !important;
    }
    .category, .subcategory, .divisor, .operator, .unit, .condition, .direction, .priority {
      font-size: .8rem !important;
      /* margin-left: 6px; */
      /* padding-right: 20px; */
    }
    .chevron-down {
      font-size: .5em !important;
      /* margin-left: -16px; */
    }
    #sort-mobile .category-container {
      margin-right: 12px;
    }
    .drag-container-fixed-wrapper {
      width: 96% !important;
    }
    .popup-header {
      font-size: 1.5rem;
    }
    /* .ranking-container {
      font-size: .75rem;
    } */
  }
/*--------------------------------------------------------------
# Links Page
--------------------------------------------------------------*/
.main {
  min-height: calc(70vh);
}
.social-links {
  list-style-type: none;
  justify-content: center;
  padding: 0;
  display: flex;
  gap: 1.6rem;
  margin-top: 30px;
  margin-bottom: 50px;
}
 .links-section {
    margin-top: 120px;
    margin-bottom: 10px;
 }
 .links-section span {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  max-width: 80%;
  margin-top: 20px;
  margin-bottom: 20px;
  font-weight: 700;
  font-size: 1.25rem;
 }
 @media screen and (max-width: 768px) {
  .links-section span {
    font-size: 1rem;
  }
 }
 .social-item {
  height: 32px;
 }
 .social-item a {
  display: inline-block;
  height: 32px;
 }
 ion-icon.links-icon {
  font-size: 32px;
 }
.link {
  min-height: 65px;
  background: #f6eee1;
  margin-top: 2%;
  padding-top: min(6%, 30px);
  padding-bottom: min(6%, 30px);
  display: inline-flex;
  align-items: center;
  /* margin-left: auto; */
  /* margin-right: auto; */
  justify-content: center;
  text-align: center;
  text-decoration: none;
  /* width: min(80%, 400px); */
  min-width: 100%;
  border-radius: 5px;
  font-size: large;
  font-weight: 700;
}
ion-icon.links-icon, .link {
  color: #1c180d;
}

.dark-mode ion-icon.links-icon, .dark-mode .link, .dark-mode .links-section {
    color: #fff;
}
.link:hover {
  color: #000;
  cursor: pointer;
  animation: shake 0.4s infinite;
}
@media (min-width: 767px) {
  .link:hover {
    background: #fff;
    color: #000;
  }
  .dark-mode .link:hover, .dark-mode #discover-popup section .link:hover {
    color: #fff; 
    background: #4f4e4c !important;
  }
}
@keyframes shake {
  0%, 100% {
    transform: translate(0, 0);
  }
  25% {
    transform: translate(-1px, -1px);
  }
  20% {
    transform: translate(-1px, 1px);
  }
  72% {
    transform: translate(1px, 1px);
  }
}
/* .product[data-ranking="1"] {
  background: linear-gradient(135deg, rgb(212, 175, 55) 0%, rgb(212, 175, 55) 45%, white 50%, rgb(212, 175, 55) 55%, rgb(212, 175, 55) 100%) 0% 0% / 400% 400%;
}
.product[data-ranking="2"] {
  background: linear-gradient(135deg, rgb(192, 192, 192) 0%, rgb(192, 192, 192) 45%, white 50%, rgb(192, 192, 192) 55%, rgb(192, 192, 192) 100%) 0% 0% / 400% 400%;
}
.product[data-ranking="3"] {
  background: linear-gradient(135deg, rgb(205, 127, 50) 0%, rgb(205, 127, 50) 45%, white 50%, rgb(205, 127, 50) 55%, rgb(205, 127, 50) 100%) 0% 0% / 400% 400%;
} */

.product {
  --shimmer-color: rgb(220, 211, 199);
  --shimmer-highlight: rgba(255, 255, 255, 0.2);
  --border-color: #1c180d;
  --border-width: 1px;
  --shimmer-size: 400%;
  --shimmer-duration: 10s;
  
  position: relative;
  background: var(--shimmer-color);
  box-shadow: 0 0 0 var(--border-width) var(--border-color);
  overflow: hidden;
}

.product::before {
  content: '';
  position: absolute;
  top: -100%;
  left: -100%;
  width: 400%;
  height: 400%;
  background: linear-gradient(
    135deg,
    transparent 45%,
    var(--shimmer-highlight) 50%,
    transparent 55%
  );
  animation: shimmer var(--shimmer-duration) linear infinite;
  pointer-events: none;
}

.dark-mode .product {
  --shimmer-color: rgb(79, 78, 76);
  /* --border-color: transparent; */
}

.product[data-ranking="1"],
.product[data-ranking="2"],
.product[data-ranking="3"] {
  --border-color: transparent;
  --border-width: 3px;
}

.product[data-ranking="1"] {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 5px rgba(255, 215, 0, 0.7),
    0 0 6px rgba(212, 175, 55, 0.5),
    0 0 7px rgba(160, 130, 20, 0.4);
}
.product[data-ranking="1"].product--selected {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 7px rgba(255, 215, 0, 0.8),
    0 0 8px rgba(212, 175, 55, 0.6),
    0 0 9px rgba(160, 130, 20, 0.5);
}

.product[data-ranking="2"] {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 6px rgba(180, 190, 200, 0.7),
    0 0 7px rgba(145, 155, 165, 0.5),
    0 0 8px rgba(110, 120, 130, 0.4);
}

.product[data-ranking="2"].product--selected {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 8px rgba(180, 190, 200, 0.8),
    0 0 9px rgba(145, 155, 165, 0.6),
    0 0 10px rgba(110, 120, 130, 0.5);
}

.product[data-ranking="3"] {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 5px rgba(235, 150, 60, 0.7),
    0 0 6px rgba(205, 127, 50, 0.5),
    0 0 7px rgba(160, 100, 40, 0.4);
}
.product[data-ranking="3"].product--selected {
  box-shadow: 
    0 0 0 var(--border-width) transparent,
    0 0 7px rgba(235, 150, 60, 0.8),
    0 0 8px rgba(205, 127, 50, 0.6),
    0 0 9px rgba(160, 100, 40, 0.5);
}

.product--selected { --border-width: 2px; }

.dark-mode .product--selected {
  --border-width: 1px;
  --border-color: rgba(204, 204, 204, 1);
}


/* @media screen and (max-width: 768px) {
  .product[data-ranking="1"],
  .product[data-ranking="2"],
  .product[data-ranking="3"] {
    --border-width: 2px;
  }

  .product[data-ranking="1"].product--selected,
  .product[data-ranking="2"].product--selected,
  .product[data-ranking="3"].product--selected {
    --border-width: 3px;
  } 
  .dark-mode .product--selected { --border-width: 1px; }
}*/

/* @media screen and (max-width: 500px) {
  .dark-mode .product[data-ranking="1"],
  .dark-mode .product[data-ranking="2"],
  .dark-mode .product[data-ranking="3"] {
    --border-width: 1px;
  }

  .dark-mode .product[data-ranking="1"].product--selected,
  .dark-mode .product[data-ranking="2"].product--selected,
  .dark-mode .product[data-ranking="3"].product--selected {
    --border-width: 2px;
  }
} */


@keyframes shimmer {
  0% { transform: translateX(-75%) rotate(135deg); }
  100% { transform: translateX(75%) rotate(135deg); }
}

@media screen and (max-width: 948px) {
  .products-category-container .category-title a {
    font-size: 1.1rem;
  }
  /* .category-title {
    margin-bottom: min(1em, 2%);
  } */
  .ranking-position {
    top: 8px;
    left: 8px;
    font-size: 1rem;
  }
}
@media screen and (max-width: 600px) {
  .ranking-position {
    top: 5px;
    left: 5px;
    font-size: .8rem;
  }
  .action--compare-add {
    top: -4px;
    right: -9px
  }
  .fa.fa-plus {
    font-size: .7rem;
  }
  .icon-wrapper-24 {
    margin-top: 3px !important;
    width: 18px !important;
    height: 18px !important;
  }
  .icon-wrapper-24 ion-icon {
    font-size: 18px !important;
  }
  .icon-wrapper-32 {
    margin-top: 4px !important;
    width: 24px !important;
    height: 24px !important;
  }
  .icon-wrapper-32 ion-icon {
    font-size: 24px !important;
  }
}
@media screen and (max-width: 768px) {
  .products-category-container .category-title a, .quantity-cell a,  td.nutrition-info, #percentiles-title a {
    text-decoration: underline;
  }
}


/* .product {
  animation: 10s ease 0s infinite normal none running shimmer;
  background: linear-gradient(135deg, rgb(220, 211, 199) 0%, rgb(220, 211, 199) 45%, white 50%, rgb(220, 211, 199) 55%, rgb(220, 211, 199) 100%) 0% 0% / 400% 400%;
  position: relative;
  box-shadow: 0 0 0 1px #1c180d;
}
.dark-mode .product {
  box-shadow: none;
  background: linear-gradient(135deg, rgb(79, 78, 76) 0%, rgb(79, 78, 76) 45%, white 50%, rgb(79, 78, 76) 55%, rgb(79, 78, 76) 100%) 0% 0% / 400% 400%;
}
.product[data-ranking="1"], .product[data-ranking="2"], .product[data-ranking="3"] {
 box-shadow: none;
}
.product::before {
  border-radius: 5px;
  content: '';
  position: absolute;
  top: -1px; right: -1px; bottom: -1px; left: -1px;
  background: linear-gradient(135deg, rgba(28, 24, 13, 1) 0%, rgba(28, 24, 13, 1) 45%, white 50%, rgba(28, 24, 13, 1) 55%, rgba(28, 24, 13, 1) 100%) 0% 0% / 400% 400%;
  z-index: -1;
  opacity: 1;
  pointer-events: none;
}
.dark-mode .product::before {
  top: 0px; right: 0px; bottom: 0px; left: 0px;
  background: linear-gradient(135deg, rgba(204, 204, 204, 1) 0%, rgba(204, 204, 204, 1) 45%, white 50%, rgba(204, 204, 204, 1) 55%, rgba(204, 204, 204, 1) 100%) 0% 0% / 400% 400%;
}
.product--selected::before {
  top: -2px; right: -2px; bottom: -2px; left: -2px;
}
.dark-mode .product--selected::before {
  top: -1px; right: -1px; bottom: -1px; left: -1px;
}
.product[data-ranking="1"]::before, .product[data-ranking="2"]::before, .product[data-ranking="3"]::before {
  top: -3px; right: -3px; bottom: -3px; left: -3px;
}
.dark-mode .product[data-ranking="1"]::before, .dark-mode .product[data-ranking="2"]::before, .dark-mode .product[data-ranking="3"]::before {
  top: -2px; right: -2px; bottom: -2px; left: -2px;
}
.product--selected.product[data-ranking="1"]::before, .product--selected.product[data-ranking="2"]::before, .product--selected.product[data-ranking="3"]::before {
  top: -4px; right: -4px; bottom: -4px; left: -4px;
}
.dark-mode .product--selected.product[data-ranking="1"]::before, .dark-mode .product--selected.product[data-ranking="2"]::before, .dark-mode .product--selected.product[data-ranking="3"]::before {
  top: -3px; right: -3px; bottom: -3px; left: -3px;
}
.product[data-ranking="1"]::before {
  background: linear-gradient(135deg, rgba(212, 175, 55, 1) 0%, rgba(212, 175, 55, 1) 45%, white 50%, rgba(212, 175, 55, 1) 55%, rgba(212, 175, 55, 1) 100%) 0% 0% / 400% 400%;
}
.product[data-ranking="2"]::before {
  background: linear-gradient(135deg, rgba(192, 192, 192, 1) 0%, rgba(192, 192, 192, 1) 45%, white 50%, rgba(192, 192, 192, 1) 55%, rgba(192, 192, 192, 1) 100%);
}
.product[data-ranking="3"]::before {
  background: linear-gradient(135deg, rgba(205, 127, 50, 1) 0%, rgba(205, 127, 50, 1) 45%, white 50%, rgba(205, 127, 50, 1) 55%, rgba(205, 127, 50, 1) 100%);
}

@keyframes shimmer {
  0% {
      background-position: -10% 50%;
  }
  75% {
      background-position: 0% 50%;
  }
  100% {
      background-position: 110% 50%;
  }
} */

/* @keyframes shimmer {
    0% {
        background-position: -100% 50%;
    }
    100% {
        background-position: 200% 50%;
    }
} */

/* @keyframes shimmer {
  0% {
      background-position: -10% 50%;
  }
  5% {
      background-position: 0% 50%;
  }
  15% {
      background-position: 90% 50%;
  }
  20% {
      background-position: 0% 50%;
  }
  100% {
      background-position: -10% 50%;
  }
} */
 /*--------------------------------------------------------------
# Articles
--------------------------------------------------------------*/
.article-title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-top: 100px;
  margin-bottom: 40px;
  display: block;
  /* width: 100%; */
  text-align: center;
  margin-left: auto;
  margin-right: auto;
}
.article-title:nth-child(1) {
  margin-top: 25px;
}
.section-header {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 15px;
}
.section-content {
  font-size: 1rem;
  font-weight: 500;
  margin-bottom: 35px;

}
.section-content, .section-header {
  display: block;
  text-align: justify;
  width: 95%;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}
@media screen and (max-width: 768px) {
  .article-title {
    font-size: 1.25rem;
    /* margin-top: 50px; */
    margin-bottom: 20px;
  }
  .section-header {
    font-size: 1rem;
    margin-bottom: 10px;
  }
  .section-content {
    font-size: .9rem;
    margin-bottom: 20px;
  } 
}

 /*--------------------------------------------------------------
# Group/Ungroup Flavors
--------------------------------------------------------------*/
.toggle-wrapper {
  display: inline-block;
  max-width: 80px;
  margin-bottom: 8px;
}

.toggle-checkbox {
  display: none;
}

.toggle-label {
  display: inline-flex;
  align-items: center;
  width: 120px;
  height: 40px;
  background-color: #fff;
  border-radius: 20px;
  position: relative;
  cursor: pointer;
  transition: background-color 0.3s;
}
.dark-mode .toggle-label {
  background-color: #ccc;
}

.toggle-circle {
  position: absolute;
  top: 4px;
  left: 4px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background-color: #ccc;
  transition: transform 0.3s;
}
.dark-mode .toggle-circle {
  background-color: #fff;
}

.toggle-text-left,
.toggle-text-right {
  margin-top: 2px;
  font-size: 1rem;
  line-height: 1.15;
  /* font-weight: bold; */
  transition: opacity 0.3s;
}

.toggle-text-right {
  margin-left: -130px;
  opacity: 0;
  color: #fff;
  
}
.toggle-text-left {
  margin-left: 45px;
  color: #000;
}
/* .dark-mode .toggle-text-left {
  color: #000;
} */

.toggle-checkbox:checked + .toggle-label {
  background-color: #1c180d;
}

.toggle-checkbox:checked + .toggle-label .toggle-circle {
  transform: translateX(80px);
}

.toggle-checkbox:checked + .toggle-label .toggle-text-left {
  opacity: 0;
}

.toggle-checkbox:checked + .toggle-label .toggle-text-right {
  opacity: 1;
}
@media screen and (max-width: 768px) {
  .toggle-label {
    height: 30px;
    width: 90px;
  }
  .toggle-text-left, .toggle-text-right {
    font-size: .8rem;
  }
  .toggle-text-left {
    margin-left: 32px;
  }
  .toggle-text-right {
    margin-left: -103px;
  }
  .toggle-circle {
    top: 3px;
    left: 3px;
    width: 24px;
    height: 24px;
  }
  .toggle-checkbox:checked + .toggle-label .toggle-circle {
    transform: translateX(60px);
  }
  
}

 /*--------------------------------------------------------------
# Discount Code
--------------------------------------------------------------*/
#discount-code-information a {
  color:#1c180d;
  text-decoration: underline;
}
#discount-code-information a:hover {
  color:#000;
}
.dark-mode #discount-code-information a {
  color:#ccc;
}
.dark-mode #discount-code-information a:hover {
  color:#fff;
}
 /*--------------------------------------------------------------
# Sliding Carousel
--------------------------------------------------------------*/
.hero-carousel-header {
  text-align: center;
  /* display: flex; */
  /* width: 100%; */
  /* align-items: center; */
  margin-left: auto;
  margin-right: auto;
}
.hero-carousel-header h2 {
  font-weight: 600;
  margin-bottom: 0px;
  margin-right: 30px;
}
.hero-carousel {
  position: relative;
  /* height: 88vh; */
  height: 500px;
  /* min-height: fit-content; */
  width: 100%;
  overflow: hidden;
  margin-top: max(20px, 3%);
  margin-bottom: max(20px, 3%);
}
.carousel-container {
  display: flex;
  transition: transform 0.5s ease;
  min-height: fit-content;
}
.carousel-slide {
  flex: 0 0 76%;
  margin: 0 1.5%;
  position: relative;
  height: 90%;
}
.carousel-slide .box {
  background: transparent !important;
  box-shadow: none !important;
  padding: 0;
  margin-left: auto;
  margin-right: auto;
  display: flex;
}
.carousel-slide img {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  cursor: pointer;
  /* max-width: 250px; */
  /* height: 82vh; */
  /* max-height: 82vh; */
  height: 300px;
  max-height: 300px;
  object-fit: cover;
  object-position: center;
}
.carousel-slide::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  cursor: pointer;
}
.carousel-slide.active::before {
  display: none;
}
.slide-content {
  position: absolute;
  bottom: 40px;  /* Increased from 20px to 40px */
  left: 20px;
  color: white;
  text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
  z-index: 2;
  display: none;
}
.carousel-slide.active .slide-content {
  display: block;
  transition: opacity 0.3s ease;
}

.slide-button {
  background-color: #f0e4cd;
  color: #1c180d;
  border: none;
  padding: 10px 20px;
  cursor: pointer;
  transition: background-color 0.3s;
  margin-top: 10px;  /* Added margin to separate button from text */
}
.slide-button:hover {
  background-color: #1c180d;
  color: #f0e4cd;
}
.carousel-button {
  position: absolute;
  margin-top: -60px;
  height: 100%;
  width: 100px;
  /* transform: translateY(-50%); */
  /* background: rgba(0,0,0,0.5); */
  /* color: white; */
  background: transparent;
  border: none;
  padding: 0;
  cursor: pointer;
  /* visibility: hidden; */
  z-index: 999;
  top: 20px;
  box-shadow: none !important;
  border: none !important;
}

.carousel-button.prev {left: 0px;}
.carousel-button.next {right: 0px;}

.carousel-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
}
.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255,255,255,0.5);
  margin: 0 5px;
  cursor: pointer;
}
.carousel-dot.active {
  background: white;
}
 /*--------------------------------------------------------------
# Carousel Bar
--------------------------------------------------------------*/
.bar-container {
  width: 40px;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  background: transparent !important;
}
.bar-container span {
  font-size: .9rem !important;
  font-weight: 700 !important;
  color: #000;
  position: absolute;
}
.bar-container .bar-bottom {
  left: 2px;
  rotate: 60deg;
}
.bar-container.caffeine {
  margin-left: -45px;
}
.caffeine .bar-top {
  margin-left: -12px;
}
/* .bar-container.zevia {
  margin-left: -10px;
} */
.bar-container.sugar .bar-bottom {
  bottom: -39px;
}
.bar-container.macros .bar-bottom {
  bottom: -42px;
}
.bar-container.calories .bar-bottom, .bar-container.caffeine .bar-bottom {
 bottom: -45px; 
}
.bar-container.ashwagandha .bar-bottom {
  margin-left: -10px;
  bottom: -62px;
}
.bar-container.tribulus-terrestris .bar-bottom {
  margin-left: -18px;
  bottom: -76px;
  min-width: 125px;
}
.bar-container.l-citrulline .bar-bottom {
  left: -2px;
  bottom: -55px; 
  min-width: 75px;
}
.bar-container.saw-palmetto .bar-bottom {
  margin-left: -11px;
  bottom: -63px; 
  min-width: 95px;
}
.bar-container.saw-palmetto, .bar-container.ashwagandha, .bar-container.tribulus-terrestris {
  margin-left: -60px;
}
.bar-container span.bar-top {
  left: -6px;
  top: -20px;
}
.bar-value {
  width: 4px;
  background-color: #000;
  transition: height 0.3s ease;
  position: relative;
}
.bar-line {
  width: 20px;
  height: 4px;
  background-color: #000;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}
.dark-mode .bar-value, .dark-mode .bar-line {
  background-color: #ccc;
}
.bar-line-bottom {
  bottom: -4px;
}
.bar-line-top {
  top: 0;
}
@media (max-width: 1200px) {
  .carousel-slide img {
    /* width: 50%; */
    height: 100%;
    max-height: 200px;
  }
  .bar-container {
    height: 150px;
    max-height: 150px;
  }
  /* .keep-bar {
    max-height: 100px;
    max-width: 150px;
  }
  .protein-puck {
    max-width: 200px;
  } */
}
@media (min-width: 992px) {
  .carousel-container {
      width: 100%;
      margin-left: 10%;
  }
}
@media (max-width: 991px) {
  .hero-carousel {
    margin-top: 0px;
  }
  .hero-carousel-header {
    display: block !important;
  }
  #hero-carousel-header-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-right: 0px;
  }
  #hero-carousel-header-btn {
    margin-top: 10px;
    font-size: .8rem;
    max-height: 40px;
    margin-bottom: 10px;
  }
  .carousel-container {
      width: 100%;
      margin-left: 0;
  }
  .carousel-slide {
    flex: 0 0 100%;
    margin: 0;
  }
  /* .carousel-slide .container {
    max-width: 500px !important;
  } */
  .carousel-slide img {
    width: 150px !important;
    max-width: 150px !important;
    height: 150px;
    max-height: 150px;
  }
  .carousel-slide .soda img {
    width: 100px !important;
    max-width: 100px !important;
  }
  .carousel-slide .primal-power-special img {
    /* width: 90px !important; */
    /* max-width: 90px !important; */
    height: 200px !important;
    max-height: 200px !important;
  }
  .keep-bar img {
    width: 200px !important;
    max-width: 200px !important;
    /* height: 100px; */
    /* max-height: 100px; */
  }
  .bar-container {
    height: 100px;
    max-height: 100px;
  }
  .bar-container .caffeine {
    margin-left: -10px;
    margin-right: 20px;
  }
  .bar-container .bar-bottom {
    rotate: 0deg;
    bottom: -30px !important;
  }
  .keep-bar {
    max-width: 200px;
  }
  .keep-bar img {
    margin-left: -30px;
  }
  .keep-bar .bar-container {
    margin-left: 50px;
  }
  .bar-container.macros {
    margin-left: 20px;
  }
  .bar-container.caffeine {
    margin-left: -10px;
    margin-right: 40px;
  }
  .bar-container.calories {
    margin-left: 20px;
    margin-right: 50px;
  }
  .bar-container.saw-palmetto, .bar-container.ashwagandha, .bar-container.tribulus-terrestris {
    margin-left: 10px;
  }
  .pre-workout img {
    margin-left: -20px;
  }
  .test-support img {
    margin-left: -60px;
  }
}
 /*--------------------------------------------------------------
# Videos
--------------------------------------------------------------*/
video {
  max-width: min(100%, 1080px);
}
.video-wrapper {
  width: 100%;
  margin-top: max(20px, 3%);
  margin-bottom: max(20px, 3%);
  /* margin-left: auto; */
  /* margin-right: auto; */
}
.video-header {
  margin-top: max(20px, 3%);
  font-weight: 600;
}
#getupdates {
  margin-bottom: max(20px, 3%);
}