.coupon-page {
  margin: 0;
  background: #f6f6f7;
  color: #4b5563;
  font-family: Arial, Helvetica, sans-serif;
}

.coupon-topbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 18px;
  padding: 18px clamp(18px, 5vw, 56px);
}

.coupon-back,
.share-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: fit-content;
  padding: 0 18px;
  color: #336eea;
  background: #eaf1ff;
  border: 0;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
}

.coupon-brand {
  color: #064eaa;
  font-size: 20px;
  font-weight: 800;
  text-decoration: none;
}

.coupon-brand strong {
  color: #37a51f;
}

.share-btn {
  justify-self: end;
  cursor: pointer;
}

.coupon-detail-wrap {
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(300px, 1fr);
  gap: 28px;
  width: min(calc(100% - 48px), 1400px);
  margin: 0 auto 48px;
}

@media (min-width: 1280px) {
  .coupon-detail-wrap {
    width: min(calc(100% - 32px), 1500px);
    grid-template-columns: minmax(0, 3.2fr) minmax(310px, 1fr);
    gap: 30px;
  }
}

.coupon-breadcrumb {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  margin: 0 0 -10px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
}

.coupon-breadcrumb a {
  color: #336eea;
  text-decoration: none;
}

.coupon-breadcrumb a:hover {
  color: #1f9d18;
}

.coupon-detail-card {
  padding: 32px;
  background: #fff;
  border: 1px solid #d5d9df;
  border-radius: 8px;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.08);
}

.coupon-summary {
  display: grid;
  grid-template-columns: minmax(220px, .8fr) minmax(0, 2.5fr);
  align-items: center;
  gap: 28px;
  margin-bottom: 28px;
}

.coupon-summary > div:nth-child(2) {
  min-width: 0;
}

.coupon-summary .coupon-image-tile {
  width: 170px !important;
  height: 116px !important;
  float: right;
  margin: 0 0 18px 28px !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1px solid #eef2f7 !important;
  border-radius: 8px !important;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07) !important;
}

.coupon-summary .coupon-offer-info {
  clear: both;
}

.coupon-summary .coupon-image-tile .image-logo,
.coupon-summary .coupon-image-tile .store-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 6px !important;
  border: 0 !important;
  background: #fff !important;
}

.coupon-percent {
  display: flex;
  flex-direction: column !important;
  align-items: center;
  justify-content: center;
  gap: 7px;
  align-self: stretch;
  min-width: 0;
  padding: 14px 18px 14px 0;
  color: #123b7a;
  font-size: clamp(24px, 2vw, 32px);
  font-weight: 700;
  line-height: 1.16;
  text-align: center;
  border-right: 1px dashed #b7c4da;
  overflow-wrap: break-word;
  word-break: normal;
  text-wrap: balance;
  hyphens: none;
}

.coupon-percent > span {
  display: block;
  width: 100%;
}

.coupon-percent-primary {
  color: #169b16;
  font-size: 1em;
}

.coupon-percent-detail {
  color: #36506f;
  font-size: .58em;
  font-weight: 700;
  line-height: 1.35;
}

.coupon-summary h1 {
  max-width: 680px;
  margin: 0 0 8px;
  color: #123b7a;
  font-size: clamp(24px, 2vw, 34px);
  line-height: 1.2;
}

.coupon-summary p {
  margin: 0;
  color: #6b7280;
  line-height: 1.8;
}

