/* Container holding the timer component */
.timer-container {
  display: block;
  justify-content: center;
}

.timer-content {
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 8px;
  background-color: #f5f5f5;
  padding: 15px;
  width: 100%;
  /* Adjust based on layout from the image */
}

.deal-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
}

.deal-text {
  /*width: 95px;*/
  height: 20px;
  /* identical to box height, or 125% */
  text-align: right;

  color: #413D3C;
}

@media (max-width: 767px) {
  .deal-text {
    width: 22ch;
    height: auto;
    text-align: center;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    word-wrap: break-word;
    color: #413D3C;
  }
}

.countdown {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  padding: 0px;
  gap: 4px;

  width: 355px;
  height: 36px;
}

.time-box {
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 4px 8px;
  gap: 4px;

  width: 86px;
  height: 36px;

  background: #FFFFFF;
  border: 1px solid #989090;
  border-radius: 2px;
}

.time-box span {
  width: 30px;
  height: 28px;
  /* identical to box height, or 125% */
  text-align: center;

  color: #E62600;
}

.time-box .days-text {
  width: 36px;
  height: 15px;
  /* identical to box height, or 125% */
  text-align: center;
  letter-spacing: 1px;

  color: #413D3C;
}

.dot-dot {
  width: 5px;
  height: 36px;
  /* or 125% */
  display: flex;
  align-items: center;
  text-align: center;

  color: #413D3C;
}

#line-hr {
  margin: 0px;
  display: none;
  background: #413D3C;
}

.button-group {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.toggle-button {
  background-color: #fff;
  border: 1px solid #ddd;
  padding: 5px 10px;
  cursor: pointer;
  font-size: 14px;
  border-radius: 4px;
  text-decoration: underline;
}

.toggle-button:hover {
  background-color: #ddd;
}

/* Media queries for responsiveness */
@media (max-width: 767px) {
  .deal-wrapper {
    flex-direction: column;
    gap: 10px;
  }

  .countdown {
    gap: 5px;
  }

  .timer-container {

    padding: 0px;

  }

  .time-box {

    height: unset;
    width: unset;
    font-size: 14px;
    flex-direction: column;

  }

  .countdown {

    height: unset;
    width: unset;
  }

}