/* ============================================================
   DEALWIRE — design tokens
   Palette:
     --navy       #14213D  primary ink / structure
     --navy-soft  #223058  secondary panels
     --paper      #FAF9F5  page background
     --paper-dim  #F0EDE6  subtle section tint
     --red        #E2531F  accent — deals, CTAs, urgency
     --red-dark   #B8420F  accent hover / pressed
     --gold       #F0A63C  tertiary accent — highlights, tags
   Type:
     Display  — 'Archivo Expanded', 800/900, tight tracking on caps
     Body     — 'Inter'
     Utility  — 'JetBrains Mono' for dates, codes, counters (receipt/coupon feel)
   Signature: torn-ticket / coupon card with punched notches + dashed tear line,
   used for promo cards and blog date tags — literal nod to "deals worth reading".
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Archivo+Expanded:wght@700;800;900&family=Inter:wght@400;500;600;700&family=JetBrains+Mono:wght@500;600&display=swap');

:root {
  --navy: #14213D;          /* logo text & wing dark blue */
  --navy-soft: #223058;
  --navy-line: rgba(20, 33, 61, .14);
  --paper: #FAF9F5;
  --paper-dim: #F0EDE6;
  --red: #FF001F;           /* main logo orange (coupon + Fly) */
  --red-dark: #AC2E00;      /* slightly deeper orange */
  --gold: #FF5C00;          /* optional warm accent */
  --white: #FFFFFF;
  --radius-s: 6px;
  --radius-m: 14px;
  --shadow-card: 0 1px 2px rgba(20, 33, 61, .06), 0 8px 24px -12px rgba(20, 33, 61, .18);
  --maxw: 1240px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--paper);
  color: var(--navy);
  font-family: 'Inter', sans-serif;
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input,
textarea,
select {
  font-family: inherit;
  font-size: 1rem;
}

.wrap {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

h1,
h2,
h3,
h4 {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  line-height: 1.06;
  margin: 0;
  letter-spacing: -.01em;
}

.eyebrow {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--red);
}

.lede {
  font-size: 1.05rem;
  color: #4A5578;
  max-width: 56ch;
}

/* focus visibility */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 2px solid var(--red);
  outline-offset: 2px;
  border-radius: 4px;
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------------- Buttons ---------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  font-size: .92rem;
  border: 1.5px solid transparent;
  transition: transform .15s ease, background .15s ease, border-color .15s ease;
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: var(--red);
  color: var(--white);
}

.btn-primary:hover {
  background: var(--red-dark);
}

.btn-ghost {
  border-color: var(--navy-line);
  color: var(--navy);
  background: transparent;
}

.btn-ghost:hover {
  border-color: var(--navy);
}

.btn-on-navy {
  border-color: rgba(255, 255, 255, .28);
  color: var(--white);
}

.btn-on-navy:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, .08);
}

/* ---------------- Logo ---------------- */
.logo {
  display: flex;
  align-items: center;
  height: auto;
  width: 170px;
  padding: 10px 0;
}

.logo .mark {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--navy);
  position: relative;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo .mark::after {
  content: "";
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--red);
}

.logo span.hi {
  color: var(--red);
}

