/* ===========================================================
   codesaviour.com — redesign
   Design language: "Ledger" — a corporate savings-brand look.
   Navy authority + gold value accent, coupon-ticket signature.
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@500;600;700&family=IBM+Plex+Sans:wght@400;500;600;700&family=IBM+Plex+Mono:wght@500;600&display=swap');

:root{
  /* --- Color tokens --- */
  --navy-900: #101B33;
  --navy-800: #16264A;
  --navy-700: #1F3560;
  --navy-600: #2C477F;
  --gold-500: #C6952F;
  --gold-400: #DBAE4E;
  --gold-100: #F4E6C6;
  --paper: #F1EEE5;
  --paper-raised: #FAF8F2;
  --ink: #1B1E24;
  --ink-soft: #565F6D;
  --line: #D9D3C4;
  --green-600: #2E6B4F;
  --green-100: #E1EEE6;
  --red-500: #B5432E;

  /* --- Type scale --- */
  --font-display: 'Space Grotesk', sans-serif;
  --font-body: 'IBM Plex Sans', sans-serif;
  --font-mono: 'IBM Plex Mono', monospace;

  --radius-sm: 4px;
  --radius-md: 10px;
}

*{ box-sizing: border-box; }
html{ scroll-behavior: smooth; }
body{
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img,svg{ display:block; max-width:100%; }
a{ color: inherit; text-decoration: none; }
h1,h2,h3,h4{
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  margin: 0 0 .5em;
  letter-spacing: -0.01em;
}
p{ margin: 0 0 1em; color: var(--ink-soft); }
.container{
  width: 100%;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 24px;
}
:focus-visible{
  outline: 3px solid var(--gold-500);
  outline-offset: 2px;
}

/* ---------- Buttons ---------- */
.btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 15px;
  padding: 12px 22px;
  border-radius: var(--radius-sm);
  border: 1.5px solid transparent;
  cursor: pointer;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform: translateY(-1px); }
.btn-gold{
  background: var(--gold-500);
  color: var(--navy-900);
}
.btn-gold:hover{ background: var(--gold-400); box-shadow: 0 6px 0 0 rgba(16,27,51,0.15); }
.btn-outline{
  background: transparent;
  border-color: rgba(255,255,255,.35);
  color: #fff;
}
.btn-outline:hover{ background: rgba(255,255,255,.08); }
.btn-navy{
  background: var(--navy-800);
  color: #fff;
}
.btn-navy:hover{ background: var(--navy-700); }

/* ---------- Top utility bar ---------- */
.utility-bar{
  background: var(--navy-900);
  color: rgba(255,255,255,.65);
  font-size: 13px;
  padding: 7px 0;
}
.utility-bar .container{ display:flex; justify-content: space-between; align-items:center; }
.utility-bar a{ color: var(--gold-400); font-weight: 600; }

/* ---------- Header ---------- */
header.site-header{
  background: var(--navy-800);
  border-bottom: 1px solid var(--navy-700);
}
.nav-row{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}
.logo-mark{ display:flex; align-items:center; gap:10px; }
.logo-mark .wordmark{
  font-family: var(--font-display);
  font-size: 21px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.02em;
}
.logo-mark .wordmark span{ color: var(--gold-400); }
nav.primary-nav{ display:flex; gap: 30px; }
nav.primary-nav a{
  color: rgba(255,255,255,.8);
  font-weight: 500;
  font-size: 14.5px;
  padding: 6px 0;
  border-bottom: 2px solid transparent;
}
nav.primary-nav a:hover, nav.primary-nav a.active{
  color: #fff;
  border-bottom-color: var(--gold-500);
}
.header-actions{ display:flex; align-items:center; gap:14px; position: relative;}

/* ---------- Header search box ---------- */
.header-search{
  display:flex;
  align-items:center;
  gap:8px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.16);
  border-radius: 20px;
  padding: 8px 14px;
  transition: border-color .15s ease, background .15s ease;
}
.header-search:focus-within{
  border-color: var(--gold-500);
  background: rgba(255,255,255,.12);
}
.header-search svg{ flex-shrink:0; }
.header-search input{
  border: none;
  background: transparent;
  outline: none;
  color: #fff;
  font-family: var(--font-body);
  font-size: 13.5px;
  width: 220px;
}
.header-search input::placeholder{ color: rgba(255,255,255,.5); }

