body.flavor-page {
  color: #000;
  font-family: "Inter", sans-serif;
  margin: 0;
  padding: 0;
}

.flavor-grid {
  background-color: #000;
}

.flavor-grid-container {
  display: flex;
  flex-wrap: wrap;
  gap: 230px;
  margin: auto;
  max-width: 1200px;
  padding-top: 32px;
}

.main-can {
  width: 100%;
  max-width: 300px;
  margin-top: 72px;
}
.main-can.mixed {
  max-width: 380px;
}

.flavor-info {
  flex: 1;
  min-width: 300px;
}

.title {
  font-size: 2.3rem;
  font-family: "Archivo Black", sans-serif;
  margin-bottom: 10px;
  color: white;
}
.title.mixed {
  max-width: 440px
}

.tagline {
  font-weight: 500;
  font-size: 1.1rem;
  color: white;
  margin-bottom: 12px;
  font-family: "Inter", sans-serif;
}

.price-card {
  display: flex;
  align-items: center;
  justify-content: space-evenly;
  gap: 40px;
  padding: 0px 24px;
  margin-top: 30px;
  margin-bottom: 30px;
  max-width: 440px;
  border: solid white 0.5px;
  border-radius: 8px;
}
.price-card.cola,
.price-card.strawberry-lemonade {
  padding: 16px 24px;
}

.price-info {
  color: white;
  min-width: 165px;
  text-align: left;

  small {
    opacity: 0.8;
  }
}

.price {
  font-weight: 800;
  font-size: 1.2rem;
  color: #0ea5e9;
}
.price.lemon-ginger {
  color: #e3db18;
}
.price.orange-creamsicle {
  color: #FF9549
}
.price.cola {
  color: #78A7FF;
}
.price.strawberry-lemonade {
  color: #FF7B9A;
}
.price.mixed-lg-oc {
  background: linear-gradient(to top, #ff9549 10%, #e3db18 40%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.buy-now-btn {
  padding-bottom: 16px;
  max-width: 200px;
}
.sold-out-btn {
  background-color: #BCBCBC;
  color: black;
  font-size: 0.95rem;
  text-transform: uppercase;
  font-weight: bold;
  border-radius: 4px;
  margin-top: 10px;
  /* cursor: unset; */
  padding: 12px;
  cursor: pointer;
}
.sold-out-btn.lemon-ginger {
  background-color: #e3db18;
}
.sold-out-btn.orange-creamsicle {
  background-color: #FF9549
}
.sold-out-btn.cola {
  background-color: #78A7FF;
}
.sold-out-btn.strawberry-lemonade {
  background-color: #FF7B9A;
}

.description {
  line-height: 1.5;
  max-width: 450px;
  color: white;
  font-size: 16px;
  opacity: 0.8;
}
.description .lg {
  color: #e3db18;
  font-weight: 600;
}
.description .oc {
  color: #FF9549;
  font-weight: 600;
  
}
.description .c {
  color: #78A7FF;
  font-weight: 600;
  
}
.description .sl {
  color: #FF7B9A;
  font-weight: 600;
  
}

.benefit-badges {
  margin-top: 20px;
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  max-width: 570px;
}

/* Default badge style */
.benefit-badges .badge {
  background: #0ea5e9; /* fallback color */
  color: #000;
  padding: 6px 12px;
  letter-spacing: 0.1rem;
  border-radius: 4px;
  font-weight: 600;
}

/* Flavor-specific overrides */
.benefit-badges.lemon-ginger .badge {
  background: #e3db18;
}

.benefit-badges.strawberry-lemonade .badge {
  background: #FF7B9A;
}

.benefit-badges.orange-creamsicle .badge {
  background: #ff9549;
}

.benefit-badges.classic-cola .badge {
  background: #78A7FF;
}
.benefit-badges.mixed-lg-oc .badge {
  background: linear-gradient(to top, #ff9549 10%, #e3db18 40%);
}
/* End of Flavor-specific overrides */

.our-flavors-section {
  padding: 40px 0px;
}

.our-flavors-title {
  color: white;
  font-size: 1.3rem;
  margin-bottom: 16px;
  font-weight: 600;
}

.flavor-card-grid {
  display: flex;
  flex-wrap: wrap;
  text-align: center;
  gap: 24px;
}

.flavor-card-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 125px;
  height: 190px;
  border-radius: 12px;
  background: #f2f2f2;
  padding: 16px;
  text-decoration: none;
  color: black;
  font-weight: 600;
  position: relative;
  overflow: hidden;
}
.flavor-card-box.variety-pack {
  width: 195px;
}
.flavor-card-box img {
  position: relative;
  z-index: 2; /* Ensures the can is above background but below badge */
}

.flavor-card-box:hover {
  transform: scale(1.04);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.1);
}
.flavor-card-box img {
  width: 60px;
  height: 100px;
  margin-bottom: 12px;
}
.flavor-card-box.lemon.selected {
  border: 3px solid #E3DB18;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(239, 255, 67, 0.3);
}
.flavor-card-box.orange-creamsicle.selected {
  border: 3px solid #FF9549;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(245, 192, 60, 0.3);
}
.flavor-card-box.cola.selected {
  border: 3px solid #78A7FF;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(67, 123, 255, 0.3);
}
.flavor-card-box.strawberry.selected {
  border: 3px solid #FF7B9A;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(245, 60, 193, 0.3);
}
.flavor-card-box.variety-pack.selected {
  border: 3px solid #f1b831;
  pointer-events: none;
  box-shadow: 0 0 0 3px rgba(239, 255, 67, 0.3);
}

