/** Shopify CDN: Minification failed

Line 265:8 Expected identifier but found whitespace
Line 265:9 Unexpected "56px"

**/
/* =============================================
   REWARDS LANDING PAGE STYLESHEET
   /pages/underdogs-rewards
   Version: 4.0 — Font fix, transparency, text overflow
   ============================================= */

/* ----- Page Background Override ----- */
body.template-page #MainContent,
body.template-page .main-content,
body.template-page main {
  background: #ffffff !important;
}

section[class*="slp_"] {
  background-color: #ffffff;
}

/* ----- Hide Smile.io Stock Photos ----- */
img[src*="smile-landing-page-earning"],
img[src*="smile-landing-page-redeeming"] {
  display: none !important;
}

.slp_e6312b,
.slp_a45055 {
  display: none !important;
}

.slp_d63a4e > .slp_51a39c,
.slp_47759a > .slp_51a39c {
  flex: 1 !important;
  max-width: 100% !important;
  width: 100% !important;
}

img[src*="platform.smile.io"] {
  display: none !important;
}

/* ----- Force Smile app blocks to full width ----- */
.layout-panel-flex .shopify-app-block {
  align-self: stretch !important;
  width: 100% !important;
}

/* ---- TYPOGRAPHY ---- */
/* Use theme fonts: Noto Sans Display for headings, Noto Sans for body */
.slp_8dbfc7 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif !important;
  color: #1a1a2e !important;
  letter-spacing: -0.02em !important;
}
.slp_5f0014 {
  font-family: 'Noto Sans', sans-serif !important;
  line-height: 1.7 !important;
  color: #444 !important;
}

/* ---- HERO SECTION ---- */
body section.slp_7f5cc2 {
  background: url('https://clubunderdogs.com/cdn/shop/files/Firefly_Gemini_Flash_Ultra-realistic_still-life_product_photography._Curated_intentional_composition_with_564657-3.png') center center / cover no-repeat !important;
  padding: 140px 60px 80px 60px !important;
  min-height: 520px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  position: relative !important;
}

/* Hero inner container - frosted glass card */
body section.slp_7f5cc2 .slp_ac2cc6 {
  background: rgba(255,255,255,0.75) !important;
  backdrop-filter: blur(20px) !important;
  -webkit-backdrop-filter: blur(20px) !important;
  border-radius: 20px !important;
  padding: 44px 40px !important;
  max-width: 520px !important;
  width: 520px !important;
  max-height: 540px !important;
  overflow: hidden !important;
  box-shadow: 0 8px 32px rgba(0,0,0,0.1) !important;
  text-align: left !important;
  margin-right: auto !important;
  margin-left: 0 !important;
}

/* Make inner wrapper transparent and fit within card */
body .slp_7f5cc2 .slp_51a39c {
  background: transparent !important;
  box-shadow: none !important;
  width: 100% !important;
  min-width: 100% !important;
  max-width: 100% !important;
  padding: 0 !important;
  box-sizing: border-box !important;
}