/* ---------------- Header ---------------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(250, 249, 245, .88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--navy-line);
}

.site-header .bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  gap: 20px;
}

.main-nav ul {
  display: flex;
  gap: 6px;
}

.main-nav a {
  padding: 9px 15px;
  border-radius: 999px;
  font-weight: 600;
  font-size: .93rem;
  color: var(--navy);
  transition: background .15s ease, color .15s ease;
}

.main-nav a:hover {
  background: var(--paper-dim);
}

.main-nav a.active {
  background: var(--navy);
  color: var(--white);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.menu-toggle {
  display: none;
  background: none;
  border: 1.5px solid var(--navy-line);
  border-radius: 8px;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  display: block;
  width: 18px;
  height: 2px;
  background: var(--navy);
  position: relative;
  transition: .2s;
}

.menu-toggle span::before {
  position: absolute;
  top: -6px;
}

.menu-toggle span::after {
  position: absolute;
  top: 6px;
}

@media (max-width:880px) {
  .main-nav {
    position: fixed;
    inset: 90px 0 0 0;
    background: var(--paper);
    padding: 18px 28px;
    transform: translateY(-8px);
    opacity: 0;
    pointer-events: none;
    transition: .18s ease;
    height: 240px;
  }

  .main-nav.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .main-nav ul {
    flex-direction: column;
    gap: 4px;
  }

  .main-nav a {
    display: block;
  }

  .menu-toggle {
    display: flex;
  }

  .header-actions .btn-ghost {
    display: none;
  }
}

/* ---------------- Ticket / coupon signature ---------------- */
.ticket {
  position: relative;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.ticket .tear {
  position: relative;
  border-top: 2px dashed var(--navy-line);
  margin: 0 18px;
}

.ticket .tear::before,
.ticket .tear::after {
  content: "";
  position: absolute;
  top: -11px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--paper);
  border: 1px solid var(--navy-line);
}

.ticket .tear::before {
  left: -29px;
}

.ticket .tear::after {
  right: -29px;
}

/* ---------------- Hero ---------------- */
.hero {
  padding: 52px 0 68px;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
}

.hero-main {
  background: var(--navy) center/cover no-repeat;
  color: var(--white);
  padding: 40px 34px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 28px;
  position: relative;
  overflow: hidden;
}

/* Dark navy scrim over the background photo so white text/stats stay readable */
.hero-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(20, 33, 61, .88) 0%, rgba(20, 33, 61, .72) 55%, rgba(20, 33, 61, .92) 100%);
  z-index: 0;
}

.hero-main>* {
  position: relative;
  z-index: 1;
}

.hero-main::before {
  content: "";
  position: absolute;
  right: -70px;
  bottom: -70px;
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--red) 0%, transparent 70%);
  opacity: .5;
  z-index: 0;
}

.hero-main h1 {
  color: var(--white);
  font-size: clamp(1.9rem, 3.2vw, 2.5rem);
  position: relative;
}

.hero-main .lede {
  color: rgba(255, 255, 255, .72);
  position: relative;
}

.hero-stats {
  display: flex;
  gap: 26px;
  position: relative;
  font-family: 'JetBrains Mono', monospace;
}

.hero-stats div b {
  display: block;
  font-size: 1.4rem;
  color: var(--gold);
}

.hero-stats div span {
  font-size: .72rem;
  color: rgba(255, 255, 255, .6);
}

.hero-actions {
  display: flex;
  gap: 12px;
  position: relative;
  flex-wrap: wrap;
}

.hero-side {
  display: grid;
  grid-template-rows: 1fr 1fr;
}

.blog-peek {
  position: relative;
  display: flex;
  min-height: 260px;
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: var(--shadow-card);
  color: var(--white);
}

.blog-peek .thumb {
  display: none;
}

.blog-peek .body {
  width: 100%;
  padding: 24px;
  margin-top: auto;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 10px;

  background: linear-gradient(to top,
      rgba(0, 0, 0, .8),
      rgba(0, 0, 0, 0));
}

.blog-peek .date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .04em;
}

.blog-peek h3 {
  font-size: 1.08rem;
  font-weight: 800;
  color: var(--white);
  text-transform: uppercase;
}

.blog-peek:hover h3 {
  color: var(--red);
}

@media (max-width:940px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }

  .hero-side {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: none;
  }
}

@media (max-width:620px) {
  .hero-side {
    grid-template-columns: 1fr;
  }

  .blog-peek {
    grid-template-columns: 1fr;
  }

  .blog-peek .thumb {
    min-height: 140px;
  }
}

/* ---------------- Thumb art (css-drawn, no external images) ---------------- */
.thumb {
  background: var(--navy);
  position: relative;
  overflow: hidden;
}

.thumb svg {
  width: 100%;
  height: 100%;
  display: block;
}

/* ---------------- Top Stores ---------------- */
/* Add class="section section-dim" on the .top-stores wrapper in HTML
   instead of redefining padding/background here — those rules already exist. */
