/* Discounts / partner codes page */

.discounts-page .discounts-story {
  max-width: 720px;
  margin: 0 auto 28px;
}

.discounts-page .discounts-story p {
  color: #4b5563;
  margin-bottom: 1rem;
  font-size: 1.05rem;
}

.discounts-page .discounts-disclosure {
  max-width: 720px;
  margin: 0 auto 28px;
  padding: 16px 18px;
  background: #fff9e6;
  border-left: 4px solid #f97b5f;
  border-radius: 0 12px 12px 0;
}

.discounts-page .discounts-disclosure p {
  margin: 0;
  color: #1a2b48;
  font-size: 0.98rem;
  line-height: 1.5;
}

.discounts-page .discounts-quick-facts {
  max-width: 720px;
  margin: 0 auto;
  padding: 20px 22px;
  background: #fff5f2;
  border: 1px solid rgba(249, 123, 95, 0.2);
  border-radius: 16px;
}

.discounts-page .discounts-quick-facts ul {
  margin: 0;
  padding-left: 1.2rem;
  color: #4b5563;
}

.discounts-page .discounts-quick-facts li {
  margin-bottom: 0.55rem;
  line-height: 1.45;
}

.discounts-page .discounts-quick-facts li:last-child {
  margin-bottom: 0;
}

.discounts-page .discounts-quick-facts a {
  color: #f97b5f;
  font-weight: 600;
  word-break: break-word;
}

.discounts-page .visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.discounts-page .discounts-jump {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discounts-page .discounts-jump-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: 100px;
  background: white;
  color: #1a2b48;
  text-decoration: none;
  font-weight: 600;
  font-size: 0.95rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  border: 1px solid rgba(26, 43, 72, 0.08);
  transition: transform 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.discounts-page .discounts-jump-emoji,
.discounts-page .discount-section-emoji,
.discounts-page .discount-brand-emoji {
  display: inline-block;
  line-height: 1;
}

.discounts-page .discount-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 6px;
  font-size: 1.35rem;
  font-weight: 700;
  color: #1a2b48;
}

.discounts-page .discount-brand-emoji {
  font-size: 1.45rem;
  flex-shrink: 0;
}

.discounts-page .discount-section-emoji {
  margin-right: 4px;
}

.discounts-page .discounts-jump-link:hover {
  color: #f97b5f;
  border-color: rgba(249, 123, 95, 0.4);
  transform: translateY(-1px);
}

.discounts-page .discounts-list {
  display: grid;
  gap: 20px;
}

.discounts-page .discount-card {
  background: white;
  border-radius: 16px;
  padding: 24px 20px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
}

.discounts-page .content-section:not(.alt-bg) .discount-card {
  border: 1px solid rgba(26, 43, 72, 0.06);
}

.discounts-page .discount-card-header {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 14px;
}

.discounts-page .discount-headline {
  margin: 0;
  color: #6b7280;
  font-size: 0.98rem;
  line-height: 1.45;
}

.discounts-page .discount-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.discounts-page .discount-badge {
  display: inline-flex;
  align-items: center;
  min-height: 32px;
  padding: 4px 12px;
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  background: #f3f4f6;
  color: #4b5563;
}

.discounts-page .discount-badge--ongoing,
.discounts-page .discount-badge--code {
  background: #fff5f2;
  color: #e86a4e;
}

.discounts-page .discount-badge--link,
.discounts-page .discount-badge--link_only {
  background: #eef6ff;
  color: #2563eb;
}

.discounts-page .discount-badge--product_specific,
.discounts-page .discount-badge--limited {
  background: #fff7ed;
  color: #c2410c;
}

.discounts-page .discount-summary {
  margin: 0 0 16px;
  color: #4b5563;
  line-height: 1.55;
}

.discounts-page .discount-meta {
  display: grid;
  gap: 12px;
  margin: 0 0 18px;
}

.discounts-page .discount-meta > div {
  background: #f8f9fa;
  border-radius: 12px;
  padding: 12px 14px;
}

.discounts-page .discount-meta dt {
  margin: 0 0 4px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #9ca3af;
}

.discounts-page .discount-meta dd {
  margin: 0;
  color: #1a2b48;
  font-weight: 600;
  font-size: 0.98rem;
}

.discounts-page .discount-code-row {
  margin-bottom: 18px;
}

.discounts-page .discount-code-label {
  margin: 0 0 8px;
  font-size: 0.85rem;
  font-weight: 700;
  color: #6b7280;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.discounts-page .discount-code-chip {
  display: flex;
  align-items: stretch;
  gap: 0;
  max-width: 100%;
  border: 2px dashed rgba(249, 123, 95, 0.55);
  border-radius: 14px;
  overflow: hidden;
  background: #fffaf8;
}