/* Hero heading */
body .slp_7f5cc2 .slp_8dbfc7 {
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;
  margin-bottom: 0px !important;
  color: #1a1a1a !important;
  text-align: left !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Hero description */
body .slp_7f5cc2 .slp_5f0014 {
  font-family: 'Noto Sans', sans-serif !important;
  font-size: 0.95rem !important;
  color: #1a1a1a !important;
  font-weight: 500;
  max-width: 100% !important;
  line-height: 1.7 !important;
  text-align: left !important;
  word-wrap: break-word !important;
  overflow-wrap: break-word !important;
}

/* Hero buttons */
body .slp_7f5cc2 .slp_6434b9 {
  display: inline-flex !important;
  margin-top: 12px !important;
  margin-right: 8px !important;
}

/* ---- BUTTONS (non-hero) ---- */
.slp_6434b9 {
  border-radius: 50px !important;
  padding: 12px 32px !important;
  font-weight: 600 !important;
  font-size: 0.9rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.08em !important;
  transition: all 0.3s ease !important;
  cursor: pointer !important;
  border: 2px solid #1a1a1a !important;
}
.slp_ba31b4 {
  background: #1a1a1a !important;
  color: #ffffff !important;
}
.slp_ba31b4:hover {
  background: #2d2d2d !important;
}
.slp_6434b9:not(.slp_ba31b4) {
  background: transparent !important;
  color: #1a1a1a !important;
}
.slp_6434b9:not(.slp_ba31b4):hover {
  background: #1a1a1a !important;
  color: #ffffff !important;
}

/* ---- HOW IT WORKS SECTION ---- */
.slp_30dfe8 {
  padding: 40px 40px !important;
  text-align: center !important;
  background: #faf8f7 !important;
}
.slp_30dfe8 .slp_8dbfc7 {
  font-size: 2.2rem !important;
  font-weight: 700 !important;
  margin-bottom: 50px !important;
}
.slp_30dfe8 .slp_5f0014 {
  font-size: 1rem !important;
  color: #555 !important;
  max-width: 600px !important;
  margin: 0 auto 30px auto !important;
}

/* Step container */
.slp_1f8527 {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 30px !important;
  justify-content: center !important;
  max-width: 1100px !important;
  margin: 0 auto !important;
  align-items: stretch !important;
}
.slp_6c61e4 {
  background: transparent !important;
}

/* Individual step cards */
.slp_4f77b0 {
  flex: 1 1 280px !important;
  min-width: 250px !important;
  max-width: 340px !important;
  background: #ffffff !important;
  border-radius: 20px !important;
  padding: 32px 28px 28px !important;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06) !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
  max-height: 380px !important;
  overflow: hidden !important;
}
.slp_4f77b0:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 8px 36px rgba(0,0,0,0.10) !important;
}

/* Step number badge */
.slp_4f77b0 .step-number-badge {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 44px !important;
  height: 44px !important;
  border-radius: 50% !important;
  background: #1a1a1a !important;
  color: #ffffff !important;
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif !important;
  font-size: 1.25rem !important;
  font-weight: 800 !important;
  margin-bottom: 12px !important;
  line-height: 1 !important;
  flex-shrink: 0 !important;
}
.slp_4f77b0 .step-title-text {
  display: block !important;
  font-size: 1.15rem !important;
  font-weight: 700 !important;
  margin-bottom: 4px !important;
}

/* Step card headings (after JS enhancement) */
.slp_4f77b0 .slp_8dbfc7 {
  font-size: 1.15rem !important;
  margin-bottom: 8px !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  gap: 10px !important;
  justify-content: center !important;
}
.slp_4f77b0 .slp_5f0014 {
  font-size: 0.92rem !important;
  color: #666 !important;
  line-height: 1.65 !important;
}

.slp_33f387 {
  gap: 20 !important;
}

/* Step icon images */
.slp_4f77b0 .step-custom-icon 
  width: 56px !important;
  height: 56px !important;
  object-fit: contain !important;
  margin: 0 auto 12px !important;
  display: block !important;
}

/* Hide Smile.io default step icons */
.slp_4f77b0 .slp_a1e93a img[src*="platform.smile.io"] {
  display: none !important;
}