/* ---------- Hero ---------- */
.hero{
  background: var(--navy-900);
  background-image: radial-gradient(ellipse at 82% 20%, rgba(198,149,47,.14), transparent 55%);
  color: #fff;
  padding: 76px 0 92px;
  position: relative;
  overflow: hidden;
}
.hero-grid{
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 40px;
  align-items: center;
}
.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size: 12.5px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: var(--gold-400);
  margin-bottom: 18px;
}
.eyebrow::before{
  content:'';
  width: 22px; height: 1px;
  background: var(--gold-500);
}
.hero h1{
  color: #fff;
  font-size: clamp(34px, 4.4vw, 52px);
  line-height: 1.08;
  max-width: 620px;
}
.hero p.lede{
  color: rgba(255,255,255,.7);
  font-size: 17px;
  max-width: 480px;
}
.search-panel{
  margin-top: 30px;
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  padding: 8px;
  display:flex;
  gap: 8px;
  max-width: 480px;
  box-shadow: 0 20px 40px rgba(0,0,0,.25);
}
.search-panel input{
  flex:1;
  border:none;
  background: transparent;
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
}
.search-panel input:focus{ outline: none; }
.hero-stats{ display:flex; gap: 34px; margin-top: 40px;}
.hero-stats .stat b{
  display:block;
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--gold-400);
}
.hero-stats .stat span{
  font-size: 12.5px;
  color: rgba(255,255,255,.55);
  text-transform: uppercase;
  letter-spacing: .04em;
}

/* Ledger card — the "seal" signature element used in the hero */
.ledger-card{
  background: var(--paper-raised);
  border-radius: var(--radius-md);
  padding: 26px 26px 22px;
  color: var(--ink);
  position: relative;
  box-shadow: 0 24px 48px rgba(0,0,0,.3);
  transform: rotate(1.2deg);
}
.ledger-card::before{
  content:'';
  position:absolute; inset: 10px;
  border: 1px dashed var(--line);
  border-radius: 6px;
  pointer-events:none;
}
.ledger-card .seal{
  position:absolute;
  top:-16px; right:-16px;
  width:66px; height:66px;
  border-radius:50%;
  background: var(--gold-500);
  color: var(--navy-900);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display);
  font-weight:700;
  font-size: 11px;
  text-align:center;
  line-height:1.15;
  box-shadow: 0 8px 18px rgba(0,0,0,.28);
  transform: rotate(8deg);
}
.ledger-card .store-row{ display:flex; align-items:center; gap:10px; margin-bottom:14px; }
.ledger-card .store-row .store-badge{
  width:34px;height:34px;border-radius:8px;
  background: var(--navy-800); color: var(--gold-400);
  display:flex;align-items:center;justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size:14px;
}
.ledger-card .code-row{
  display:flex; align-items:center; justify-content:space-between;
  border: 1.5px dashed var(--navy-600);
  border-radius: 6px;
  padding: 12px 14px;
  margin-top: 6px;
}
.ledger-card .code-row code{
  font-family: var(--font-mono);
  font-weight:600;
  letter-spacing:.03em;
  color: var(--navy-800);
}

/* ---------- Section scaffolding ---------- */
section{ padding: 74px 0; }
.section-head{
  display:flex; align-items:flex-end; justify-content:space-between;
  margin-bottom: 36px; gap: 20px;
}
.section-head h2{ font-size: clamp(26px,3vw,32px); margin:0; }
.section-head p{ margin:0; max-width: 420px; }
.tag{
  display:inline-block;
  font-size: 12px; font-weight:600; letter-spacing:.06em; text-transform:uppercase;
  color: var(--navy-700);
  background: var(--gold-100);
  padding: 4px 10px;
  border-radius: 20px;
  margin-bottom: 14px;
}

