/* PRODUCTS HERO */
.products-hero {
  position: relative;
  height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.products-hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.products-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0) 35%,
    rgba(0, 0, 0, 0.75) 100%
  );
}

.products-hero-content {
  position: relative;
  z-index: 10;
  text-align: center;
  color: #fff;
}

.products-hero-inline {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.products-hero-title {
  font-size: 28px;
  font-weight: 600;
  margin: 0;
}

.products-hero-leaf {
  height: 21px;
  width: auto;
  top: -15px;
  position: absolute;
  left: 105%;
}

.products-hero-underline {
  width: 30px;
  height: 4px;
  background: #3ea02b;
  border-radius: 40px;
  margin: 10px 0 0;
}

/* TABS */
.products-tabs {
  margin-top: 70px;
  margin-bottom: 50px;
}

.tab-buttons {
  display: flex;
  justify-content: space-between;
  max-width: 900px;
}

.tab-btn {
  background: none;
  border: none;
  font-size: 26px;
  font-weight: 500;
  cursor: pointer;
  padding: 12px 0;
  position: relative;
  color: #969696;
  display: flex;
  align-items: center;
  gap: 8px;
}

.tab-btn img {
  display: none;
}

.tab-btn.active img {
  display: block !important;
  height: 18px;
  width: auto;
  top: 0px;
  position: absolute;
  left: 105%;
}

.tab-btn.active {
  color: #111;
}

.tab-btn.active img {
  filter: none;
}

.tab-btn.active::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 30px;
  height: 4px;
  border-radius: 10px;
  background: #3ea02b;
}

/* CONTENT */
.products-content {
  padding-bottom: 70px;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

/* FULL FAT SOYBEAN CONTENT */
.soybean-description p {
  font-size: 18px;
  line-height: 1.8;
  margin-bottom: 18px;
}

.section-title {
  font-size: 20px;
  margin-top: 50px;
  margin-bottom: 20px;
  font-weight: 600;
}

.advantages-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.adv-box {
  background: #f4f4f4;
  padding: 25px;
  border-radius: 12px;
}

/* Make #7 full width */
.adv-box.full-width {
  grid-column: 1 / -1;
  background: #dcdcdc !important;
}

.adv-box.dark {
  background: #404040;
  color: white;
}

.adv-box.green {
  background: #3ea02b;
  color: white;
}

.adv-box h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.adv-box p {
  font-size: 16px;
  line-height: 1.7;
}

/* PERFORMANCE TABLE */
.performance-table {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 60px;
  margin-bottom: 40px;
}

.performance-table .col:first-child {
  border-right: 1px solid #c0c0c0;
  padding-right: 40px;
}

.performance-table .col:last-child {
  padding-left: 40px;
}

.performance-table h4 {
  font-size: 18px;
  margin-bottom: 10px;
}

.performance-table p {
  margin-bottom: 12px;
  font-size: 15px;
}

/* QUALITY BOX */
.quality-box {
  background: #f2f2f2;
  padding: 35px;
  border-radius: 12px;
  margin-top: 20px;
}

.quality-box ul {
  margin: 15px 0;
  padding-left: 20px;
}

.quality-box ul li {
  margin-bottom: 10px;
}

.quality-box p {
  margin-top: 12px;
  font-weight: 500;
}

/* RESPONSIVE */
@media (max-width: 768px) {
  .products-hero {
    height: 300px;
  }

  .tab-btn.active img {
    position: static;
  }

  .tab-buttons {
    flex-direction: column;
    gap: 20px;
  }

  .advantages-grid {
    grid-template-columns: 1fr;
  }

  .performance-table {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .performance-table .col:first-child {
    border-right: 0px;
  }

  .performance-table .col:last-child {
    padding-left: 0px;
  }
}

/* FULL-WIDTH QUALITY SECTION */
.quality-section {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 10px 0 50px;
  background: #eeeeee !important;
  position: relative;
  overflow: visible;
}

/* Ensure inner content follows global page alignment */
.quality-section .section-title {
  margin-bottom: 20px;
}

/* Make the inner box blend with the band color */
.quality-section .quality-box {
  background: transparent;
  padding: 0;
  margin-top: 0;
}

.quality-section .quality-box h4 {
  margin-bottom: 12px;
}

.quality-section .quality-box ul {
  margin: 15px 0;
  padding-left: 20px;
  line-height: 2.5;
}

.adv-box ul {
  padding-left: 20px;
  margin-top: 8px;
  line-height: 1.6;
}

.adv-box ul li {
  margin-bottom: 6px;
}

.adv-box h4 .num {
  font-weight: 600;
  margin-right: 6px;
}

.adv-box,
.premix-intro-box,
.premix-highlight-card,
.premix-custom,
.premix-adv-box,
.premix-benefit-col {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.adv-box:hover,
.premix-intro-box:hover,
.premix-highlight-card:hover,
.premix-custom:hover,
.premix-adv-box:hover,
.premix-benefit-col:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}

/* ==============================
   PREMIXES TAB LAYOUT
============================== */

.premix-section {
  margin-top: 50px;
  margin-bottom: 40px;
}

.premix-tag {
  text-transform: uppercase;
  letter-spacing: 0.12em;
  font-size: 12px;
  color: #6e6e6e;
  margin-bottom: 6px;
}

.premix-main-title {
  font-size: 26px;
  font-weight: 600;
  margin-bottom: 18px;
}

.premix-intro-box {
  background: #f4f4f4;
  border-radius: 14px;
  padding: 22px 24px;
  font-size: 16px;
  line-height: 1.8;
}

/* GENERIC BLOCKS */

.premix-block {
  margin-bottom: 48px;
}

.premix-block-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: 18px;
}

.premix-heading {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 4px;
}

.premix-subtitle {
  font-size: 14px;
  color: #777;
}

.premix-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr);
  gap: 26px;
}

