/* Improved input group layout for weight section */

.page-template-new-garden-calculator .entry-title {
  display: none !important;
}

.input-group {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  align-items: center;
  max-width: 600px;
  margin-bottom: 24px;
}
.input-block {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  min-width: 160px;
  flex: 1;
}
#weightSlider {
  width: 100%;
  max-width: 200px;
  accent-color: #37a2ff ;
}
#sliderValueLabel {
  margin-left: 8px;
  font-size: 14px;
  color: #51a325;
}
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  background: #ffffff !important; 
  color: #1e1e1e !important;
  padding: 0;
  margin: 0;
  overflow-x: hidden;
}

/* ============= ANIMATIONS ============= */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 0 0 0 rgba(81, 163, 37, 0.7);
  }
  50% {
    box-shadow: 0 0 0 10px rgba(81, 163, 37, 0);
  }
}

@keyframes bounce {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-5px);
  }
}

/* Animation Classes */
.fade-in {
  animation: fadeIn 0.8s ease-in;
}

.slide-in-left {
  animation: slideInLeft 0.7s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.7s ease-out;
}

.stats-slide-up {
  animation: slideUp 0.8s ease-out 0.3s both;
}

.buttons-fade-in {
  animation: fadeIn 0.8s ease-in 0.5s both;
}

.hero-title-slide {
  animation: slideUp 0.7s ease-out;
}

.hero-description-fade {
  animation: fadeIn 0.7s ease-in 0.2s both;
}

.hero-button-bounce {
  animation: slideUp 0.7s ease-out 0.3s both;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.card-hover {
  transition: all 0.3s ease;
}

.card-hover:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(81, 163, 37, 0.15);
}

.btn-hover-lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(81, 163, 37, 0.2);
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: #51a325 !important;
  background-image: linear-gradient(45deg, #51a325 0%, #7bc32c 25%, #51a325 50%, #2d6b1a 100%) !important;
  color: #fff !important;
  /* border: 3px solid #C0FC9E !important; */
  border-radius: 50% !important;
  width: 50px !important;
  height: 50px !important;
  font-size: 24px !important;
  cursor: pointer !important;
  display: none !important;
  align-items: center !important;
  justify-content: center !important;
  transition: all 0.4s ease !important;
  box-shadow: 0 0 20px rgba(81, 163, 37, 0.8), 0 0 35px rgba(192, 252, 158, 0.6) !important;
  z-index: 999 !important;
  opacity: 0;
  transform: translateY(20px);
  text-shadow: 0 2px 4px rgba(35, 77, 44, 0.8);
  font-weight: bold;
}

.scroll-to-top.show {
  display: flex !important;
  opacity: 1 !important;
  transform: translateY(0) !important;
  animation: float 3s ease-in-out infinite;
}

@keyframes float {
  0%, 100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-8px);
  }
}

.scroll-to-top:hover {
  background: #51a325 !important;
  /* background: #7bc32c !important; */
  /* border-color: #51a325 !important; */
  box-shadow: 0 0 40px rgba(81, 163, 37, 1), 0 0 60px rgba(123, 195, 44, 0.8) !important;
  transform: translateY(-10px) scale(1.2) !important;
}

.scroll-to-top:active {
  transform: translateY(-5px) scale(1.1);
  box-shadow: 0 0 25px rgba(81, 163, 37, 0.9), 0 0 35px rgba(192, 252, 158, 0.7) !important;
}