/* ---------- Category grid ---------- */
.cat-grid{
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.cat-card{
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  padding: 22px 18px;
  transition: border-color .15s ease, transform .15s ease;
}
.cat-card:hover{ border-color: var(--gold-500); transform: translateY(-2px); }
.cat-card .icon{
  width:40px;height:40px;
  border-radius:8px;
  background: var(--navy-900);
  color: var(--gold-400);
  display:flex;align-items:center;justify-content:center;
  margin-bottom: 14px;
}
.cat-card h4{ font-size: 15.5px; margin-bottom: 4px; }
.cat-card span{ font-size: 13px; color: var(--ink-soft); }

/* ---------- Coupon ticket cards (signature element) ---------- */
.ticket-grid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.ticket{
  position: relative;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 12px;
  display:flex;
  min-height: 168px;
  overflow: hidden;
}
/* 1 — logo */
.ticket .ticket-logo{
  width: 180px;
  flex-shrink: 0;
  background: #fff;
  border-right: 1.5px dashed var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 14px;
}
.ticket .ticket-logo img{
  max-width: 100%;
  max-height: 75px;
  object-fit: contain;
}
/* 2 — offer + brand name */
.ticket .ticket-info{
  flex: 1;
  padding: 20px;
  display:flex;
  flex-direction:column;
}
.ticket .ticket-info .ticket-store-name{
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .04em;
  color: var(--ink-soft);
  margin-bottom: 6px;
}
.ticket .ticket-info h4{ font-size: 17px; margin-bottom: 6px; }
.ticket .ticket-info .verified{
  margin-top:auto;
  display:inline-flex; align-items:center; gap:6px;
  font-size: 12px; font-weight:600; color: var(--green-600);
}
/* 3 — %/$ off stub */
.ticket .stub{
  width: 108px;
  flex-shrink: 0;
  border-left: 2px dashed var(--line);
  display:flex; align-items:center; justify-content:center;
  position: relative;
}
/* punch-hole notches to complete the "torn ticket" illusion */
.ticket .stub::before, .ticket .stub::after{
  content:'';
  position:absolute; left:-8px;
  width:16px; height:16px;
  background: var(--paper);
  border-radius:50%;
  border: 1px solid var(--line);
}
.ticket .stub::before{ top:-8px; }
.ticket .stub::after{ bottom:-8px; }
.ticket .stub .pct{
  font-family: var(--font-display);
  font-weight:700;
  font-size: 22px;
  color: var(--navy-800);
  text-align:center;
  line-height:1.1;
}
.ticket .stub .pct small{ display:block; font-size:10px; font-weight:600; color:var(--ink-soft); text-transform:uppercase; }


/* ---------- Trust strip ---------- */
.trust-strip{
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.171);
  padding: 30px 0;
}
.trust-strip .container{
  display:flex; justify-content: space-between; align-items:center; flex-wrap:wrap; gap: 18px;
  font-size: 13px; letter-spacing:.03em; text-transform:uppercase; font-weight:600;
}

/* ---------- How it works ---------- */
.steps{
  display:grid; grid-template-columns: repeat(3,1fr); gap: 30px;
}
.step .step-index{
  font-family: var(--font-mono);
  font-size: 13px;
  color: var(--gold-500);
  font-weight:600;
  margin-bottom: 10px;
}
.step h4{ font-size:18px; }

/* ---------- Newsletter band ---------- */
.newsletter{
  background: var(--gold-100);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.newsletter .container{
  display:flex; align-items:center; justify-content:space-between; gap: 24px; padding: 44px 24px;
  flex-wrap: wrap;
}
.newsletter form{ display:flex; gap:10px; }
.newsletter input[type=email]{
  padding: 12px 16px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line);
  font-family: var(--font-body); font-size:14.5px; min-width: 260px;
}

