.elementor-widget-text-editor{font-family:var( --e-global-typography-text-font-family ), Sans-serif;font-weight:var( --e-global-typography-text-font-weight );color:var( --e-global-color-text );}.elementor-widget-text-editor.elementor-drop-cap-view-stacked .elementor-drop-cap{background-color:var( --e-global-color-primary );}.elementor-widget-text-editor.elementor-drop-cap-view-framed .elementor-drop-cap, .elementor-widget-text-editor.elementor-drop-cap-view-default .elementor-drop-cap{color:var( --e-global-color-primary );border-color:var( --e-global-color-primary );}/* Start custom CSS for shortcode, class: .elementor-element-a3e8caf */input{
    border: 0 !important;
}

.siembra-section {
  --red: #E63329;
  --dark: #282828;
  --grey-bg: #F0F0F0;
  --grey-border: #D8D8D8;

  position: relative;
  display: grid;
  grid-template-columns: 66% auto;
  grid-template-areas:
    "title  img"
    "steps  img"
    "placa  img"
    "none img";
  align-items: start;
  gap: 1.5rem 0;
  padding: 3rem 1.5rem;
}

/* ---------- Título ---------- */
.title-container { margin-bottom: 2rem; grid-area: title; width: 70%; }

.section-title {
  margin: 0 0 .5rem;
}

.section-text {
  margin: 0;
  max-width: 42ch;
}

/* ---------- Imagen ---------- */
.section-img-container {
    width: 140%;
    margin-top: -40px;
    aspect-ratio: 5/6;
    grid-area: img;
    align-self: end;
    justify-self: end;
    border-radius: 30px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.section-img {
  display: block;
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 24px;
}

/* ---------- Steps ---------- */
.siembra-steps {
  grid-area: steps;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.siembra-step {
  position: relative;
  padding-top: 1.25rem;
}

.step-num-cont {
  position: absolute;
  top: -.75rem;
  left: 0;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 64px;
  height: 64px;
  background: var(--dark);
  border-radius: 16px;
}

.step-num-cont span {
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.step-text-container {
  height: 100%;
  min-height: 160px;
  padding: 2.75rem 1.5rem 2rem;
  background: var(--grey-bg);
  box-shadow: 2px 6px 5px rgba(0,0,0,.1);
  border-radius: 32px;
}

.step-text {
    font-weight: 600;
  color: var(--dark);
}

/* ---------- Buscador ---------- */
.placa-wrapper { grid-area: placa; }

.buscador-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  background: #fff;
  border-radius: 999px;
  overflow: hidden;
}

.lote-input {
  flex: 1;
  min-width: 0;
  padding: .875rem 1.25rem;
  font-size: .875rem;
  color: var(--dark);
  background: transparent;
  border: 0;
  outline: none;
    height: 46px;
    border-radius: 23px !important;
    border: 2px solid var(--red) !important;
}

#lote-input::placeholder { color: #282828; }

#buscador-lote-btn {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  margin: 2px;
  background: var(--red) !important;
  border: 0;
  border-radius: 50% !important;
  cursor: pointer;
  transition: opacity .2s;
      position: absolute;
    top: -2px;
    right: -2px;
    z-index: 2;
}

#buscador-lote-btn:hover { opacity: .85; }

#buscador-lote-btn svg {
  width: 16px;
  height: 16px;
}

#buscador-lote-btn .cls-1 { fill: #fff; }

/* Estado error */
.siembra-section.has-error .lote-input {
  border-color: var(--grey-border) !important;
}

.siembra-section.has-error #lote-input { color: var(--red); }

.siembra-section.has-error #buscador-lote-btn { background: var(--grey-border); }

.siembra-section.has-error #buscador-lote-btn .cls-1 { fill: #fff; }

.lote-error {
  display: flex;
  align-items: center;
  gap: .375rem;
  margin: .625rem 0 0;
  padding-left: 1.25rem;
  color: var(--red);
}

.lote-error svg {
  flex: 0 0 auto;
  width: 14px;
  height: 14px;
  fill: var(--red);
}

.lote-error span{
    font-weight: 700;
    color: var(--red);
}

/* Estado loading */
.siembra-section.is-loading #buscador-lote-btn {
  pointer-events: none;
  opacity: .6;
}

/* ---------- Resultado ---------- */
.placa-result {
    border-radius: 16px;
  background: #fff;
  box-shadow: 0 4px 24px rgb(0 0 0 / .12);
  overflow: hidden;
}

.placa-result-content {
  display: grid;
  grid-template-columns: min-content auto;
  gap: 0;
  align-items: center;
}

.placa-img-container {
  display: grid;
  place-items: center;
  height: 100%;
  aspect-ratio: 1;
  background: var(--grey-bg);
  border-radius: 12px;
}

.placa-img {
  width: 80%;
  height: auto;
  object-fit: contain;
  mix-blend-mode: multiply;
}

.placa-text-container{
    min-height: 200px;
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.lote-name {
  margin: 0 0 .75rem;
  font-weight: 400;
  color: var(--red);
}

.lote-name span{
    font-weight: 700;
    color: var(--red);
}

.placa-text-wrapper {
  margin: 0;
  padding: 0;
  list-style: none;
}

.placa-text {
    font-weight: 400;
  color: var(--dark);
}

.placa-text span{
    font-weight: 700;
}

.placa-result .buscar-otra-placa {
  display: block;
  width: 100%;
  padding: 1rem;
  background: var(--dark) !important;
  border: 0 !important;
  border-radius: 16px;
  cursor: pointer;
  transition: opacity .2s;
}

.placa-result .buscar-otra-placa span{
    font-weight: 500;
  text-transform: uppercase;
  color: #fff;
}

.buscar-otra-placa:hover { opacity: .88; }

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
  .siembra-section {
    grid-template-columns: 1fr;
    grid-template-areas:
      "title"
      "img"
      "steps"
      "placa";
    gap: 1.25rem;
    padding: 2rem 1rem;
  }
  
  .section-img-container{
      width: 100%;
      margin-bottom: -40px;
      aspect-ratio: 1;
  }

  .section-img {
    border-radius: 30px;
  }

  .siembra-steps {
    grid-template-columns: 1fr;
    gap: .625rem;
  }

  .siembra-step {
    padding-top: 0;
  }

  .step-num-cont {
    position: absolute;
        top: 50%;
        left: 0;
        width: 48px;
        height: 48px;
        transform: translateY(-50%);
        border-radius: 6px;
  }

  .step-num-cont span { font-size: 1.5rem; }

  .step-text-container {
        width: calc(100% - 24px);
        min-height: auto;
        margin-left: auto;
        padding: 1.75rem 2.5rem;
  }

  .siembra-step {
    display: flex;
  }

  .placa-result-content {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .placa-img-container {
    aspect-ratio: 16 / 9;
    border-radius: 0;
  }

  .placa-img { width: 30%; }

  .placa-text-container { padding: 1rem 1.25rem; }

  .buscar-otra-placa { border-radius: 0; }
}/* End custom CSS */