/* Couponji v3 — components (ported from homepage-v3/style.css)
   Element resets are scoped to .cpj — add the class "cpj" to any Divi section/module
   that holds v3 markup. Component classes (.hero, .reveal, .store-card …) work anywhere. */

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: 88px; }
@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto; } }
body {
  margin: 0;
  font-family: var(--font);
  font-size: 1rem;
  line-height: 1.7;
  color: var(--text);
  background: var(--ground);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
:where(.cpj) img { display: block; max-width: 100%; height: auto; }
:where(.cpj) a { color: inherit; text-decoration: none; }
:where(.cpj) :is(button, input) { font: inherit; color: inherit; }
button { cursor: pointer; }
:where(.cpj) :is(h1, h2, h3, p) { margin: 0; padding: 0; }
:where(.cpj) :is(ul, ol) { margin: 0; padding: 0; list-style: none; }
::selection { background: var(--leaf); color: var(--ink); }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; border-radius: 6px; }
input { caret-color: var(--forest); }
html { scrollbar-color: var(--line-strong) var(--ground); }

.sr { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; }
.skip { position: absolute; inset-inline-start: 12px; top: -60px; z-index: 100; background: var(--ink); color: #fff; padding: 10px 16px; border-radius: var(--r-s); font-weight: 700; }
.skip:focus { top: 12px; }

.container { width: min(1200px, 100% - 2 * var(--gutter)); margin-inline: auto; }
.icon { width: 1.25em; height: 1.25em; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; flex: none; }


/* ───────── header ───────── */
.site-header { position: sticky; top: 0; z-index: 40; background: var(--surface); border-bottom: 1px solid var(--line); }
.header-row { display: flex; align-items: center; gap: 20px; min-height: 72px; }
.brand img { width: 136px; height: auto; }

.search-mini {
  flex: 1 1 260px; max-width: 360px;
  display: flex; align-items: center; gap: 8px;
  height: 44px; padding-inline: 14px;
  background: var(--ground); border: 1px solid var(--line); border-radius: var(--pill);
  color: var(--muted);
  opacity: 0; visibility: hidden; transform: translateY(-4px);
  transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s .25s;
}
.search-mini input { flex: 1; min-width: 0; border: 0; background: none; outline: none; color: var(--text); }
.search-mini input::placeholder { color: var(--muted); }
.search-mini:focus-within { border-color: var(--forest); outline: 3px solid rgba(46, 106, 34, .18); }
.is-scrolled .search-mini { opacity: 1; visibility: visible; transform: none; transition-delay: 0s; }

.site-nav { margin-inline-start: auto; }
.site-nav ul { display: flex; gap: 4px; }
.site-nav a { display: block; padding: 8px 12px; border-radius: var(--r-s); font-weight: 600; font-size: .9375rem; color: var(--text); transition: background .2s, color .2s; }
.site-nav a:hover { background: var(--tint); color: var(--forest); }
.site-nav a[aria-current="page"] { color: var(--forest); font-weight: 800; }

.country { position: relative; }
.country summary { list-style: none; display: flex; align-items: center; gap: 6px; height: 40px; padding-inline: 12px; border: 1px solid var(--line-strong); border-radius: var(--pill); font-weight: 700; font-size: .9375rem; cursor: pointer; }
.country summary::-webkit-details-marker { display: none; }
.country summary .icon { width: 1em; height: 1em; transition: transform .2s; }
.country[open] summary .icon { transform: rotate(180deg); }
.flag { display: inline-grid; place-items: center; min-width: 26px; height: 18px; border-radius: 4px; background: var(--tint); color: var(--forest); font-size: .6875rem; font-weight: 800; letter-spacing: .04em; direction: ltr; }
.country ul { position: absolute; inset-inline-end: 0; top: calc(100% + 8px); min-width: 170px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); box-shadow: var(--shadow-2); padding: 6px; z-index: 5; }
.country ul a { display: flex; align-items: center; gap: 10px; padding: 9px 10px; border-radius: var(--r-s); font-weight: 600; }
.country ul a:hover { background: var(--tint); }
.country ul a[aria-current="true"] { color: var(--forest); font-weight: 800; }

.nav-toggle { display: none; width: 44px; height: 44px; place-items: center; border: 1px solid var(--line-strong); border-radius: var(--r-s); background: var(--surface); }
.nav-toggle .icon-close { display: none; }
.nav-toggle[aria-expanded="true"] .icon-open { display: none; }
.nav-toggle[aria-expanded="true"] .icon-close { display: block; }

