@font-face {
  font-family: "ArialMTPro";
  src: url("../fonts/ArialMTPro-Regular.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: "ArialMTPro-Bold";
  src: url("../fonts/ArialMTPro-Bold.otf") format("opentype");
  font-weight: normal;
  font-style: normal;
}

* {
  outline: none;
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  font-family: "ArialMTPro";
  margin: 0;
  padding: 0;
  font-size: 16px;
  overflow-x: hidden;
}

h2 {
  color: white;
}

h3 {
  color: #009538;
}

p {
  font-size: 20px;
}

.text {
  /* text-align: center; */
  margin: 2rem auto;
}

.text .highlight {
  color: rgb(72, 173, 63);
}

.bold {
  font-family: "ArialMTPro-Bold";
}

.condition {
  line-height: 2;
}

.logo-container {
  height: 100%;
  display: flex;
  align-items: flex-end;
  padding: 22px;
}

.logo-container img {
  height: 60%;
  max-height: 48px;
  width: auto;
  object-fit: contain;
}

.logo-container p {
  font-size: 18px;
  padding-left: 20px;
  color: #009538;
  font-weight: 700;
  margin: 3px;
}

.conditions h4 {
  /* background-color: rgb(72, 173, 63, 0.5); */
  font-size: 16px;
  font-weight: 400;
  margin: 8px;
}

#gifts-images {
  display: flex;
  justify-content: space-between;
  width: 100%;
  background-color: white;
}

#gifts-images img {
  width: auto;
  height: 20rem;
}

.gifts-section {
  max-width: 900px;
  margin: auto;
  padding-bottom: 25px;
}

a {
  color: #42b4e6;
}

.cui-form {
  border-radius: 12px;
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 30px;
}

.cui-row {
  display: flex;
  justify-content: space-around;
  align-items: flex-start;
  flex-wrap: nowrap;
  gap: 1rem;
  background-color: #f4f4f4;
  padding-top: 10px;
}

.cui-row.cui-full-width {
  display: block;
  vertical-align: middle;
}

.cui-row.cui-full-width .cui-image-input > div:not(.cui-image) {
  width: 100%;
  margin: 0 1rem;
}

.cui-row.cui-full-width .cui-select,
.cui-row.cui-full-width .cui-input {
  padding-right: 1rem;
}

.cui-column {
  display: flex;
  flex-direction: column;
}

.cui-column.cui-img {
  max-width: 280px;
}

.cui-list {
  text-align: left;
  padding: 1rem;
}

sup {
  font-size: 0.6rem;
}

.cui-card {
  text-align: center;
}

.cui-card,
.cui-header {
  width: 100%;
  text-align: center;
}

.cui-form_box {
  width: 100%;
  margin: 0 auto;
  margin-top: 15%;
  max-width: 840px;
  background-color: #f4f4f4;
  padding: 3rem;
}

form {
  margin: 0 -0.5rem;
}

.cui-form label.error {
  color: #b10043;
  font-size: 0.875rem;
  padding: 0.5rem 0;
  font-weight: normal;
  text-align: left;
  width: 100%;
  display: block;
  line-height: 1rem;
}

.cui-input,
.cui-select {
  margin: 0.5rem;
  width: 100%;
  position: relative;
}

.cui-input input,
.cui-select select {
  border-radius: 0;
}

.cui-radio {
  justify-content: flex-start !important;
  align-items: flex-start !important;
}

.cui-radio input {
  margin-right: 1rem;
}

input:focus,
select:focus,
textarea:focus,
input.error:focus,
select.error:focus,
textarea.error:focus {
  outline: #009530 auto 1px !important;
}

.cui-input input,
.cui-input textarea,
.cui-select select {
  padding: 1rem;
  font-size: 1rem !important;
  background-color: white;
  width: 100%;
  box-sizing: border-box;
  border: none;
}

.cui-arrow {
  display: block;
  width: 0;
  height: 0;
  position: absolute;
  right: 2rem;
  top: 3rem;
  border-top: 5px solid #9b9b9b;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
}

.cui-input input:disabled,
.cui-input input[disabled] {
  background-color: #ecf0f1;
}

.cui-select select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.cui-info {
  margin: 0 0.5rem;
}

.cui-btn_box {
  margin-left: 0.5rem;
}

.cui-btn-div {
  display: flex;
  justify-content: center;
  padding: 20px;
}

.cui-btn {
  background-color: #42b4e6;
  border: none;
  color: white;
  cursor: pointer;
  outline: none !important;
  float: right;
  font-size: 1rem;
  padding: 0.8rem 5rem;
  margin: 0 0.5rem;
  font-family: "ArialMTPro";
}