.coupon-short-description {
  display: -webkit-box;
  max-width: 680px;
  margin: 0 0 10px !important;
  color: #4b5563 !important;
  line-height: 1.65 !important;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.coupon-date-lines {
  display: grid;
  gap: 2px;
  color: #6b7280 !important;
  font-size: 15px;
  line-height: 1.55 !important;
}

.coupon-offer-info {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 12px;
  max-width: 560px;
  margin: 16px 0 0;
}

.coupon-offer-info div {
  min-width: 0;
  padding: 11px 12px;
  background: #f8fbff;
  border: 1px solid #e2ebf7;
  border-radius: 8px;
}

.coupon-offer-info dt {
  margin: 0 0 4px;
  color: #6b7280;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.coupon-offer-info dd {
  margin: 0;
  color: #123b7a;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.coupon-code-box {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  gap: 16px;
  margin: 20px 0 12px;
  padding: 24px 32px;
  border: 2px dashed #c6d1e6;
  border-radius: 8px;
}

.coupon-code-box > * {
  min-width: 0;
}

.coupon-code-box strong {
  color: #10233f;
  font-size: clamp(34px, 5.4vw, 48px);
  letter-spacing: 0;
  font-weight: 900;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.coupon-code-value.is-masked {
  color: #36506f;
  letter-spacing: .12em;
  white-space: nowrap;
}

.coupon-code-value.is-revealed {
  animation: coupon-code-reveal .22s ease-out;
}

@keyframes coupon-code-reveal {
  from { opacity: .35; transform: translateY(3px); }
  to { opacity: 1; transform: translateY(0); }
}

.coupon-code-box button,
.deal-box-button {
  min-height: 48px;
  padding: 0 20px;
  color: #4775df;
  background: #e7f0ff;
  border: 0;
  border-radius: 6px;
  font-weight: 800;
  cursor: pointer;
  text-transform: uppercase;
}

.coupon-code-box .coupon-reveal-button {
  min-width: 190px;
  color: #fff;
  background: #24951b;
  text-transform: none;
  transition: background .18s ease, transform .18s ease, box-shadow .18s ease;
}

.coupon-code-box .coupon-reveal-button:hover,
.coupon-code-box .coupon-reveal-button:focus-visible {
  background: #1f8618;
  box-shadow: 0 10px 22px rgba(36, 149, 27, .2);
  transform: translateY(-1px);
}

.coupon-code-box .coupon-reveal-button:focus-visible {
  outline: 3px solid rgba(13, 91, 215, .35);
  outline-offset: 3px;
}

.coupon-code-box .coupon-reveal-button.is-revealed {
  color: #123b7a;
  background: #e7f0ff;
}

.deal-box-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
}

.coupon-code-box.is-deal {
  grid-template-columns: 1fr auto;
  border-style: solid;
  background: #f8fbff;
}

.deal-message {
  display: grid;
  gap: 4px;
}

.deal-message strong {
  color: #123b7a;
  font-size: clamp(24px, 3vw, 32px);
  line-height: 1.15;
}

.deal-message span {
  color: #10233f;
  font-size: 18px;
  font-weight: 800;
}

.deal-message small {
  color: #6b7280;
  font-size: 14px;
  line-height: 1.45;
}

.copy-status {
  min-height: 20px;
  margin: 0 0 14px;
  color: #557055;
  font-size: 14px;
}

.coupon-trust-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 2px 0 14px;
}

.coupon-trust-badges span {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 11px;
  color: #123b7a;
  background: #eef6ff;
  border: 1px solid #d5e6fb;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.visit-store {
  display: flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 48px;
  margin: 18px auto 0;
  padding: 0 26px;
  color: #fff;
  background: #24951b;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(36, 149, 27, .2);
  font-size: 18px;
  font-weight: 800;
  text-decoration: none;
  transition: background .18s ease, box-shadow .18s ease, transform .18s ease;
}

.visit-store:hover {
  background: #1f8618;
  box-shadow: 0 14px 26px rgba(36, 149, 27, .24);
  transform: translateY(-1px);
}

.coupon-meta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 18px;
  margin: 22px 0;
  color: #6b7280;
  font-size: 14px;
  line-height: 1.8;
}

.coupon-expiry-line {
  margin: -8px 0 22px;
  color: #6b7280;
  font-size: 14px;
  font-weight: 700;
  text-align: center;
}

.coupon-meta span::before {
  content: "\2713";
  display: inline-grid;
  width: 18px;
  height: 18px;
  margin-right: 7px;
  place-items: center;
  color: #fff;
  background: #57aa76;
  border-radius: 50%;
  font-size: 12px;
}

.offer-highlights {
  margin: 24px 0 0;
  padding: 22px;
  background: #f8fbff;
  border: 1px solid #dfeafa;
  border-radius: 8px;
}

.offer-highlights h2,
.coupon-faq h2,
.coupon-link-section h2 {
  margin: 0 0 14px;
  color: #123b7a;
  font-size: 19px;
  line-height: 1.25;
}

.offer-highlights ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.offer-highlights li {
  position: relative;
  padding-left: 26px;
  color: #4b5563;
  font-size: 14px;
  font-weight: 700;
  line-height: 1.5;
}

.offer-highlights li::before {
  content: "\2713";
  position: absolute;
  left: 0;
  top: 1px;
  display: inline-grid;
  width: 18px;
  height: 18px;
  place-items: center;
  color: #fff;
  background: #24951b;
  border-radius: 50%;
  font-size: 11px;
}

.terms-box {
  margin-top: 26px;
  padding: 28px 24px;
  background: #f6f6f7;
  border-radius: 8px;
}

.terms-box h2 {
  margin: 0 0 12px;
  color: #123b7a;
  font-size: 18px;
}

.coupon-full-description {
  margin-bottom: 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid #e3e7ee;
}