/* ---------- Footer ---------- */
footer{
  background: var(--navy-900);
  color: rgba(255,255,255,.55);
  padding: 56px 0 26px;
  font-size: 14px;
}
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
footer h5{
  color: #fff; font-family: var(--font-body); font-size: 13px;
  text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px;
}
footer ul{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
footer a:hover{ color: var(--gold-400); }
.footer-bottom{
  display:flex; justify-content:space-between; padding-top: 22px; font-size: 13px; flex-wrap:wrap; gap:10px;
}

/* ---------- Breadcrumb ---------- */
.breadcrumb{
  font-size: 13px; color: var(--ink-soft); padding: 18px 0; background: transparent;
}
.breadcrumb a{ color: var(--navy-700); font-weight:600; }
.breadcrumb span{ margin: 0 6px; }

/* ---------- Page header (About/Contact/Store) ---------- */
.page-header{
  background: var(--navy-900);
  background-image: radial-gradient(ellipse at 15% 30%, rgba(198,149,47,.12), transparent 50%);
  color:#fff;
  padding: 54px 0 60px;
}
.page-header h1{ color:#fff; font-size: clamp(30px,4vw,42px); margin-bottom: 10px; }
.page-header p{ color: rgba(255,255,255,.68); max-width: 560px; font-size:16px; margin:0; }

/* ---------- Content blocks (About) ---------- */
.split{
  display:grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items:center;
}
.value-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 24px; margin-top: 10px; }
.value-card{
  background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 24px;
}
.value-card .num{ font-family: var(--font-mono); color: var(--gold-500); font-weight:600; font-size:13px; margin-bottom:10px; display:block; }

.stat-band{ background: var(--navy-800); color:#fff; }
.stat-band .container{ display:grid; grid-template-columns: repeat(4,1fr); gap: 20px; padding: 44px 24px; text-align:center; }
.stat-band b{ display:block; font-family: var(--font-display); font-size: 30px; color: var(--gold-400); }
.stat-band span{ font-size: 12.5px; color: rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.04em; }

.timeline{ border-left: 2px solid var(--line); padding-left: 28px; display:flex; flex-direction:column; gap: 30px; }
.timeline .t-item{ position:relative; }
.timeline .t-item::before{
  content:''; position:absolute; left:-33px; top:4px;
  width:12px;height:12px;border-radius:50%;
  background: var(--gold-500); border: 3px solid var(--paper);
  box-shadow: 0 0 0 2px var(--navy-700);
}
.timeline .t-year{ font-family: var(--font-mono); font-size:13px; color: var(--navy-700); font-weight:600; }

/* ---------- Contact page ---------- */
.contact-grid{ display:grid; grid-template-columns: .95fr 1.05fr; gap: 48px; }
.contact-card{
  background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 28px;
}
.field{ margin-bottom: 18px; }
.field label{ display:block; font-size: 13.5px; font-weight:600; color: var(--navy-800); margin-bottom: 6px; }
.field input, .field textarea, .field select{
  width:100%; padding: 12px 14px; border-radius: var(--radius-sm);
  border: 1.5px solid var(--line); font-family: var(--font-body); font-size: 14.5px;
  background: #fff;
}
.field textarea{ min-height: 120px; resize: vertical; }
.contact-info-list{ display:flex; flex-direction:column; gap: 22px; margin-top: 8px; }
.contact-info-list .ci-item{ display:flex; gap:14px; }
.contact-info-list .ci-icon{
  width:42px;height:42px;border-radius:9px; flex-shrink:0;
  background: var(--navy-900); color: var(--gold-400);
  display:flex; align-items:center; justify-content:center;
}
.faq-item{ border-bottom: 1px solid var(--line); padding: 18px 0; }
.faq-item summary{ cursor:pointer; font-weight:600; color: var(--navy-900); font-size:15px; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-item summary::-webkit-details-marker{ display:none; }
.faq-item summary::after{ content:'+'; font-family: var(--font-display); font-size:20px; color: var(--gold-500); }
.faq-item[open] summary::after{ content:'\2212'; }
.faq-item p{ margin-top: 10px; }

/* ---------- Store page ---------- */
.store-hero{
  background: var(--navy-900);
  color:#fff;
  padding: 44px 0 54px;
}
.store-hero-row{ display:flex; align-items:center; gap: 20px; }
.store-hero .store-badge-lg{
  width: 74px; height:74px; border-radius:14px;
  background: var(--paper-raised);
  color: var(--navy-900);
  display:flex; align-items:center; justify-content:center;
  font-family: var(--font-display); font-weight:700; font-size: 26px;
  box-shadow: 0 12px 26px rgba(0,0,0,.28);
  flex-shrink:0;
}
.store-hero h1{ color:#fff; font-size: clamp(26px,3.4vw,36px); margin-bottom: 6px; }
.store-hero .store-meta{ display:flex; gap:18px; font-size: 13.5px; color: rgba(255,255,255,.6); flex-wrap:wrap; }
.store-hero .store-meta b{ color: var(--gold-400); }

.filter-row{ display:flex; gap:10px; margin-bottom: 26px; }
.filter-pill{
  padding: 8px 16px; border-radius: 20px; border: 1.5px solid var(--line);
  font-size: 13.5px; font-weight:600; color: var(--navy-800); background: var(--paper-raised);
  cursor:pointer;
}
.filter-pill.active{ background: var(--navy-900); color:#fff; border-color: var(--navy-900); }

.deal-list{ display:flex; flex-direction:column; gap: 16px; }
.deal-row{
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  display:flex; align-items:center; justify-content:space-between; padding: 20px 24px; gap: 20px;
}
.deal-row .deal-left{ display:flex; align-items:center; gap:16px; }
.deal-row .deal-tag{
  font-size:11.5px; font-weight:700; text-transform:uppercase; letter-spacing:.04em;
  padding:5px 10px; border-radius:5px;
}
.deal-tag.code{ background: var(--gold-100); color: var(--navy-800); }
.deal-tag.sale{ background: var(--green-100); color: var(--green-600); }
.deal-row h4{ font-size:15.5px; margin: 0 0 3px; }
.deal-row .deal-sub{ font-size: 12.5px; color: var(--ink-soft); }
.deal-row .reveal-btn{
  font-family: var(--font-mono); font-weight:600; font-size: 13.5px;
  border: 1.5px dashed var(--navy-600); border-radius: var(--radius-sm);
  padding: 10px 16px; color: var(--navy-800); background:#fff; cursor:pointer;
  white-space:nowrap;
}

/* ---------- Promotions page ---------- */
.promo-banner{
  background: var(--navy-900);
  background-image: repeating-linear-gradient(-45deg, rgba(198,149,47,.06) 0 2px, transparent 2px 22px);
  color:#fff;
  padding: 50px 0;
  border-radius: 14px;
  position: relative;
  overflow: hidden;
}
.promo-banner .container{ display:flex; align-items:center; justify-content:space-between; gap: 30px; flex-wrap:wrap; }
.promo-banner h2{ color:#fff; font-size: clamp(24px,3vw,30px); margin-bottom: 6px; }
.promo-banner .promo-code-pill{
  font-family: var(--font-mono); font-weight:700; letter-spacing:.04em;
  background: var(--paper-raised); color: var(--navy-900);
  padding: 12px 20px; border-radius: 8px; border: 1.5px dashed var(--gold-500);
  font-size: 16px; white-space:nowrap;
}
.promo-filter-row{ display:flex; gap:10px; flex-wrap:wrap; margin: 34px 0 26px; }
.promo-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 22px; }
.promo-card{
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  padding: 22px; display:flex; flex-direction:column; gap: 10px;
}
.promo-card .promo-top{ display:flex; align-items:center; justify-content:space-between; }
.promo-card .expiry{ font-size:11.5px; font-weight:700; color: var(--red-500); text-transform:uppercase; letter-spacing:.03em; }
.promo-card h4{ font-size:16.5px; margin: 0; }
.promo-card .promo-store{ font-size:12.5px; color: var(--ink-soft); }
.promo-card .promo-foot{ margin-top:auto; display:flex; align-items:center; justify-content:end; gap:10px; }

/* ---------- Blog listing ---------- */
.blog-grid{ display:grid; grid-template-columns: repeat(3,1fr); gap: 26px; }
.blog-card{
  background: var(--paper-raised); border: 1px solid var(--line); border-radius: var(--radius-md);
  overflow:hidden; display:flex; flex-direction:column;
}
.blog-card .blog-thumb{
  height: 150px;
  background: var(--navy-900);
  background-image: radial-gradient(circle at 30% 30%, rgba(198,149,47,.25), transparent 60%);
  display:flex; align-items:center; justify-content:center;
}
.blog-card .blog-body{ padding: 20px; display:flex; flex-direction:column; gap:8px; flex:1; }
.blog-card .blog-meta{ font-size:12px; color: var(--ink-soft); text-transform:uppercase; letter-spacing:.03em; }
.blog-card .blog-meta b{ color: var(--navy-700); }
.blog-card h3{ font-size: 17.5px; margin: 0; line-height:1.3; }
.blog-card p{ font-size: 13.5px; margin:0; }
.blog-card .read-more{ margin-top:auto; font-size:13px; font-weight:700; color: var(--navy-800); display:inline-flex; align-items:center; gap:5px; }
.blog-card:hover .read-more{ color: var(--gold-500); }
.blog-featured{
  display:grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items:center;
  background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 10px; margin-bottom: 40px;
}
.blog-featured .blog-thumb{ height: 100%; min-height: 220px; border-radius: 8px; }
.blog-featured .blog-body{ padding: 16px 24px 16px 6px; }
.blog-featured h2{ font-size: clamp(22px,2.6vw,28px); line-height:1.25; }

/* ---------- Blog article (detail) ---------- */
.article-header{ max-width: 760px; margin: 0 auto; text-align:center; }
.article-header .blog-meta{ justify-content:center; display:flex; gap: 14px; font-size:13px; color: rgba(255,255,255,.6); text-transform:uppercase; letter-spacing:.03em; }
.article-header .blog-meta b{ color: var(--gold-400); }
.article-hero-image{
  border-radius: 14px; margin-top: 30px;
  background: var(--navy-800);
  background-image: radial-gradient(circle at 25% 30%, rgba(198,149,47,.25), transparent 55%),
                     repeating-linear-gradient(-45deg, rgba(255,255,255,.03) 0 2px, transparent 2px 24px);
}
.article-content{ max-width: 720px; margin: 0 auto; }
.article-content .lead{ font-size: 18px; color: var(--ink); }
.article-content h2{ font-size: 24px; margin-top: 42px; }
.article-content h3{ font-size: 19px; margin-top: 30px; }
.article-content p{ font-size: 15.5px; color: var(--ink-soft); }
.article-content ul, .article-content ol{ color: var(--ink-soft); padding-left: 22px; }
.article-content blockquote{
  margin: 28px 0; padding: 18px 22px; border-left: 3px solid var(--gold-500);
  background: var(--paper-raised); font-style: italic; color: var(--navy-900); font-size:16px;
}
.article-share{ display:flex; align-items:center; gap:14px; margin: 40px auto 0; max-width:720px; padding-top: 26px; border-top: 1px solid var(--line); }
.author-box{
  max-width: 720px; margin: 40px auto 0; display:flex; gap:16px; align-items:center;
  background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-md); padding: 20px;
}
.author-box .avatar{
  width:52px;height:52px;border-radius:50%; background: var(--navy-900); color:var(--gold-400);
  display:flex;align-items:center;justify-content:center; font-family:var(--font-display); font-weight:700; flex-shrink:0;
}

/* ---------- Legal pages (privacy / terms) ---------- */
.legal-layout{ display:grid; grid-template-columns: 240px 1fr; gap: 50px; align-items:start; }
.legal-toc{
  position: sticky; top: 24px;
  background: var(--paper-raised); border:1px solid var(--line); border-radius: var(--radius-md);
  padding: 20px;
}
.legal-toc h5{ font-family:var(--font-body); font-size:12px; text-transform:uppercase; letter-spacing:.05em; color:var(--ink-soft); margin-bottom:12px; }
.legal-toc ol{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:9px; counter-reset: item; }
.legal-toc a{ font-size:13.5px; color: var(--navy-800); font-weight:500; }
.legal-toc a:hover{ color: var(--gold-500); }
.legal-content h2{ font-size:21px; margin-top:38px; scroll-margin-top: 24px; }
.legal-content h2:first-child{ margin-top:0; }
.legal-content p{ font-size:15px; }
.legal-content ul{ color: var(--ink-soft); padding-left:20px; font-size:15px; }
.legal-updated{ font-size:13px; color: var(--ink-soft); margin-bottom: 30px; padding-bottom:20px; border-bottom:1px solid var(--line); }

/* ---------- Top brands grid ---------- */
.brand-grid{
  display:grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 16px;
}
.brand-card{
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  text-align:center;
  transition: border-color .15s ease, transform .15s ease;
}
.brand-card:hover{ border-color: var(--gold-500); transform: translateY(-2px); }
.brand-logo{
  width: 100%;
  height: 80px;
  border-radius: 6px;             /* rectangle, not circle */
  background: #fff;
  border: 1px solid var(--line);
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  padding: 8px;
}
.brand-logo img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}
.brand-card .brand-name{
  font-family: var(--font-body);
  font-weight: 600;
  font-size: 13.5px;
  color: var(--navy-900);
}
.brand-card .brand-count{
  font-size: 11.5px;
  color: var(--ink-soft);
}

/* success message */
.success-msg {
  display: none;
  background: var(--green-100);
  border-radius: 14px;
  padding: 24px 28px;
  text-align: center;
  margin-top: 20px;
}

.success-msg.show {
  display: block;
}

.success-msg h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 600;
  color: var(--green-600);
  margin-bottom: 6px;
}

.success-msg p {
  font-size: .875rem;
  color: var(--ink-soft);
}

.empty-blog-state{
    max-width:700px;
    margin:80px auto;
    padding:56px 42px;
    text-align:center;
    background:var(--gold-100);
    border:1px solid var(--gold-500);
    border-radius:28px;
    box-shadow:0 12px 40px rgba(0,0,0,.04);
}

.empty-blog-state h2{
    margin:0;
    font-size:2rem;
    font-weight:800;
    color:var(--navy-600);
}

.empty-blog-state p{
    margin:18px auto 34px;
    max-width:520px;
    color:var(--ink-soft);
    line-height:1.8;
    font-size:.98rem;
}

.empty-blog-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:10px;
    padding:14px 26px;
    border-radius:999px;
    background:var(--coral);
    color:#fff;
    text-decoration:none;
    font-weight:700;
    transition:.25s;
}

.empty-blog-btn:hover{
    background:var(--coral-lt);
    transform:translateY(-2px);
}



/* ---------- Related stores swiper ---------- */
.related-stores .swiper{
  padding: 10px 46px 50px;
}
.related-store-slide{
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  text-align:center;
  transition: border-color .15s ease, transform .15s ease;
  height: 100%;
  box-sizing: border-box;
}
.related-store-slide:hover{ border-color: var(--gold-500); transform: translateY(-2px); }
.related-stores .swiper-pagination-bullet{
  background: var(--line);
  opacity: 1;
  width: 7px; height: 7px;
}
.related-stores .swiper-pagination-bullet-active{ background: var(--gold-500); }
.related-stores .swiper-button-next,
.related-stores .swiper-button-prev{
  color: var(--navy-900);
  top: 44%;
  width: 36px; height: 36px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 50%;
  box-shadow: 0 6px 14px rgba(0,0,0,.08);
}
.related-stores .swiper-button-next::after,
.related-stores .swiper-button-prev::after{ font-size: 14px; font-weight: 700; }
.related-stores .swiper-button-next{ right: 0; }
.related-stores .swiper-button-prev{ left: 0; }

/* ===========================================================
   Coupon Modal — redesign
   Self-contained: scoped custom properties so this file works
   even if it's the only stylesheet loaded on the page.
   =========================================================== */

.coupon-modal{
  position: relative;
  background: var(--paper-raised);
  border: none;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(16,27,51,.35);
  font-family: var(--font-body);
}

/* top accent strip */
.coupon-modal::before{
  content:'';
  display:block;
  height: 6px;
  background: linear-gradient(90deg, var(--navy-900), var(--gold-500) 50%, var(--navy-900));
}

.modal-close{
  position: absolute;
  top: 16px; right: 16px;
  width: 34px; height: 34px;
  border: none;
  border-radius: 50%;
  background: var(--paper);
  color: var(--navy-900);
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
  display:flex;
  align-items:center;
  justify-content:center;
  transition: background .15s ease, color .15s ease, transform .15s ease;
  z-index: 2;
}
.modal-close:hover{
  background: var(--navy-900);
  color: #fff;
  transform: rotate(90deg);
}

.coupon-modal-body{
  padding: 36px 32px 30px;
  display:flex;
  flex-direction:column;
  align-items:center;
  text-align:center;
}

/* store logo — rectangle box, not a circle */
.modal-store-logo{
  width: 108px;
  height: 64px;
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  padding: 10px;
  margin-bottom: 18px;
}
.modal-store-logo img{
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.modal-badge{
  display:inline-block;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: var(--navy-700);
  background: var(--gold-100);
  padding: 6px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
}

.modal-title{
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 21px;
  line-height: 1.3;
  color: var(--navy-900);
  margin: 0 0 26px;
  max-width: 340px;
}

/* coupon code — perforated "ticket" styling to match site language */
.coupon-code-box{
  position: relative;
  width: 100%;
  display:flex;
  align-items:center;
  gap: 0;
  border: 1.5px dashed var(--navy-600);
  border-radius: 10px;
  background: var(--paper);
  overflow: hidden;
  margin-bottom: 20px;
}
.coupon-code-box::before,
.coupon-code-box::after{
  content:'';
  position:absolute;
  top:50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  border-radius: 50%;
  z-index: 1;
}
.coupon-code-box::before{ left: -9px; }
.coupon-code-box::after{ right: -9px; }

#modaltext{
  flex: 1;
  border: none;
  background: transparent;
  padding: 16px 18px;
  font-family: var(--font-mono);
  font-weight: 600;
  font-size: 16px;
  letter-spacing: .03em;
  color: var(--navy-900);
  text-align: center;
}

.copy-btn{
  flex-shrink: 0;
  border: none;
  border-left: 1.5px dashed var(--navy-600);
  background: var(--gold-500);
  color: var(--navy-900);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 16px 22px;
  cursor: pointer;
  transition: background .15s ease;
}
.copy-btn:hover{ background: var(--gold-400); }
.copy-btn:active{ transform: scale(.98); }

.visit-store-btn{
  display:flex;
  align-items:center;
  justify-content:center;
  width: 100%;
  background: var(--navy-900);
  color: #fff;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  text-decoration: none;
  padding: 16px 22px;
  border-radius: 10px;
  margin-bottom: 20px;
  transition: background .15s ease, transform .15s ease;
}
.visit-store-btn:hover{ background: var(--navy-700); transform: translateY(-1px); }

.modal-note{
  font-size: 12.5px;
  color: var(--ink-soft);
  max-width: 300px;
  line-height: 1.5;
}

/* ── DROPDOWN CONTAINER ── */
.search-response {
    display: none;
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    right: 0;
    width: 320px;
    background: var(--paper-raised);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 48px rgba(16,27,51,.28), 0 4px 12px rgba(16,27,51,.16);
    border: 1px solid var(--line);
    z-index: 999;
    padding: 0;
    margin-top: 0;
}

/* ── RESULT ROWS ── */
.search-results-list {
    display: flex;
    flex-direction: column;
}

.search-result-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 16px;
    border-bottom: 1px solid var(--line);
    text-decoration: none;
    color: inherit;
    transition: background 0.15s;
    cursor: pointer;
}
.search-result-item:last-child { border-bottom: none; }
.search-result-item:hover { background: var(--gold-100); }
.search-result-item:hover .search-result-name { color: var(--navy-700); }

