.one-discount-title {
  color: #000;
  text-align: right;
  font-size: 40px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%;
}

.one-discounts-subtitle {
  color: #0c6074;
  text-align: right;

  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 160%; /* 38.4px */
}

.one-filters {
  display: flex;
  gap: 8px;
  margin-bottom: 20px;
  overflow-x: scroll;
  align-items: center;
}
.filter-btn {
  display: flex;
  padding: 12px 20px;
  justify-content: center;
  align-items: center;
  gap: 75px;
  border-radius: 36px;
  border: 1.5px solid rgba(0, 0, 0, 0.2);
  text-decoration: none;
  color: black;
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: 10px;
  letter-spacing: 0.1px;
  min-width: 140px;
}
.filter-btn.active {
  background: #0c6074;
  color: white;
}

.one-discount-list {
  display: grid;
  grid-template-columns: auto auto;
  gap: 80px;
  justify-content: start;
  min-height: 34vh;
}

.coupon {
  border-radius: 10px;
  overflow: hidden;
  margin: auto;
  filter: drop-shadow(0 0px 8px rgba(0, 0, 0, 0.2));
  display: flex;
  align-items: stretch;
  position: relative;
  text-transform: uppercase;
}
.coupon::before,
.coupon::after {
  content: "";
  position: absolute;
  top: 0;
  width: 50%;
  height: 100%;
  z-index: -1;
}

.coupon::before {
  left: 0;
  background-image: radial-gradient(
    circle at 0 50%,
    transparent 25px,
    #ffff 26px
  );
}

.coupon::after {
  right: 0;
  background-image: radial-gradient(
    circle at 100% 50%,
    transparent 25px,
    #ffff 26px
  );
}
.coupon h3 {
  color: #000;
  text-align: right;
  font-size: 24px;
  font-style: normal;
  font-weight: 500;
  line-height: 5px;
  letter-spacing: 0.1px;
}
.coupon p {
  color: #595959;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
  line-height: 1rem;
}

.one-discount-item .title {
  color: #000;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  letter-spacing: 0.1px;
}
.one-discount-item p {
  color: #0c6074;
  text-align: center;

  font-weight: 400;
  letter-spacing: 0.1px;
}

@media screen and (max-width: 500px) {
  .coupon {
    display: grid;
    grid-template-columns: 1fr;
  }
  .left div {
    transform: rotate(0deg);
  }
  .right div {
    transform: rotate(0deg);
  }
}

.one-discount-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}
.one-discount-card {
  border: 1px dashed #ccc;
  padding: 15px;
  border-radius: 10px;
  background: white;
  position: relative;
}
.one-card-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  padding-inline: 34px;
  flex-direction: row-reverse;
  padding-top: 23px;
  padding-bottom: 23px;
  padding-inline: 50px;
}
.one-discount-title {
  font-weight: bold;
  margin-bottom: 5px;
}
.one-discount-desc {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  max-width: 265px;
  font-size: 11px;
}

@media screen and (max-width: 500px) {
  .one-discount-card {
    padding: 10px;
  }
  .one-card-inner {
    flex-direction: column-reverse;
    align-items: flex-start;
    gap: 0px;
    width: 90vw;
  }
  .one-discount-title {
    font-size: 16px;
  }
  .one-discount-desc {
    width: auto;
    font-size: 12px;
  }
}

.one-discount-info {
  font-size: 13px;
  line-height: 1.6;
}
.one-card-logo img {
  width: 132px;
}
.one-pagination {
  text-align: center;
  margin-top: 30px;
}
.one-pagination .page-numbers {
  margin: 0 5px;
  padding: 5px 10px;
  border-radius: 5px;
  background: #eee;
  text-decoration: none;
}
.one-pagination .current {
  background-color: #007c91;
  color: white;
}
button.pagination-btn.active {
  background-color: #0c6074;
  color: white;
  height: 48;
}