.coupon-info-section {
  margin-bottom: 22px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e3e7ee;
}

.coupon-info-section:last-of-type {
  border-bottom: 0;
}

.coupon-info-section h3,
.coupon-full-description h3 {
  margin: 0 0 8px;
  color: #123b7a;
  font-size: 16px;
}

.coupon-info-section p,
.coupon-full-description p {
  margin: 0;
  color: #4b5563;
  line-height: 1.8;
}

.store-inline-link {
  display: inline-flex;
  margin-top: 12px;
  color: #0d5bd7;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.store-inline-link:hover {
  color: #24951b;
}

.terms-box li {
  margin: 0 0 12px;
  color: #4b5563;
  line-height: 1.8;
}

.terms-box table {
  width: 100%;
  margin-top: 24px;
  border-collapse: collapse;
  background: #fff;
}

.terms-box th,
.terms-box td {
  padding: 18px 16px;
  border: 1px solid #e3e7ee;
  text-align: left;
  line-height: 1.65;
}

.terms-box th {
  width: 40%;
  color: #374151;
  font-weight: 700;
}

.coupon-faq,
.coupon-link-section {
  margin-top: 26px;
  padding: 24px;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 8px;
}

.coupon-faq details {
  padding: 15px 0;
  border-top: 1px solid #e7edf5;
}

.coupon-faq details:first-of-type {
  border-top: 0;
}

.coupon-faq summary {
  color: #123b7a;
  font-size: 15px;
  font-weight: 800;
  cursor: pointer;
}

.coupon-faq p {
  margin: 10px 0 0;
  color: #4b5563;
  line-height: 1.75;
}

.coupon-link-list {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.coupon-link-list a {
  display: inline-flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: #123b7a;
  background: #f1f8ed;
  border: 1px solid #cfe8c8;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;
}

.coupon-link-list a:hover {
  color: #fff;
  background: #24951b;
  border-color: #24951b;
}

.related-coupons h2 {
  margin: 0 0 14px;
  color: #123b7a;
  font-size: 20px;
}

.related-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 22px;
  padding: 16px;
  color: inherit;
  background: #fff;
  border: 1px solid #e4edf7;
  border-radius: 8px;
  box-shadow: 0 8px 20px rgba(15, 23, 42, .07);
  text-decoration: none;
  overflow: hidden;
}

.related-card .coupon-image-tile {
  width: 100% !important;
  height: 118px !important;
  padding: 8px !important;
  background: #fff !important;
  border: 1px solid #eef2f7 !important;
  border-radius: 8px !important;
  box-shadow: none !important;
}

.related-card .coupon-image-tile .image-logo,
.related-card .coupon-image-tile .store-logo {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: contain !important;
  object-position: center center !important;
  padding: 6px !important;
  border: 0 !important;
  background: #fff !important;
}

.related-card strong {
  display: block;
  margin-bottom: 8px;
  color: #123b7a;
  font-size: 15px;
  line-height: 1.2;
}

.related-card span {
  display: -webkit-box;
  margin-bottom: 7px;
  color: #123b7a;
  font-size: 15px;
  line-height: 1.25;
  text-transform: none;
  font-weight: 700;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  overflow-wrap: anywhere;
}