.top-stores .container {
  max-width: var(--maxw);
  margin: 0 auto;
  padding: 0 28px;
}

.top-stores .section-title {
  margin-bottom: 28px;
}

.top-stores .section-title h4 {
  font-family: 'Archivo Expanded', sans-serif;
  font-size: 1.4rem;
  color: var(--navy);
}

.top-stores .section-title h4::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--red);
  margin-right: 10px;
  vertical-align: middle;
}

.top-stores .list {
  position: relative;
}

.top-stores .item-box {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}

.top-stores .item-box.show2 {
  max-height: calc(2 * 108px + 16px);
  overflow: hidden;
  position: relative;
}

.top-stores .item-box.show2::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 60px;
  background: linear-gradient(180deg, transparent, var(--paper-dim));
  pointer-events: none;
}

.top-stores .item-box.show2.expanded {
  max-height: none;
}

.top-stores .item-box.show2.expanded::after {
  display: none;
}

.top-stores .item {
  background: var(--white);
  border: 1px solid var(--navy-line);
  border-radius: var(--radius-s);
  aspect-ratio: 1/1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  transition: transform .15s ease, border-color .15s ease, box-shadow .15s ease;
}

.top-stores .item:hover {
  border-color: var(--red);
  box-shadow: var(--shadow-card);
}

.top-stores .item img.img-responsive {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  filter: grayscale(1);
  opacity: .65;
  transition: filter .15s ease, opacity .15s ease;
}

.top-stores .item:hover img.img-responsive {
  filter: none;
  opacity: 1;
}

.top-stores .view-more {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

@media (max-width:940px) {
  .top-stores .item-box {
    grid-template-columns: repeat(4, 1fr);
  }

  .top-stores .item-box.show2 {
    max-height: calc(2 * 92px + 16px);
  }
}

@media (max-width:600px) {
  .top-stores .item-box {
    grid-template-columns: repeat(3, 1fr);
  }

  .top-stores .item-box.show2 {
    max-height: calc(2 * 84px + 16px);
  }

  .top-stores .item {
    aspect-ratio: 1.6/1;
    padding: 0px;
  }
}

/* ---------------- Section shell ---------------- */
.section {
  padding: 64px 0;
}

.section-dim {
  background: var(--paper-dim);
}

.section-head {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 20px;
  margin-bottom: 34px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(1.5rem, 2.6vw, 2rem);
  margin-top: 8px;
}

/* ---------------- Top brands ---------------- */
.brand-strip {
  border-top: 1px solid var(--navy-line);
  border-bottom: 1px solid var(--navy-line);
  overflow: hidden;
  padding: 26px 0;
  position: relative;
}

.brand-track {
  display: flex;
  gap: 64px;
  width: max-content;
  animation: scroll 28s linear infinite;
}

.brand-strip:hover .brand-track {
  animation-play-state: paused;
}

@keyframes scroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.brand-item {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  font-size: 1.3rem;
  color: var(--navy);
  opacity: .42;
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: opacity .15s ease;
}

.brand-item:hover {
  opacity: 1;
  color: var(--red);
}

.brand-item .dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--red);
  opacity: .6;
}

/* ---------------- Blog cards ---------------- */
.grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.card-blog {
  background: var(--white);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform .18s ease;
}

.card-blog:hover {
  transform: translateY(-4px);
}

.card-blog .thumb {
  aspect-ratio: 16/9;
}

.card-blog .body {
  padding: 20px 22px 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex: 1;
}

.tag-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tag {
  font-family: 'JetBrains Mono', monospace;
  font-size: .68rem;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--red);
  background: rgba(226, 83, 31, .09);
  padding: 4px 9px;
  border-radius: 5px;
}

.date {
  font-family: 'JetBrains Mono', monospace;
  font-size: .72rem;
  color: #7A84A3;
}

.card-blog h3 {
  font-size: 1.14rem;
  line-height: 1.28;
}

.card-blog:hover h3 {
  color: var(--red);
}

.card-blog p {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #57608A;
  font-size: .92rem;
  margin: 0;
}