button.pagination-btn {
  width: 48px;
  height: 48px;
  gap: 4px;
  border-radius: 16px;
  border-width: 1px;
  padding-top: 15px;
  padding-right: 20px;
  padding-bottom: 15px;
  padding-left: 20px;
  cursor: pointer;
}

.pagination-btn.prev-page {
  rotate: 180deg;
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.pagination-btn.next-page {
  display: flex;
  flex-wrap: nowrap;
  align-content: center;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}
.one-pagination-ajax {
  display: flex;
  flex-wrap: nowrap;
  justify-content: center;
  gap: 10px;
}
.custom-password-form {
  background-size: cover;
  height: 100vh;
  display: flex;
  align-content: center;
  justify-content: center;
  align-items: center;
}


.password-form-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.password-form-box p {
  color: #fff;
  text-align: center;
  font-size: 28px;
}

.password-input-box {
  display: flex;
  padding: 16px;

  justify-content: space-between;
  align-items: flex-start;
  flex-direction: column;
  max-width: 500px;
  align-self: center;
}
.password-input-box > p:nth-child(2) {
  line-height: 0;
  padding: 0px;
  margin-top: -15px;
}

.password-form-box input {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    padding-top: 10px;
    padding-bottom: 10px;
    margin-top: 16px;
    width: 500px;
}
.password-form-box input[type="submit"] {
  padding: 10px;
  margin-top: 20px;
  width: 100%;
  background: #0c6074;
  color: white;
  font-size: 16px;
}
p.password-label {
  color: #fff;
  text-align: right;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
}

/* screen  1230px */
@media screen and (max-width: 1230px) {
  .one-discount-list {
    gap: 30px;
  }
  .one-discount-desc {
    max-width: 194px;
  }
}
/* screen  960px */
@media screen and (max-width: 960px) {
  .one-discount-list {
    grid-template-columns: auto auto;
    gap: 10px;
  }
  .one-discount-desc {
    max-width: 173px;
  }

  .one-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    padding-inline: 28px;
    flex-direction: row-reverse;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-inline: 34px;
  }
  .one-card-logo img {
    width: 70px;
  }
  .one-card-inner {
    gap: 13px;
  }
  .one-card-inner {
    gap: 8px;
  }
  .coupon h3 {
    font-size: 18px;
  }
  .one-discount-item p {
    font-size: 12px;
  }
}

/* screen  750px */
@media screen and (max-width: 750px) {
  .password-form-box p {
  font-size: 20px;
}
p.password-label{
  font-size: 12px;
}
.password-form-box input {
    background: transparent;
    border: 1px solid #fff;
    border-radius: 8px;
    margin-top: 16px;
    width: 320px;
}
  .one-discount-title {
    font-size: 24px;
  }
  .one-discounts-subtitle {
    font-size: 20px;
  }
  .one-discount-list {
    grid-template-columns: auto auto;
    gap: 20px;
    justify-content: center;
    max-width: 90%;
  }
  .filter-btn {
    min-width: 60px;
    font-size: 12px;
  }
  .one-discount-list {
    grid-template-columns: auto;
    gap: 20px;
    justify-content: center;
    max-width: 90%;
  }
  .filter-btn {
    min-width: 70px;
    font-size: 12px;
  }
  .one-discount-desc {
    max-width: 63vw;
  }
  .coupon {
    width: 100%;
  }
  .one-card-inner {
    gap: 27px;
    width: 90%;
    justify-content: start;
  }
  .one-card-logo img {
    width: 130px;
  }
  .one-card-content {
    position: relative;
    width: 100%;
  }
  .one-discount-details {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    width: 82%;
  }
}
@media screen and (max-width: 570px) {
  .one-card-inner {
    flex-direction: column-reverse;
    align-items: center;
    gap: 10px;
  }
  .line-box {
    display: none;
  }
  .one-card-logo img {
    width: 130px;
  }
  .coupon p {
    font-size: 12px;
  }
}