.cui-btn:hover,
.cui-btn:focus {
  filter: brightness(0.9);
  outline: none !important;
}

.cui-btn:disabled {
  filter: brightness(1);
  cursor: default;
}

label {
  margin-bottom: 0.5rem;
  color: #2d3748;
}

input {
  padding: 0.75rem 1rem;
  border: 1px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
  transition: border-color 0.3s;
}

input:focus {
  border-color: #009538;
  outline: none;
}

sup {
  color: #e53e3e;
  font-size: 0.8em;
}

.filepond--drop-label {
  border-radius: 8px;
  border: 1px solid #009538;
}

.cui-files label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #2d3748;
  display: block;
}

.cui-radio {
  display: flex;
  flex-wrap: nowrap;
  justify-content: flex-start;
  align-items: center;
}

.cui-radio input {
  margin-right: 1rem;
}

.filepond--credits {
  display: none;
}

footer {
  height: 70px;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  background-color: rgb(72, 173, 63);
  color: white;
}

.footer-content {
  margin: 0 auto;
  padding: 22px;
}

.hero-promo {
  color: white;
}

.hero {
  position: relative;
  background-image: url(../img/banner3.png);
  background-size: cover;
  background-repeat: no-repeat;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  height: 27rem;
  background-position: top;
  align-items: flex-start;
  padding-bottom: 85px;
  padding-left: 35px;
  color: white;
  text-align: center;
  font-family: "ArialMTPro";
  background-color: #000;
}

.hero::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1;
  background: linear-gradient(to bottom, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
}

.hero::after {
  content: "Cada escalón de compra viene con equipamiento técnico de regalo.";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding-left: 35px;
  height: 90px;
  background-color: #48ad3f;
  font-size: 30px;
  z-index: 2;
}
.extra {
  position: absolute;
  top: 60%;
  right: 10%;
  width: 350px;
  z-index: 5;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}
.extra img {
  width: 160px;
}

.hero-products {
  width: 33rem;
  display: flex;
  flex-direction: column;
  z-index: 5;
  align-items: flex-start;
  position: absolute;
  top: 64%;
  left: 84%;
  transform: translateX(-50%);
}

.hero-info {
  display: flex;
  align-items: flex-end;
}

.overlay-text {
  position: absolute;
  bottom: 0;
  left: 40%;
  transform: translateX(-50%);
  z-index: 9999;
  color: white;
  font-size: 2rem;
}

.hero-overlay {
  display: flex;
  flex-direction: column;
  width: 100%;
  max-width: 900px;
  position: relative;
  align-items: flex-start;
  z-index: 5;
}

.hero-title {
  width: 42rem;
  font-size: 2.5rem;
  font-weight: bold;
  margin: 0;
  line-height: 1.2;
}

.hero-title .highlight {
  color: #48ad3f;
  font-weight: 600;
}

.hero h1 {
  font-size: 5rem;
  text-align: left;
}

.hero-subtitle {
  text-align: start;
  font-size: 24px;
  font-weight: 300;
}

.hero-subtitle .highlight {
  color: #48ad3f;
  font-weight: 600;
}

.logo {
  position: absolute;
  display: flex;
  top: 20px;
  right: 0px;
  z-index: 2;
}

.logo img {
  width: 200px;
  height: auto;
}

.cui-btn-green {
  background-color: #48ad41;
  border: none;
  color: white;
  cursor: pointer;
  outline: none !important;
  float: right;
  font-size: 1.2rem;
  padding: 1rem 5rem;
  margin: 0 0.5rem;
  text-decoration: none;
}

.check-text {
  color: #4a5568;
  font-size: 14px;
}

.toast {
  position: fixed;
  bottom: 0;
  right: 0;
  transform: translateY(100%);
  opacity: 0;
  transition: opacity 500ms, transform 500ms;
}

.toast.visible {
  transform: translateY(0);
  opacity: 1;
}

.toast-body {
  margin: 28px;
  padding: 20px 24px;
  background-color: #42b4e6;
  color: white;
  border-radius: 4px;
  font-family: "ArialMTPro";
}

.cookie-consent-banner {
  display: flex;
  flex-direction: column;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background-color: #000;
  opacity: 0.9;
  padding: 10px;
  text-align: center;
  display: none;
}

.cookie-consent-banner > h4 {
  color: #bbb9b9;
}

.cookie-consent-banner > h4 > a {
  color: #42b4e6;
}

#acceptCookies {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  height: 40px;
  line-height: 20px;
  margin-left: 5px;
  text-align: center;
  width: 130px;
  z-index: 3;
  background-color: #42b4e6;
}