.read-more {
  margin-top: auto;
  font-size: .85rem;
  font-weight: 700;
  color: var(--navy);
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.card-blog:hover .read-more {
  color: var(--red);
}

.article-hero {
  padding: 48px 0 0;
}

.article-hero .article-meta {
  display: flex;
  gap: 14px;
  align-items: center;
  flex-wrap: wrap;
  margin-top: 18px;
}

.article-hero h1 {
  font-size: clamp(2rem, 4.2vw, 3rem);
  margin-top: 16px;
  max-width: 20ch;
}

.article-hero .lede {
  margin-top: 14px;
  font-size: 1.1rem;
}

.article-cover {
  background-color: var(--navy);
  margin-top: 34px;
  border-radius: var(--radius-m);
  overflow: hidden;
  aspect-ratio: 21/9;
  background-size: cover;
  background-position: center;
}

.article-body {
  padding: 28px;
}

.article-body a {
  color: var(--red);
  font-size: 1.05rem;
}

.article-body p {
  margin: 0 0 20px;
  color: #39415F;
  font-size: 1.05rem;
  line-height: 1.75;
}

.article-body h2 {
  font-size: 1.5rem;
  margin: 40px 0 16px;
}

.article-body h3 {
  font-size: 1.2rem;
  margin: 28px 0 12px;
}

.article-body blockquote {
  border-left: 3px solid var(--red);
  padding: 2px 0 2px 20px;
  margin: 30px 0;
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  color: var(--navy);
}

.article-body ul {
  padding-left: 20px;
  list-style: disc;
  margin: 0 0 20px;
}

.article-body li {
  margin-bottom: 8px;
  color: #39415F;
}

/* Latest blogs — compact row list */
.latest-blogs .list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
}

.list-row {
  display: grid;
  grid-template-columns: 88px 1fr auto;
  gap: 55px;
  align-items: center;
  padding: 6px 6px;
  border-top: 1px solid var(--navy-line);
}

.list-row:last-child {
  border-bottom: 1px solid var(--navy-line);
}



.list-row .thumb {
  width: 130px;
  height: auto;
}

.list-row h3 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 1.02rem;
  margin-bottom: 4px;
  text-transform: uppercase;
}

.list-row:hover h3 {
  color: var(--red);
}

.list-row .meta {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.list-row .arrow {
  font-family: 'JetBrains Mono', monospace;
  color: var(--navy);
  opacity: .4;
  font-size: 1.3rem;
}

.list-row:hover .arrow {
  opacity: 1;
  color: var(--red);
}

@media (max-width:820px) {
  .latest-blogs .list {
    grid-template-columns: 1fr;
  }

  .grid-3 {
    grid-template-columns: 1fr 1fr;
  }

  .list-row {
    grid-template-columns: 88px 1fr;
  }

  .list-row .arrow {
    display: none;
  }
}

@media (max-width:560px) {
  .grid-3 {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Promotions page ---------------- */
.promo-hero {
  background: var(--navy);
  color: var(--white);
  padding: 56px 0 42px;
}

.promo-hero h1 {
  color: var(--white);
  font-size: clamp(2rem, 4vw, 2.8rem);
}

.promo-hero .lede {
  color: rgba(255, 255, 255, .72);
}

.search-shell {
  position: relative;
  max-width: 640px;
  margin-top: 26px;
  z-index: 61;
}

.search-bar {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--white);
  border-radius: 999px;
  padding: 7px 8px 7px 20px;
  box-shadow: 0 10px 32px -10px rgba(0, 0, 0, .35);
}

.search-bar svg {
  flex: none;
  color: var(--navy);
  opacity: .5;
}

.search-bar input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  font-size: 1rem;
  color: var(--navy);
  padding: 10px 0;
}

.search-bar input::placeholder {
  color: #93A0BF;
}

.search-bar button {
  background: var(--red);
  color: var(--white);
  border: none;
  border-radius: 999px;
  padding: 12px 22px;
  font-weight: 700;
  font-size: .88rem;
  flex: none;
}

.search-bar button:hover {
  background: var(--red-dark);
}

/* CRITICAL: results panel is absolutely positioned so it overlays the page
   rather than pushing content down — page height never changes while typing. */
.search-results {
  position: absolute;
  top: calc(100% + 10px);
  left: 0;
  right: 0;
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: 0 20px 48px -14px rgba(10, 16, 32, .35);
  border: 1px solid var(--navy-line);
  max-height: 360px;
  overflow-y: auto;
  z-index: 999;
  opacity: 0;
  transform: translateY(-6px);
  transition: opacity .14s ease, transform .14s ease;
}

.search-results.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.search-results .hint {
  padding: 14px 20px;
  font-size: .82rem;
  color: #7A84A3;
  font-family: 'JetBrains Mono', monospace;
}

.result-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 18px;
  border-top: 1px solid var(--navy-line);
  color: var(--navy);
}