/* ───────── hero ───────── */
.hero { background: var(--forest); color: #fff; padding-block: clamp(28px, 3.4vw, 48px) clamp(112px, 10vw, 136px); position: relative; overflow: hidden; }
.hero-grid { display: grid; grid-template-columns: minmax(0, 1fr) auto; gap: 40px; align-items: center; position: relative; z-index: 1; }
.hero-copy { max-width: 640px; }
.hero h1 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.85rem); line-height: 1.3; font-weight: 800; text-wrap: balance; }
.hero h1 em { font-style: normal; color: var(--sun); }
.lede { margin-top: 10px; font-size: clamp(1rem, .95rem + .3vw, 1.1875rem); color: #DCEED3; max-width: 42em; }

.search-hero {
  margin-top: 22px; display: flex; align-items: center; gap: 10px;
  background: var(--surface); color: var(--muted); border-radius: var(--pill);
  padding: 6px; padding-inline-start: 20px; box-shadow: 0 12px 32px -14px rgba(0, 0, 0, .55);
}
.search-hero .icon { color: var(--forest); width: 1.4em; height: 1.4em; }
.search-hero input { flex: 1; min-width: 0; border: 0; outline: none; background: none; color: var(--text); font-size: 1.0625rem; height: 50px; }
.search-hero input::placeholder { color: #6B7867; }
.search-hero button { height: 52px; padding-inline: 34px; border: 0; border-radius: var(--pill); background: var(--sun); color: var(--ink); font-weight: 800; font-size: 1.0625rem; transition: background .2s, transform .15s; }
.search-hero button:hover { background: var(--sun-hover); }
.search-hero button:active { transform: scale(.97); }
.search-hero:focus-within { outline: 3px solid var(--sun); outline-offset: 3px; }

.quick { margin-top: 16px; display: flex; flex-wrap: wrap; align-items: center; gap: 8px 10px; font-size: .9375rem; color: #DCEED3; }
.quick ul { display: flex; flex-wrap: wrap; gap: 8px; }
.quick a { display: inline-flex; align-items: center; min-height: 36px; padding-inline: 14px; border-radius: var(--pill); background: rgba(255, 255, 255, .12); border: 1px solid rgba(255, 255, 255, .22); color: #fff; font-weight: 700; transition: background .2s; }
.quick a:hover { background: rgba(255, 255, 255, .24); }

.promises { margin-top: 20px; display: flex; flex-wrap: wrap; gap: 10px 26px; font-size: .9375rem; font-weight: 700; color: #fff; }
.promises li { display: flex; align-items: center; gap: 8px; }
.promises .icon { color: var(--leaf); }

.hero-mascot { margin: 0 0 -96px; width: clamp(200px, 18vw, 250px); align-self: end; }
.hero-mascot img { width: 100%; filter: drop-shadow(0 0 1.5px #fff) drop-shadow(0 0 1px #fff) drop-shadow(0 18px 22px rgba(0, 0, 0, .35)); }

/* ───────── top deals (overlap the hero) ───────── */
.top-deals { margin-top: clamp(-104px, -9vw, -86px); position: relative; z-index: 2; }
.top-head { display: flex; align-items: baseline; justify-content: flex-start; gap: 12px 24px; margin-bottom: 14px; }
.top-head h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 800; color: #fff; }
.more { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: var(--forest); white-space: nowrap; }
.more .icon { width: 1.1em; height: 1.1em; transition: transform .25s var(--ease); }
.more:hover .icon { transform: translateX(-4px); }
.more:hover { text-decoration: underline; text-underline-offset: 5px; }
.more-light { color: #fff; }

.deals { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.deal { background: var(--surface); border-radius: var(--r-l); padding: 18px; box-shadow: var(--shadow-2); display: flex; flex-direction: column; gap: 6px; transition: transform .3s var(--ease), box-shadow .3s var(--ease); }
.deal:hover { transform: translateY(-3px); box-shadow: var(--shadow-3); }
.deal-head { display: flex; align-items: center; gap: 10px; margin-bottom: 6px; }
.deal-logo img { width: 64px; height: 40px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line); }
.deal-store { font-weight: 800; font-size: .9375rem; }
.deal-store:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.deal-head .badge { margin-inline-start: auto; }
.deal-value { display: flex; align-items: baseline; gap: 6px; color: var(--forest); line-height: 1.1; }
.deal-value strong { font-size: 2.25rem; font-weight: 900; font-variant-numeric: tabular-nums; }
.deal-value span { font-weight: 800; font-size: 1.125rem; }
.deal-title { font-size: 1rem; font-weight: 700; line-height: 1.55; min-height: 3.1em; }
.deal .verified { margin-bottom: 8px; }
.deal .reveal, .deal .btn-deal { margin-top: auto; }

.badge { display: inline-flex; align-items: center; height: 24px; padding-inline: 10px; border-radius: var(--pill); font-size: .75rem; font-weight: 800; white-space: nowrap; }
.badge-excl { background: var(--sun); color: var(--ink); }

.verified { display: inline-flex; align-items: center; gap: 5px; font-size: .8125rem; font-weight: 700; color: var(--forest); }
.verified .icon { width: 1.15em; height: 1.15em; }

/* ───────── reveal button: the signature atom ───────── */
.reveal {
  --peek: 46px;
  position: relative; display: block; width: 100%; height: 48px; padding: 0;
  border: 2px dashed var(--meadow); border-radius: var(--r-s);
  background: var(--tint); overflow: hidden; text-align: start;
}
.reveal-tail {
  position: absolute; inset-block: 0; inset-inline-end: 0; width: var(--peek);
  display: flex; align-items: center; justify-content: flex-start; padding-inline-start: 8px; overflow: hidden;
  -webkit-mask-image: linear-gradient(to right, transparent 2px, #000 18px); mask-image: linear-gradient(to right, transparent 2px, #000 18px);
  transition: width .35s var(--ease);
}
.reveal-tail span { font-family: var(--mono); font-weight: 700; font-size: .9375rem; letter-spacing: .06em; color: var(--ink); white-space: nowrap; }
.reveal-face {
  position: absolute; inset-block: -2px; inset-inline-start: -2px; inset-inline-end: var(--peek);
  display: flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--forest); color: #fff; font-weight: 800; font-size: 1rem;
  border-start-start-radius: var(--r-s); border-end-start-radius: var(--r-s);
  transition: inset-inline-end .35s var(--ease), background .2s;
}
.reveal-face::after { /* folded corner */
  content: ""; position: absolute; inset-block-start: 0; inset-inline-end: -14px; width: 14px; height: 14px;
  background: linear-gradient(to bottom left, transparent 50%, var(--forest-deep) 50%);
  border-end-end-radius: 4px;
}
[dir="rtl"] .reveal-face::after { background: linear-gradient(to bottom right, transparent 50%, var(--forest-deep) 50%); border-end-end-radius: 0; border-end-start-radius: 4px; }
.reveal:hover { --peek: 70px; }
.reveal:hover .reveal-face { background: var(--forest-deep); }
.reveal:active { --peek: 78px; }
.reveal.is-revealed { border-style: solid; border-color: var(--forest); }
.reveal.is-revealed .reveal-face { inset-inline-end: 100%; }
.reveal.is-revealed .reveal-tail { width: 100%; justify-content: center; padding-inline: 8px; -webkit-mask-image: none; mask-image: none; }
.reveal.is-revealed .reveal-tail::after { content: "اتنسخ"; font-family: var(--font); font-weight: 800; font-size: .8125rem; color: var(--forest); margin-inline-start: 10px; }
.reveal-lg { height: 60px; }
.reveal-lg .reveal-face { font-size: 1.125rem; }
.reveal-lg { --peek: 62px; }
.reveal-lg:hover { --peek: 92px; }
.reveal-lg .reveal-tail span { font-size: 1.125rem; }

.btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding-inline: 22px; border-radius: var(--r-s); font-weight: 800; transition: background .2s, color .2s, border-color .2s; border: 2px solid transparent; }
.btn .icon { width: 1.1em; height: 1.1em; }
.btn-primary, .btn-deal { background: var(--forest); color: #fff; }
.btn-primary:hover, .btn-deal:hover { background: var(--forest-deep); }
.btn-deal { width: 100%; white-space: nowrap; padding-inline: 12px; }
.btn-outline { border-color: var(--forest); color: var(--forest); background: var(--surface); }
.btn-outline:hover { background: var(--forest); color: #fff; }

/* ───────── sections ───────── */
.section { padding-block: var(--section) 0; }
.section-panel { background: var(--surface); border-block: 1px solid var(--line); padding-block: var(--section); margin-top: var(--section); }
.section-panel + .section { padding-top: var(--section); }
.section-head { display: flex; flex-wrap: wrap; align-items: baseline; justify-content: space-between; gap: 6px 20px; margin-bottom: 22px; }
.section-head h2 { font-size: clamp(1.4rem, 1.1rem + 1.1vw, 2rem); line-height: 1.35; font-weight: 800; }
.section-sub { color: var(--muted); flex-basis: 100%; order: 3; margin-top: -2px; }

/* stores */
.stores { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; }
.store { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 14px 12px 12px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, box-shadow .3s var(--ease), transform .3s var(--ease); }
.store img { width: 100%; aspect-ratio: 5 / 3; object-fit: cover; border-radius: 10px; }
.store-name { font-weight: 800; font-size: .9375rem; }
.store:hover { border-color: var(--meadow); box-shadow: var(--shadow-2); transform: translateY(-2px); }

/* coupon list */
.tabs { display: flex; gap: 8px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 18px; scrollbar-width: none; }
.tabs::-webkit-scrollbar { display: none; }
.tabs button { flex: none; height: 42px; padding-inline: 18px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: .9375rem; transition: background .2s, color .2s, border-color .2s; }
.tabs button:hover { border-color: var(--forest); color: var(--forest); }
.tabs button[aria-pressed="true"] { background: var(--ink); border-color: var(--ink); color: #fff; }

.coupons { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; align-items: start; }
.cp {
  display: grid; grid-template-columns: 88px minmax(0, 1fr) 176px; grid-template-areas: "logo body action"; align-items: center; gap: 16px;
  padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m);
  transition: border-color .2s, box-shadow .3s var(--ease);
}
.cp:hover { border-color: var(--line-strong); box-shadow: var(--shadow-2); }
.cp[hidden] { display: none; }
.cp-logo { grid-area: logo; align-self: start; }
.cp .cp-logo img { width: 88px; height: 53px; border-radius: 10px; }
.cp-body { grid-area: body; }
.cp-title { font-size: 1.0625rem; font-weight: 700; line-height: 1.5; }
.cp-title b { font-weight: 900; color: var(--forest); font-variant-numeric: tabular-nums; }
.cp-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 10px; margin-top: 6px; font-size: .8125rem; color: var(--muted); }
.cp-store { font-weight: 800; color: var(--text); }
.cp-store:hover { color: var(--forest); text-decoration: underline; text-underline-offset: 4px; }
.cp-kind { padding-inline: 8px; border-radius: 6px; background: var(--ground); border: 1px solid var(--line); font-weight: 700; }
.terms-toggle { display: inline-flex; align-items: center; gap: 2px; border: 0; background: none; padding: 0; min-height: 32px; font-size: .8125rem; font-weight: 700; color: var(--muted); }
.terms-toggle:hover { color: var(--text); text-decoration: underline; text-underline-offset: 4px; }
.terms-toggle .icon { width: 1em; height: 1em; transition: transform .2s; }
.terms-toggle[aria-expanded="true"] .icon { transform: rotate(180deg); }
.cp-terms { margin-top: 4px; font-size: .875rem; color: var(--muted); padding: 8px 12px; background: var(--ground); border-radius: var(--r-s); }
.cp-action { grid-area: action; }
.empty { padding: 28px; text-align: center; color: var(--muted); background: var(--ground); border-radius: var(--r-m); }
.link-btn { border: 0; background: none; color: var(--forest); font-weight: 800; text-decoration: underline; text-underline-offset: 4px; }
.list-more { margin-top: 24px; text-align: center; }

/* exclusive offer: the one big yellow moment */
.offer { display: grid; grid-template-columns: auto 1fr minmax(240px, 300px); align-items: center; gap: clamp(20px, 3vw, 40px); padding: clamp(22px, 3vw, 36px); background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-l); box-shadow: var(--shadow-2); }
.offer-brand img { width: 150px; border-radius: 12px; border: 1px solid var(--line); }
.offer h2 { font-size: clamp(1.35rem, 1.05rem + 1.2vw, 2.1rem); line-height: 1.35; font-weight: 800; text-wrap: balance; }
.offer h2 strong { font-weight: 900; color: var(--forest); }
.offer-copy p { margin-top: 10px; color: var(--muted); max-width: 36em; }
.offer-copy .badge { vertical-align: 1px; margin-inline-end: 4px; }
.offer-action { display: grid; gap: 12px; justify-items: center; }

/* categories */
.cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.cat { display: flex; align-items: center; gap: 14px; padding: 14px 16px; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m); transition: border-color .2s, box-shadow .3s var(--ease); }
.cat:hover { border-color: var(--meadow); box-shadow: var(--shadow-2); }
.cat-icon { flex: none; display: grid; place-items: center; width: 48px; height: 48px; border-radius: 14px; background: var(--tint); color: var(--forest); }
.cat-icon .icon { width: 24px; height: 24px; }
.cat-name { font-weight: 800; font-size: 1.0625rem; white-space: nowrap; }
.cat-logos { display: flex; gap: 6px; margin-inline-start: auto; }
.cat-logos li:nth-child(n+3) { display: none; }
.mini-logo { width: 64px; height: 38px; object-fit: cover; border-radius: 6px; border: 1px solid var(--line); }

/* how it works */
.how-box { display: grid; grid-template-columns: 180px 1fr; gap: clamp(20px, 4vw, 48px); align-items: center; padding: clamp(22px, 3vw, 36px); background: var(--tint); border-radius: var(--r-l); }
.how-mascot { width: 180px; margin-block: -60px -10px; filter: drop-shadow(0 16px 18px rgba(16, 38, 12, .25)); }
.how { padding-top: calc(var(--section) + 40px); }
.how h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; margin-bottom: 18px; text-wrap: balance; }
.steps { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.steps li { display: flex; gap: 12px; align-items: flex-start; }
.step-n { flex: none; display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--forest); color: #fff; font-weight: 900; font-size: 1.125rem; }
.steps h3 { font-size: 1.0625rem; font-weight: 800; }
.steps p { color: var(--muted); font-size: .9375rem; line-height: 1.65; }

/* posts */
.posts { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.post { display: flex; flex-direction: column; gap: 8px; }
.post-cover { display: grid; place-items: center; aspect-ratio: 16 / 9; border-radius: var(--r-m); overflow: hidden; margin-bottom: 6px; }
.post-cover img { width: 46%; border-radius: 10px; box-shadow: var(--shadow-3); transform: rotate(-4deg); transition: transform .5s var(--ease); }
.post:hover .post-cover img { transform: rotate(0) scale(1.05); }
.post-cover-a { background: var(--tint); }
.post-cover-b { background: var(--surface); border: 1px solid var(--line); }
.post-cover-c { background: var(--forest); }
.post h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.55; }
.post:hover h3 { color: var(--forest); text-decoration: underline; text-underline-offset: 5px; text-decoration-thickness: 2px; }
.post-meta { font-size: .8125rem; color: var(--muted); font-weight: 600; }

/* about + faq */
.about { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(28px, 5vw, 64px); align-items: start; }
.about h2 { font-size: clamp(1.35rem, 1.1rem + 1vw, 1.875rem); font-weight: 800; line-height: 1.4; margin-bottom: 14px; }
.about-copy p { color: var(--muted); max-width: 38em; }
.about-copy p + p { margin-top: 12px; }
.faq-title { font-size: 1.125rem; font-weight: 800; margin-bottom: 10px; }
.faq details { border-bottom: 1px solid var(--line); }
.faq summary { list-style: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 56px; padding-block: 12px; font-weight: 700; cursor: pointer; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--forest); }
.faq summary .icon { color: var(--forest); transition: transform .25s var(--ease); }
.faq details[open] summary .icon { transform: rotate(180deg); }
.faq details p { padding-bottom: 16px; color: var(--muted); max-width: 40em; }

/* signup */
.signup { background: var(--ink); color: #fff; padding-block: clamp(32px, 4vw, 48px); }
.signup-row { display: grid; grid-template-columns: 1fr minmax(300px, 460px); gap: 24px; align-items: center; }
.signup h2 { font-size: clamp(1.25rem, 1.05rem + .8vw, 1.625rem); font-weight: 800; }
.signup p { color: #C9DCC0; margin-top: 4px; }
.signup-form { position: relative; display: flex; align-items: center; gap: 8px; background: var(--surface); border-radius: var(--pill); padding: 5px; padding-inline-start: 18px; color: var(--muted); flex-wrap: wrap; }
.signup-form input { flex: 1; min-width: 0; height: 46px; border: 0; outline: none; background: none; color: var(--text); text-align: right; }
.signup-form button { height: 46px; padding-inline: 26px; border: 0; border-radius: var(--pill); background: var(--forest); color: #fff; font-weight: 800; }
.signup-form button:hover { background: var(--forest-deep); }
.signup-form:focus-within { outline: 3px solid var(--leaf); outline-offset: 3px; }
.signup-msg { position: absolute; top: calc(100% + 8px); inset-inline-start: 18px; font-size: .875rem; color: var(--leaf); margin: 0; }
.signup-msg.is-error { color: #FFB4A8; }

/* footer */
.site-footer { background: var(--ink); color: #C9DCC0; border-top: 1px solid rgba(255, 255, 255, .08); padding-block: 44px 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr repeat(3, 1fr); gap: 32px; }
.footer-brand img { width: 160px; }
.footer-brand p { margin-top: 12px; max-width: 26em; font-size: .9375rem; }
.footer-title { font-weight: 800; color: #fff; margin-bottom: 10px; }
.site-footer nav a { display: inline-block; padding-block: 5px; font-size: .9375rem; transition: color .2s; }
.site-footer nav a:hover { color: var(--leaf); }
.footer-base { margin-top: 36px; padding-top: 18px; border-top: 1px solid rgba(255, 255, 255, .1); display: flex; flex-wrap: wrap; justify-content: space-between; gap: 8px 24px; font-size: .8125rem; color: #A9BFA0; }

/* ───────── code dialog ───────── */
.code-dialog { width: min(440px, calc(100% - 32px)); border: 0; border-radius: var(--r-l); padding: 24px 24px 20px; text-align: center; color: var(--text); box-shadow: var(--shadow-3); }
.code-dialog::backdrop { background: rgba(16, 38, 12, .55); backdrop-filter: blur(3px); }
.code-dialog[open] { animation: dlg-in .35s var(--ease); }
.code-dialog[open]::backdrop { animation: fade-in .3s ease; }
@keyframes dlg-in { from { opacity: 0; transform: translateY(14px) scale(.98); } }
@keyframes fade-in { from { opacity: 0; } }
.cd-close-row { display: flex; justify-content: flex-end; margin: -10px -10px 0 0; }
[dir="rtl"] .cd-close-row { margin: -10px 0 0 -10px; }
.cd-close { width: 40px; height: 40px; display: grid; place-items: center; border: 0; border-radius: 50%; background: var(--ground); }
.cd-close:hover { background: var(--line); }
.cd-logo { width: 96px; height: 58px; object-fit: cover; margin: -14px auto 10px; border-radius: 10px; border: 1px solid var(--line); }
.cd-store { font-size: .875rem; font-weight: 800; color: var(--muted); }
.cd-title { font-size: 1.25rem; font-weight: 800; line-height: 1.5; margin-top: 2px; text-wrap: balance; }
.cd-code { display: flex; align-items: stretch; margin-top: 18px; border: 2px dashed var(--meadow); border-radius: var(--r-m); background: var(--tint); overflow: hidden; }
.cd-code-text { flex: 1; display: grid; place-items: center; font-family: var(--mono); font-weight: 700; font-size: 1.625rem; letter-spacing: .1em; color: var(--ink); padding: 12px; user-select: all; }
.cd-copy { display: flex; align-items: center; gap: 6px; padding-inline: 18px; border: 0; background: var(--forest); color: #fff; font-weight: 800; }
.cd-copy:hover { background: var(--forest-deep); }
.cd-copy.is-done { background: var(--leaf); color: var(--ink); }
.cd-status { min-height: 1.7em; margin-top: 8px; font-size: .875rem; font-weight: 700; color: var(--forest); }
.cd-go { width: 100%; margin-top: 4px; min-height: 54px; font-size: 1.0625rem; }
.cd-hint { margin-top: 10px; font-size: .8125rem; color: var(--muted); }
.cd-feedback { display: flex; align-items: center; justify-content: center; gap: 8px; margin-top: 16px; padding-top: 14px; border-top: 1px solid var(--line); font-size: .875rem; font-weight: 700; }
.cd-feedback button { min-height: 36px; padding-inline: 14px; border-radius: var(--pill); border: 1px solid var(--line-strong); background: var(--surface); font-weight: 700; font-size: .875rem; }
.cd-feedback button:hover { border-color: var(--forest); color: var(--forest); }

/* ───────── responsive ───────── */
@media (max-width: 1080px) {
  .deals { grid-template-columns: repeat(2, 1fr); }
  .stores { grid-template-columns: repeat(4, 1fr); }
  .coupons { grid-template-columns: 1fr; }
  .cats { grid-template-columns: repeat(2, 1fr); }
  .search-mini { display: none; }
}

@media (max-width: 900px) {
  .header-row { min-height: 64px; gap: 10px; }
  .nav-toggle { display: grid; }
  .country { margin-inline-start: auto; }
  .site-nav { position: absolute; inset-inline: 0; top: 100%; background: var(--surface); border-bottom: 1px solid var(--line); box-shadow: var(--shadow-2); padding: 8px var(--gutter) 16px; display: none; }
  .site-nav.is-open { display: block; }
  .site-nav ul { flex-direction: column; }
  .site-nav a { padding: 12px; font-size: 1rem; }
  .hero-grid { grid-template-columns: minmax(0, 1fr) auto; gap: 16px; }
  .hero-mascot { width: 150px; margin-bottom: -84px; }
  .offer { grid-template-columns: 1fr; text-align: center; justify-items: center; }
  .offer-copy p { margin-inline: auto; }
  .offer-action { width: min(100%, 360px); }
  .how-box { grid-template-columns: 1fr; position: relative; }
  .how h2 { padding-inline-end: 96px; }
  .how-mascot { position: absolute; top: -52px; inset-inline-end: 14px; width: 88px; margin: 0; }
  .steps { grid-template-columns: 1fr; }
  .about { grid-template-columns: 1fr; }
  .signup-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 640px) {
  .brand img { width: 118px; }
  .hero { padding-bottom: 100px; }
  .lede { display: none; }
  .search-hero { margin-top: 16px; }
  .quick { flex-wrap: nowrap; overflow-x: auto; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .quick::-webkit-scrollbar { display: none; }
  .quick > span { flex: none; }
  .quick ul { flex-wrap: nowrap; }
  .quick li { flex: none; }
  .promises { margin-top: 14px; }
  .search-hero { padding-inline-start: 14px; }
  .search-hero input { height: 46px; font-size: 1rem; }
  .search-hero button { height: 46px; padding-inline: 20px; }
  .promises { gap: 8px 16px; font-size: .875rem; }
  .top-deals { margin-top: -84px; }
  .deals { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 10px; scrollbar-width: none; }
  .deals::-webkit-scrollbar { display: none; }
  .deal { flex: 0 0 82%; scroll-snap-align: start; }
  .stores { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); padding-bottom: 6px; scrollbar-width: none; }
  .stores::-webkit-scrollbar { display: none; }
  .stores li { flex: 0 0 34%; scroll-snap-align: start; }
  .cp { grid-template-columns: 64px minmax(0, 1fr); grid-template-areas: "logo body" "action action"; gap: 12px; padding: 14px; }
  .cp .cp-logo img { width: 64px; height: 39px; }
  .cats { grid-template-columns: 1fr 1fr; gap: 10px; }
  .cat { flex-direction: column; align-items: flex-start; gap: 10px; padding: 14px; }
  .cat-icon { width: 40px; height: 40px; border-radius: 12px; }
  .cat-name { font-size: 1rem; }
  .cat-logos { margin-inline-start: 0; }
  .mini-logo { width: 60px; height: 36px; }
  .hero-grid { grid-template-columns: minmax(0, 1fr); }
  .hero-mascot { position: absolute; inset-inline-end: 4px; bottom: -86px; width: 86px; margin: 0; z-index: 3; }
  .hero { overflow: visible; }
  .top-head { padding-inline-end: 96px; }
  .top-head .more { display: none; }
  .posts { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin-inline: calc(-1 * var(--gutter)); padding-inline: var(--gutter); scrollbar-width: none; }
  .posts::-webkit-scrollbar { display: none; }
  .post { flex: 0 0 78%; scroll-snap-align: start; }
  .footer-base { flex-direction: column; }
  .signup-form button { padding-inline: 18px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
}
@media (max-width: 640px) { .how h2 { font-size: 1.25rem; padding-inline-end: 92px; } }

/* ---------- Store page ---------- */
.store-hero { background: var(--forest); color: #fff; padding-block: 18px 30px; }
.crumbs ol { display: flex; flex-wrap: wrap; gap: 6px; list-style: none; font-size: .8125rem; color: var(--hero-mist, #d9ead3); margin-bottom: 18px; }
.crumbs li + li::before { content: "‹"; margin-inline-end: 6px; opacity: .7; }
.crumbs a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.crumbs [aria-current] { color: #fff; font-weight: 700; }
.store-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 20px; align-items: center; }
.store-badge { width: 132px; height: 88px; background: #fff; border-radius: var(--r-m, 14px); display: grid; place-items: center; padding: 10px; }
.store-badge img { max-width: 100%; max-height: 100%; object-fit: contain; }
.store-id h1 { font-size: clamp(1.4rem, 1rem + 1.8vw, 2.1rem); line-height: 1.3; font-weight: 800; text-wrap: balance; }
.store-stats { display: flex; flex-wrap: wrap; gap: 6px 18px; list-style: none; margin-top: 8px; font-size: .9375rem; color: var(--hero-mist, #d9ead3); }
.store-stats li { display: inline-flex; align-items: center; gap: 6px; }
.store-stats strong { color: #fff; font-weight: 800; }
.btn-store { background: #fff; color: var(--forest-deep); }
.btn-store:hover { background: var(--tint, #eaf3e4); }
.store-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 32px; align-items: start; padding-top: var(--section); }
.store-main .tabs { margin-bottom: 16px; }
.coupons-1 { grid-template-columns: 1fr; }
.prose { margin-top: 40px; max-width: 44rem; }
.prose h2 { font-size: 1.25rem; font-weight: 800; margin-bottom: 10px; }
.prose ol { list-style: decimal; padding-inline-start: 1.3em; margin-bottom: 10px; display: grid; gap: 4px; }
.prose p { color: var(--muted); }
.store-main .faq { margin-top: 32px; }
.store-side { position: sticky; top: 84px; display: grid; gap: 16px; }
.side-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: 20px; display: grid; gap: 12px; }
.side-card h2 { font-size: 1.0625rem; font-weight: 800; }
.side-card p { color: var(--muted); }
.info { display: grid; gap: 0; }
.info div { display: flex; justify-content: space-between; gap: 12px; padding-block: 9px; border-top: 1px solid var(--line); font-size: .9375rem; }
.info dt { color: var(--muted); }
.info dd { font-weight: 700; }
.side-trust ul { list-style: none; display: grid; gap: 10px; font-weight: 600; }
.side-trust li { display: flex; align-items: center; gap: 8px; }
.side-trust .icon { color: var(--forest); flex: none; }
@media (max-width: 900px) {
  .store-layout { grid-template-columns: 1fr; }
  .store-side { position: static; }
}
@media (max-width: 640px) {
  .store-head { grid-template-columns: auto 1fr; }
  .store-badge { width: 96px; height: 64px; }
  .btn-store { grid-column: 1 / -1; }
}

/* ---------- All stores page ---------- */
.all-h1 { font-size: clamp(1.75rem, 1.1rem + 2.4vw, 2.6rem); font-weight: 800; line-height: 1.3; }
.store-hero .lede { margin-top: 6px; color: var(--hero-mist, #d9ead3); }
.all-search { margin-top: 20px; max-width: 520px; }
.stores-all { grid-template-columns: repeat(6, 1fr); margin-top: 18px; }
.stores-all li[hidden] { display: none; }
.store-n { font-size: .8125rem; color: var(--muted); }
.sf-empty { margin-top: 24px; color: var(--muted); }
@media (max-width: 1080px) { .stores-all { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .stores-all { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) { .stores-all { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) {
  .stores-all { display: grid; overflow: visible; margin-inline: 0; padding-inline: 0; gap: 10px; }
  .stores-all li { flex: none; }
  .store-hero .lede { display: block; font-size: .9375rem; }
}

/* ---------- Categories page ---------- */
.cg-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: clamp(14px, 2.4vw, 28px); }
.cg-grid { list-style: none; display: grid; grid-template-columns: repeat(6, 1fr); gap: 6px 14px; }
.cg-grid li[hidden] { display: none; }
.cg { display: flex; align-items: center; gap: 12px; padding: 12px; border-radius: var(--r-s, 10px); scroll-margin-top: 100px; transition: background .2s; }
.cg:hover { background: var(--tint, #eef5ea); }
.cg:hover .cg-ic { background: var(--forest); color: #fff; }
.cg-ic { width: 56px; height: 56px; flex: none; display: grid; place-items: center; border-radius: 50%; background: var(--tint, #eef5ea); color: var(--forest); transition: background .2s, color .2s; }
.cg-ic .icon { width: 30px; height: 30px; }
.cg-t { display: grid; min-width: 0; }
.cg-t strong { font-weight: 800; line-height: 1.35; }
.cg-t small { font-size: .8125rem; color: var(--muted); }
@media (max-width: 1080px) { .cg-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 900px) { .cg-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 640px) {
  .cg-grid { grid-template-columns: repeat(2, 1fr); gap: 2px 8px; }
  .cg { padding: 10px 6px; gap: 10px; }
  .cg-ic { width: 46px; height: 46px; }
  .cg-ic .icon { width: 22px; height: 22px; }
}

/* ---------- Store page, detail additions ---------- */
.store-main > section + section { margin-top: 40px; }
.best-flag { display: inline-flex; align-items: center; gap: 8px; margin-bottom: 10px; font-weight: 800; color: var(--forest-deep); }
.best-flag .icon { width: 1.1em; height: 1.1em; color: var(--forest); }
.best-wrap .cp { border: 2px solid var(--forest); background: var(--tint, #f1f7ec); }
.cp-exp { font-size: .8125rem; color: var(--muted); }
.prose { max-width: none; margin-top: 0; }
.prose h2 { margin-top: 28px; }
.prose h2:first-child { margin-top: 0; }
.tips { list-style: none; display: grid; gap: 8px; margin-top: 4px; }
.tips li { display: flex; align-items: flex-start; gap: 10px; }
.tips .icon { flex: none; width: 1.2em; height: 1.2em; margin-top: .3em; color: var(--forest); }
.tbl-wrap { overflow-x: auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); }
.tbl { width: 100%; border-collapse: collapse; min-width: 480px; }
.tbl th, .tbl td { padding: 13px 16px; text-align: start; border-bottom: 1px solid var(--line); }
.tbl thead th { background: var(--tint, #eef5ea); font-size: .875rem; }
.tbl tbody th { font-weight: 700; }
.tbl td[dir="ltr"] { font-family: "Couponji Code", monospace; font-weight: 700; text-align: end; }
.tbl tbody tr:last-child > * { border-bottom: 0; }
.rate { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: 22px; text-align: center; }
.rate h2 { font-size: 1.125rem; font-weight: 800; }
.rate-sub { color: var(--muted); margin-top: 4px; }
.stars { display: inline-flex; flex-direction: row-reverse; gap: 4px; margin-top: 12px; }
.stars button { background: none; border: 0; padding: 0; font-size: 2rem; line-height: 1; min-width: 44px; min-height: 44px; color: var(--line-strong, #c9d6c3); cursor: pointer; }
.stars button:hover, .stars button:hover ~ button, .stars button.on, .stars button.on ~ button { color: var(--sun); }
.side-list { padding-inline-start: 1.1em; display: grid; gap: 6px; color: var(--muted); }
.side-report .btn { width: 100%; }

/* ---------- Blog page ---------- */
.feat-wrap { margin-top: 20px; }
.feat { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: clamp(18px, 3vw, 36px); align-items: center; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: clamp(14px, 2vw, 22px); transition: box-shadow .2s; }
.feat:hover { box-shadow: var(--shadow-2, 0 8px 24px rgba(16, 38, 12, .08)); }
.feat-cover { margin-bottom: 0; }
.feat-body { display: grid; gap: 10px; }
.feat h2 { font-size: clamp(1.35rem, 1.05rem + 1vw, 1.9rem); line-height: 1.45; font-weight: 800; text-wrap: balance; }
.feat:hover h2 { color: var(--forest); }
.feat p { color: var(--muted); }
.feat-more { color: var(--forest); font-weight: 800; display: inline-flex; align-items: center; gap: 8px; }
.post-cover-i { background: var(--tint, #eef5ea); color: var(--forest); }
.cover-icon { width: 22%; height: auto; aspect-ratio: 1; stroke-width: 1.4; }
.blog-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px 20px; margin-top: 28px; }
.blog-grid li[hidden], .feat-wrap[hidden] { display: none; }
.post-ex { color: var(--muted); font-size: .9375rem; line-height: 1.7; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pager { display: flex; justify-content: center; margin-top: 36px; }
@media (max-width: 900px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } .feat { grid-template-columns: 1fr; } }
@media (max-width: 640px) { .blog-grid { grid-template-columns: 1fr; gap: 24px; } }

/* ---------- Article page ---------- */
.post-cat { display: inline-block; margin-bottom: 10px; padding: 3px 12px; border-radius: var(--pill); background: rgba(255, 255, 255, .16); font-size: .8125rem; font-weight: 800; }
.post-h1 { font-size: clamp(1.6rem, 1.1rem + 2vw, 2.5rem); line-height: 1.4; font-weight: 800; max-width: 26em; text-wrap: balance; }
.post-by { display: flex; flex-wrap: wrap; gap: 4px 18px; list-style: none; margin-top: 12px; color: var(--hero-mist, #d9ead3); font-size: .9375rem; }
.post-by b { color: #fff; }
.article-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 40px; align-items: start; padding-top: var(--section); }
.article { max-width: 46rem; }
.article > * + * { margin-top: 16px; }
.article .lead { font-size: 1.1875rem; line-height: 1.9; }
.article h2 { font-size: clamp(1.3rem, 1.1rem + .8vw, 1.65rem); font-weight: 800; line-height: 1.45; margin-top: 40px; scroll-margin-top: 90px; }
.article h3 { font-size: 1.125rem; font-weight: 800; margin-top: 24px; }
.article p, .article li { line-height: 1.95; }
.article ul, .article ol { padding-inline-start: 1.4em; display: grid; gap: 6px; }
.article ul { list-style: disc; }
.article ol { list-style: decimal; }
.article li::marker { color: var(--forest); font-weight: 800; }
.article .note { background: var(--tint, #eef5ea); border: 1px solid var(--line); padding: 12px 16px; border-radius: var(--r-s, 10px); }
.keybox { background: var(--tint, #eef5ea); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: 18px 22px; }
.keybox-t { font-weight: 800; margin-bottom: 8px; color: var(--forest-deep); }
.callout { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 14px; align-items: center; background: var(--surface); border: 2px dashed var(--forest); border-radius: var(--r-m, 14px); padding: 14px 18px; }
.callout p { margin: 0; line-height: 1.7; }
.callout-logo { width: 64px; height: 40px; display: grid; place-items: center; }
.callout-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.article .tbl-wrap { margin-top: 12px; }
.art-faq { margin-top: 40px; }
.art-faq h2 { margin-top: 0; }
.author-box { display: flex; gap: 16px; align-items: flex-start; margin-top: 40px; padding: 20px; border: 1px solid var(--line); border-radius: var(--r-m, 14px); background: var(--surface); }
.author-av { flex: none; width: 52px; height: 52px; border-radius: 50%; background: var(--tint, #eef5ea); color: var(--forest); display: grid; place-items: center; }
.author-n { font-weight: 800; }
.author-box p { color: var(--muted); }
.author-box .author-n { color: var(--ink); }
.article-side { top: 84px; }
.toc ol { list-style: none; display: grid; gap: 2px; counter-reset: t; }
.toc li { counter-increment: t; }
.toc a { display: flex; gap: 8px; padding: 6px 4px; border-radius: 6px; font-size: .9375rem; }
.toc a::before { content: counter(t) "."; color: var(--forest); font-weight: 800; }
.toc a:hover { color: var(--forest); background: var(--tint, #eef5ea); }
.side-coupon { text-align: center; justify-items: center; }
.side-coupon-logo { width: 96px; height: 56px; display: grid; place-items: center; }
.side-coupon-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.side-coupon-t { font-size: 1.25rem; }
.side-coupon-s { color: var(--muted); margin-top: -8px; }
.side-stores { list-style: none; display: grid; grid-template-columns: repeat(2, 1fr); gap: 8px; }
.side-stores a { display: grid; justify-items: center; gap: 4px; padding: 8px; border: 1px solid var(--line); border-radius: var(--r-s, 10px); font-size: .8125rem; font-weight: 700; }
.side-stores a:hover { border-color: var(--forest); }
.side-stores img { width: 72px; height: 44px; object-fit: contain; }
@media (max-width: 900px) {
  .article-layout { grid-template-columns: minmax(0, 1fr); }
  .article-side { position: static; order: -1; }
  .article-side .toc, .article-side .side-card:nth-child(n+3) { display: none; }
}
@media (max-width: 640px) { .callout { grid-template-columns: auto 1fr; } .callout .reveal, .callout .btn { grid-column: 1 / -1; } }
.article, .article-layout > * { min-width: 0; }

/* ---------- Suggested coupons ---------- */
.sg-grid { list-style: none; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.sg { display: grid; gap: 14px; align-content: start; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-m, 14px); padding: 20px; transition: box-shadow .2s, transform .2s; }
.sg:hover { box-shadow: var(--shadow-2, 0 8px 24px rgba(16, 38, 12, .08)); transform: translateY(-2px); }
.sg-head { display: grid; grid-template-columns: auto minmax(0, 1fr) auto; gap: 12px; align-items: center; }
.sg-logo { width: 64px; height: 44px; display: grid; place-items: center; border: 1px solid var(--line); border-radius: var(--r-s, 10px); padding: 4px; overflow: hidden; }
.sg-logo img { max-width: 100%; max-height: 100%; object-fit: contain; }
.sg-id h3 { font-size: 1.0625rem; font-weight: 800; line-height: 1.4; }
.sg-dom { font-size: .8125rem; color: var(--muted); text-align: end; }
.sg-badges { display: grid; gap: 6px; justify-items: end; }
.badge-pct { background: var(--tint, #eef5ea); color: var(--forest-deep); }
.sg-desc { color: var(--muted); line-height: 1.8; min-height: 3.6em; }
.sg-meta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 12px; font-size: .8125rem; color: var(--muted); }
.sg .reveal, .sg .btn-deal { width: 100%; }
@media (max-width: 900px) { .sg-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 640px) { .sg-grid { grid-template-columns: 1fr; } }

/* Suggested coupons, inline in article body: grid on desktop, list on mobile */
.sg-inline { margin-top: 40px; }
.sg-inline h2 { margin-top: 0; }
.article .sg-grid { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px; margin-top: 14px; }
.article .sg-grid > li { list-style: none; }
.article .sg { padding: 14px; gap: 10px; }
.article .sg-head { grid-template-columns: auto minmax(0, 1fr); gap: 10px; }
.article .sg-badges { grid-column: 1 / -1; display: flex; flex-wrap: wrap; justify-content: flex-start; gap: 6px; }
.article .sg-id h3 { font-size: 1rem; }
.article .sg-dom { text-align: start; overflow-wrap: anywhere; }
.article .sg-desc { min-height: 0; line-height: 1.7; font-size: .9375rem; }
.article .sg p, .article .sg li { line-height: 1.7; }
.article .sg-meta { flex-direction: column; gap: 2px; }
@media (max-width: 640px) {
  .article .sg-grid { grid-template-columns: minmax(0, 1fr); }
  .article .sg-head { grid-template-columns: auto minmax(0, 1fr) auto; }
  .article .sg-badges { grid-column: auto; display: grid; justify-content: end; }
  .article .sg-meta { flex-direction: row; justify-content: space-between; }
}

/* Article featured image */
.post-feature { margin: 0; }
.post-feature .feat-img { margin: 0; aspect-ratio: 16 / 9; border-radius: var(--r-m, 14px); display: grid; place-items: center; }
.post-feature img { width: 34%; max-width: 280px; }
@media (max-width: 640px) { .post-feature img { width: 52%; } }