.discounts-page .discount-code {
  flex: 1;
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 12px 16px;
  font-family: "DM Sans", "Inter", monospace;
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #1a2b48;
  background: transparent;
}

.discounts-page .discount-copy-btn {
  min-width: 88px;
  min-height: 52px;
  border: none;
  background: #f97b5f;
  color: white;
  font-weight: 700;
  font-size: 0.95rem;
  cursor: pointer;
  padding: 0 18px;
  transition: background 0.15s ease;
}

.discounts-page .discount-copy-btn:hover,
.discounts-page .discount-copy-btn:focus-visible {
  background: #e86a4e;
  outline: none;
}

.discounts-page .discount-copy-btn.is-copied {
  background: #36b37e;
}

.discounts-page .discount-code-plain {
  margin: 10px 0 0;
  font-size: 0.92rem;
  color: #6b7280;
  line-height: 1.45;
}

.discounts-page .discount-how {
  margin-bottom: 14px;
  padding: 14px 16px;
  background: linear-gradient(135deg, #fff5f2 0%, #fff9f2 100%);
  border-radius: 12px;
}

.discounts-page .discount-important {
  margin-bottom: 16px;
  padding: 14px 16px;
  background: #fff4f0;
  border: 1px solid rgba(249, 123, 95, 0.35);
  border-left: 4px solid #f97b5f;
  border-radius: 0 12px 12px 0;
}

.discounts-page .discount-important p {
  margin: 0;
  color: #1a2b48;
  font-size: 0.98rem;
  line-height: 1.5;
}

.discounts-page .discount-howto-figure {
  margin: 14px 0 0;
}

.discounts-page .discount-howto-figure img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 12px;
  border: 1px solid rgba(26, 43, 72, 0.08);
}

.discounts-page .discount-howto-figure figcaption {
  margin-top: 8px;
  font-size: 0.88rem;
  color: #6b7280;
  line-height: 1.4;
}

.discounts-page .discount-products {
  margin-bottom: 18px;
}

.discounts-page .discount-products h4,
.discounts-page .discount-how h4 {
  margin: 0 0 6px;
  font-size: 0.95rem;
  font-weight: 700;
  color: #1a2b48;
}

.discounts-page .discount-product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
}

.discounts-page .discount-product-list .discount-product-cta {
  width: auto;
  max-width: 100%;
  text-align: left;
}

.discounts-page .discount-product-list .discount-product-cta i {
  font-size: 0.85rem;
  opacity: 0.9;
}

.discounts-page .discount-actions-note {
  margin: 0;
  color: #6b7280;
  font-size: 0.95rem;
}

.discounts-page .discount-how p {
  margin: 0;
  color: #4b5563;
  font-size: 0.98rem;
  line-height: 1.5;
}

.discounts-page .discount-notes {
  margin: 0 0 18px;
  color: #6b7280;
  font-size: 0.92rem;
  line-height: 1.5;
}

.discounts-page .discount-notes span {
  font-weight: 700;
  color: #1a2b48;
}

.discounts-page .discount-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.discounts-page .discount-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 12px 22px;
  border-radius: 100px;
  background: #f97b5f;
  color: white;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.15s ease, background 0.15s ease;
}

.discounts-page .discount-cta:hover {
  background: #e86a4e;
  color: white;
  transform: translateY(-1px);
}

.discounts-page .discounts-faq {
  display: grid;
  gap: 12px;
  max-width: 760px;
}

.discounts-page .discounts-faq-item {
  background: white;
  border-radius: 14px;
  padding: 4px 18px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.discounts-page .discounts-faq-item summary {
  cursor: pointer;
  list-style: none;
  min-height: 48px;
  display: flex;
  align-items: center;
  font-weight: 700;
  color: #1a2b48;
  padding: 10px 0;
}

.discounts-page .discounts-faq-item summary::-webkit-details-marker {
  display: none;
}

.discounts-page .discounts-faq-item summary::after {
  content: "+";
  margin-left: auto;
  color: #f97b5f;
  font-size: 1.25rem;
  font-weight: 500;
}

.discounts-page .discounts-faq-item[open] summary::after {
  content: "–";
}

.discounts-page .discounts-faq-item p {
  margin: 0 0 14px;
  color: #4b5563;
  line-height: 1.55;
}

.discounts-page .discounts-faq-item a {
  color: #f97b5f;
  font-weight: 600;
}

.discounts-page .cta-section .btn-light {
  margin-right: 8px;
  margin-bottom: 8px;
}

@media (min-width: 768px) {
  .discounts-page .discount-card {
    padding: 28px;
  }

  .discounts-page .discount-card-header {
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
  }

  .discounts-page .discount-meta {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .discounts-page .discount-code {
    font-size: 1.35rem;
  }
}
