/* ========================================
   COUPONS / OFFERS PAGE — DESKTOP
   ======================================== */

/* --- Offers Wrapper (outer padding) --- */
.offers-wrapper {
  padding: 10px 20px 20px;
}

/* --- Inner container with light blue bg and rounded corners --- */
.offers-header-bg {
  background-color: #EBF0FF;
  border-radius: 30px;
  padding-top: 0;
}

/* Header inside offers needs relative positioning (not absolute) */
.offers-header-bg .header {
  position: relative;
}

/* --- Offers Content Area (side by side layout) --- */
.offers-content {
  display: flex;
  gap: 40px;
  padding: 40px 112px 120px;
  align-items: flex-start;
}

/* ========================================
   HOW TO USE OFFERS CARD (LEFT)
   ======================================== */
.how-to {
  width: 568px;
  flex-shrink: 0;
}

.how-to__container {
  background: #F8F8FC;
  border: 1px solid #E9EAEC;
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.how-to__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 20px;
  line-height: 1.4;
  color: #15172E;
  margin: 0;
}

.how-to__steps {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.how-to__step {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.how-to__step-title {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 20px;
  color: #15172E;
  margin: 0;
}

.how-to__step-number {
  font-weight: 500;
}

.how-to__step-desc {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: #555963;
  margin: 0;
}

.how-to__divider {
  width: 100%;
  height: 1px;
  line-height: 0;
}

.how-to__divider img {
  width: 100%;
  height: 1px;
  display: block;
}

/* ========================================
   OFFER CONTENT (RIGHT)
   ======================================== */
.offers-right {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 40px;
}

.offers-right__header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.offers-right__title {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 600;
  font-size: 44px;
  line-height: 1.15;
  color: #002070;
  margin: 0;
}

.offers-right__description {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 18px;
  line-height: 1.5;
  color: #555963;
  margin: 0;
}

/* ========================================
   COUPON CARD
   ======================================== */
.coupon {
  display: flex;
  align-items: stretch;
  width: 478px;
  height: 187px;
  transform: rotate(180deg);
  overflow: hidden;
}

.coupon__tab {
  position: relative;
  width: 24%;
  height: 187px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coupon__tab-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.coupon__tab-text {
  position: relative;
  z-index: 1;
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 20px;
  color: #FFFFFF;
  writing-mode: vertical-lr;
  transform: rotate(180deg);
  letter-spacing: 0.05em;
}

.coupon__body {
  position: relative;
  flex: 1;
  height: 187px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.coupon__body-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.coupon__content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 20px;
  width: 100%;
  transform: rotate(180deg);
  overflow: hidden;
}

.coupon__code-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
}

.coupon__promo-label {
  font-family: 'Inter', sans-serif;
  font-weight: 500;
  font-size: 16px;
  line-height: 1;
  color: #555963;
  text-align: center;
}

.coupon__code {
  font-family: 'Inter', sans-serif;
  font-weight: 700;
  font-size: 48px;
  line-height: 1;
  color: #1B5BFF;
  text-align: center;
}

.coupon__services-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.coupon__services-label {
  font-family: 'Inter', sans-serif;
  font-weight: 400;
  font-size: 13px;
  line-height: 1;
  color: #555963;
  text-align: center;
}

.coupon__services-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px 16px;
  overflow: hidden;
}

.coupon__service {
  font-family: 'Inter', sans-serif;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  color: #555963;
  text-align: center;
  white-space: nowrap;
}

.coupon__service-divider {
  width: 1px;
  height: 12px;
  background: #D3D5D9;
}

/* ========================================
   COUPONS PAGE — TABLET (max-width: 1024px)
   ======================================== */
@media screen and (max-width: 1024px) {
  .offers-wrapper {
    padding: 10px 20px 20px;
  }

  .offers-content {
    flex-direction: column-reverse;
    padding: 40px 60px 80px;
    gap: 40px;
    align-items: center;
  }

  .how-to {
    width: 100%;
    max-width: 608px;
  }

  .offers-right {
    width: 100%;
    max-width: 608px;
    align-items: center;
    text-align: center;
  }

  .offers-right__header {
    align-items: center;
  }

  .offers-right__title {
    font-size: 36px;
  }

  .offers-right__description {
    font-size: 16px;
  }

  .coupon {
    width: 478px;
    height: 187px;
  }

  .coupon__tab-text {
    font-size: 20px;
  }

  .coupon__code {
    font-size: 44px;
  }

  .coupon__promo-label {
    font-size: 14px;
  }

  .coupon__services-label {
    font-size: 12px;
  }

  .coupon__service {
    font-size: 12px;
  }
}

/* ========================================
   COUPONS PAGE — MOBILE (max-width: 576px)
   ======================================== */
@media screen and (max-width: 576px) {
  .offers-wrapper {
    padding: 8px 12px 12px;
  }

  .offers-header-bg {
    border-radius: 20px;
  }

  .offers-content {
    flex-direction: column-reverse;
    padding: 24px 20px 60px;
    gap: 32px;
    align-items: center;
  }

  .how-to {
    width: 100%;
    max-width: 100%;
  }

  .how-to__container {
    padding: 24px;
    gap: 20px;
  }

  .how-to__title {
    font-size: 18px;
  }

  .how-to__step-title {
    font-size: 14px;
  }

  .how-to__step-desc {
    font-size: 13px;
  }

  .offers-right {
    width: 100%;
    max-width: 100%;
    gap: 28px;
    text-align: center;
    align-items: center;
  }

  .offers-right__header {
    gap: 12px;
    align-items: center;
  }

  .offers-right__title {
    font-size: 28px;
  }

  .offers-right__description {
    font-size: 15px;
  }

  .coupon {
    width: 335px;
    height: 131px;
  }

  .coupon__tab {
    width: 80px;
    height: 131px;
  }

  .coupon__tab-text {
    font-size: 16px;
  }

  .coupon__body {
    height: 131px;
  }

  .coupon__content {
    gap: 14px;
    padding: 13px 10px;
  }

  .coupon__code-section {
    gap: 2px;
  }

  .coupon__promo-label {
    font-size: 14px;
  }

  .coupon__code {
    font-size: 34px;
  }

  .coupon__services-section {
    gap: 10px;
  }

  .coupon__services-label {
    font-size: 11px;
  }

  .coupon__service {
    font-size: 11px;
  }

  .coupon__services-list {
    gap: 6px 10px;
  }

  .coupon__service-divider {
    height: 10px;
  }
}