.related-card p {
  display: -webkit-box;
  margin: 0;
  color: #4b5563;
  font-size: 13px;
  line-height: 1.6;
  -webkit-line-clamp: 5;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.related-badge {
  display: inline-flex;
  width: fit-content;
  margin: 0 0 8px;
  padding: 4px 8px;
  color: #fff;
  background: #0d5bd7;
  border-radius: 5px;
  font-size: 11px;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.related-expiry {
  display: block;
  margin-top: 9px;
  color: #6b7280;
  font-size: 12px;
  line-height: 1.4;
}

.related-view-all {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 14px;
  color: #fff;
  background: #24951b;
  border-radius: 8px;
  box-shadow: 0 10px 22px rgba(36, 149, 27, .16);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
  text-align: center;
  text-decoration: none;
}

.related-view-all:hover {
  background: #1f8618;
}

@media (max-width: 1279px) {
  .coupon-detail-wrap {
    grid-template-columns: minmax(0, 1fr) 280px;
    gap: 24px;
  }

  .coupon-summary {
    grid-template-columns: minmax(190px, .8fr) minmax(0, 2.5fr);
    gap: 22px;
  }

  .coupon-summary .coupon-image-tile {
    width: 170px !important;
  }
}

@media (max-width: 900px) {
  .coupon-detail-wrap {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .coupon-topbar {
    grid-template-columns: 1fr;
    justify-items: start;
  }

  .share-btn {
    justify-self: start;
  }

  .coupon-detail-wrap {
    width: min(100% - 28px, 1400px);
  }

  .coupon-detail-card {
    padding: 18px;
  }

  .coupon-summary {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .coupon-summary .coupon-image-tile {
    float: none;
    margin: 0 auto 18px !important;
  }

  .coupon-percent {
    padding-right: 0;
    padding-bottom: 14px;
    border-right: 0;
    border-bottom: 1px dashed #b7c4da;
  }

  .coupon-code-box {
    grid-template-columns: 1fr;
    padding: 18px;
  }

  .coupon-code-box.is-deal {
    grid-template-columns: 1fr;
  }

  .coupon-code-box strong {
    text-align: center;
  }

  .coupon-code-value.is-masked {
    font-size: clamp(25px, 9vw, 34px);
    letter-spacing: .06em;
  }

  .coupon-code-box .coupon-reveal-button,
  .deal-box-button {
    width: 100%;
  }

  .coupon-meta {
    justify-content: flex-start;
  }

  .coupon-offer-info,
  .offer-highlights ul {
    grid-template-columns: 1fr;
  }

  .related-card {
    grid-template-columns: 1fr;
  }
}
.coupon-detail-peel{position:relative;width:min(100%,440px);height:62px;overflow:hidden;background:#fff;border:2px dashed #96a7bd;border-radius:9px}.coupon-detail-peel .coupon-code-value{display:flex;width:100%;height:100%;align-items:center;justify-content:flex-end;padding:0 18px;color:#123b7a;background:repeating-linear-gradient(135deg,#fff,#fff 8px,#f3f6fa 8px,#f3f6fa 16px);font-size:15px;letter-spacing:.08em}.coupon-detail-peel .coupon-reveal-button{position:absolute;z-index:1;inset:0 54px 0 0;width:auto;min-width:0;color:#fff;background:linear-gradient(135deg,#1976df,#0d5bd7);border-radius:7px 0 0 7px;box-shadow:6px 0 14px rgba(13,91,215,.22);font-size:16px;text-transform:none;transition:transform .26s ease,opacity .2s ease}.coupon-detail-peel .coupon-reveal-button::after{position:absolute;right:-13px;top:0;width:15px;height:100%;content:"";background:#0d5bd7;clip-path:polygon(0 0,100% 50%,0 100%)}.coupon-detail-peel.is-revealed .coupon-reveal-button{opacity:0;transform:translateX(-105%);pointer-events:none}.coupon-detail-peel.is-revealed .coupon-code-value{justify-content:center;padding:0 14px;font-size:clamp(24px,4vw,38px);letter-spacing:.03em}@media(max-width:720px){.coupon-detail-peel{width:100%;height:58px}.coupon-detail-peel .coupon-reveal-button{inset:0 45px 0 0;font-size:14px}.coupon-detail-peel.is-revealed .coupon-code-value{font-size:clamp(22px,8vw,32px)}}
.coupon-detail-code-cover{position:relative;display:block;width:100%;min-width:0;height:62px;overflow:hidden;background:#fff;border:2px dashed #96a7bd;border-radius:9px}.coupon-detail-code-cover .coupon-code-value{display:flex;width:100%;height:100%;align-items:center;justify-content:center;padding:0 15px;color:#123b7a;background:#fff;font-size:clamp(24px,4vw,40px);letter-spacing:.03em;overflow-wrap:anywhere}.coupon-detail-code-cover .coupon-code-mask{position:absolute;z-index:1;inset:0;display:flex;align-items:center;justify-content:center;color:#123b7a;background:repeating-linear-gradient(135deg,#fff,#fff 8px,#eef3f8 8px,#eef3f8 16px);font-size:15px;font-weight:900;letter-spacing:.1em;transition:opacity .18s ease}.coupon-detail-code-cover.is-revealed .coupon-code-mask{opacity:0;pointer-events:none}.coupon-code-box .coupon-reveal-button{position:static;min-width:190px;min-height:52px;color:#fff;background:linear-gradient(#43b72a,#26890f);border-radius:7px;text-transform:none;opacity:1;transform:none}.coupon-code-box .coupon-reveal-button::after{display:none}.coupon-code-box .coupon-reveal-button:hover,.coupon-code-box .coupon-reveal-button:focus-visible,.coupon-code-box .coupon-reveal-button.is-revealed{color:#fff;background:linear-gradient(#38a920,#217b0d)}@media(max-width:720px){.coupon-detail-code-cover{height:58px}.coupon-code-box .coupon-reveal-button{width:100%;min-width:0}}
