/* Base Styles */
body {
  margin: 0;
  min-height: 100vh;
  position: relative;
  background: #e8e0de;
}

p {
  margin: 0;
}

/* Image Styles */
img {
  width: 100%;
  height: auto;
}

.logo {
  width: 30vw;
  margin: 4px 0;
}

.offer {
  width: 60vw;
}

.border-image {
  position: absolute;
  max-width: 18vw;
  max-height: 18vh;
  object-fit: contain;
}

.top-right {
  top: 0;
  right: 0;
}

.bottom-left {
  bottom: 0;
  left: 0;
}

/* Flex Utilities */
.flex {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.flex-center {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

#coupon-back {
  position: absolute;
  left: 12.2px;
  top: 38px;
}

#coupon-back-dash {
  width: 25px;
  position: absolute;
  right: 16.2px;
  top: 33px;
}

/* Typography Styles */
.flat {
  height: 81px;
  font-family: "Days Sans Black", sans-serif;
  font-size: 3.5rem;
  font-weight: 900;
  color: #af9e05;
  margin-bottom: -1rem;
  margin-top: 4px;
}

.number {
  margin-top: -34px;
  font-family: "Inter", sans-serif;
  font-size: 7rem;
  font-weight: 900;
  color: #0d6836;
}

.percentage {
  margin-top: -20px;
  font-family: "Inter", sans-serif;
  font-size: 4rem;
  font-weight: 900;
  color: #0d6836;
}

.off {
  width: 72px;
  height: 37px;
  font-family: "Inter", sans-serif;
  font-size: 2rem;
  font-weight: 300;
  color: #1a1b1b;
  margin-top: -1rem;
}

.On-Total-Bill-Amount {
  font-family: "Days Sans Black", sans-serif;
  font-size: 16px;
  font-weight: 900;
  color: #84482e;
  margin-top: -1rem;
  text-align: center;
  z-index: 9;
}

/* Image Container Styles */
.image-container {
  position: relative;
  display: inline-block;
  width: 90vw;
  height: auto;
  margin-top: -21px;
}

.chicken {
  width: 100%;
  height: auto;
  display: block;
}

/* Coupon Styles */
.coupon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 85vw;
  height: auto;
  display: block;
}

.text-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: white;
  font-size: 6vw;
  font-weight: bold;
  text-align: center;
  pointer-events: none;
  width: 100%;
}

/* Prestige and Coupon Styles */
.prestige {
  width: 66px;
  height: 24px;
  margin: 36px 0 6px 0;
  font-family: Roboto;
  font-size: 18px;
  font-weight: 900;
  line-height: 1.33;
  letter-spacing: -0.43px;
  text-align: center;
  color: #000;
}

.code {
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
  font-family: "Inter", sans-serif;
  font-size: 9vw;
  font-weight: 900;
  letter-spacing: 0.46px;
  color: #fff;
  text-transform: uppercase;
}

.discount {
  font-family: "Roboto", sans-serif;
  font-size: 6vw;
  font-weight: bold;
  letter-spacing: -0.78px;
  color: #f4dd0f;
}

/* Info Container and List Styles */
.info-container {
  width: 80%;
  max-width: 76vw;
  margin: -12px 12px 24px;
  text-align: left;
  overflow-wrap: break-word;
  word-wrap: break-word;
}

.title {
  font-size: 16px;
  font-weight: bold;
  font-family: "Roboto", sans-serif;
}

.item-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.item-list li {
  padding: 10px 0 0 20px;
  border-radius: 5px;
  position: relative;
  font-size: 14px;
  font-family: "Roboto", sans-serif;
  white-space: normal;
  font-weight: 500;
}

.item-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 14px;
  transform: translateY(-10%);
  background-image: url("./images/checked.png");
  background-size: contain;
  width: 12px;
  height: 12px;
}

/* Button and Offer Styles */
.offer-container {
  margin-top: -13px;
}

.coupon-back-dash-container {
  width: 80%;
  max-width: 76vw;
  margin-bottom: 32px;
}

#coupon-back-dash img {
  max-width: 200px;
  width: 86%;
}

button {
  max-width: 226px;
  margin: 0 auto 21.5px auto;
  padding: 12px;
  border: none;
  border-radius: 8px;
  box-shadow: 0 19px 12px 0 rgba(113, 113, 113, 0.24);
  background-color: #00ae42;
}

/* RTL Styles */
html[dir="rtl"] .info-container {
  text-align: right;
}

html[dir="rtl"] .item-list li {
  padding: 10px 20px 0 0;
}

html[dir="rtl"] .item-list li::before {
  left: auto;
  right: 0;
}

html[dir="rtl"] .bottom-left {
  left: 0;
  right: -4px;
  bottom: 3px;
  transform: rotate(270deg);
}

html[dir="rtl"] .flat {
  margin-bottom: 0.3rem;
}

html[dir="rtl"] .offer-container {
  margin-top: 1.5rem;
}