.premix-subheading {
  font-size: 18px;
  font-weight: 600;
  margin: 22px 0 12px;
}

.mt-32 {
  margin-top: 32px;
}

.premix-note {
  font-size: 14px;
  color: #555;
  margin-top: 10px;
}

/* TABLES */

.premix-table-wrapper {
  margin: 12px 0 8px;
  overflow-x: auto;
}

.premix-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
}

.premix-table th,
.premix-table td {
  border: 1px solid #ddd;
  padding: 8px 10px;
  text-align: left;
}

.premix-table th {
  background: #f0f0f0;
  font-weight: 600;
}

/* HIGHLIGHT CARDS */

.premix-highlight-card {
  background: #f7f7f7;
  border-radius: 14px;
  padding: 20px 20px 18px;
  align-self: flex-start;
}

.premix-highlight-card h4 {
  font-size: 16px;
  margin-bottom: 10px;
}

.premix-highlight-card ul {
  padding-left: 18px;
  font-size: 14px;
  line-height: 1.7;
}

.premix-highlight-card.green {
  background: #3ea02b;
  color: #fff;
}

.premix-highlight-card.green ul li {
  color: #f0ffe9;
}

.premix-highlight-card.dark {
  background: #404040;
  color: #fff;
}

/* CUSTOM BLOCK */

.premix-custom {
  margin-top: 20px;
}

.premix-custom-inner {
  border-radius: 14px;
  padding: 22px 24px;
  background: #111;
  color: #fff;
}

/* RUMINANT SECTION */

.premix-ruminant-section {
  margin-top: 60px;
  margin-bottom: 40px;
}

.premix-adv-grid {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
}

.premix-adv-box {
  background: #f4f4f4;
  border-radius: 12px;
  padding: 18px 18px 16px;
  font-size: 14px;
}

.premix-adv-box h4 {
  font-size: 16px;
  margin-bottom: 8px;
}

.premix-adv-box ul {
  padding-left: 18px;
  line-height: 1.7;
}

/* BENEFITS ROW */

.premix-benefits {
  margin-top: 30px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
}

.premix-benefit-col {
  background: #3ea02b;
  border-radius: 12px;
  padding: 18px 20px;
  font-size: 14px;
}

.premix-benefit-col h4 {
  color: #f0ffe9;
  font-size: 16px;
  margin-bottom: 10px;
}

.premix-benefit-col ul {
  color: #f0ffe9;
  padding-left: 18px;
  line-height: 1.8;
}

/* RESPONSIVE FOR PREMIXES */

@media (max-width: 900px) {
  .premix-two-col {
    grid-template-columns: 1fr;
  }

  .premix-adv-grid,
  .premix-benefits {
    grid-template-columns: 1fr;
  }
}


/* FIX PREMIX RESPONSIVENESS */
@media (max-width: 1024px) {
  .premix-two-col {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .premix-highlight-card {
    margin-top: 12px;
  }

  .premix-heading {
    font-size: 20px;
  }

  .premix-subtitle {
    font-size: 13px;
  }
}

@media (max-width: 600px) {
  .premix-table th,
  .premix-table td {
    font-size: 12px;
    padding: 6px;
  }

  .premix-main-title {
    font-size: 22px;
  }

  .premix-intro-box {
    padding: 16px;
    font-size: 15px;
  }

  .premix-heading {
    font-size: 18px;
  }

  .premix-highlight-card {
    padding: 16px;
  }
}

tr{
  transition: transform 0.35s ease, box-shadow 0.35s ease; 
}

tr:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 35px rgba(0, 0, 0, 0.15);
}