/* Flavor Backgrounds */
.flavor-card-box.cola {
  background: #e1e9ff;
}
.flavor-card-box.strawberry {
  background: #ffe4eb;
}
.flavor-card-box.orange-creamsicle {
  background: #ffe4d4;
}
.flavor-card-box.lemon {
  background: #f7fdd6;
}

.sold-out-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #D75555;
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 6px 10px;
  border-bottom-right-radius: 8px;
  line-height: 1.1;
  opacity: 0.8;
  z-index: 1;
}
.new-badge {
  position: absolute;
  top: 0;
  left: 0;
  background-color: #003f86;
  color: white;
  font-weight: 700;
  font-size: 0.7rem;
  padding: 6px 10px;
  border-bottom-right-radius: 8px;
  line-height: 1.1;
  opacity: 0.8;
  z-index: 1;
}


/* Gradient background for Lemon Ginger */
.flavor-details.lemon-ginger {
  background: linear-gradient(to bottom, #ffffff 10%, #ece659 100%);
}
.flavor-details.orange-creamsicle {
  background: linear-gradient(to bottom, #ffffff 10%, #ffa34f 100%);
}
.flavor-details.cola {
  background: linear-gradient(to bottom, #ffffff 10%, #78A7FF 100%);
}
.flavor-details.strawberry-lemonade {
  background: linear-gradient(to bottom, #ffffff 10%, #FF7B9A 100%);
}
.flavor-details.mixed {
  background: linear-gradient(to bottom, #ffffff 10%, #f1b831 100%);
}
#lemon-desktop {
  background: linear-gradient(to bottom, #ffffff 10%, #ece659 100%);
}
#lemon-mobile {
  background: linear-gradient(to bottom, #ffffff 10%, #ece659 100%);
}
#orange-desktop {
  background: linear-gradient(to bottom, #ffffff 10%, #ffa34f 100%);
}
#orange-mobile {
  background: linear-gradient(to bottom, #ffffff 10%, #ffa34f 100%);
}

.flavor-details-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 40px;
  margin: auto;
  max-width: 1440px;
  padding: 32px;
}
.flavor-details-container.mixed {
  max-width: none;
}

.flavor-detail-column h3 {
  font-size: 1.6rem;
  text-transform: uppercase;
  font-family: "Archivo Black", sans-serif;
  text-align: center;
  color: white;
  background-color: black;
  border-top-left-radius: 8px;
  border-top-right-radius: 8px;
  padding: 8px;
}

.humor-img {
  width: 100%;
  max-width: 320px;
  border: 1px dotted;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 8px;
}

.ingredients-text {
  font-size: 1rem;
  line-height: 1.7;
  max-width: 330px;
  border: 1px dotted;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding: 16px;
}

.ingredients-text small {
  font-size: 0.85rem;
  color: #666;
}

.nutrition-img {
  max-width: 300px;
  border: 1px dotted;
  border-bottom-left-radius: 8px;
  border-bottom-right-radius: 8px;
  padding-top: 12px;
  padding-right: 12px;
  padding-left: 12px;
  padding-bottom: 32px;
}

.desktop-view {
  display: block;
}

.mobile-view {
  display: none;
}

.desktop-buy {
  display: block;
}
.mobile-buy {
  display: none;
}
.flavor-details-container[hidden] { display: none !important; }
.tabs {
  display: flex;
  justify-content: space-evenly;
  gap: 20px;
  cursor: pointer;
  border-bottom: 2px solid #ccc;
  margin-bottom: 10px;
}
.tab {
  padding: 8px 12px;
}
.tab.active {
  border-bottom: 3px solid black;
  font-weight: bold;
}


/* Mobile Responsive */
@media (max-width: 980px) {
  .flavor-grid-container {
    gap: 187px;
  }
  .price-info {
    min-width: 165px;
  }
}

@media (max-width: 834px) {
  .flavor-grid-container {
    display: block;
    max-width: 95%;
    padding-top: 16px;
    text-align: center;
  }

  .main-can {
    margin-top: 16px;
    max-width: 280px;
  }
  .main-can.mixed {
    max-width: 380px;
  }

  .title {
    margin-bottom: 0px;
  }
  .title.strawberry {
    line-height: normal;
  }

  .price-card-container {
    display: flex;
    justify-content: center;
  }
  .price-card {
    /* min-width: 370px; */
  }

  .description-container {
    display: flex;
    justify-content: center;
    margin-bottom: 32px;
  }

  .benefit-badges {
    justify-content: center;
    margin: auto;
  }

  .flavor-card-grid {
    justify-content: center;
    gap: 16px;
  }

  .flavor-details-container {
    justify-content: center;
    max-width: 95%;
  }

  .flavor-detail-column {
    width: 95%;
  }

  .humor-img-container {
    display: flex;
    justify-content: center;
    border: 1px dotted;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 8px;
  }
  .humor-img {
    border: none;
  }

  .ingredients-text-container {
    display: flex;
    justify-content: center;
    border: 1px dotted;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 8px;
  }

  .nutrition-img-container {
    display: flex;
    justify-content: center;
    border: 1px dotted;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding-top: 12px;
    padding-right: 6px;
    padding-left: 6px;
    padding-bottom: 12px;
  }
  .nutrition-img {
    border: none;
  }

  .desktop-view {
    display: none;
  }
  .mobile-view {
    display: block;
  }
  .desktop-buy {
    display: none;
  }
  .mobile-buy {
    display: block;
  }
}

@media (max-width: 480px) {
  .price-info {
    min-width: 165px;
  }
  .price-card {
    min-width: none;
  }
  .main-can {
    max-width: 260px;
  }
}

@media (max-width: 576px) and (min-width: 390px) {
  .flavor-card-grid {
    max-width: 406px;
    margin: auto;
  }
  .flavor-card-box {
    width: 145px;
    margin-right: 16px;
    margin-left: 16px;
  }
  .flavor-card-box.variety-pack {
    width: 195px;
  }
}

@media (max-width: 1220px) and (min-width: 831px) {
  .main-can {
    margin-left: 24px;
  }
}

@media (max-width: 1084px) and (min-width: 830px) {
  .flavor-details-container {
    justify-content: center;
  }
}

/* End Mobile Responsive */

.amazon-buy-btn {
  display: block;
  margin-top: 10px;
  text-align: center;
  background: #FF9900;
  color: #000;
  font-weight: 600;
  font-size: 15px;
  padding: 9px 10px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s;
  text-transform: uppercase;
}
.amazon-buy-btn:hover,
.amazon-buy-btn:focus {
  background: #e08800;
  color: #000;
  text-decoration: none;
}
