/* Component adjustments for Gashplay. Base colors remain editable in merchant appearance settings. */
.gashplay-campaign-archive {
  max-width: 800px;
  padding-block: 32px 56px;
}

.gashplay-campaign-archive article {
  margin-top: 24px;
  padding: clamp(20px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--surface);
  color: var(--ink);
  line-height: 1.7;
}

.gashplay-campaign-archive h1 {
  font-size: clamp(28px, 5vw, 40px);
  line-height: 1.25;
}

.gashplay-campaign-archive .primary-button {
  display: inline-flex;
  justify-content: center;
  max-width: 100%;
  white-space: normal;
  text-align: center;
}

body.public-template--gashplay:not(.merchant-body) {
  /* White lettering on orange follows the merchant's chosen brand treatment.
     Override older saved black values so deploying this stylesheet is enough. */
  --public-button-text: #FFFFFF;
  --public-footer-social-icon: #FFFFFF;
  --public-floating-whatsapp-text: #FFFFFF;
  --shadow-sm: 0 1px 3px rgb(8 24 163 / 7%);
  --shadow-md: 0 12px 28px rgb(8 24 163 / 9%);
  --shadow-lg: 0 22px 48px rgb(8 24 163 / 11%);
}

body.public-template--gashplay :where(a, button, input, select, textarea, summary):focus-visible {
  outline: 3px solid var(--public-input-focus-border);
  outline-offset: 3px;
}

body.public-template--gashplay .site-footer :where(a:hover, a:focus-visible),
body.public-template--gashplay .site-footer .footer-columns a:is(:hover, :focus-visible),
body.public-template--gashplay .site-footer .footer-bottom a:is(:hover, :focus-visible) {
  color: var(--rose);
}

body.public-template--gashplay .site-footer .social-links a {
  background: var(--public-button-bg);
  color: var(--public-button-text);
}

body.public-template--gashplay .site-footer .social-links a:hover {
  background: var(--rose);
  color: var(--ink);
}

body.public-template--gashplay .site-footer :focus-visible {
  outline-color: var(--rose);
}

body.public-template--gashplay .footer-komdigi a {
  align-self: flex-start;
  width: fit-content;
  max-width: 100%;
  box-sizing: border-box;
  padding: 10px;
  border-radius: 10px;
  background: #FFFFFF;
}

body.public-template--gashplay .ts-page a:focus-visible {
  outline-color: var(--public-input-focus-border);
}

body.public-template--gashplay .ts-days .is-next > span {
  border-color: var(--public-link-color);
}

/* Keep article hero text on a dark field; the pale mint accent is not part of this brand. */
body.public-template--gashplay .blog-hero {
  background: linear-gradient(135deg, var(--public-banner-bg), var(--accent));
}

body.public-template--gashplay .blog-hero h1 span {
  color: var(--rose) !important;
}

/* Orange is an action fill, not small text on white. */
body.public-template--gashplay :is(
  .coins-breadcrumb a, .coins-text-link,
  .coins-section-heading .coins-eyebrow, .coins-use .coins-eyebrow, .coins-example-discount,
  .coins-step-icon, .affiliate-higgs-page .affiliate-hero h1 span,
  .affiliate-higgs-page .affiliate-hero .coins-eyebrow,
  .affiliate-card-icon, .affiliate-copy-button, .affiliate-referral-placeholder,
  .affiliate-terms .coins-eyebrow, .affiliate-terms li > span,
  .promo-login-help a, .reward-coins-message a,
  .reward-coins-head small, .reward-coins-tier-option strong,
  .payment-option-copy small, .search-trigger, .language-option-code,
  .drawer-language-option, .drawer-links a:hover,
  .drawer-links .drawer-blog-categories a:is(:hover, .is-active),
  .section-link, .affiliate-higgs-announcement-icon, .empty-state > span,
  .campaign-state, .flash-sale-highlight, .flash-sale-badge, .flash-sale-code,
  .flash-sale-quota, .flash-sale-link, .track-card strong, .checkout-step strong,
  .track-status-pill.warning, .track-status-pill.danger, .track-empty-card > span,
  .track-overview-media span, .track-overview-copy strong, .track-payment-copy strong,
  .track-history-card h3 svg, .track-details-card h3 svg, .track-voucher-card h3 svg,
  .help-card a, .breadcrumb a:hover, .checkout-tabs button.is-active,
  .product-option-fallback, .payment-icon, .voucher-panel-head > span,
  .public-transaction-deadline, .public-transaction-status,
  [data-product-flash-sale] .product-flash-sale-title
),
body.public-template--gashplay .coins-faq summary::after {
  color: var(--public-link-color);
}

body.public-template--gashplay .affiliate-higgs-page button.affiliate-copy-button:is(:hover, .is-copied) {
  color: var(--public-button-text);
}

