:root {
  --main-color: #ff8a00;
  --background: #fff7ec;
  --red-text: #ff6464;
}

.shili-class {
  --main-color: #d84949;
  --background: #fff5f5;
}

* {
  box-sizing: border-box;
}

p {
  margin: 4px;
}

#main-container {
  box-sizing: border-box;
  gap: 22px;
  width: 90%;
  margin: 20px auto;
  flex-wrap: wrap;
}

.spaceBetween {
  justify-content: space-between;
}

#top-box {
  background-color: var(--main-color);
  gap: 30px;
  padding: 10px;
  position: sticky;
  top: 0;
}
.top-box {
  gap: 30px;
  color: white;
}
#timer-container {
  padding-right: 15px;
  font-family: Arial, sans-serif;
  text-align: center;
}
#timer {
  font-size: 24px;
  font-weight: bold;
  color: white;
}
#alert {
  display: none;
  text-align: center;
  gap: 20px;
  color: white;
}
#refresh-btn {
  padding: 10px 20px;
  background-color: var(--main-color);
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  box-shadow: 1px 1px 4px 1px#5f5f5f97;
}
#refresh-btn:hover {
  background-color: rgb(249, 201, 112);
}

.left-side {
  align-self: flex-start;
  gap: 20px;
}
.imgContainer {
  width: 100%;
  min-height: max-content;
}
.topImg {
  min-height: 0;
  min-width: 0;
  margin: 0;
  max-width: 100%;
  width: 100%;
  height: auto;
}

.contacts {
  gap: 40px;
  margin-top: 5px;
}

.contact-options {
  text-decoration: underline !important;
  padding: 5px;
}
.footer-question {
  color: #6b6b6b;
}

.red-text {
  color: #d84949;
  font-family: 'Abhaya Libre';
  font-size: 15px;
  font-style: normal;
  font-weight: 700;
  line-height: 150%; /* 22.5px */
  letter-spacing: -0.165px;
}
.red-font {
  color: #DD1C1C;
}

a:visited {
  color: inherit;
}
.container {
  padding: 30px;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0px 4px 4px 0px rgba(0, 0, 0, 0.25);
  box-sizing: border-box;
  min-height: fit-content;
  max-height: fit-content;
  align-items: flex-start;
}

.green-price {
  color: #63c200;
  font-size: 32.24px;
  font-family: Gen Jyuu GothicX;
  font-weight: 700;
  line-height: 48.36px;
  margin-right: 28px;
}
.old-price {
  color: #353535;
  font-size: 15.47px;
  font-family: ABeeZee;
  font-style: italic;
  font-weight: 400;
  text-decoration: line-through;
  line-height: 23.21px;
}

#discount-amount {
  background-color: var(--red-text);
  color: white;
  width: fit-content;
  padding: 5px;
  text-align: center;
  border-radius: 16px;
}

.discount-container {
  gap: 8px;
  white-space: nowrap;
}

footer {
  width: 90%;
  margin: 30px auto;
  border-top: 2px solid #d9d9d9;
}

.footer {
  margin: auto;
}

.hidden {
  display: none;
}

#credit-link {
  text-decoration: underline;
  cursor: pointer;
}

#credit-link:hover,
a:hover {
  color: var(--main-color);
}

a:focus {
  outline: none;
}

.payment-option-container {
  border-radius: 5px;
  border: 2px solid #d4d4d4;
  padding: 20px;
  width: min(500px, 100%);
}

.payment-option {
  display: flex;
  align-items: center;
  margin: 10px 0;
}
.payment-option label {
  margin-left: 11px;
}

.sub-price-container {
  width: 70%;
  flex-wrap: wrap;
}

.divider {
  width: 90%;
  height: 2px;
  background: #e1e1e1;
}
.divider.member {
  width: 100%;
  margin: 10px 0;
}

.right-side {
  box-sizing: border-box;
  background-color: white;
  gap: 20px;
}

.padding {
  padding: 30px;
}

#changing-text {
  margin-top: 30px;
}

.footer-logo {
  cursor: pointer;
  margin-right: 5%;
}
.loader {
  width: 48px;
  height: 48px;
  border: 5px solid #cee9ff;
  border-bottom-color: #0074d3;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}

#payment-options {
  border-radius: 5px;
  border: 2px solid #d4d4d4;
  background: #fff;
  padding: 18px 12px;
  outline: none;
  height: auto;
  text-overflow: ellipsis;
}
#payment-options * {
  width: 100%;
  background: white;
}
.gray-text {
  color: #949494;
}
@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
@media (max-width: 950px) {
  #main-container,
  .contacts {
    flex-direction: column;
  }
  .body-text {
    font-size: 16px;
  }
  .contacts {
    gap: 5px;
  }
  #top-box {
    flex-direction: column;
    gap: 10px;
  }
}

@media (max-width: 700px) {
  .footer {
    flex-direction: column !important;
  }
  .footer-logo {
    position: relative;
  }
  #top-box {
    flex-direction: column;
  }
  .padding {
    padding: 0px;
  }
  .sub-price-container {
    width: 100%;
  }
  .container {
    padding: 15px;
  }
}