/* ---- EARN & REDEEM SECTIONS ---- */
.slp_1df341,
.slp_e72bb8 {
  padding: 70px 40px !important;
  text-align: center !important;
}
.slp_1df341 { background: #faf8f7 !important; }
.slp_e72bb8 {
  background: #ffffff !important;
  border-top: 1px solid rgba(0,0,0,0.06) !important;
}
.slp_1df341 .slp_8dbfc7,
.slp_e72bb8 .slp_8dbfc7 {
  font-family: 'Noto Sans Display', 'Noto Sans', sans-serif !important;
  font-size: 2rem !important;
  font-weight: 700 !important;
  color: #1a1a1a !important;
  margin-bottom: 12px !important;
}
.slp_1df341 .slp_5f0014,
.slp_e72bb8 .slp_5f0014 {
  font-size: 1.05rem !important;
  color: #555 !important;
  max-width: 600px !important;
  margin: 0 auto 30px auto !important;
  line-height: 1.7 !important;
}
.slp_1df341 .slp_51a39c,
.slp_e72bb8 .slp_51a39c {
  max-width: 900px !important;
  margin: 0 auto !important;
}
.slp_1df341 [class*="slp_"],
.slp_e72bb8 [class*="slp_"] {
  border-radius: 20px !important;
}

/* ---- MOBILE RESPONSIVE ---- */
@media (max-width: 749px) {
  body section.slp_7f5cc2 {
    padding: 120px 20px 40px 20px !important;
    min-height: 380px !important;
    background-position: right center !important;
  }
  body section.slp_7f5cc2 .slp_ac2cc6 {
    padding: 30px 24px !important;
    max-width: 100% !important;
    width: 100% !important;
    max-height: 360px !important;
  }
  body .slp_7f5cc2 .slp_8dbfc7 {
    font-size: 1.7rem !important;
  }
  .slp_30dfe8 {
    padding: 40px 20px !important;
  }
  .slp_30dfe8 .slp_8dbfc7 {
    font-size: 1.6rem !important;
  }
  .slp_4f77b0 {
    flex: 1 1 100% !important;
    min-width: unset !important;
  }
  .slp_1df341,
  .slp_e72bb8 {
    padding: 50px 20px !important;
  }
  .slp_1df341 .slp_8dbfc7,
  .slp_e72bb8 .slp_8dbfc7 {
    font-size: 1.6rem !important;
  }
}

@media (max-width: 480px) {
  body .slp_7f5cc2 .slp_8dbfc7 {
    font-size: 1.5rem !important;
  }
  .slp_30dfe8 .slp_8dbfc7,
  .slp_1df341 .slp_8dbfc7,
  .slp_e72bb8 .slp_8dbfc7 {
    font-size: 1.3rem !important;
  }
  .slp_6434b9 {
    padding: 10px 24px !important;
    font-size: 0.85rem !important;
  }
}

/* Keep step headings centered while card body is left-aligned */
.slp_4f77b0 .slp_8dbfc7 {
  text-align: center !important;
  width: 100% !important;
  justify-content: center !important;
}

/* Step number badge in horizontal layout */
.slp_4f77b0 .step-number-badge {
  margin: 0 !important;
  flex-shrink: 0 !important;
}

/* Left-align description text for proper bullet alignment */
.slp_4f77b0 .slp_5f0014 {
  text-align: left !important;
}

/* Fix list/bullet alignment within cards */
.slp_4f77b0 ul, .slp_4f77b0 ol {
  text-align: left !important;
  padding-left: 20px !important;
  margin: 0 !important;
  list-style-position: outside !important;
}

.slp_4f77b0 li {
  text-align: left !important;
  padding-left: 4px !important;
}

/* Reduce gap between How It Works title and cards */
body section.slp_30dfe8 .slp_fcec57 .slp_a1e93a .slp_8dbfc7 {
  margin-bottom: 16px !important;
  font-size: 2rem !important;
}
body .slp_30dfe8 .slp_8dbfc7 {
  margin-bottom: 20px !important;
}
.slp_30dfe8 .slp_8dbfc7[class] {
  margin-bottom: 20px !important;
}

/* ===== MOBILE RESPONSIVE ===== */
@media (max-width: 768px) {
  /* Hero card: fluid width, no height clipping */
  body section.slp_7f5cc2 .slp_ac2cc6 {
    width: auto !important;
    max-width: calc(100% - 32px) !important;
    max-height: none !important;
    overflow: visible !important;
padding: 20px 20px 40px 20px !important;    
margin: 16px !important;
  }

  body .slp_7f5cc2 .slp_51a39c {
    width: 100% !important;
    min-width: 100% !important;
    max-width: 100% !important;
  }

  /* Hero heading smaller on mobile */
  body section.slp_7f5cc2 .slp_8dbfc7 {
    font-size: 1.5rem !important;
  }

  /* Hero description text */
  body section.slp_7f5cc2 .slp_5f0014 {
    font-size: 0.9rem !important;
  }

  /* How It Works cards stack nicely */
  .slp_4f77b0 {
    max-width: 100% !important;
    min-width: 0 !important;
  }
}

/* ===================================================
   UNDERDOGS REWARDS DASHBOARD - Custom Dashboard CSS
   =================================================== */

/* --- Page Wrapper --- */
.ud-rewards-page {
  font-family: inherit;
  color: #1a1a2e;
}

/* --- Hero Section --- */
.ud-rewards-hero {
  background: #1a1a2e;
  color: #fff;
  padding: 80px 24px 60px;
  text-align: center;
}
.ud-rewards-hero__inner {
  max-width: 680px;
  margin: 0 auto;
}
.ud-rewards-hero__title {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.02em;
  margin: 0 0 12px;
  line-height: 1.1;
}
.ud-rewards-hero__subtitle {
  font-size: 1.15rem;
  opacity: 0.75;
  margin: 0 0 32px;
}
.ud-rewards-hero__balance {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.18);
  border-radius: 16px;
  padding: 20px 40px;
  gap: 4px;
}
.ud-rewards-hero__balance-label {
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  opacity: 0.65;
}
.ud-rewards-hero__balance-points {
  font-size: 3.5rem;
  font-weight: 900;
  line-height: 1;
  color: #f5c842;
}
.ud-rewards-hero__cta-group {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
}