/* Scroll to Top Button */
.scroll-to-top {
  position: fixed;
  bottom: 30px;
  right: 30px;
  background: linear-gradient(135deg, #51a325 0%, #6a962a 100%);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(81, 163, 37, 0.3);
  z-index: 999;
  opacity: 0;
  transform: translateY(20px);
}

.scroll-to-top.show {
  display: flex;
  opacity: 1;
  transform: translateY(0);
}

.scroll-to-top:hover {
  background: linear-gradient(135deg, #6a962a 0%, #51a325 100%);
  box-shadow: 0 6px 20px rgba(81, 163, 37, 0.4);
  transform: translateY(-5px);
}

.scroll-to-top:active {
  transform: translateY(-2px);
  box-shadow: 0 2px 8px rgba(81, 163, 37, 0.3);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: -50px;
    margin-bottom: 20px;
    /* margin-bottom: 40px; */
    padding: 30px 20px;
    background: #ffffff;
    border-radius: 12px;
    z-index: 10;
    position: relative;
}

.secondary-button {
    background-color: rgba(255, 255, 255, 0.9);
    color: #234d2c;
    padding: 14px 32px;
    font-size: clamp(0.9rem, 1.8vw, 1rem);
    text-decoration: none;
    border-radius: 8px;
    font-weight: 600;
    border: 2px solid #51a325;
    transition: all 0.3s ease;
    display: inline-block;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(81, 163, 37, 0.12);
}

.secondary-button:hover {
    background-color: #51a325;
    color: #ffffff;
    border-color: #51a325;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(81, 163, 37, 0.25);
}
    .container {
  background: #fff !important;
  /* padding: 2vw; */
  border-radius: 16px;
  max-width: 100%; 
  margin: 00px auto;
  box-shadow: 0 4px 24px rgba(81,163,37,0.08);
    }
    .row {
      display: flex;
      flex-wrap: wrap;
      margin-bottom: 10px;
    }
    .section-title {
  font-weight: bold;
  font-size: 24px;
  margin-bottom: 16px;
  color: #51a325;
  text-shadow: 0 2px 8px #bdfc9a;
    }

.section-heading {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 12px;
  text-align: center;
  font-weight: 700;
  letter-spacing: -0.5px;
}
    input[type="number"] {
  padding: 12px;
  font-size: 22px;
  width: 180px;
  border-radius: 8px;
  border: 1px solid #a3d8f4;
  background: #f8f8f8;
    }
    .result {
  font-size: 64px;
  color: #51a325;
  font-weight: bold;
  text-shadow: 0 2px 8px #bdfc9a;
input, button {
  background: #f8f8f8 !important; 
  color: #333 !important; 
  border: 1px solid #a3d8f4 !important;
  border-radius: 8px;
  transition: box-shadow 0.2s;
}
button {
  font-size: 18px;
  padding: 12px 28px;
  border-radius: 12px;
  cursor: pointer;
  background: linear-gradient(90deg, #51a325 60%, #a3d8f4 100%) !important;
  color: #fff !important;
  box-shadow: 0 2px 8px rgba(81,163,37,0.08);
  border: none !important;
  transition: background 0.3s, transform 0.2s;
}
button:hover {
  background: linear-gradient(90deg, #a3d8f4 60%, #51a325 100%) !important;
  transform: scale(1.05);
}
/* Card style for plant and modifier buttons */
.fruit-button, .modifier-button {
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(81,163,37,0.08);
  padding: 8px;
  margin: 4px;
  transition: box-shadow 0.2s;
  min-width: 120px;
  font-size: 16px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.fruit-button.active, .modifier-button.active {
  box-shadow: 0 0 10px 3px #bdfc9a;
  border: 2px solid #51a325;
}
      margin-top: 20px;
      color: #51a325;
    }
    input, button {
      /* background: #2e2e2e !important;
      color: #e0e0e0 !important;
      border: 1px solid #444 !important;
       */
      background: #f8f8f8 !important; 
      color: #333 !important; 
      border: 1px solid #ccc !important;
    }
    button {
      font-size: 18px;
      padding: 10px 20px;
      border-radius: 8px;
      cursor: pointer;
    }
    #modifiers {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  position: relative;
  z-index: 2; 
}
    .fruit-button img {
      width: 64px;
      height: 64px;
      opacity: 1;
	  border: none;
    }

	.fruit-button.active {
  box-shadow: 0 0 10px 3px #bdfc9a;
  border: 2px solid #bdfc9a;
}
.hero-section {
    background-image: url("../images/bg.jpg");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    color: #fff;
    text-align: center;
    min-height: 100vh;
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin: 0;
    /* margin-bottom: 0;
    padding: 20px 20px 60px 20px; */
    margin-bottom: 40px;
    padding: 20px 20px 100px 20px;
    z-index: 1;
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    z-index: -1;
}

.hero-content {
    max-width: 900px;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.hero-section h1 {
    font-size: clamp(2.5rem, 8vw, 3.5rem);
    margin: 0;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-section p {
    font-size: 25px;
    margin-bottom: 20px;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}
/* ...existing code... */
.hero-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  z-index: 2;
}

.hero-stat {
  /* background: transparent; */
  color: #fff;
  padding: 16px 28px;
  border-radius: 12px;
  /* box-shadow: 0 4px 16px rgba(81,163,37,0.15); */
  text-align: center;
  min-width: 110px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: text-shadow 0.3s;
}

.hero-stat-number {
  font-size: 32px;
  font-weight: bold;
  margin-bottom: 4px;
  letter-spacing: 1px;
}
.hero-stat:hover .hero-stat-number,
.hero-stat:hover .hero-stat-label {
  text-shadow: 0 2px 8px #51a325, 0 0 4px #bdfc9a;
}

.hero-stat-label {
  font-size: 16px;
  font-weight: 500;
  color: #bdfc9a;
}
/* ...existing code... */
.cta-button {
    background-color: #6a962a; /* Dark green button to match theme */
    color: #fff;
    padding: 12px 24px;
    font-size: 18px;
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.cta-button:hover {
    background-color: #5c8423; /* A slightly darker shade on hover */
}
/* .fruit-button {
  background-color: #f0f0f0; 
  border: 1px solid #ccc; 
  border-radius: 8px; 
} */
    .modifier-button {
      margin: 5px;
      padding: 10px;
      border-radius: 8px;
      /* background-color: #2c2c2c;
      color: #e0e0e0;
      border: 1px solid #444; */
      background-color: #e6e6e6;
      color: #333;
      border: 1px solid #ccc;
      cursor: pointer;
      transition: all 0.3s;
    }
	#togglePriceRangeBtn.active {
  background-color: #3a3a3a;
  border-color: #bdfc9a;
  box-shadow: 0 0 10px 4px #bdfc9a;
}
    .modifier-button.active {
      /* box-shadow: 0 0 10px 2px #bdfc9a;
      background-color: #3c3c3c; */
      box-shadow: 0 0 10px 2px #6a962a;
      background-color: #d9d9d9;
    }
    .modifier-button.disabled {
      opacity: 0.3;
      pointer-events: none;
    }
    .category-toggle {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin-bottom: 20px;
    }
    .category-toggle-button {
      font-size: 18px;
      padding: 12px 24px;
      background-color: #3a3a3a;
      border: 2px solid #555;
      border-radius: 10px;
      cursor: pointer;
      transition: all 0.2s ease-in-out;
    }
	  .fruit-button.active {
  box-shadow: 0 0 10px 3px #bdfc9a;
  border: 2px solid #bdfc9a;
}
    .category-toggle-button.active {
      transform: scale(1.05);
      background-color: #4a4a4a;
      border-color: #bdfc9a;
    }
	.category-toggle-button.bee-glow {
  box-shadow: 0 0 8px 4px yellow;
  border-color: yellow;
}
.fruit-button span {
  text-transform: capitalize;
  color: #333;
}
.category-wrapper {
  position: relative;
  height: 520px; 
  overflow: visible;
overflow-y: visible;
  margin-bottom: 20px;

}

.category-toggle-button.bee-default-glow {
  box-shadow: 0 0 12px 4px yellow;
  border-color: yellow;
}

.category-toggle-button.active {
  transform: scale(1.05);
  /* background-color: #4a4a4a;
  border-color: #bdfc9a;
  box-shadow: 0 0 10px 4px #bdfc9a; */
  background-color: #cccccc;
  border-color: #6a962a;
  box-shadow: 0 0 10px 4px #6a962a;
}

.category-toggle-button.active.bee-default-glow {
  box-shadow: 0 0 10px 4px #bdfc9a;
  border-color: #bdfc9a;
}
.category-content {
  position: relative;
  top: 0;
  left: 0;
  right: 0;
  flex-wrap: wrap;
  gap: 10px;
  display: none;
  transition: opacity 0.3s ease-in-out;
  z-index: 0; 
padding-bottom: 10px;
}
.category-content.active {
  display: flex;
}

.google-form {
  width: 100%;
  height: 500px;
  border: none;
  display: block;
  margin: 0 auto;
}

.desktop-ad {
  width: 100%;
  max-width: 320px;
  margin: 20px auto 0;
  text-align: center;
}
.form-ad-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.form-ad-container {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  align-items: center;
}
.input-group {
   display: flex;         
  flex-direction: row;  
  gap: 1rem;            
  flex-wrap: nowrap;    
  align-items: center; 
}

.input-block {
display: flex;
  flex-direction: column;
  min-width: 150px;
  margin: 2px 5px
}

.input-block.small {
  flex: 0 1 75px;
}

.input-block.large {
  flex: 1 1 100px;
}

.input-block input[type="number"],
.input-block input[type="range"] {
  font-size: 18px;
  padding: 8px;
  background: #2e2e2e;
  color: #e0e0e0;
  border: 1px solid #444;
  border-radius: 6px;
  max-width: 200px;
}

.input-block label {
  margin-bottom: 6px;
  font-size: 14px;
}

#sliderValueLabel {
  margin-top: 6px;
  font-size: 14px;
  color: #ccc;
}

#layoutContainer.layout-side-by-side {
  display: flex;
  flex-direction: row;
  gap: 20px;
}
#layoutContainer.layout-side-by-side .left-panel,
#layoutContainer.layout-side-by-side .right-panel {
  flex: 1;
min-width: 0;
}
#layoutContainer.layout-default .left-panel,
#layoutContainer.layout-default .right-panel {
  width: 100%;
}

#layoutToggleBtn {
  display: block;
}

