/* =========================================================
   XpressCoupon V149  UI / UX Redesign
   Presentation-only override. No coupon, tracking, API or
   affiliate logic is changed here.
   ========================================================= */
:root{
  --xc149-accent:#ef4b36;
  --xc149-accent-dark:#d93b28;
  --xc149-accent-soft:#fff2ee;
  --xc149-ink:#17191f;
  --xc149-muted:#626a76;
  --xc149-line:#e8e9ed;
  --xc149-bg:#fafafa;
  --xc149-card:#fff;
  --xc149-green:#14854f;
  --xc149-shadow:0 16px 46px rgba(25,29,38,.08);
  --xc149-shadow-sm:0 8px 26px rgba(25,29,38,.06);
  --xc149-radius:20px;
}

/* ---------- Global navigation refinement ---------- */
.site-header,.lp-header{
  background:rgba(255,255,255,.92)!important;
  border-bottom:1px solid rgba(22,25,31,.07)!important;
  box-shadow:0 1px 0 rgba(22,25,31,.02)!important;
  backdrop-filter:saturate(160%) blur(18px)!important;
  -webkit-backdrop-filter:saturate(160%) blur(18px)!important;
}
.lp-header__in,.site-header .nav{max-width:1240px!important}
.lp-nav,.nav-links{gap:2px!important}
.lp-nav>a,.nav-links>a,.xc-nav-tools>summary{
  color:#414751!important;
  font-weight:650!important;
  font-size:14px!important;
  letter-spacing:-.01em;
  padding:10px 12px!important;
  border-radius:10px!important;
  transition:background .18s ease,color .18s ease!important;
}
.lp-nav>a:hover,.nav-links>a:hover,.xc-nav-tools>summary:hover{
  color:var(--xc149-ink)!important;
  background:#f4f5f7!important;
}
.lp-nav .xc-nav-cta,.site-header .btn--header{
  color:#fff!important;
  background:var(--xc149-accent)!important;
  border:0!important;
  box-shadow:none!important;
  padding:10px 17px!important;
}
.lp-nav .xc-nav-cta:hover,.site-header .btn--header:hover{background:var(--xc149-accent-dark)!important;color:#fff!important}
.xc-nav-tools{position:relative;display:block}
.xc-nav-tools>summary{display:flex;align-items:center;gap:5px;list-style:none;cursor:pointer;user-select:none;white-space:nowrap}
.xc-nav-tools>summary::-webkit-details-marker{display:none}
.xc-nav-tools>summary::after{content:"⌄";font-size:13px;line-height:1;transform:translateY(-1px)}
.xc-nav-tools[open]>summary{background:#f4f5f7!important;color:var(--xc149-ink)!important}
.xc-nav-tools__menu{
  position:absolute;z-index:100;top:calc(100% + 10px);left:0;min-width:230px;
  padding:8px;background:#fff;border:1px solid var(--xc149-line);border-radius:14px;
  box-shadow:0 20px 55px rgba(20,24,32,.14)
}
.xc-nav-tools__menu::before{content:"";position:absolute;left:0;right:0;top:-12px;height:12px}
.xc-nav-tools__menu a{display:block!important;padding:10px 12px!important;border-radius:9px!important;color:#3f4650!important;font-weight:650!important;font-size:14px!important}
.xc-nav-tools__menu a:hover{background:#f5f6f7!important;color:var(--xc149-ink)!important}
@media(max-width:1050px){.lp-nav .xc-nav-tools,.nav-links .xc-nav-tools{display:none}.lp-nav>a,.nav-links>a{padding-inline:9px!important}}

/* ---------- Homepage identity ---------- */
body.xc-home-v149{background:var(--xc149-bg);color:var(--xc149-ink)}
body.xc-home-v149 .wrap{max-width:1240px}
body.xc-home-v149 .section{padding-block:clamp(48px,6vw,82px)}
body.xc-home-v149 .section--tint{background:#f6f6f7}
body.xc-home-v149 .sec-head{max-width:720px;margin-bottom:30px}
body.xc-home-v149 .sec-head h2{font-size:clamp(28px,4vw,44px);letter-spacing:-.035em}
body.xc-home-v149 .sec-head p{font-size:16.5px;color:var(--xc149-muted);line-height:1.65}
body.xc-home-v149 .eyebrow{background:var(--xc149-accent-soft);color:var(--xc149-accent-dark);letter-spacing:.08em;font-weight:800}
body.xc-home-v149 .btn{border-radius:12px;font-weight:750;min-height:48px;padding:13px 20px;box-shadow:none}
body.xc-home-v149 .btn--primary{background:var(--xc149-accent);color:#fff;box-shadow:none}
body.xc-home-v149 .btn--primary:hover{background:var(--xc149-accent-dark);transform:translateY(-1px)}
body.xc-home-v149 .btn--ghost{background:#fff;border:1px solid #dedfe4;box-shadow:none}
body.xc-home-v149 .btn--ghost:hover{border-color:#c7c9cf;color:var(--xc149-ink);transform:translateY(-1px)}

/* Sale status line */
.xc-sale-status-v149{background:#1d2026;color:#fff;font-size:13.5px;position:relative;z-index:45}
.xc-sale-status-v149__in{min-height:38px;display:flex;align-items:center;justify-content:center;gap:18px;padding-top:7px;padding-bottom:7px;text-align:center}
.xc-sale-status-v149 b{display:inline-flex;align-items:center;margin-right:7px;padding:2px 7px;border-radius:999px;background:#20a162;color:#fff;font-size:10px;letter-spacing:.1em}
.xc-sale-status-v149 a{font-weight:800;color:#fff;text-decoration:underline;text-underline-offset:3px;white-space:nowrap}

/* ---------- Coupon-first hero ---------- */
body.xc-home-v149 .hero{
  padding-top:clamp(48px,6vw,78px)!important;padding-bottom:clamp(48px,6vw,76px)!important;
  background:linear-gradient(180deg,#fff 0%,#fff 62%,#fafafa 100%);overflow:hidden
}
body.xc-home-v149 .hero__bg .blob{filter:blur(90px)!important;opacity:.12!important}
body.xc-home-v149 .hero__grid{
  max-width:1240px!important;grid-template-columns:minmax(0,1.08fr) minmax(330px,.72fr)!important;
  gap:clamp(36px,6vw,84px)!important;align-items:center!important
}
body.xc-home-v149 .hero h1{font-size:clamp(42px,5.6vw,70px)!important;line-height:.98!important;letter-spacing:-.055em!important;max-width:820px}
body.xc-home-v149 .hero__sub{font-size:clamp(17px,1.8vw,20px)!important;line-height:1.62!important;max-width:720px!important;color:#59616d!important}
body.xc-home-v149 .hero__copy .pill{margin-bottom:18px!important;background:var(--xc149-accent-soft)!important;color:var(--xc149-accent-dark)!important;border:1px solid #ffd8cf}
body.xc-home-v149 .hero__cta{align-items:center;margin-top:26px!important;gap:10px!important}
.xc-hero-sale-link{font-size:14px;font-weight:750;color:#5c6370;padding:10px 3px}
.xc-hero-sale-link:hover{color:var(--xc149-accent-dark)}
body.xc-home-v149 .hero__trust{margin-top:24px!important;gap:8px 16px!important}
body.xc-home-v149 .hero__trust li{font-size:13px!important;color:#59616d!important}
body.xc-home-v149 .updated{margin-top:18px!important;font-size:12.5px!important}
body.xc-home-v149 .xc-sale-countdown--hero{
  margin-top:22px!important;background:#fff!important;border:1px solid var(--xc149-line)!important;
  border-radius:16px!important;box-shadow:none!important;padding:15px 16px!important
}
body.xc-home-v149 .xc-sale-countdown--hero .xc-countdown-copy strong{font-size:14px!important}
body.xc-home-v149 .xc-sale-countdown--hero .xc-countdown-window{font-size:12px!important;color:#737a85!important}
body.xc-home-v149 .xc-countdown-units span{min-width:50px!important;border-radius:10px!important;background:#f7f7f8!important}
body.xc-home-v149 .xc-countdown-units b{font-size:19px!important}
body.xc-home-v149 .xc-countdown-actions .btn{min-height:40px!important;padding:9px 13px!important;font-size:12.5px!important}
body.xc-home-v149 .hero__visual{min-height:430px!important}
body.xc-home-v149 .xc-hero-orbit{min-height:430px!important}
body.xc-home-v149 .xc-hero-match{
  border-radius:22px!important;border:1px solid var(--xc149-line)!important;background:#fff!important;
  box-shadow:var(--xc149-shadow)!important;padding:28px!important
}
body.xc-home-v149 .xc-hero-match h2{font-size:28px!important;letter-spacing:-.035em}
body.xc-home-v149 .xc-hero-code{border-radius:12px!important;background:#f8f8f9!important;border-color:#e5e6e9!important}
body.xc-home-v149 .xc-hero-mini{border-radius:15px!important;border-color:#ececef!important;box-shadow:var(--xc149-shadow-sm)!important;background:#fff!important}

/* ---------- Quick category shortcuts ---------- */
.xc-quick-links-v149{padding:0 0 clamp(34px,5vw,56px);background:var(--xc149-bg)}
.xc-quick-links-v149__grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.xc-quick-links-v149__grid a{
  min-width:0;background:#fff;border:1px solid var(--xc149-line);border-radius:15px;padding:16px 14px;
  display:grid;grid-template-columns:auto 1fr;grid-template-rows:auto auto;column-gap:10px;align-items:center;
  box-shadow:0 1px 1px rgba(20,24,32,.02);transition:transform .18s,border-color .18s,box-shadow .18s
}
.xc-quick-links-v149__grid a:hover{transform:translateY(-2px);border-color:#d7d8dd;box-shadow:var(--xc149-shadow-sm)}
.xc-quick-links-v149__grid span{grid-row:1/3;width:38px;height:38px;border-radius:11px;background:#f7f7f8;display:grid;place-items:center;font-size:20px}
.xc-quick-links-v149__grid b{font-size:14px;line-height:1.2}
.xc-quick-links-v149__grid small{font-size:11.5px;color:#7a818c;line-height:1.2;margin-top:3px}

/* ---------- Consistent card language ---------- */
body.xc-home-v149 .coupon-card,
body.xc-home-v149 .xc-static-card,
body.xc-home-v149 .xc-ux-card,
body.xc-home-v149 .calendar-hub,
body.xc-home-v149 .faq-item,
body.xc-home-v149 .post-card,
body.xc-home-v149 .xc-country-card,
body.xc-home-v149 .featured-sale,
body.xc-home-v149 .ad-feature,
body.xc-home-v149 .xc-ad-pair{
  border-radius:var(--xc149-radius)!important;border-color:var(--xc149-line)!important;box-shadow:var(--xc149-shadow-sm)!important
}
body.xc-home-v149 .coupon-card:hover,body.xc-home-v149 .xc-static-card:hover,body.xc-home-v149 .xc-country-card:hover{transform:translateY(-2px)!important;box-shadow:var(--xc149-shadow)!important}

/* Best coupons: immediate visual hierarchy */
body.xc-home-v149 #best-rail{grid-template-columns:repeat(3,minmax(0,1fr));gap:14px!important}
body.xc-home-v149 #best-rail .xc-static-card{padding:24px!important;background:#fff!important;position:relative;overflow:hidden}
body.xc-home-v149 #best-rail .xc-static-card::after{content:"";position:absolute;inset:0 0 auto 0;height:3px;background:var(--xc149-accent)}
body.xc-home-v149 #best-rail .xc-static-value{font-size:38px!important;letter-spacing:-.04em;color:var(--xc149-ink)!important;margin-top:18px}
body.xc-home-v149 #best-rail h3{font-size:19px!important;margin-top:6px!important}
body.xc-home-v149 #best-rail .btn{width:100%;margin-top:16px}

/* Sale block */
body.xc-home-v149 #sales{background:#fff!important}
body.xc-home-v149 #sales .sales-grid{gap:12px!important}
body.xc-home-v149 #sales .sale-card{box-shadow:none!important;border:1px solid var(--xc149-line)!important;border-radius:16px!important}
body.xc-home-v149 .xc-campaign-tease{margin:0!important;padding:0 0 46px!important;background:#fff!important}

/* Finder becomes a flagship utility */
body.xc-home-v149 #find-my-code{padding:0 0 clamp(52px,7vw,84px)!important;background:#fff!important}
body.xc-home-v149 #find-my-code .xc-ux-card{padding:clamp(24px,4vw,40px)!important;background:#17191f!important;border:0!important;color:#fff!important;box-shadow:var(--xc149-shadow)!important}
body.xc-home-v149 #find-my-code h2,body.xc-home-v149 #find-my-code label{color:#fff!important}
body.xc-home-v149 #find-my-code p{color:#c9cdd3!important}
body.xc-home-v149 #find-my-code .xc-field input,body.xc-home-v149 #find-my-code .xc-field select{background:#fff!important;border:0!important;box-shadow:none!important}
body.xc-home-v149 #find-my-code .xc-shortcuts button{background:#2a2d34!important;color:#fff!important;border-color:#3a3f48!important}
body.xc-home-v149 #find-my-code .xc-reco{background:#fff!important;color:#17191f!important;border:0!important;border-radius:14px!important}
body.xc-home-v149 #find-my-code .xc-reco span{color:#646b76!important}
body.xc-home-v149 #find-my-code .secondary{background:#2a2d34!important;color:#fff!important;border-color:#3a3f48!important}

/* All coupons gets a dense, scan-friendly surface */
body.xc-home-v149 #coupons{background:#f7f7f8!important}
body.xc-home-v149 #coupons .coupon-tools{background:#fff;border:1px solid var(--xc149-line);border-radius:16px;padding:12px;box-shadow:none}
body.xc-home-v149 #coupons .search-box input,body.xc-home-v149 #coupons .sort-wrap select{background:#f8f8f9!important;border-color:#e5e6e9!important}
body.xc-home-v149 #coupons .filter-tabs{gap:7px!important}
body.xc-home-v149 #coupons .filter-tabs button{border-radius:999px!important;font-size:13px!important}
body.xc-home-v149 #coupon-grid{gap:14px!important}

/* XpressDeals */
body.xc-home-v149 #xpressdeals-preview{background:#fff!important}
body.xc-home-v149 #xpressdeals-preview .calendar-hub{box-shadow:none!important;background:#fafafa!important}
body.xc-home-v149 #xpressdeals-preview .calendar-hub__panel{background:#fff!important;border-color:var(--xc149-line)!important}
body.xc-home-v149 .xd-home-grid{gap:14px!important}

/* ---------- Tools hub ---------- */
.xc-tools-hub-v149{background:#f6f6f7!important}
.xc-tools-hub-v149__grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.xc-tool-card-v149{
  min-height:170px;background:#fff;border:1px solid var(--xc149-line);border-radius:18px;padding:22px;
  display:flex;gap:15px;align-items:flex-start;box-shadow:none;transition:transform .18s,border-color .18s,box-shadow .18s
}
.xc-tool-card-v149:hover{transform:translateY(-2px);border-color:#d5d7dc;box-shadow:var(--xc149-shadow-sm)}
.xc-tool-card-v149__icon{width:46px;height:46px;border-radius:13px;background:#f6f6f7;display:grid;place-items:center;font-size:23px;flex:none}
.xc-tool-card-v149 h3{font-size:18px;letter-spacing:-.02em}
.xc-tool-card-v149 p{font-size:13.5px;color:#676f79;line-height:1.55;margin-top:7px}
.xc-tool-card-v149 b{display:inline-block;margin-top:14px;font-size:13px;color:var(--xc149-accent-dark)}

/* Existing rich tool promos stay available but take less visual space */
body.xc-home-v149 .xc-ext-inline-card--homepage{padding-top:28px!important;padding-bottom:28px!important;background:#fff!important}
body.xc-home-v149 .xc-ext-inline-card--homepage .xc-ext-inline-card__grid{border:1px solid var(--xc149-line)!important;border-radius:18px!important;box-shadow:none!important}
body.xc-home-v149 .hcar-band{padding-block:28px!important;background:#fff!important}
body.xc-home-v149 .hcar{border-radius:20px!important;box-shadow:none!important}
body.xc-home-v149 #coinsbot{padding-block:40px!important;background:#fff!important}
body.xc-home-v149 .coinsbot{border-radius:20px!important;box-shadow:none!important}

/* Stack method */
body.xc-home-v149 #stack{background:#17191f!important;color:#fff!important}
body.xc-home-v149 #stack h2,body.xc-home-v149 #stack h3,body.xc-home-v149 #stack strong{color:#fff!important}
body.xc-home-v149 #stack .sec-head p{color:#c9cdd3!important}
body.xc-home-v149 #stack .eyebrow{background:#2b2e35!important;color:#ffb5a5!important}
body.xc-home-v149 #stack .layer{background:#23262c!important;border-color:#343841!important;box-shadow:none!important}
body.xc-home-v149 #stack .layer p,body.xc-home-v149 #stack .layer span{color:#c6cad0!important}

/* Countries / guides / FAQ */
body.xc-home-v149 #country-deals{background:#fff!important;padding-block:clamp(48px,6vw,82px)!important}
body.xc-home-v149 #country-deals .xc-country-grid{gap:12px!important}
body.xc-home-v149 #country-deals .xc-country-card{box-shadow:none!important;padding:20px!important}
body.xc-home-v149 #sale-calendar-hub{background:#fff!important;padding-top:0!important}
body.xc-home-v149 #blog{background:#f7f7f8!important}
body.xc-home-v149 #blog .post-card{background:#fff!important;box-shadow:none!important}
body.xc-home-v149 #quick-answers{background:#fff!important}
body.xc-home-v149 #faq{background:#f7f7f8!important}
body.xc-home-v149 #faq .faq-item{background:#fff!important;box-shadow:none!important}
body.xc-home-v149 #verification{background:#fff!important}
body.xc-home-v149 #coupon-alerts{background:#f7f7f8!important}
body.xc-home-v149 #about{background:#fff!important}

/* Ads remain clearly labeled but visually secondary */
body.xc-home-v149 .ad-feature,body.xc-home-v149 .xc-ad-pair{background:#fff!important;box-shadow:none!important;border:1px solid var(--xc149-line)!important}
body.xc-home-v149 .ad-label{font-size:10px!important;color:#8b9098!important}

/* Footer */
body.xc-home-v149 .site-footer{background:#17191f!important;color:#d6d9de!important}
body.xc-home-v149 .site-footer a{color:#e5e7eb}

/* ---------- Responsive ---------- */
@media(max-width:1050px){
  body.xc-home-v149 .hero__grid{grid-template-columns:1fr!important;max-width:820px!important}
  body.xc-home-v149 .hero__visual{min-height:380px!important}
  .xc-quick-links-v149__grid{grid-template-columns:repeat(3,minmax(0,1fr))}
  .xc-tools-hub-v149__grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:760px){
  .xc-sale-status-v149__in{justify-content:space-between;text-align:left;gap:10px}
  .xc-sale-status-v149 span{line-height:1.35}.xc-sale-status-v149 a{font-size:12px}
  body.xc-home-v149 .hero{padding-top:38px!important}
  body.xc-home-v149 .hero h1{font-size:clamp(38px,12vw,54px)!important}
  body.xc-home-v149 .hero__sub{font-size:16.5px!important}
  body.xc-home-v149 .hero__cta .btn{width:100%}
  .xc-hero-sale-link{width:100%;text-align:center}
  body.xc-home-v149 .hero__visual{min-height:360px!important}
  body.xc-home-v149 .xc-hero-orbit{min-height:360px!important}
  body.xc-home-v149 .xc-hero-mini{display:none!important}
  .xc-quick-links-v149{overflow:hidden}
  .xc-quick-links-v149 .wrap{padding-right:0!important}
  .xc-quick-links-v149__grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;padding-right:18px;padding-bottom:5px;gap:9px;scrollbar-width:none}
  .xc-quick-links-v149__grid::-webkit-scrollbar{display:none}
  .xc-quick-links-v149__grid a{flex:0 0 170px;scroll-snap-align:start}
  body.xc-home-v149 #best-rail{grid-template-columns:1fr!important}
  .xc-tools-hub-v149__grid{grid-template-columns:1fr}
  .xc-tool-card-v149{min-height:0;padding:18px}
}
@media(max-width:520px){
  .xc-sale-status-v149__in{display:block;text-align:center}.xc-sale-status-v149 a{display:block;margin-top:3px}
  body.xc-home-v149 .hero__visual{min-height:330px!important}
  body.xc-home-v149 .xc-hero-orbit{min-height:330px!important}
  body.xc-home-v149 .xc-hero-match{padding:22px!important}
  body.xc-home-v149 .xc-hero-match h2{font-size:24px!important}
  body.xc-home-v149 .xc-sale-countdown--hero{padding:12px!important}
  body.xc-home-v149 .xc-countdown-actions{width:100%!important}
  body.xc-home-v149 .xc-countdown-actions .btn{width:100%!important}
}

/* Reduced motion */
@media(prefers-reduced-motion:reduce){
  .xc-quick-links-v149__grid a,.xc-tool-card-v149,body.xc-home-v149 .coupon-card{transition:none!important}
}
/* V149: the homepage must start with coupons, not a tool promo. The same
   Chrome-extension information remains available in the Tools section. */
body.xc-home-v149>.xc-ext-topbar{display:none!important}
/* Header logo guard: prevent intrinsic image dimensions from expanding the mobile header. */
.site-header .brand img,.lp-header .brand img{height:38px!important;width:auto!important;max-width:180px!important;object-fit:contain!important}
@media(max-width:760px){
  .site-header .brand img,.lp-header .brand img{height:34px!important;max-width:154px!important}
  body.xc-home-v149 .hero__cta{margin-top:24px!important;margin-bottom:2px!important}
  body.xc-home-v149 .hero__visual{display:none!important}
  body.xc-home-v149 .xc-sale-countdown--hero{margin-top:18px!important}
  body.xc-home-v149 .xc-sale-countdown--hero .xc-countdown-units{grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:6px!important}
  body.xc-home-v149 .xc-countdown-units span{min-width:0!important;padding:8px 4px!important}
  body.xc-home-v149 .xc-countdown-units b{font-size:17px!important}
  body.xc-home-v149 .xc-countdown-units small{font-size:8.5px!important}
}