/* --- Shared Buttons --- */
.ud-btn {
  display: inline-block;
  padding: 12px 28px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.95rem;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: opacity 0.2s, transform 0.15s;
  letter-spacing: 0.03em;
  line-height: 1;
}
.ud-btn:hover { opacity: 0.85; transform: translateY(-1px); }
.ud-btn--primary {
  background: #f5c842;
  color: #1a1a2e;
  border-color: #f5c842;
}
.ud-btn--secondary {
  background: transparent;
  color: #fff;
  border-color: rgba(255,255,255,0.5);
}
.ud-btn--sm {
  padding: 8px 18px;
  font-size: 0.85rem;
}

/* --- Shared Container / Section Title --- */
.ud-rewards-container {
  max-width: 1060px;
  margin: 0 auto;
  padding: 0 24px;
}
.ud-rewards-section-title {
  font-size: 1.85rem;
  font-weight: 800;
  text-align: center;
  margin: 0 0 40px;
  letter-spacing: -0.01em;
  color: #1a1a2e;
}
.ud-rewards-section-title.ud-light { color: #fff; }

/* --- Dashboard Cards --- */
.ud-rewards-dashboard {
  background: #faf8f4;
  padding: 60px 0;
}
.ud-rewards-dashboard .ud-rewards-container {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  align-items: start;
}
.ud-dashboard-card {
  background: #fff;
  border-radius: 16px;
  padding: 28px 24px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  border: 1px solid #ede9e0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ud-dashboard-card--featured {
  border-color: #f5c842;
  box-shadow: 0 4px 24px rgba(245,200,66,0.18);
}
.ud-dashboard-card__icon { font-size: 2rem; line-height: 1; }
.ud-dashboard-card__title {
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #888;
  margin: 0;
}
.ud-dashboard-card__value {
  font-size: 2.8rem;
  font-weight: 900;
  color: #1a1a2e;
  line-height: 1;
}
.ud-dashboard-card__sub {
  font-size: 0.85rem;
  color: #888;
  margin-top: -4px;
}
.ud-dashboard-card__desc {
  font-size: 0.9rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
}
.ud-dashboard-card__action {
  margin-top: auto;
  padding-top: 8px;
}
.ud-referral-link-wrap {
  display: flex;
  gap: 8px;
  align-items: center;
}
.ud-referral-input {
  flex: 1;
  padding: 8px 12px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 0.8rem;
  background: #f9f9f9;
  color: #333;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ud-copied-msg {
  font-size: 0.85rem;
  font-weight: 600;
  color: #1a1a2e;
  min-height: 1.2em;
  margin: 4px 0 0;
}

/* --- Ways to Earn --- */
.ud-rewards-earn {
  padding: 72px 0;
  background: #fff;
}
.ud-earn-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.ud-earn-card {
  background: #faf8f4;
  border-radius: 14px;
  padding: 28px 20px;
  border: 1px solid #ede9e0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.ud-earn-card__icon { font-size: 2rem; }
.ud-earn-card__title {
  font-size: 1rem;
  font-weight: 700;
  margin: 0;
  color: #1a1a2e;
}
.ud-earn-card__desc {
  font-size: 0.88rem;
  color: #555;
  margin: 0;
  line-height: 1.5;
  flex: 1;
}
.ud-earn-card__badge {
  display: inline-block;
  background: #f5c842;
  color: #1a1a2e;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: 20px;
  padding: 4px 12px;
  margin-top: 4px;
  align-self: flex-start;
}

/* --- Redeem Steps --- */
.ud-rewards-redeem {
  background: #1a1a2e;
  color: #fff;
  padding: 72px 0;
}
.ud-redeem-steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
}
.ud-redeem-step {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  max-width: 240px;
}
.ud-redeem-step__num {
  width: 48px;
  height: 48px;
  min-width: 48px;
  border-radius: 50%;
  background: #f5c842;
  color: #1a1a2e;
  font-size: 1.3rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ud-redeem-step__content h3 {
  font-size: 1rem;
  font-weight: 700;
  margin: 0 0 4px;
  color: #fff;
}
.ud-redeem-step__content p {
  font-size: 0.88rem;
  margin: 0;
  opacity: 0.7;
  line-height: 1.5;
}
.ud-redeem-step__arrow {
  font-size: 1.8rem;
  color: #f5c842;
  font-weight: 700;
  padding-bottom: 20px;
}

/* --- FAQ --- */
.ud-rewards-faq {
  background: #faf8f4;
  padding: 72px 0;
}
.ud-faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.ud-faq-item {
  background: #fff;
  border: 1px solid #ede9e0;
  border-radius: 12px;
  overflow: hidden;
}
.ud-faq-question {
  padding: 18px 24px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: #1a1a2e;
}
.ud-faq-question::-webkit-details-marker { display: none; }
.ud-faq-question::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: #888;
  transition: transform 0.2s;
  flex-shrink: 0;
}
.ud-faq-item[open] .ud-faq-question::after { transform: rotate(45deg); }
.ud-faq-answer {
  padding: 0 24px 18px;
  font-size: 0.92rem;
  color: #555;
  line-height: 1.65;
}

/* --- Responsive --- */
@media (max-width: 900px) {
  .ud-rewards-dashboard .ud-rewards-container { grid-template-columns: 1fr 1fr; }
  .ud-earn-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .ud-rewards-hero__title { font-size: 2rem; }
  .ud-rewards-hero__balance { padding: 16px 24px; }
  .ud-rewards-hero__balance-points { font-size: 2.5rem; }
  .ud-rewards-dashboard .ud-rewards-container { grid-template-columns: 1fr; }
  .ud-earn-grid { grid-template-columns: 1fr; }
  .ud-redeem-steps { flex-direction: column; align-items: flex-start; }
  .ud-redeem-step__arrow { transform: rotate(90deg); align-self: center; padding: 0; }
  .ud-rewards-section-title { font-size: 1.5rem; }
}

/* --- Custom Hero --- */
.ud-rewards-hero {
  position: relative;
  background-image: url('https://cdn.shopify.com/extensions/019c7c89-cdab-7763-ab55-5d25f8de2ec0/smile-io-298/assets/smile-landing-page-header-default-background.png');
  background-size: cover;
  background-position: center;
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ud-rewards-hero__overlay {
  position: absolute;
  inset: 0;
  background: rgba(10, 10, 30, 0.62);
  display: flex;
  align-items: center;
  justify-content: center;
}

.ud-rewards-hero__content {
  text-align: center;
  color: #fff;
  padding: 48px 24px;
  max-width: 600px;
}

.ud-rewards-hero__title {
  font-size: 2.8rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 12px;
  letter-spacing: -0.02em;
  line-height: 1.15;
}

.ud-rewards-hero__subtitle {
  font-size: 1.1rem;
  color: rgba(255,255,255,0.85);
  margin: 0 0 28px;
}

.ud-rewards-hero__balance {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: rgba(255,255,255,0.1);
    border: 2px solid #f5c842;
  border-radius: 16px;
  padding: 20px 40px;
  margin-top: 8px;
  backdrop-filter: blur(4px);
}

.ud-rewards-hero__balance-label {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: rgba(255,255,255,0.7);
  margin-bottom: 6px;
}

.ud-rewards-hero__balance-points {
  font-size: 3.5rem;
  font-weight: 900;
  color: #f5c842;
  line-height: 1;
}

/* Hide Smile.io default hero section (we use our own) */
#shopify-section-template--21411220291841__1771195711ef67ddbf {
  display: none !important;
}

/* ====== TRANSPARENT HEADER ON REWARDS PAGE ====== */
/* Force transparent header background when toggle is enabled */
body.template-page #header-group .header,
body.template-page #header-group .header__row--top,
body.template-page #header-group .header-component,
body.template-page #header-group .section-background,
body.template-page #header-group .header-section {
  background-color: transparent !important;
  background: transparent !important;
}

