sub {
  vertical-align: baseline;
}

.side-by-side {
  display: flex;
  justify-content: space-between;
  flex-wrap: nowrap;
  align-items: center;
  gap: 2em;
  margin: 0 2em;
}

.side-by-side > * {
  flex: 1 1 auto;
}

.side-by-side img {
  max-width: 50%;
  height: auto;
  border-radius: 1em;
}

@media (max-width: 768px) {
  .side-by-side {
    flex-direction: column;
    margin: 0;
    gap: 0;
  }

  .side-by-side > * {
    flex: 1 1 50%;
  }

  .side-by-side img {
    max-width: 100%;
  }
}

.question h3 {
  font-weight: bold;
}

.piensos-ka-by-feral .container,
.distribuidores-oficiales .container {
  max-width: 1100px;
}

.distribuidores-oficiales,
.beneficios-para-tu-tienda,
.preguntas-frecuentes {
  padding: 5em 0;
}

.piensos-ka-by-feral,
.distribuidores-oficiales {
  padding: 4em 0 4em;
  background: #f0e9dd;
}

.piensos-ka-by-feral h2,
.distribuidores-oficiales h2 {
  color: var(--gray-color);
}

.beneficios-para-tu-tienda .container {
  max-width: 80ch;
}

ul.materias-primas {
  padding-left: 0;
}

.materias-primas li {
  font-weight: bold;
  list-style-type: none;
  margin-bottom: 10px;
}

.vender-nuestros-productos .pillar i {
  height: 7em;
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.vender-nuestros-productos .pillar img {
  display: block;
  max-height: 6em;
  margin: 0 auto;
}

.vender-nuestros-productos .pillar {
  text-align: center;
}

.question {
  padding-top: 1em;
}

/* Tundra-specific header styling */
.tundra-header {
  position: relative;
  height: 60vh;
}

.tundra-header .header-content {
  height: 100%;
  justify-content: flex-end;
  padding: 0;
  background: transparent;
}

.tundra-header > div {
  z-index: 1;
}

.tundra-header:before {
  position: absolute;
  content: "";
  inset: 0;
  background: url("https://www.piensoferal.es/wp-content/uploads/2025/09/Hero_2024-scaled-1.jpg") no-repeat center 30%;
  background-size: cover;
}

@media (min-width: 768px) {
  .tundra-header {
    height: 36vw;
  }

  .tundra-header:before {
    background-position: center 40%;
  }
}

/* Share styles across both the list items and the big 100% label */
.tundra-highlights p {
  color: #000000;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0.2em 0;
  text-align: left;
}

/* Ensure primary font takes precedence over Tailwind base and embeds */
html,
body,
input,
button,
select,
textarea {
  font-family: var(--primary-font) !important;
}

/* Enforce primary font across common text elements to override third-party stacks (e.g., Poppins) */
p,
a,
li,
div,
span,
small,
strong,
em,
label {
  font-family: var(--primary-font) !important;
}

/* Mailchimp embed can inject its own font stack; force primary font inside */
#mc_embed_signup,
#mc_embed_signup * {
  font-family: var(--primary-font) !important;
}

/* Tundra icons row */

/* Add margins around the tundra icons row */
.tundra-icons-row {
  margin: 20px 150px; /* vertical horizontal */
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 24px; /* spacing between icon blocks */
}

/* Grid-based layout keeps equal widths per column */

/* Responsive: keep equal widths per breakpoint */
@media (max-width: 1024px) {
  .tundra-icons-row {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    margin: 16px 40px;
  }
}

@media (max-width: 768px) {
  .tundra-icons-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin: 12px 20px;
  }
}

@media (max-width: 480px) {
  .tundra-icons-row {
    grid-template-columns: 1fr;
    margin: 10px 12px;
  }
}

.tundra-icon {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 1px;
  padding: 20px 20px;
}

.tundra-icon img,
.tundra-icon svg {
  width: 100px;
  height: auto;
  max-width: 100%;
  display: block;
}

.tundra-icon h3,
.tundra-icon p {
  text-align: center;
}

.tundra-icon h3 {
  font-weight: 700;
  text-transform: uppercase;
  line-height: 1.5rem;
  padding: 0 5px;
}