/* ── STORE LOGO ── */
.search-result-logo {
    width: 40px;
    height: 40px;
    border-radius: 8px;         /* rectangle, matches the site's brand-logo boxes */
    border: 1px solid var(--line);
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    overflow: hidden;
}
.search-result-logo img {
    width: 28px;
    height: 28px;
    object-fit: contain;
}

/* ── TEXT ── */
.search-result-name {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 600;
    color: var(--navy-900);
    transition: color 0.15s;
}

/* ── NO RESULT ── */
.search-no-result {
    padding: 20px 16px;
    font-family: var(--font-body);
    font-size: 13px;
    color: var(--ink-soft);
    text-align: center;
}

/* ── LOADER ── */
.loader {
    width: 22px;
    height: 22px;
    border: 2.5px solid var(--line);
    border-top-color: var(--gold-500);
    border-radius: 50%;
    animation: spin .7s linear infinite;
    margin: 16px auto;
}
@keyframes spin { to { transform: rotate(360deg); } }


/* ---------- Responsive ---------- */
@media (max-width: 920px){
  .hero-grid, .split, .contact-grid{ grid-template-columns: 1fr; }
  nav.primary-nav{ display:none; }
  .header-search input{ width: 110px; }
  .cat-grid{ grid-template-columns: repeat(2,1fr); }
  .brand-grid{ grid-template-columns: repeat(3,1fr); }
  .ticket-grid{ grid-template-columns: 1fr; }
  .footer-grid{ grid-template-columns: 1fr 1fr; }
  .value-grid, .steps{ grid-template-columns: 1fr; }
  .stat-band .container{ grid-template-columns: 1fr 1fr; }
  .deal-row{ flex-direction:column; align-items:flex-start; }
  .promo-grid, .blog-grid{ grid-template-columns: 1fr; }
  .blog-featured{ grid-template-columns: 1fr; }
  .legal-layout{ grid-template-columns: 1fr; }
  .legal-toc{ position:static; }

  .header-search-wrap{
    /* header ke right side wala search box hai to */
  }
  .search-response{
    left: auto;
    width: 100%;
    right: 0;
  }
}