/* Remove header bottom border/shadow for clean transparent look */
body.template-page #header-group .header__row--top::before {
  opacity: 0 !important;
}

/* White text and icons when header is transparent */
body.template-page #header-group .header a,
body.template-page #header-group .header button,
body.template-page #header-group .header .header__heading-link,
body.template-page #header-group .header svg {

}

body.template-page #header-group .header svg {
    fill: none !important;
}

/* When scrolled — restore solid header */
body.template-page.is-scrolled #header-group .header,
body.template-page.is-scrolled #header-group .header__row--top,
body.template-page.is-scrolled #header-group .header-component,
body.template-page.is-scrolled #header-group .section-background,
body.template-page.is-scrolled #header-group .header-section {

}

body.template-page.is-scrolled #header-group .header__row--top::before {
  opacity: 0 !important;
}

/* Reset text and icon colors when scrolled */
body.template-page.is-scrolled #header-group .header a,
body.template-page.is-scrolled #header-group .header button,
body.template-page.is-scrolled #header-group .header .header__heading-link,
body.template-page.is-scrolled #header-group .header svg {
  color: inherit !important;
  }

  body.template-page.is-scrolled #header-group .header svg {
    fill: none !important;
    }

/* ====== PULL HERO BEHIND TRANSPARENT HEADER ====== */
/* The first shopify-section in content-for-layout is the CSS injector,
   so the base.css negative margin targets the wrong section.
   We need to explicitly pull the rewards-hero up behind the header. */
body.template-page .rewards-hero-wrapper {
  margin-top: calc(var(--header-group-height, 100px) * -1);
  position: relative;
  z-index: 0;
}

/* Also pull up the header group to overlap the hero */
body.template-page #header-group {
  position: relative;
  z-index: 10;
}



  /* ====== OVERRIDE underdogs-custom.css BLACK BACKGROUND ====== */
  /* underdogs-custom.css forces black background on all inner pages with very high specificity.
     We need an even higher specificity selector to make the header transparent on this page. */
     body.template-page.is-inner-page header-component#header-component.header.header--compact,
     body.template-page.is-inner-page header-component#header-component.header {
       background-color: transparent !important;
         background: transparent !important;
         }

         /* Scrolled state for the high-specificity override */
         body.template-page.is-inner-page.is-scrolled header-component#header-component.header.header--compact,
         body.template-page.is-inner-page.is-scrolled header-component#header-component.header {
           background-color: rgba(255, 255, 255, 0.4) !important;
             background: rgba(255, 255, 255, 0.4) !important;
               backdrop-filter: blur(20px);
                 -webkit-backdrop-filter: blur(20px);
                 }