.result-item:first-child {
  border-top: none;
}

.result-item:hover {
  background: var(--paper-dim);
}

.result-item .swatch {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  color: #fff;
  font-size: .85rem;
}

.result-item .info {
  flex: 1;
  min-width: 0;
}

.result-item .info b {
  display: block;
  font-size: .92rem;
}

.result-item .info span {
  font-size: .78rem;
  color: #7A84A3;
}

.result-item .off {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--red);
  font-size: .85rem;
  flex: none;
}

.search-backdrop {
  position: fixed;
  inset: 0;
  z-index: 55;
  display: none;
}

.search-backdrop.open {
  display: block;
}

.filter-row {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding: 26px 0 6px;
}

.chip {
  padding: 9px 16px;
  border-radius: 999px;
  border: 1.5px solid var(--navy-line);
  font-size: .85rem;
  font-weight: 600;
  background: var(--white);
  transition: .15s ease;
}

.chip.active,
.chip:hover {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

.grid-promo {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding-top: 26px;
}

.promo-card {
  padding: 26px 26px 22px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.promo-card .top-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.promo-card .brand-badge {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
}

.promo-card .discount {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  color: var(--red);
  font-size: 1.1rem;
  line-height: 1;
}

.promo-card h3 {
  font-size: 1.06rem;
}

.promo-card p {
  color: #57608A;
  font-size: .88rem;
  margin: 0;
}

.promo-card .tear {
  margin-top: 2px;
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.code-pill {
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  font-size: .85rem;
  background: var(--paper-dim);
  padding: 8px 14px;
  border-radius: 7px;
  letter-spacing: .05em;
  display: flex;
  align-items: center;
  gap: 8px;
}

.copy-btn {
  background: none;
  border: none;
  color: var(--navy);
  opacity: .55;
  padding: 0;
}

.copy-btn:hover {
  opacity: 1;
  color: var(--red);
}

.expiry {
  font-size: .74rem;
  color: #93A0BF;
  font-family: 'JetBrains Mono', monospace;
}

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

@media (max-width:560px) {
  .grid-promo {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Page header (about/contact/blogs) ---------------- */
.page-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--navy-line);
}

.page-hero h1 {
  font-size: clamp(2rem, 4vw, 2.7rem);
}

/* ---------------- About page ---------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 48px;
  align-items: center;
}

.stat-tickets {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.stat-ticket {
  padding: 22px 20px;
}

.stat-ticket b {
  display: block;
  font-family: 'Archivo Expanded', sans-serif;
  font-size: 2rem;
  color: var(--navy);
}

.stat-ticket span {
  font-size: .8rem;
  color: #7A84A3;
}

.timeline {
  position: relative;
  padding-left: 32px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 7px;
  top: 6px;
  bottom: 6px;
  width: 2px;
  background: var(--navy-line);
}

.tl-item {
  position: relative;
  padding-bottom: 34px;
}

.tl-item:last-child {
  padding-bottom: 0;
}

.tl-item::before {
  content: "";
  position: absolute;
  left: -32px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--red);
  border: 3px solid var(--paper);
}

.tl-item .yr {
  font-family: 'JetBrains Mono', monospace;
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
}

.tl-item h4 {
  font-size: 1.05rem;
  margin: 4px 0 6px;
}

.tl-item p {
  margin: 0;
  color: #57608A;
  font-size: .9rem;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.value-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 26px;
  box-shadow: var(--shadow-card);
}

.value-card .num {
  font-family: 'JetBrains Mono', monospace;
  color: var(--red);
  font-size: .8rem;
  font-weight: 700;
}

.value-card h3 {
  margin: 12px 0 8px;
  font-size: 1.08rem;
}

.value-card p {
  margin: 0;
  color: #57608A;
  font-size: .9rem;
}

@media (max-width:880px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Contact page ---------------- */
.contact-grid {
  display: grid;
  grid-template-columns: .9fr 1.1fr;
  gap: 40px;
  align-items: start;
}

.contact-cards {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-card {
  background: var(--white);
  border-radius: var(--radius-m);
  padding: 20px 22px;
  box-shadow: var(--shadow-card);
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.contact-card .ico {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: var(--paper-dim);
  color: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
}

.contact-card h4 {
  font-size: .95rem;
  margin-bottom: 4px;
}

.contact-card p {
  margin: 0;
  color: #57608A;
  font-size: .88rem;
}

.form-shell {
  background: var(--white);
  border-radius: var(--radius-m);
  box-shadow: var(--shadow-card);
  padding: 32px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 16px;
}

.field label {
  font-size: .8rem;
  font-weight: 700;
  color: var(--navy);
}

.field input,
.field textarea {
  border: 1.5px solid var(--navy-line);
  border-radius: 9px;
  padding: 12px 14px;
  background: var(--paper);
  color: var(--navy);
}

.field textarea {
  resize: vertical;
  min-height: 120px;
}

.field input:focus,
.field textarea:focus {
  border-color: var(--red);
  outline: none;
}

.form-note {
  font-size: .78rem;
  color: #93A0BF;
  margin-top: 10px;
}

@media (max-width:820px) {
  .contact-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}

/* ---------------- Blogs listing page ---------------- */
.blog-listing {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.pagination {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 44px;
}

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 9px;
  border: 1.5px solid var(--navy-line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: .88rem;
  background: var(--white);
}

.page-btn.active {
  background: var(--navy);
  color: #fff;
  border-color: var(--navy);
}

.page-btn:hover:not(.active) {
  border-color: var(--navy);
}

@media (max-width:820px) {
  .blog-listing {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .blog-listing {
    grid-template-columns: 1fr;
  }
}

.store-hero {
  padding: 52px 0 40px;
  border-bottom: 1px solid var(--navy-line);
}

.store-hero-top {
  display: flex;
  gap: 24px;
  align-items: center;
  flex-wrap: wrap;
}

.store-logo {
  width: 96px;
  height: 96px;
  border-radius: var(--radius-m);
  background: var(--white);
  border: 1px solid var(--navy-line);
  box-shadow: var(--shadow-card);
  display: flex;
  align-items: center;
  justify-content: center;
  flex: none;
  overflow: hidden;
}

.store-hero-info h1 {
  font-size: clamp(1.8rem, 3.4vw, 2.4rem);
}

.store-hero-info .lede {
  margin-top: 8px;
  max-width: 100ch;
}

.store-hero-actions {
  display: flex;
  gap: 14px;
  margin-top: 24px;
  flex-wrap: wrap;
  align-items: center;
}

.store-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 28px;
  max-width: 520px;
}

.expired-note {
  font-family: 'JetBrains Mono', monospace;
  font-size: .78rem;
  color: #7A84A3;
}

/* two-column body: coupons on the left, related stores sidebar on the right */
.store-body {
  display: grid;
  grid-template-columns: 4fr 1fr;
  gap: 48px;
  align-items: start;
}

.coupon-block h2 {
  font-size: 1.4rem;
  margin-bottom: 18px;
}

.coupon-block+.coupon-block {
  margin-top: 44px;
}

/* coupon card — offer + button only, no brand badge (redundant on a store's own page) */
.coupon-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 18px;
}

.coupon-card {
  padding: 28px 20px;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
}

.coupon-card .offer {
  font-family: 'Archivo Expanded', sans-serif;
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--navy);
  line-height: 1;
}

.coupon-card .offer small {
  display: block;
  margin-top: 6px;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 600;
  font-size: .68rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #93A0BF;
}

.coupon-card .get-btn {
  width: 25%;
  justify-content: center;
  border: none;
  font-size: .65rem;
}

.coupon-card.expired {
  opacity: .55;
  filter: grayscale(.5);
}

.coupon-card.expired .get-btn {
  background: transparent;
  border: 1.5px solid var(--navy-line);
  color: #93A0BF;
  cursor: not-allowed;
}

/* right sidebar — related stores */
.related-col {
  position: sticky;
  top: 96px;
}

.related-col h3 {
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.related-list {
  display: flex;
  flex-direction: column;
  margin-top: 12px;
}

.related-list li {
  border-top: 1px solid var(--navy-line);
}

.related-list li:last-child {
  border-bottom: 1px solid var(--navy-line);
}

.related-list a {
  display: block;
  padding: 13px 2px;
  font-weight: 600;
  font-size: .94rem;
  color: var(--navy);
}

.related-list a:hover {
  color: var(--red);
}

/* bare logo grid — 3 columns, no card padding/border, just the image */
.related-logos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 22px;
}

.related-logos a {
  display: block;
  line-height: 0;
}

.related-logos img {
  width: 100%;
  height: auto;
  display: block;
}

@media (max-width:900px) {
  .store-body {
    grid-template-columns: 1fr;
  }

  .related-col {
    position: static;
    margin-top: 12px;
  }
}

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

  .store-stats {
    grid-template-columns: 1fr 1fr;
  }
}

/* ---------------- Newsletter ---------------- */
.newsletter {
  background: var(--navy);
  border-radius: var(--radius-m);
  padding: 44px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.newsletter::before {
  content: "";
  position: absolute;
  left: -60px;
  top: -60px;
  width: 200px;
  height: 200px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--gold) 0%, transparent 70%);
  opacity: .35;
}

.newsletter h3 {
  color: #fff;
  font-size: 1.4rem;
  position: relative;
}

.newsletter p {
  color: rgba(255, 255, 255, .68);
  margin: 8px 0 0;
  position: relative;
}

.newsletter-form {
  display: flex;
  gap: 10px;
  position: relative;
  flex: none;
}

.newsletter-form input {
  border-radius: 999px;
  border: 1.5px solid rgba(255, 255, 255, .25);
  background: rgba(255, 255, 255, .08);
  padding: 12px 18px;
  color: #fff;
  min-width: 230px;
}

.newsletter-form input::placeholder {
  color: rgba(255, 255, 255, .5);
}

@media (max-width:700px) {
  .newsletter {
    flex-direction: column;
    align-items: flex-start;
  }

  .newsletter-form {
    width: 100%;
  }

  .newsletter-form input {
    flex: 1;
    min-width: 0;
  }
}

/* ---------------- Footer ---------------- */
.site-footer {
  background: var(--paper-dim);
  color: rgba(255, 255, 255, .82);
  padding: 56px 0 26px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, .12);
}

.footer-grid .logo {
  color: #fff;
}

.footer-grid .logo .mark {
  background: var(--red);
}

.footer-grid .logo .mark::after {
  background: var(--navy);
}

.footer-grid p {
  color: rgba(14, 14, 14, 0.6);
  font-size: .88rem;
  max-width: 32ch;
  margin-top: 12px;
}

.footer-col h4 {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .1em;
  color: var(--navy);
  margin-bottom: 14px;
  font-family: 'JetBrains Mono', monospace;
}

.footer-col ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-col a {
  font-size: .9rem;
  color: rgba(14, 14, 14, 0.82);
}

.footer-col a:hover {
  color: var(--gold);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 22px;
  font-size: .8rem;
  color: rgba(15, 15, 15, 0.5);
  flex-wrap: wrap;
  gap: 10px;
}

@media (max-width:820px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width:560px) {
  .coupon-card{
    padding: 22px 16px;
    flex-direction: column;
  }

  .coupon-card .offer {
    font-size: 0.9rem;
  }

  .coupon-card .get-btn {
    width: 100%;
    margin-top: 12px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
  }
}