/* New Promo Codes retailer design 0.3.0 — scoped to explicitly opted-in category pages. */
body.npc-retailer-design { --npc-green:#138c45; --npc-ink:#1d2c25; --npc-muted:#53655b; --npc-line:#dce7df; --npc-tint:#f5faf6; }
body.npc-retailer-design .npc-retailer-hero { background:linear-gradient(125deg,#f3fbf5,#fff); border:1px solid var(--npc-line); border-radius:18px; padding:clamp(20px,3vw,38px); margin:16px 0 24px; box-shadow:0 6px 24px rgba(14,66,36,.045); }
body.npc-retailer-design .npc-retailer-crumb {font-size:13px;color:var(--npc-muted);margin-bottom:14px;}
body.npc-retailer-design .npc-retailer-crumb a {color:#147d3e;text-decoration:none;}
body.npc-retailer-design .npc-retailer-hero h1 {font-size:clamp(25px,3vw,40px)!important;line-height:1.2!important;letter-spacing:-.025em;margin:0 0 12px!important;color:var(--npc-ink)!important;text-align:left!important;}
body.npc-retailer-design .npc-retailer-hero p {margin:0;color:var(--npc-muted);font-size:16px;line-height:1.6;}
body.npc-retailer-design .npc-offers-heading {font-size:clamp(21px,2vw,27px);color:var(--npc-ink);margin:18px 0 15px;line-height:1.3;}
body.npc-retailer-design .npc-no-offers {background:var(--npc-tint);border:1px solid var(--npc-line);border-radius:14px;padding:18px 22px;margin:12px 0 26px;color:var(--npc-ink);line-height:1.65;}
body.npc-retailer-design .npc-no-offers strong {display:block;font-size:17px;margin-bottom:4px;}
body.npc-retailer-design .npc-about {max-width:880px;margin:25px auto 36px;padding:clamp(18px,3vw,32px);background:#fff;border:1px solid var(--npc-line);border-radius:16px;box-shadow:0 4px 22px rgba(14,66,36,.04);}
body.npc-retailer-design .npc-about h2,body.npc-retailer-design .npc-about h3 {color:var(--npc-ink)!important;line-height:1.3;}
body.npc-retailer-design .npc-about p {font-size:16px!important;line-height:1.8!important;color:#34453b;margin-bottom:14px;}
body.npc-retailer-design .npc-about details summary {cursor:pointer;color:#0b7838;font-weight:700;padding:10px 0;}
body.npc-retailer-design #afcoupons-container {max-width:100%;margin:12px 0 24px;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon {background:#fff!important;border:1px solid var(--npc-line)!important;border-radius:16px!important;box-shadow:0 5px 20px rgba(20,55,33,.06)!important;padding:20px!important;margin-bottom:16px!important;overflow:hidden;}
body.npc-retailer-design #afcoupons-container .afc-coupons h3.afcheading {font-size:clamp(17px,1.5vw,21px)!important;color:var(--npc-ink)!important;line-height:1.35;}
body.npc-retailer-design #afcoupons-container .afcdesc {color:var(--npc-muted);line-height:1.6;font-size:15px;}
body.npc-retailer-design #afcoupons-container .afc-coupon-box .buttonInfo {background:var(--npc-green)!important;color:#fff!important;border-radius:9px!important;font-weight:700!important;}
body.npc-retailer-design #afcoupons-container .afc-coupon-box:focus-visible {outline:3px solid #116d35;outline-offset:3px;}
@media(max-width:767px){body.npc-retailer-design .npc-retailer-hero{padding:20px;}body.npc-retailer-design .npc-about{padding:18px;}body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{padding:14px!important;}}

/* v0.3.0 — opt-in retailer presentation. */
body.npc-retailer-design .npc-original-title {position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important;}
body.npc-retailer-design .npc-retailer-hero{margin:8px 0 18px;padding:clamp(20px,2.5vw,30px);}
body.npc-retailer-design .npc-offers-heading{margin:12px 0 12px!important;}
body.npc-retailer-design #afcoupons-container{margin:8px 0 18px!important;}
body.npc-retailer-design .npc-about{margin:18px 0 28px!important;max-width:100%;}
body.npc-retailer-design .npc-about p,body.npc-retailer-design .npc-about li{font-size:16px!important;line-height:1.75!important;font-weight:400!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{border:1px solid #dce7df!important;border-radius:15px!important;box-shadow:0 3px 14px rgba(20,55,33,.07)!important;margin-bottom:14px!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcheading{font-size:clamp(17px,1.6vw,21px)!important;line-height:1.35!important;}
body.npc-retailer-design #afcoupons-container .afc-coupon-box .buttonInfo{background:#138c45!important;border-radius:9px!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcdesc{font-size:15px!important;line-height:1.6!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcthumb img{object-fit:contain;}
@media(max-width:767px){body.npc-retailer-design .npc-retailer-hero{margin-top:8px;padding:18px;}body.npc-retailer-design .npc-offers-heading{font-size:21px!important;}body.npc-retailer-design .npc-about{padding:18px!important;}}

/* v0.4.0: legible voucher cards and left-aligned retailer content */
body.npc-retailer-design .npc-retailer-hero,body.npc-retailer-design .npc-retailer-hero p,body.npc-retailer-design .npc-retailer-hero h1{text-align:left!important;}
body.npc-retailer-design .npc-retailer-hero h1{font-size:clamp(27px,3vw,38px)!important;}
body.npc-retailer-design .npc-offers-heading{text-align:left!important;font-size:clamp(22px,2.3vw,28px)!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{padding:clamp(18px,2vw,26px)!important;min-height:115px;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcheading,body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon h3.afcheading{font-size:clamp(19px,1.7vw,23px)!important;line-height:1.35!important;font-weight:700!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcdesc{font-size:clamp(14px,1.2vw,16px)!important;line-height:1.6!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afc-coupon-box .buttonInfo{font-size:15px!important;padding:12px 16px!important;min-height:42px;}
body.npc-retailer-design .npc-about,body.npc-retailer-design .npc-about *{text-align:left!important;}
body.npc-retailer-design .npc-about h2{font-size:23px!important;line-height:1.35!important;}
body.npc-retailer-design .npc-about h3{font-size:20px!important;line-height:1.4!important;}
body.npc-retailer-design .npc-about h4{font-size:17px!important;line-height:1.45!important;}
body.npc-retailer-design .npc-about p,body.npc-retailer-design .npc-about li{font-size:16px!important;line-height:1.75!important;font-weight:400!important;}
body.npc-retailer-design .npc-about h2,body.npc-retailer-design .npc-about h3,body.npc-retailer-design .npc-about h4{margin:22px 0 10px!important;}
body.npc-retailer-design .npc-about{max-width:100%!important;margin:18px 0 24px!important;}
@media(max-width:767px){body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{padding:16px!important;}body.npc-retailer-design .npc-retailer-hero{padding:18px!important;}body.npc-retailer-design .npc-about{padding:18px!important;}}
/* v0.5.0: WordPress category descriptions are not necessarily enclosed in a wrapper. */
body.npc-retailer-design .npc-about {box-sizing:border-box;max-width:100%!important;margin:20px 0 30px!important;padding:clamp(20px,3vw,34px)!important;text-align:left!important;background:#fff;border:1px solid #dce7df;border-radius:16px;}
body.npc-retailer-design .npc-about,body.npc-retailer-design .npc-about :is(h2,h3,h4,p,ul,ol,li,div){text-align:left!important;}
body.npc-retailer-design .npc-about :is(p,li){font-size:16px!important;line-height:1.8!important;font-weight:400!important;letter-spacing:normal!important;}
body.npc-retailer-design .npc-about :is(h2,h3,h4){margin:22px 0 10px!important;line-height:1.35!important;}
body.npc-retailer-design .npc-about h3{font-size:22px!important;}
body.npc-retailer-design .npc-about h4{font-size:18px!important;}
body.npc-retailer-design .npc-about p{margin:0 0 15px!important;}
body.npc-retailer-design .npc-about ul,body.npc-retailer-design .npc-about ol{margin:8px 0 18px 24px!important;}
body.npc-retailer-design .npc-original-title{position:absolute!important;width:1px!important;height:1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{min-height:125px!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon .afcheading{font-size:clamp(20px,2vw,24px)!important;}
@media(max-width:767px){body.npc-retailer-design .npc-about{padding:20px!important;}body.npc-retailer-design .npc-about :is(p,li){font-size:15px!important;}}

/* v0.6.0: compact readable editorial headings and generated jump navigation. */
body.npc-retailer-design .npc-about h2,body.npc-retailer-design .npc-about h3{font-size:19px!important;line-height:1.4!important;margin:20px 0 8px!important;}
body.npc-retailer-design .npc-about h4{font-size:16px!important;line-height:1.45!important;margin:16px 0 6px!important;}
body.npc-retailer-design .npc-about p{line-height:1.7!important;margin-bottom:12px!important;}
body.npc-retailer-design .npc-retailer-toc{border:1px solid #dce7df;border-radius:14px;background:#fff;padding:16px 22px;margin:0 0 22px;}
body.npc-retailer-design .npc-retailer-toc summary{font-size:17px;font-weight:700;color:#1d2c25;cursor:pointer;}
body.npc-retailer-design .npc-retailer-toc ul{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px 22px;list-style:none;margin:14px 0 0;padding:0;}
body.npc-retailer-design .npc-retailer-toc a{font-size:15px;color:#147d3e;text-decoration:underline;text-underline-offset:3px;}
body.npc-retailer-design [id^="npc-section-"]{scroll-margin-top:85px;}
body.npc-retailer-design .npc-empty-archive{display:none!important;}
@media(max-width:767px){body.npc-retailer-design .npc-retailer-toc ul{grid-template-columns:1fr;}body.npc-retailer-design .npc-retailer-toc{padding:14px 18px;}}

/* v0.6.1: Keep the coupon discount ribbon visible inside its card.
   Coupons Manager positions .discountBadge above the card using bottom:calc(100% - 12px),
   which is clipped by our rounded card's overflow:hidden. */
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon {position:relative!important;padding-top:48px!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon h3.discountBadge {position:absolute!important;top:10px!important;bottom:auto!important;left:12px!important;right:auto!important;max-width:calc(100% - 24px)!important;z-index:2!important;margin:0!important;line-height:1.3!important;}
body.npc-retailer-design #afcoupons-container .afc-coupons.listview {gap:16px!important;}
@media(max-width:767px){body.npc-retailer-design #afcoupons-container .afc-coupons.listview .afccoupon{padding-top:48px!important;}}
