/* CONTADOR DO FEIRÃO MASTER */

.hero {
  position: relative;
}

.master-timer {
  position: absolute;
  z-index: 20;
  top: clamp(28px, 5vh, 65px);
  right: clamp(25px, 4vw, 85px);
  width: 330px;
  max-width: calc(100% - 32px);
  padding: 22px;
  border: 1px solid rgba(255,213,42,.75);
  border-radius: 20px;
  background: rgba(3,22,47,.91);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 18px 40px rgba(0,0,0,.36);
  color: #fff;
  text-align: center;
  font-family: Arial,sans-serif;
}

.master-timer__eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffd52a;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 1.5px;
}

.master-timer__dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ffd52a;
  box-shadow: 0 0 12px #ffd52a;
}

.master-timer__title {
  margin: 13px 0 17px;
  font-size: 20px;
  font-weight: 900;
  line-height: 1.2;
  color: #fff;
}

.master-timer__grid {
  display: grid;
  grid-template-columns: repeat(4,minmax(0,1fr));
  gap: 7px;
}

.master-timer__unit {
  min-width: 0;
  padding: 10px 2px;
  background: #102e52;
  border: 1px solid #ffffff24;
  border-radius: 10px;
}

.master-timer__number {
  display: block;
  color: #ffd52a;
  font-size: 30px;
  font-weight: 900;
  font-variant-numeric: tabular-nums;
  line-height: 1.2;
}

.master-timer__label {
  display: block;
  margin-top: 5px;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .5px;
  color: #d9e6f3;
}

.master-timer__date {
  margin: 17px 0 0;
  font-size: 12px;
  color: #e7f2ff;
  line-height: 1.4;
}

.master-timer__message {
  font-size: 21px;
  font-weight: 900;
  color: #ffd52a;
  line-height: 1.3;
}

.master-timer__message[hidden],
.master-timer__grid[hidden] {
  display: none !important;
}

/* NOTEBOOKS */

@media (min-width:901px) and (max-width:1350px) {
  .master-timer {
    width: 285px;
    top: 20px;
    right: 20px;
    padding: 16px;
  }

  .master-timer__number {
    font-size: 25px;
  }
}

/* CELULAR E TABLET */

@media (max-width:900px) {
  .hero .master-timer {
    position: relative;
    top: auto;
    right: auto;
    bottom: auto;
    left: auto;
    order: 5;
    width: min(450px,calc(100% - 32px));
    max-width: 450px;
    margin: 18px auto 28px;
    padding: 20px;
    transform: none;
  }

  .master-timer__number {
    font-size: clamp(23px,6vw,32px);
  }
}