#layoutContainer.layout-side-by-side .left-panel {
  max-height: calc(100vh - 60px); /* adjust if header/button takes more space */
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
}

.ad-slot-wrapper {
  width: 100%;
  max-width: 320px;
  min-height: 100px;
  margin-top: 20px;
}

@media (max-width: 1079px) {
  .category-content {
    max-height: 400px; /* or whatever fits your layout */
    overflow-y: auto;
    padding-right: 10px; /* optional: avoid scrollbar overlap */
  }
}

.top-controls {
  /* position: absolute; */
  /* top: 10px; */
  /* left: 10px; */
  display: flex;
  gap: 5px;
  align-items: center;
  margin-bottom: 5px;
  /* z-index: 1000; */
}

#layoutContainer.layout-side-by-side .category-toggle-button:first-child {
  margin-left: 10px; /* or more, adjust as needed */
}

.modifier-button.active.rainbow {
  box-shadow:
    0 0 4px #ff0000,
    0 0 8px #ff9900,
    0 0 12px #33cc33,
    0 0 16px #3399ff,
    0 0 20px #9900cc;
}

.modifier-button.active.gold { box-shadow: 0 0 10px 3px gold; }
.modifier-button.active.pollinated { box-shadow: 0 0 10px 3px #ffaa1c; }
.modifier-button.active.celestial { box-shadow: 0 0 10px 3px #f04ac3; }
.modifier-button.active.moonlit { box-shadow: 0 0 10px 3px #999dff; }
.modifier-button.active.burnt { box-shadow: 0 0 10px 2px #444, 0 0 2px 1px white;}
.modifier-button.active.shocked { box-shadow: 0 0 10px 3px #ffe66d; }
.modifier-button.active.disco { box-shadow: 0 0 10px 3px #f48fd6; }
.modifier-button.active.choc { box-shadow: 0 0 10px 3px #3d2218; }
.modifier-button.active.zombified { box-shadow: 0 0 10px 3px #4bb973; }
.modifier-button.active.honeyglazed { box-shadow: 0 0 10px 3px #ffc94d; }
.modifier-button.active.molten { box-shadow: 0 0 10px 3px #e76a0b; }
.modifier-button.active.frozen,
.modifier-button.active.chilled { box-shadow: 0 0 10px 3px #72bff5; }
.modifier-button.active.wet { box-shadow: 0 0 10px 3px #66b6e3; }
.modifier-button.active.meteoric { box-shadow: 0 0 10px 3px #403483; }
.modifier-button.active.heavenly { box-shadow: 0 0 10px 3px #F2EB99; }
.modifier-button.active.bloodlit { box-shadow: 0 0 10px 3px #B00000; }
.modifier-button.active.voidtouched { box-shadow: 0 0 10px 3px #D24CFF; }
.modifier-button.active.plasma { box-shadow: 0 0 10px 3px #9D2D6F; }
.modifier-button.active.cooked { box-shadow: 0 0 10px 3px #CC6000; }
.modifier-button.active.windstruck { box-shadow: 0 0 10px 3px #A2B9D1; }
.modifier-button.active.sundried { box-shadow: 0 0 10px 3px #CF5D00; }
.modifier-button.active.alienlike { box-shadow: 0 0 10px 3px #5CC6B1; }
.modifier-button.active.verdant { box-shadow: 0 0 10px 3px #386F28; }
.modifier-button.active.paradisal { box-shadow: 0 0 10px 3px #9DC237; }
.modifier-button.active.galactic { box-shadow: 0 0 10px 3px #A96CD4; }
.modifier-button.active.sandy { box-shadow: 0 0 10px 3px #D4BF8D; }
.modifier-button.active.clay { box-shadow: 0 0 10px 3px #966450; }
.modifier-button.active.ceramic { box-shadow: 0 0 10px 3px #EAB892; }
.modifier-button.active.aurora { box-shadow: 0 0 10px 3px #6258AC; }
.modifier-button.active.twisted { box-shadow: 0 0 10px 3px #B8B8B8; }
.modifier-button.active.cloudtouched { box-shadow: 0 0 10px 3px #DEFCFC; }
.modifier-button.active.ancientamber { box-shadow: 0 0 10px 3px #893314; }
.modifier-button.active.amber { box-shadow: 0 0 10px 3px #FFC000; }
.modifier-button.active.fried { box-shadow: 0 0 10px 3px #974D1C; }
.modifier-button.active.oldamber { box-shadow: 0 0 10px 3px #AC6E5E; }
.modifier-button.active.friendbound { box-shadow: 0 0 10px 3px #E9267E; }
.modifier-button.active.tempestous {box-shadow: 0 0 10px 3px #8CA0B1; }
.modifier-button.active.infected {box-shadow: 0 0 10px 3px #43A700; }
.modifier-button.active.tranquil {box-shadow: 0 0 10px 3px #FFFFFF; }
.modifier-button.active.radioactive {box-shadow: 0 0 10px 3px #62FF00; }
.modifier-button.active.corrupt {box-shadow: 0 0 10px 3px #B0171A; }
.modifier-button.active.sliced {box-shadow: 0 0 10px 3px #DFDFDF; }
.modifier-button.active.junkshock {box-shadow: 0 0 10px 3px #93F700; }
.modifier-button.active.oil {box-shadow: 0 0 10px 3px #32324B; }
.modifier-button.active.subzero {box-shadow: 0 0 10px 3px #00FFFF; }
.modifier-button.active.jackpot {box-shadow: 0 0 10px 3px #84F570; }
.modifier-button.active.silver {box-shadow: 0 0 10px 3px #C0C0C0; }
.modifier-button.active.acidic {box-shadow: 0 0 10px 3px #8cf947; }
.modifier-button.active.sauce {box-shadow: 0 0 10px 3px #C62D23; }
.modifier-button.active.boil {box-shadow: 0 0 10px 3px #8CF947; }
.modifier-button.active.aromatic {box-shadow: 0 0 10px 3px #8D8130; }
.modifier-button.active.touchdown {box-shadow: 0 0 10px 3px #CB5F00; }
.modifier-button.active.meatball {box-shadow: 0 0 10px 3px #843431; }
.modifier-button.active.blitzshock {box-shadow: 0 0 10px 3px #00BBEF; }
.modifier-button.active.pasta {box-shadow: 0 0 10px 3px #E5CC84; }
.modifier-button.active.static {box-shadow: 0 0 10px 3px #FDFDDF; }
.modifier-button.active.spaghetti {box-shadow: 0 0 10px 3px #F8BA8E; }
.modifier-button.active.bloom {box-shadow: 0 0 10px 3px #97C738; }
.modifier-button.active.eclipsed {box-shadow: 0 0 10px 3px #24405A; }
.modifier-button.active.fortune { box-shadow: 0 0 10px 3px gold; }
.modifier-button.active.lightcycle { box-shadow: 0 0 10px 3px #FFFFFF; }
.modifier-button.active.brainrot { box-shadow: 0 0 10px 3px #FD6B6D; }
.modifier-button.active.warped { box-shadow: 0 0 10px 3px #BD33FB; }
.modifier-button.active.maelstrom { box-shadow: 0 0 10px 3px #0F43D7; }
.modifier-button.active.gloom { box-shadow: 0 0 10px 3px #444564; }
.modifier-button.active.cosmic { box-shadow: 0 0 10px 3px #8B8ECA; }
.modifier-button.active.stormcharged { box-shadow: 0 0 10px 3px #8CBED5; }
.modifier-button.active.glitched { box-shadow: 0 0 10px 3px #D053C6; }
.modifier-button.active.glimmering { box-shadow: 0 0 10px 3px #FF87F5; } 
.modifier-button.active.abyssal { box-shadow: 0 0 10px 3px #44136E; } 
.modifier-button.active.infernal { box-shadow: 0 0 10px 3px #81DD62; }
.modifier-button.active.flaming { box-shadow: 0 0 10px 3px #B44419; }
.modifier-button.active.cracked{ box-shadow: 0 0 10px 3px #70695F; }
.modifier-button.active.luminous { box-shadow: 0 0 10px 3px #5A90D1; }
.modifier-button.active.corrosive { box-shadow: 0 0 10px 3px #69DC3D; }
.modifier-button.active.gnomed  { box-shadow: 0 0 10px 3px #3D8CBC; } 


@keyframes rainbowText {
  0%   { color: red; }
  33%  { color: blue; }
  66%  { color: green; }
  100% { color: red; }
}

.rainbow-animated {
  animation: rainbowText 3s infinite ease-in-out;
  font-weight: bold;
}

#mutationBreakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  max-width: 75%;
}

#mutationBreakdown span {
  white-space: nowrap;
}

#owlXpInputs {
  display: flex;
  flex-direction: column;
  flex-wrap: nowrap;
  overflow: visible;
  max-height: unset;
}

@keyframes pulse-glow {
  0% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 0, 0.7);
  }
  50% {
    box-shadow: 0 0 20px 5px rgba(255, 255, 0, 1);
  }
  100% {
    box-shadow: 0 0 10px 2px rgba(255, 255, 0, 0.7);
  }
}

.glow-highlight {
  animation: pulse-glow 1.5s ease-in-out infinite;
  border: 2px solid #ffd700;
  border-radius: 6px;
}

.adsbygoogle[data-ad-format="autorelaxed"] {
  display: none !important;
}

@media (min-width: 1080px) {
  .right-banner-ad {
    position: fixed;
    top: 100px;
    right: 0;
    width: 10vw;
    max-width: 160px;
    height: auto;
    z-index: 1000;
    display: block;
    padding: 10px;
    box-sizing: border-box;
  }
}

/* Hide on mobile */
@media (max-width: 900px) {
  .right-banner-ad {
    display: none;
  }
}

#layoutContainer.layout-side-by-side .category-content.active {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
  grid-auto-rows: 110px; /* Fixed row height */
  gap: 10px;
  padding-right: 10px;
  overflow-y: auto;
  max-height: calc(110px * 6 + 50px); /* 6 rows + gap + scrollbar room */
}

#footer-ad {
  min-height: 100px;
  text-align: center;
}

@media (max-width: 900px) {
  .category-toggle {
    display: none !important;
  }

  .mobile-only-category {
    display: block !important;
  }
}

.disclaimer-instructions-bar {
    display: flex;
    flex-wrap: nowrap;
    /* background-color: #1e1e1e;
    color: #e0e0e0; */
    background-color: #f0f0f0;
    color: #1e1e1e;
    padding: 24px 32px;
    margin-top: 20px;
    border-radius: 12px;
    box-shadow: 0 0 10px rgba(0,0,0,0.4);
    font-size: 14px;
    text-align: left;
    gap: 0;
  }
  .disclaimer-section {
    width: 50%;
    padding-right: 24px;
  }
  .instructions-section {
    width: 50%;
    padding-left: 24px;
  }
  .divider {
    width: 1px;
    background-color: #444;
    margin: 0 24px;
  }

  /* MOBILE */
  @media (max-width: 768px) {
    .disclaimer-instructions-bar {
      flex-direction: column;
      gap: 16px; /* vertical spacing */
    }
    .disclaimer-section,
    .instructions-section {
      width: 100% !important;
      padding: 0 !important;
    }
    .divider {
      display: none; /* hide vertical divider on mobile */
    }
  }


#layoutContainer.layout-side-by-side .category-content.active {
   display: grid !important;
   grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); /* Increase the min width */
   grid-auto-rows: minmax(110px, auto); /* Allow dynamic row height */
   gap: 10px;
   padding-right: 10px;
   overflow-y: auto;
   max-height: calc(110px * 6 + 50px); /* Adjust number of visible rows if needed */
}

.pet-xp-section, .pet-weight-section, .hatch-speed-section {
   height: auto;
   overflow-y: visible;
}

.ability-button.active {
  border: 2px solid #90ee90;
  background-color: #123c12;
  box-shadow: 0 0 10px 2px #90ee90;
}

/* info section */

#garden-calculator-root {
  width: 100%;
  margin-top: 0px;
  padding: 0;
}

.top-controls {
  display: flex;
  justify-content: flex-start;
  padding: 10px;
  background: #fff;
  margin-top: 10px;
  gap: 15px;
  flex-wrap: wrap;
}

/* Guide Section - How to Use */
.guide-section {
  background: #ffffff;
  padding: 40px 20px;
  /* padding: 80px 20px; */
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(81,163,37,0.1);
}
.guide-container h2 {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 12px;
  text-align: center;
}
.guide-intro {
  text-align: center;
  color: #4a7c4a;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.guide-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}
.guide-step {
  display: flex;
  gap: 16px;
  padding: 20px;
  background: #f8faf6;
  border-radius: 16px;
  border-left: 4px solid #51a325;
  transition: all 0.3s ease;
}

.guide-step:nth-child(even) {
  background: #f0f5eb;
}

.guide-step.card-hover:hover {
  background: #e8f2e0;
  border-left-color: #6aa535;
}
.step-number {
  font-size: 32px;
  font-weight: 700;
  color: #51a325;
  min-width: 50px;
  text-align: center;
}
.step-content h3 {
  color: #234d2c;
  font-size: 1.1rem;
  margin: 0 0 8px 0;
}
.step-content p {
  color: #4a7c4a;
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.5;
}

/* Mutations Section */
.mutations-section {
  background: #ffffff;
  padding: 40px 20px;
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(81,163,37,0.1);
}
.mutations-container h2 {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 12px;
  text-align: center;
}
.mutations-intro {
  text-align: center;
  color: #4a7c4a;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.table-wrapper {
  overflow-x: auto;
  border-radius: 12px;
  margin: 24px 0;
}
.mutations-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}
.mutations-table thead {
  background: linear-gradient(90deg, #51a325 60%, #bdfc9a 100%);
  color: #fff;
}
.mutations-table th {
  padding: 16px;
  text-align: left;
  font-weight: 600;
  border: 1px solid #bdfc9a;
}
.mutations-table td {
  padding: 14px 16px;
  border: 1px solid #e0e0e0;
  color: #333;
  font-size: 0.95rem;
}
.mutations-table tbody tr {
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

.mutations-table tbody tr:hover {
  background: #eef7e9;
  box-shadow: inset 0 0 8px rgba(81,163,37,0.1);
}
.mutations-table tbody tr:nth-child(even) {
  background: #fafaf8;
}
.mutations-note {
  background: #fffaee;
  border-left: 4px solid #51a325;
  padding: 20px;
  border-radius: 8px;
  margin-top: 24px;
  color: #234d2c;
  line-height: 1.6;
}

/* Pet Value Section */
.pet-value-section {
  background: #ffffff;
  padding: 40px 20px;
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(81,163,37,0.1);
}

.pet-value-item {
  background: #f8faf6;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #51a325;
  color: #333;
  line-height: 1.6;
  transition: all 0.3s ease;
}

.pet-value-item:hover {
  background: #e8f2e0;
  border-left-color: #6aa535;
}
.pet-value-container h2 {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 12px;
  text-align: center;
}
.pet-value-container > p {
  text-align: center;
  color: #4a7c4a;
  font-size: 1.1rem;
  margin-bottom: 24px;
}
.pet-value-list {
  list-style: none;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}
.pet-value-list li {
  background: #f8faf6;
  padding: 20px;
  border-radius: 12px;
  border-left: 4px solid #51a325;
  color: #333;
  line-height: 1.6;
}
.pet-value-list strong {
  color: #51a325;
}

/* WFL Section */
.wfl-section {
  background: #ffffff;
  padding: 40px 20px;
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(81,163,37,0.1);
}
.wfl-container h2 {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 12px;
  text-align: center;
}
.wfl-intro {
  text-align: center;
  color: #4a7c4a;
  font-size: 1.1rem;
  margin-bottom: 32px;
}
.wfl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin: 32px 0;
}
.wfl-item {
  padding: 24px;
  border-radius: 16px;
  text-align: center;
  border-top: 4px solid #ccc;
  transition: all 0.3s ease;
}
.wfl-item.win {
  background: #f0fdf4;
  border-top-color: #22c55e;
}
.wfl-item.win:hover {
  background: #dcfce7;
  box-shadow: 0 8px 16px rgba(34, 197, 94, 0.15);
}
.wfl-item.fair {
  background: #fff9e6;
  border-top-color: #51a325;
}
.wfl-item.fair:hover {
  background: #fffacd;
  box-shadow: 0 8px 16px rgba(81, 163, 37, 0.15);
}
.wfl-item.loss {
  background: #fef2f2;
  border-top-color: #ef4444;
}
.wfl-item.loss:hover {
  background: #fee2e2;
  box-shadow: 0 8px 16px rgba(239, 68, 68, 0.15);
}
.wfl-item h3 {
  font-size: 1.3rem;
  margin: 0 0 12px 0;
  font-weight: 700;
}
.wfl-item.win h3 {
  color: #22c55e;
}
.wfl-item.fair h3 {
  color: #51a325;
}
.wfl-item.loss h3 {
  color: #ef4444;
}
.wfl-item p {
  color: #4a7c4a;
  margin: 0;
  line-height: 1.6;
}
.wfl-tip {
  background: #e8f5e9;
  padding: 16px;
  border-radius: 12px;
  color: #234d2c;
  text-align: center;
  margin-top: 24px;
  line-height: 1.6;
}

/* FAQ Section */
.faq-section {
  background: #ffffff;
  padding: 40px 20px;
  margin: 60px auto;
  max-width: 1200px;
  border-radius: 24px;
  box-shadow: 0 2px 16px rgba(81,163,37,0.1);
}
.faq-container h2 {
  font-size: 2rem;
  color: #234d2c;
  margin-bottom: 32px;
  text-align: center;
}
.faq-list {
  max-width: 900px;
  margin: 0 auto;
}
.faq-item {
  margin-bottom: 12px;
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  overflow: hidden;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: #51a325;
  box-shadow: 0 4px 12px rgba(81,163,37,0.1);
}

.faq-header {
  width: 100%;
  padding: 16px 20px;
  background: #f8faf6;
  border: none;
  text-align: left;
  font-size: 1.05rem;
  color: #234d2c;
  cursor: pointer;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: all 0.3s ease;
}

.faq-header:hover {
  background: #eef7e9;
  color: #51a325;
}

.faq-header::after {
  content: '▼';
  font-size: 16px;
  transition: transform 0.3s ease;
  color: #51a325;
}

.faq-item.active .faq-header {
  background: #51a325;
  color: #fff;
}

.faq-item.active .faq-header::after {
  transform: rotate(180deg);
  color: #51a325;
}

.faq-content {
  max-height: 0;
  overflow: hidden;
  padding: 0 20px;
  background: #fafaf8;
  border-top: 1px solid #e0e0e0;
  color: #4a7c4a;
  line-height: 1.6;
  transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-content {
  max-height: 500px;
  padding: 20px;
}
/* Info Section - Unique Classes
.grow-info-section h2 {
  font-size: 2rem;
  color: #234d2c;
}
.grow-info-section {
  background: #ffffff;
  padding: 60px 0 40px 0;
  text-align: center;
  margin-top: 40px;
  border-radius: 32px;
  box-shadow: 0 2px 24px rgba(46,204,113,0.4);
  max-width: 1400px;
  max-height: 600px;
  margin-left: auto;
  margin-right: auto;
}
.grow-info-features {
  display: flex;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
  margin-top: 20px;
}
.grow-info-feature {
  background: #fff;
  border-radius: 22px;
  box-shadow: 0 2px 16px rgba(46,204,113,0.08);
  padding: 28px 18px 18px 18px;
  width: 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: box-shadow 0.3s, color 0.3s;
  cursor: pointer;
}
.grow-info-feature:hover {
  box-shadow: 0 8px 32px rgba(46,204,113,0.3);
}
.grow-info-feature:hover .grow-info-icon {
  box-shadow: 0 0 18px 0 #2ecc71;
  filter: drop-shadow(0 0 8px #2ecc71);
  background: linear-gradient(135deg, #eafbe7 60%, #bdfc9a 100%);
}
.grow-info-feature:hover .grow-info-title,
.grow-info-feature:hover .grow-info-desc {
  text-shadow: 0 2px 8px #bdfc9a;
  color: #234d2c;
}
.grow-info-icon {
  background: linear-gradient(135deg, #eafbe7 60%, #d4f5e3 100%);
  border-radius: 50%;
  padding: 16px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: box-shadow 0.3s, filter 0.3s, background 0.3s;
  box-shadow: 0 2px 8px rgba(46,204,113,0.10);
}
.grow-info-icon svg {
  width: 40px;
  height: 40px;
  display: block;
}
.grow-info-icon svg path,
.grow-info-icon svg circle {
  stroke: url(#icon-gradient);
  stroke-width: 3;
}
.grow-info-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: #234d2c;
  margin-bottom: 6px;
  transition: text-shadow 0.3s, color 0.3s;
}
.grow-info-desc {
  font-size: 0.98rem;
  color: #4a7c4a;
  margin-bottom: 0;
  transition: text-shadow 0.3s, color 0.3s;
}
/* Responsive for mobile */
/* @media (max-width: 900px) {
  .grow-info-features {
    flex-direction: column;
    gap: 24px;
    align-items: center;
  }
  .grow-info-feature {
    width: 90%;
    max-width: 350px;
  }
} 
*/

/* Info Section - High Specificity */
#garden-calculator-root .grow-info-section {
  background: #ffffff !important;
  padding: 60px 0 40px 0 !important;
  text-align: center !important;
  margin-top: 40px !important;
  border-radius: 32px !important;
  box-shadow: 0 2px 24px rgba(46,204,113,0.4) !important;
  max-width: 1400px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}
#garden-calculator-root .grow-info-section h2 {
  font-size: 2rem !important;
  color: #234d2c !important;
  margin-bottom: 12px !important;
}
#garden-calculator-root .grow-info-subtitle {
  font-size: 1.08rem !important;
  color: #234d2c !important;
  margin-bottom: 18px !important;
}
#garden-calculator-root .grow-info-features {
  display: flex !important;
  justify-content: center !important;
  gap: 40px !important;
  flex-wrap: wrap !important;
  margin-top: 20px !important;
}
#garden-calculator-root .grow-info-feature {
  background: #fff !important;
  border-radius: 22px !important;
  box-shadow: 0 2px 16px rgba(46,204,113,0.08) !important;
  padding: 28px 18px 18px 18px !important;
  width: 220px !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transition: box-shadow 0.3s, color 0.3s !important;
  cursor: pointer !important;
}
#garden-calculator-root .grow-info-feature:hover {
  box-shadow: 0 8px 32px rgba(46,204,113,0.3) !important;
}
#garden-calculator-root .grow-info-feature:hover .grow-info-icon {
  box-shadow: 0 0 18px 0 #2ecc71 !important;
  filter: drop-shadow(0 0 8px #2ecc71) !important;
  background: linear-gradient(135deg, #eafbe7 60%, #bdfc9a 100%) !important;
}
#garden-calculator-root .grow-info-feature:hover .grow-info-title,
#garden-calculator-root .grow-info-feature:hover .grow-info-desc {
  text-shadow: 0 2px 8px #bdfc9a !important;
  color: #234d2c !important;
}
#garden-calculator-root .grow-info-icon {
  background: linear-gradient(135deg, #eafbe7 60%, #d4f5e3 100%) !important;
  border-radius: 50% !important;
  padding: 16px !important;
  margin-bottom: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  transition: box-shadow 0.3s, filter 0.3s, background 0.3s !important;
  box-shadow: 0 2px 8px rgba(46,204,113,0.10) !important;
}
#garden-calculator-root .grow-info-icon svg {
  width: 40px !important;
  height: 40px !important;
  display: block !important;
}
#garden-calculator-root .grow-info-icon svg path,
#garden-calculator-root .grow-info-icon svg circle {
  stroke: url(#icon-gradient) !important;
  stroke-width: 3 !important;
}
#garden-calculator-root .grow-info-title {
  font-size: 1.1rem !important;
  font-weight: 600 !important;
  color: #234d2c !important;
  margin-bottom: 6px !important;
  transition: text-shadow 0.3s, color 0.3s !important;
}
#garden-calculator-root .grow-info-desc {
  font-size: 0.98rem !important;
  color: #4a7c4a !important;
  margin-bottom: 0 !important;
  transition: text-shadow 0.3s, color 0.3s !important;
}
/* Responsive for mobile */
@media (max-width: 900px) {
  #garden-calculator-root .grow-info-features {
    flex-direction: column !important;
    gap: 24px !important;
    align-items: center !important;
  }
  #garden-calculator-root .grow-info-feature {
    width: 90% !important;
    max-width: 350px !important;
  }
}

.form-ad-container {
  display: flex;
  flex-direction: row;
  justify-content: flex-start;
  gap: 20px;
  align-items: flex-start;
  flex-wrap: wrap;
  width: 100%;
  max-width: 1000px;
  margin: 0;
  text-align: left;
  padding: 0;
  align-self: flex-start;
}

.google-form {
  flex: 2;
  width: 100%;
  min-width: 300px;
  height: 650px;
  border: none;
  display:block;
  margin:0;
}

.desktop-ad {
  flex: 1 !important;
  min-width: 200px !important;
  max-width: 300px !important;
  margin-left: 50px !important;
min-height: 250px;
}
#layoutContainer.layout-side-by-side #sideBySideAd {
  display: block !important;
}
#all {
  margin-bottom: 120px; 
}

.category-wrapper {
  max-height: 70vh;
  overflow-y: auto;
  padding-right: 8px;
  background: #f8f8f8;
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(81,163,37,0.08);
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  padding: 12px;
}

#layoutContainer.layout-side-by-side .category-wrapper {
  max-height: unset;
  overflow: visible;
  padding-right: 0;
}


.layout-side-by-side .category-content.active {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
  grid-auto-rows: 130px; /* each row fixed height */
  gap: 16px;
}
#layoutContainer.layout-side-by-side .left-panel {
  max-height: calc(100vh - 60px);
  overflow-y: auto;
  padding-right: 10px;
  box-sizing: border-box;
}