#declineCookies {
  border: none;
  border-radius: 3px;
  cursor: pointer;
  font-size: 14px;
  font-weight: 400;
  height: 40px;
  line-height: 20px;
  margin-left: 5px;
  text-align: center;
  width: 130px;
  z-index: 3;
}

.footer-content a {
  text-decoration: none;
  color: white;
}

.config-section {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.green {
  color: #48ad41;
}

a:hover {
  filter: brightness(0.4);
}

#products {
  width: 150px;
  display: none;
}

.autocomplete-wrapper {
  position: relative;
  width: 100%;
}

.autocomplete-wrapper input[type="text"] {
  width: 100%;
}

.autocomplete-list {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  background-color: white;
  border: 1px solid #ccc;
  border-top: none;
  max-height: 250px;
  overflow-y: auto;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
  font-family: "ArialMTPro";
}

.autocomplete-list li {
  padding: 1rem;
  cursor: pointer;
  border-bottom: 1px solid #f4f4f4;
  color: #2d3748;
  font-size: 1rem;
  transition: background-color 0.2s ease;
}

.autocomplete-list li:last-child {
  border-bottom: none;
}

.autocomplete-list li:hover {
  background-color: #f4f4f4;
  color: #009538;
}

@media (max-width: 992px) {
  .hero h1 {
    font-size: 3.2rem;
  }
  .hero {
    height: 20rem;
    background-size: contain;
  }
  .extra {
    top: 76%;
    right: 0%;
    width: 300px;
    justify-content: space-evenly;
  }
  .extra img {
    width: 100px !important;
  }

  .hero-products {
    width: 32rem;
  }

  .hero::after {
    font-size: 20px;
    padding-left: 15px;
  }

  .hero-info {
    padding: 30px;
  }

  .hero p {
    font-size: 20px;
  }
}

@media (max-width: 768px) {
  .hero {
    height: 17rem;
  }
  .extra {
    top: 85%;
    right: 0%;
  }

  .hero-products {
    display: none;
  }

  .hero h1 {
    width: 100%;
    font-size: 2rem;
  }

  .hero p {
    font-size: 18px;
  }

  .cui-input {
    flex: 1 1 100%;
  }

  .cui-form {
    padding: 24px;
  }

  .conditions {
    font-size: 14px;
  }

  .gifts-section {
    padding: 20px;
  }

  p {
    font-size: 20px;
  }
}

@media (max-width: 600px) {
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }
  .hero {
    height: 14rem;
  }
  .hero::after {
    font-size: 16px;
    padding-left: 20px;
  }
  .hero-info {
    padding: 10px;
  }
  .extra {
    top: 80%;
  }
}

@media (max-width: 576px) {
  .front {
    height: 400px;
  }

  .logo img {
    width: 150px;
  }

  .hero {
    height: 18rem;
    padding-left: 0;
  }

  .hero {
    background-size: cover;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    height: 13.5rem;
    background-position: top;
    align-items: flex-start;
    padding-bottom: 3rem;
  }

  .hero-products {
    width: 7rem;
  }

  #productsImg {
    display: none;
  }

  #products {
    display: flex;
  }

  /* .extra {
    position: absolute;
    width: 600px;
    left: 27%;
    z-index: 9999;
    display: flex;
  }

  .extra img {
    z-index: 999;
    width: 200px;
    display: flex;
    align-items: center;
    flex-direction: row;
  } */

  .hero-info {
    display: flex;
    flex-direction: column;
    padding: 0;
    align-items: center;
  }

  .hero h1 {
    font-size: 2rem;
    text-align: center;
  }

  .hero p {
    font-size: 18px;
    text-align: center;
  }

  .hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.9));
  }

  .cui-input {
    flex: 1 1 100%;
  }

  .condition {
    font-size: 12px;
  }

  .text h3 {
    font-size: 16px;
  }

  p {
    font-size: 16px;
  }

  .text p {
    font-size: 16px;
  }

  .check-text {
    font-size: 12px;
  }

  .custom-header {
    height: 70px;
  }

  footer {
    height: 70px;
  }

  label {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: #2d3748;
    font-size: 12px;
  }

  .gifts-section {
    padding-top: 8rem;
  }

  #gifts-images {
    flex-wrap: wrap;
    justify-content: center;
    gap: 1rem;
  }

  #gifts-images img {
    width: auto;
    height: 20rem;
  }

  .gift-back {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    border: 1px solid rgba(0, 0, 0, 0.03);
  }

  .cui-row {
    flex-wrap: wrap;
    gap: 0;
  }

  .footer-content {
    padding: 0;
  }

  .extra {
    display: none;
  }

  .hero::after {
    height: 3rem;
  }
}