body.public-template--gashplay .coins-faq summary:focus-visible,
body.public-template--gashplay .coins-button:focus-visible,
body.public-template--gashplay .coins-text-link:focus-visible {
  outline-color: var(--public-input-focus-border);
}

/* Gas Poin: navy hero, orange action and yellow coin accents. */
body.public-template--gashplay .coins-hero:not(.affiliate-hero) {
  background: radial-gradient(ellipse at 80% 60%, var(--accent), var(--public-banner-bg) 75%);
}

body.public-template--gashplay .coins-hero:not(.affiliate-hero) :is(.coins-eyebrow, h1 span, .coins-spark) {
  color: var(--rose);
}

body.public-template--gashplay .coins-hero:not(.affiliate-hero) :is(.coins-hero-copy > p, .coins-text-link) {
  color: var(--public-button-hover-text);
}

body.public-template--gashplay .coins-button {
  background: var(--public-button-bg);
  color: var(--public-button-text);
  border: 1px solid var(--public-button-border);
}

body.public-template--gashplay .custom-section-link {
  color: var(--public-button-text);
}

body.public-template--gashplay .coins-button:hover {
  background: var(--public-button-hover-bg);
  color: var(--public-button-hover-text);
  border-color: var(--public-button-hover-bg);
}

body.public-template--gashplay .coins-hero:not(.affiliate-hero) .coins-button:hover {
  background: var(--rose);
  color: var(--ink);
  border-color: var(--rose);
}

body.public-template--gashplay .coins-hero :focus-visible {
  outline-color: var(--rose);
}

body.public-template--gashplay .coins-orbit { border-color: rgb(250 184 0 / 40%); }
body.public-template--gashplay .coins-token {
  color: var(--public-button-text);
  background: linear-gradient(140deg, var(--rose), var(--primary));
  border-color: var(--rose);
  box-shadow: inset 0 0 0 3px var(--primary), 7px 9px 0 var(--ink), 16px 22px 30px rgb(0 0 0 / 25%);
}

body.public-template--gashplay .coins-art-label {
  background: var(--panel);
  color: var(--ink);
  border-color: var(--rose);
}

body.public-template--gashplay .coins-art-label strong { color: var(--public-link-color); }
body.public-template--gashplay .coins-example-options .is-selected {
  border-color: var(--public-link-color);
  color: var(--public-link-color);
}
body.public-template--gashplay .coins-example-options .is-selected i { border-color: var(--public-link-color); }

/* Dark headings on pale panels; white numbers on orange step markers. */
body.public-template--gashplay .step-title { background: var(--public-primary-soft); }
body.public-template--gashplay .step-title-label { color: var(--ink); }
body.public-template--gashplay .step-title-number {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--public-button-text);
}

body.public-template--gashplay :is(.product-option, .payment-option, .reward-coins-tier-option):has(input:checked) {
  border-color: var(--public-link-color);
  box-shadow: inset 0 0 0 1px var(--public-link-color);
  background: var(--public-primary-soft);
}

body.public-template--gashplay .payment-option .payment-icon:has(img) { background: #FFFFFF; }

body.public-template--gashplay :is(.product-option-reward-coins, .reward-coins-icon) {
  background: var(--public-primary-soft);
  border-color: var(--primary-600);
  color: var(--public-link-color);
}

body.public-template--gashplay .reward-coins-box { background: var(--panel); }
body.public-template--gashplay .reward-coins-progress-track span { background: var(--primary); }

body.public-template--gashplay :is(.flash-sale-badge, .product-flash-sale-badge) {
  background: var(--rose);
  color: var(--ink);
}

body.public-template--gashplay .reward-coins-head strong,
body.public-template--gashplay .reward-coins-metrics strong { color: var(--ink); }

body.public-template--gashplay .coins-benefit-icon,
body.public-template--gashplay .coins-step-number {
  background: var(--public-primary-soft);
  color: var(--public-link-color);
}

/* Keep the whole confirmation heading readable, including on narrow screens. */
body.public-template--gashplay .checkout-confirmation-panel header {
  background: var(--public-button-bg);
  color: var(--public-button-text);
}

/* Grid rows must still obey the checkout's hidden state. */
body.public-template--gashplay .checkout-confirmation-body [hidden] {
  display: none;
}

body.public-template--gashplay .checkout-confirmation-title {
  color: var(--public-button-text);
  min-width: 0;
  overflow-wrap: anywhere;
}

body.public-template--gashplay .checkout-confirmation-panel header button {
  flex-shrink: 0;
  background: var(--public-secondary-button-bg);
  color: var(--public-secondary-button-text);
}

/* The affiliate's automatic contrast helper otherwise selects black on orange. */
body.public-template--gashplay .affiliate-merchant-page .affiliate-merchant-action:not(.affiliate-merchant-action-secondary) {
  color: var(--public-button-text);
}

body.public-template--gashplay :is(.coins-checkout-example figcaption, .coins-example-note, .trust-signal-item small) {
  font-size: 13px;
  line-height: 1.6;
}
