/* ==========================================================================
   CouponRoach — Roach Purple design system
   Tokens match the CouponRoach design system. Everything is scoped to
   body.cr-theme so Clipper's own pages (dashboard, submit, login) still work.
   ========================================================================== */

:root {
	--cr-surface-100: #FFFFFF;
	--cr-surface-200: #F5F4F0;
	--cr-surface-300: #ECEAE4;
	--cr-line: #E2E0DA;
	--cr-line-strong: #8A8A90;
	--cr-ink: #0B0B0C;
	--cr-ink-2: #26262B;
	--cr-ink-muted: #5B5B60;
	--cr-brand: #6D28D9;
	--cr-brand-strong: #5B21B6;
	--cr-brand-deep: #4C1D95;
	--cr-brand-tint: #F1EBFD;
	--cr-on-brand: #FFFFFF;
	--cr-deal: #FFC83D;
	--cr-deal-tint: #FFF4D6;
	--cr-deal-wash: #FFFBF0;
	--cr-verified: #157F3F;
	--cr-expired: #B42318;
	--cr-focus: #5B21B6;

	--cr-sans: "Plus Jakarta Sans", system-ui, -apple-system, "Segoe UI", sans-serif;
	--cr-mono: "JetBrains Mono", ui-monospace, "SFMono-Regular", Menlo, monospace;

	--cr-s1: 4px; --cr-s2: 8px; --cr-s3: 12px; --cr-s4: 16px; --cr-s6: 24px; --cr-s8: 32px; --cr-s12: 48px; --cr-s16: 64px;
	--cr-r-sm: 6px; --cr-r-md: 12px; --cr-r-lg: 20px; --cr-r-pill: 999px;
	--cr-shadow-pop: 0 8px 24px rgba(11, 11, 12, .12);
	--cr-max: 1600px; /* Wide layout: uses the full screen on large monitors. */
}

/* ---------- Base ---------- */
body.cr-theme {
	margin: 0;
	background: var(--cr-surface-100);
	color: var(--cr-ink);
	font-family: var(--cr-sans);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
}
.cr-theme #wrapper { background: transparent; }
.cr-theme *, .cr-theme *::before, .cr-theme *::after { box-sizing: border-box; }
.cr-theme a { color: var(--cr-brand-strong); }
.cr-theme a:hover { color: var(--cr-brand-deep); }
.cr-theme h1, .cr-theme h2, .cr-theme h3, .cr-theme h4 { font-family: var(--cr-sans); color: var(--cr-ink); }
.cr-theme img { max-width: 100%; height: auto; }
.cr-theme :focus-visible { outline: 2px solid var(--cr-focus); outline-offset: 2px; }
.cr-theme [hidden] { display: none !important; }
.cr-theme .screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.cr-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; z-index: 1000; background: #fff; padding: 8px 12px; border-radius: 8px; }

.cr-wrap { max-width: var(--cr-max); margin: 0 auto; padding: 0 40px; }
.cr-wrap--narrow { max-width: 820px; }
.cr-wrap--article { max-width: 1136px; }
.cr-article__head > *, .cr-article__hero > * { max-width: 760px; }
.cr-muted { color: var(--cr-ink-muted); }
.cr-main { min-height: 50vh; }

.cr-h1 { margin: 0; font-size: 40px; line-height: 44px; font-weight: 800; letter-spacing: -.8px; }
.cr-h2 { margin: 0; font-size: 28px; line-height: 34px; font-weight: 800; letter-spacing: -.3px; }
.cr-h3 { margin: 0 0 12px; font-size: 20px; line-height: 26px; font-weight: 800; }
.cr-lede { color: var(--cr-ink-muted); font-size: 17px; line-height: 26px; max-width: 680px; }
.cr-lede p { margin: 0; }
.cr-link { font-weight: 700; text-decoration: none; }
.cr-icon { flex: 0 0 auto; vertical-align: middle; }

/* ---------- Buttons, pills, badges ---------- */
.cr-btn {
	display: inline-flex; align-items: center; justify-content: center; gap: 8px;
	min-height: 48px; padding: 0 22px; border: 0; border-radius: var(--cr-r-md);
	background: var(--cr-brand); color: var(--cr-on-brand) !important;
	font: 700 15px/1 var(--cr-sans); text-decoration: none; cursor: pointer;
	transition: background-color .15s ease;
}
.cr-btn:hover { background: var(--cr-brand-strong); }
.cr-btn--block { display: flex; width: 100%; }
.cr-btn--sm { min-height: 36px; padding: 0 14px; font-size: 13px; }
.cr-btn--soft { background: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }
.cr-btn--soft:hover { background: #E4D9FB; }
.cr-btn--outline { background: #fff; color: var(--cr-brand-strong) !important; border: 1px solid var(--cr-brand); }
.cr-btn--outline:hover { background: var(--cr-brand-tint); }

.cr-pill { display: inline-flex; align-items: center; padding: 6px 12px; border-radius: var(--cr-r-pill); font-size: 13px; font-weight: 700; }
.cr-pill--deal { background: var(--cr-deal); color: var(--cr-ink); }
.cr-badge { display: inline-block; background: var(--cr-deal); color: var(--cr-ink); border-radius: 8px; padding: 6px 10px; font-weight: 800; font-size: 13px; line-height: 1; white-space: nowrap; }
.cr-ok { display: inline-flex; align-items: center; gap: 4px; color: var(--cr-verified); font-weight: 700; font-size: 13px; }

.cr-chip {
	flex: 0 0 auto; display: inline-flex; align-items: center; min-height: 36px; padding: 0 14px;
	border-radius: var(--cr-r-pill); background: rgba(255,255,255,.14); color: #fff !important;
	text-decoration: none; font-size: 14px; font-weight: 600;
}
.cr-chip:hover { background: rgba(255,255,255,.24); }

/* Store logo tiles */
.cr-logo-tile {
	flex: 0 0 auto; display: inline-flex; align-items: center; justify-content: center; overflow: hidden;
	background: var(--cr-brand-tint); color: var(--cr-brand-strong); font-weight: 800; border-radius: var(--cr-r-md);
}
.cr-logo-tile.has-img { background: #fff; border: 1px solid var(--cr-line); padding: 6px; }
.cr-logo-tile img { width: 100%; height: 100%; object-fit: contain; }
.cr-logo-tile--sm { width: 36px; height: 36px; font-size: 13px; border-radius: 8px; }
.cr-logo-tile--md { width: 56px; height: 56px; font-size: 18px; }
.cr-logo-tile--lg { width: 112px; height: 112px; font-size: 32px; border-radius: var(--cr-r-lg); background: #fff; border: 1px solid var(--cr-line); }

/* ---------- Search ---------- */
.cr-search { display: flex; align-items: center; background: #fff; border-radius: var(--cr-r-pill); padding: 4px; margin: 0; }
.cr-search input[type="search"] {
	flex: 1; min-width: 0; height: 40px; margin: 0; border: 0; box-shadow: none; background: transparent;
	padding: 0 16px; font: 500 15px var(--cr-sans); color: var(--cr-ink);
}
.cr-search input[type="search"]:focus { outline: none; box-shadow: none; }
.cr-search:focus-within { box-shadow: 0 0 0 2px var(--cr-deal); }
.cr-search button {
	width: 40px; height: 40px; flex: 0 0 40px; border: 0; border-radius: var(--cr-r-pill); margin: 0;
	background: var(--cr-brand); color: #fff; display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.cr-search--hero { border-radius: var(--cr-r-lg); padding: 8px; max-width: 560px; }
.cr-search--hero input[type="search"] { height: 48px; font-size: 16px; }
.cr-search--hero button { width: 48px; height: 48px; flex-basis: 48px; border-radius: var(--cr-r-md); background: var(--cr-deal); color: var(--cr-ink); }
.cr-search--page { border: 1px solid var(--cr-line-strong); max-width: 560px; margin-top: 16px; }

/* ---------- Header ---------- */
.cr-header { background: var(--cr-brand); color: #fff; position: relative; z-index: 50; }
.cr-header__bar { display: flex; flex-wrap: wrap; align-items: center; gap: 16px 32px; padding-top: 14px; padding-bottom: 14px; }
.cr-brand { display: flex; align-items: center; gap: 10px; text-decoration: none; color: #fff !important; }
.cr-brand__mark { width: 34px; height: 35px; }
.cr-brand__name { font-size: 22px; font-weight: 800; letter-spacing: -.3px; }
.cr-brand__custom { max-height: 44px; width: auto; }
.cr-header__search { flex: 1 1 280px; max-width: 460px; }
.cr-nav { margin-left: auto; }
.cr-theme .cr-nav ul, .cr-theme .cr-nav li, .cr-theme .cr-nav a { background: transparent !important; box-shadow: none !important; border-radius: 0 !important; }
.cr-theme .cr-nav li { margin: 0 !important; padding: 0 !important; border: 0 !important; float: none !important; }
.cr-theme .cr-nav li::before, .cr-theme .cr-nav li::after { display: none !important; }
.cr-nav__list, .cr-nav ul { display: flex; flex-wrap: wrap; gap: 4px 24px; list-style: none; margin: 0; padding: 0; }
.cr-nav a { display: block; padding: 10px 4px; color: #fff !important; text-decoration: none; font-weight: 600; font-size: 15px; border-bottom: 2px solid transparent; }
.cr-nav a:hover { color: var(--cr-deal-tint) !important; }
.cr-nav .current-menu-item:not(.menu-item-type-custom) > a, .cr-nav .current_page_item > a { border-bottom-color: var(--cr-deal); }
.cr-header__icon { display: none; width: 44px; height: 44px; border: 0; background: transparent; color: #fff; border-radius: 10px; align-items: center; justify-content: center; cursor: pointer; padding: 0; margin: 0; }
.cr-header__icon:hover { background: rgba(255,255,255,.12); }

/* ---------- Page head, layout ---------- */
.cr-pagehead { background: var(--cr-surface-200); border-bottom: 1px solid var(--cr-line); padding: 24px 0 32px; }
.cr-pagehead .cr-wrap { display: flex; flex-direction: column; gap: 16px; }
.cr-crumbs { font-size: 14px; color: var(--cr-ink-muted); display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-crumbs a { color: var(--cr-brand-strong); text-decoration: none; }
.cr-crumbs p { margin: 0; display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.cr-crumbs .rank-math-breadcrumb { display: contents; }
.cr-crumbs .last { color: var(--cr-ink-muted); }
.cr-crumbs .separator { color: var(--cr-line-strong); margin: 0 4px; }

.cr-layout { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 32px; padding-bottom: 64px; }
.cr-layout__main { flex: 999 1 600px; min-width: 0; }
.cr-layout__side { flex: 1 1 280px; display: flex; flex-direction: column; gap: 20px; }
.cr-layout--single .cr-layout__main { flex-basis: 100%; }
/* Store pages: products and coupons use the full width. */
.cr-layout--store .cr-layout__main { flex: 1 1 100%; }

.cr-section { padding-top: 56px; }
.cr-section:last-child { padding-bottom: 64px; }
.cr-section--tight { padding-top: 32px; }
.cr-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 12px; margin-bottom: 24px; }

.cr-card { border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); padding: 20px; background: #fff; }
.cr-card--list { padding: 12px; }
.cr-card__title { margin: 0 0 8px; font-size: 17px; font-weight: 800; }
.cr-card--list .cr-card__title { margin: 8px 8px 6px; }
.cr-card p { font-size: 14px; line-height: 22px; margin: 0 0 8px; }
.cr-facts { display: grid; grid-template-columns: auto 1fr; gap: 6px 12px; font-size: 14px; margin: 8px 0 0; }
.cr-facts dt { color: var(--cr-ink-muted); }
.cr-facts dd { margin: 0; }

.cr-storelist, .cr-linklist { list-style: none; margin: 0; padding: 0; }
.cr-storelist a { display: flex; align-items: center; gap: 12px; padding: 8px; border-radius: 10px; color: var(--cr-ink) !important; text-decoration: none; font-weight: 600; }
.cr-storelist a:hover, .cr-linklist a:hover { background: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }
.cr-linklist a { display: flex; justify-content: space-between; align-items: center; padding: 10px 12px; border-radius: 8px; color: var(--cr-ink) !important; text-decoration: none; font-size: 15px; font-weight: 500; }

.cr-empty { padding: 40px; border: 2px dashed var(--cr-line); border-radius: var(--cr-r-lg); text-align: center; color: var(--cr-ink-muted); }
.cr-note { margin: 0; font-size: 13px; line-height: 20px; color: var(--cr-ink-muted); background: var(--cr-surface-200); border-radius: 8px; padding: 10px 14px; }

/* ---------- Home ---------- */
.cr-hero { background: var(--cr-brand); color: #fff; padding: 48px 0 72px; }
.cr-hero__inner { display: flex; flex-wrap: wrap; align-items: center; gap: 48px; }
.cr-hero__text { flex: 1 1 520px; min-width: 0; display: flex; flex-direction: column; gap: 20px; align-items: flex-start; }
.cr-hero__title { margin: 0; color: #fff !important; font-size: 56px; line-height: 60px; font-weight: 800; letter-spacing: -1.2px; }
.cr-hero__lede { margin: 0; font-size: 18px; line-height: 28px; color: #EDE5FC; max-width: 520px; }
.cr-hero__text .cr-search { width: 100%; }
.cr-hero__chips { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: #EDE5FC; }

.cr-ticket { flex: 0 1 380px; min-width: 280px; margin: 0 auto; background: #fff; color: var(--cr-ink); border-radius: var(--cr-r-lg); padding: 24px; display: flex; flex-direction: column; gap: 18px; }
.cr-ticket__head { display: flex; align-items: center; gap: 12px; }
.cr-ticket__store { font-size: 13px; color: var(--cr-ink-muted); font-weight: 600; }
.cr-ticket__title { font-size: 19px; font-weight: 800; line-height: 25px; }
.cr-ticket__perf { position: relative; height: 0; border-top: 2px dashed var(--cr-line); margin: 0 -24px; }
.cr-ticket__perf::before, .cr-ticket__perf::after { content: ""; position: absolute; top: -13px; width: 24px; height: 24px; border-radius: 50%; background: var(--cr-brand); }
.cr-ticket__perf::before { left: -12px; }
.cr-ticket__perf::after { right: -12px; }
.cr-ticket__row { display: flex; align-items: center; justify-content: space-between; gap: 12px; }

.cr-trust { border-bottom: 1px solid var(--cr-line); }
.cr-trust__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; padding-top: 24px; padding-bottom: 24px; }
.cr-trust__item { display: flex; gap: 12px; align-items: center; }
.cr-trust__item strong { display: block; }
.cr-trust__item span:last-child { font-size: 14px; color: var(--cr-ink-muted); }
.cr-trust__icon { width: 40px; height: 40px; flex: 0 0 40px; border-radius: var(--cr-r-md); background: var(--cr-brand-tint); color: var(--cr-brand-strong); display: flex; align-items: center; justify-content: center; }

.cr-storegrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.cr-storetile { display: flex; flex-direction: column; align-items: center; gap: 10px; padding: 20px 12px; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); background: #fff; color: var(--cr-ink) !important; text-decoration: none; text-align: center; transition: border-color .15s; }
.cr-storetile:hover { border-color: var(--cr-brand); }
.cr-storetile__name { font-weight: 700; }
.cr-storetile__count { font-size: 13px; color: var(--cr-ink-muted); }
.cr-storetile--flat { border: 0; padding: 4px; }

.cr-minigrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(340px, 1fr)); gap: 16px; }
.cr-mini { display: flex; align-items: center; gap: 12px; padding: 16px; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); color: var(--cr-ink) !important; text-decoration: none; }
.cr-mini:hover { border-color: var(--cr-brand); }
.cr-mini__body { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.cr-mini__store { font-size: 12px; color: var(--cr-ink-muted); font-weight: 600; }
.cr-mini__title { font-weight: 700; line-height: 21px; }

.cr-pills { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 24px; }
.cr-catpill { display: inline-flex; align-items: center; min-height: 44px; padding: 0 18px; border-radius: var(--cr-r-pill); border: 1px solid var(--cr-line); background: #fff; color: var(--cr-ink) !important; text-decoration: none; font-weight: 600; font-size: 15px; }
.cr-catpill:hover { background: var(--cr-brand-tint); border-color: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }

.cr-how { background: var(--cr-surface-200); border-radius: var(--cr-r-lg); padding: 40px; }
.cr-how__steps { list-style: none; margin: 28px 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 28px; }
.cr-how__steps h3 { margin: 10px 0 6px; font-size: 20px; }
.cr-how__steps p { margin: 0; color: var(--cr-ink-muted); }
.cr-how__n { width: 44px; height: 44px; border-radius: 50%; background: var(--cr-brand); color: #fff; font-weight: 800; font-size: 18px; display: flex; align-items: center; justify-content: center; }
.cr-how__n--deal { background: var(--cr-deal); color: var(--cr-ink); }

.cr-newsletter { background: var(--cr-deal-tint); border-radius: var(--cr-r-lg); padding: 36px 40px; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 24px; }
.cr-newsletter__text { flex: 1 1 360px; }
.cr-newsletter__text p { margin: 8px 0 0; }
.cr-newsletter__form { flex: 1 1 380px; }

/* ---------- Store page ---------- */
.cr-storehead { display: flex; flex-wrap: wrap; align-items: center; gap: 24px; }
.cr-storehead__text { flex: 1 1 480px; min-width: 0; display: flex; flex-direction: column; gap: 10px; }
.cr-storehead__facts { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 6px 20px; font-size: 14px; color: var(--cr-ink-muted); }
.cr-storehead__facts strong { color: var(--cr-ink); }
.cr-storehead__facts .is-ok { color: var(--cr-verified); font-weight: 700; display: inline-flex; align-items: center; gap: 4px; }

.cr-tabs { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.cr-tab { min-height: 44px; padding: 0 18px; border-radius: var(--cr-r-pill); border: 1px solid var(--cr-line); background: #fff; color: var(--cr-ink) !important; font: 700 14px var(--cr-sans); cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; margin: 0; }
.cr-tab:hover { border-color: var(--cr-brand); }
.cr-tab.is-active { background: var(--cr-brand); border-color: var(--cr-brand); color: #fff !important; }
.cr-tabs--links { margin: 0; }

.cr-offers__title { margin: 0 0 12px; }
.cr-offers { display: flex; flex-direction: column; gap: 16px; }
.cr-offer {
	position: relative; display: grid; grid-template-columns: 96px minmax(0, 1fr) 240px; gap: 20px; align-items: center;
	padding: 20px; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); background: #fff; scroll-margin-top: 96px;
}
.cr-offer.is-top { border-color: var(--cr-brand); background: var(--cr-deal-wash); margin-top: 8px; }
.cr-offer.is-target { box-shadow: 0 0 0 3px var(--cr-deal); }
.cr-offer__flag { position: absolute; top: -11px; left: 20px; background: var(--cr-brand); color: #fff; font-size: 12px; font-weight: 700; padding: 3px 10px; border-radius: var(--cr-r-pill); }
.cr-offer__badge { min-height: 88px; border-radius: var(--cr-r-md); background: var(--cr-deal); color: var(--cr-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; line-height: 1; padding: 8px 4px; }
.cr-offer__big { font-size: 24px; font-weight: 800; letter-spacing: -.5px; word-break: break-word; }
.cr-offer__small { font-size: 11px; font-weight: 800; letter-spacing: .5px; margin-top: 4px; }
.cr-offer__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.cr-offer__kind { font-size: 12px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--cr-brand-strong); }
.cr-offer__store { color: var(--cr-ink) !important; text-decoration: none; }
.cr-offer__title { margin: 0; font-size: 19px; line-height: 25px; font-weight: 700; }
.cr-offer__title a { color: var(--cr-ink) !important; text-decoration: none; }
.cr-offer__title a:hover { color: var(--cr-brand-strong) !important; }
.cr-offer__desc { margin: 0; font-size: 14px; line-height: 21px; color: var(--cr-ink-muted); }
.cr-offer__meta { display: flex; flex-wrap: wrap; gap: 4px 16px; font-size: 13px; color: var(--cr-ink-muted); }
.cr-offer__meta:empty { display: none; }
.cr-offer__ok { display: inline-flex; align-items: center; gap: 4px; color: var(--cr-verified); font-weight: 700; }
.cr-offer__action { display: flex; flex-direction: column; gap: 8px; }
.cr-offer__hint { margin: 0; font-size: 12px; color: var(--cr-ink-muted); display: none; }
.cr-offer.is-used .cr-offer__hint { display: block; }

.cr-code { position: relative; height: 48px; border: 2px dashed var(--cr-line-strong); border-radius: var(--cr-r-md); background: var(--cr-deal-tint); }
.cr-code__btn { position: absolute; left: -2px; top: -2px; bottom: -2px; right: 52px; display: flex; align-items: center; justify-content: center; border-radius: var(--cr-r-md) 4px 4px var(--cr-r-md); background: var(--cr-brand); color: #fff !important; font-weight: 700; font-size: 15px; text-decoration: none; }
.cr-code__btn:hover { background: var(--cr-brand-strong); }
.cr-code__tail { position: absolute; right: 12px; top: 0; bottom: 0; display: flex; align-items: center; font: 700 16px var(--cr-mono); }
.cr-code__open { display: none; height: 100%; align-items: center; justify-content: space-between; gap: 8px; padding: 0 6px 0 14px; }
.cr-code__value { font: 700 18px var(--cr-mono); letter-spacing: 1px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cr-code.is-open { border-color: var(--cr-brand); }
.cr-code.is-open .cr-code__btn, .cr-code.is-open .cr-code__tail { display: none; }
.cr-code.is-open .cr-code__open { display: flex; }

.cr-vote { display: none; align-items: center; flex-wrap: wrap; gap: 8px; font-size: 13px; color: var(--cr-ink-muted); }
.cr-offer.is-used .cr-vote { display: flex; }
.cr-vote.is-done { color: var(--cr-verified); font-weight: 700; }
.cr-vote__btn { display: inline-flex; align-items: center; gap: 4px; min-height: 36px; padding: 0 12px; border-radius: 8px; border: 1px solid var(--cr-line-strong); background: #fff; color: var(--cr-ink); font: 600 13px var(--cr-sans); cursor: pointer; margin: 0; }
.cr-vote__btn:hover { border-color: var(--cr-brand); color: var(--cr-brand-strong); }

.cr-more { margin-top: 16px; }
.cr-more.is-loading { opacity: .6; pointer-events: none; }
.cr-pagination { margin-top: 24px; }
.cr-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.cr-pagination .page-numbers { min-width: 44px; height: 44px; padding: 0 12px; border-radius: 10px; border: 1px solid var(--cr-line); display: inline-flex; align-items: center; justify-content: center; font-weight: 700; text-decoration: none; color: var(--cr-ink); }
.cr-pagination .page-numbers.current { background: var(--cr-brand); border-color: var(--cr-brand); color: #fff; }

.cr-expired { margin-top: 40px; display: flex; flex-direction: column; gap: 10px; }
.cr-expired p { margin: 0 0 4px; font-size: 14px; }
.cr-expired__row { display: flex; align-items: center; gap: 16px; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); padding: 14px 20px; background: var(--cr-surface-200); color: var(--cr-ink-muted); }
.cr-expired__badge { font-weight: 800; min-width: 80px; }
.cr-expired__title { flex: 1; }
.cr-expired__date { font-size: 13px; color: var(--cr-expired); font-weight: 700; white-space: nowrap; }
.cr-store-about { margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cr-line); }

/* ---------- All stores ---------- */
.cr-filter { display: flex; align-items: center; gap: 8px; max-width: 520px; background: #fff; border: 1px solid var(--cr-line-strong); border-radius: var(--cr-r-pill); padding: 0 6px 0 18px; color: var(--cr-ink-muted); }
.cr-filter input { flex: 1; min-width: 0; height: 46px; margin: 0; border: 0; box-shadow: none; background: transparent; font: 500 16px var(--cr-sans); color: var(--cr-ink); }
.cr-filter input:focus { outline: none; box-shadow: none; }
.cr-filter:focus-within { box-shadow: 0 0 0 2px var(--cr-brand); }
.cr-az { display: flex; flex-wrap: wrap; gap: 6px; }
.cr-az a, .cr-az span { min-width: 40px; height: 40px; padding: 0 6px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; text-decoration: none; }
.cr-az a { background: var(--cr-brand-tint); color: var(--cr-brand-strong); }
.cr-az a:hover { background: var(--cr-brand); color: #fff; }
.cr-az span { color: var(--cr-line-strong); }
.cr-azgroup { margin-bottom: 32px; scroll-margin-top: 24px; }
.cr-azgroup__letter { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; margin: 0 0 8px; border-radius: var(--cr-r-md); background: var(--cr-brand); color: #fff !important; font-size: 20px; font-weight: 800; }
.cr-azgroup__list { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 2px 12px; }
.cr-azgroup__list a { display: flex; justify-content: space-between; gap: 8px; padding: 10px 12px; border-radius: 8px; color: var(--cr-ink) !important; text-decoration: none; font-weight: 500; }
.cr-azgroup__list a:hover { background: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }
.cr-azgroup__n { color: var(--cr-ink-muted); font-size: 13px; }

/* ---------- Categories ---------- */
.cr-catgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.cr-cattile { border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); background: #fff; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.cr-cattile:hover { border-color: var(--cr-brand); }
.cr-cattile__main { display: flex; align-items: center; gap: 12px; color: var(--cr-ink) !important; text-decoration: none; }
.cr-cattile__name { display: block; font-weight: 700; font-size: 16px; }
.cr-cattile__count { display: block; font-size: 13px; color: var(--cr-ink-muted); }
.cr-cattile__kids { list-style: none; margin: 0; padding: 10px 0 0; border-top: 1px solid var(--cr-line); display: flex; flex-wrap: wrap; gap: 6px; }
.cr-cattile__kids a { display: inline-block; padding: 4px 10px; border-radius: var(--cr-r-pill); background: var(--cr-surface-200); color: var(--cr-ink-2) !important; font-size: 13px; text-decoration: none; }
.cr-cattile__kids a:hover { background: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }

/* ---------- Blog ---------- */
.cr-postgrid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.cr-post { margin: 0; }
.cr-post__link { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); overflow: hidden; color: var(--cr-ink) !important; text-decoration: none; background: #fff; }
.cr-post__link:hover { border-color: var(--cr-brand); }
.cr-post__link:hover .cr-post__title { color: var(--cr-brand-strong); }
.cr-post__thumb { display: flex; align-items: center; justify-content: center; height: 180px; overflow: hidden; }
.cr-post__thumb img { width: 100%; height: 100%; object-fit: cover; }
.cr-post__thumb span { font-size: 52px; font-weight: 800; letter-spacing: -2px; line-height: 1; }
.cr-post__thumb--tone0 { background: var(--cr-brand-tint); color: var(--cr-brand-strong); }
.cr-post__thumb--tone1 { background: var(--cr-brand); color: #fff; }
.cr-post__thumb--tone2 { background: var(--cr-deal-tint); color: var(--cr-ink); }
.cr-post__thumb--tone3 { background: var(--cr-deal); color: var(--cr-ink); }
.cr-post__body { padding: 20px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.cr-post__cat { align-self: flex-start; font-size: 12px; font-weight: 700; letter-spacing: .6px; text-transform: uppercase; color: var(--cr-brand-strong); background: var(--cr-brand-tint); padding: 4px 10px; border-radius: var(--cr-r-sm); text-decoration: none; }
.cr-post__title { font-size: 20px; line-height: 26px; font-weight: 700; }
.cr-post__excerpt { color: var(--cr-ink-muted); font-size: 15px; line-height: 23px; flex: 1; }
.cr-post__meta { font-size: 13px; color: var(--cr-ink-muted); }

.cr-feature { margin-bottom: 40px; }
.cr-feature__link { display: flex; flex-wrap: wrap; border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); overflow: hidden; color: var(--cr-ink) !important; text-decoration: none; }
.cr-feature__link:hover { border-color: var(--cr-brand); }
.cr-feature__media { flex: 1 1 420px; min-height: 300px; position: relative; background: var(--cr-brand); display: flex; align-items: flex-end; padding: 32px; overflow: hidden; }
.cr-feature__media img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.cr-feature__media .cr-pill { position: relative; }
.cr-feature__art { position: absolute; right: -40px; top: 40px; width: 300px; height: 170px; background: #fff; border-radius: var(--cr-r-lg); transform: rotate(-8deg); display: flex; align-items: center; justify-content: center; }
.cr-feature__ticket { font-size: 96px; font-weight: 800; color: var(--cr-brand-strong); }
.cr-feature__body { flex: 1 1 420px; padding: 32px; display: flex; flex-direction: column; gap: 14px; justify-content: center; }
.cr-feature__title { font-size: 32px; line-height: 38px; font-weight: 800; letter-spacing: -.5px; }
.cr-feature__excerpt { color: var(--cr-ink-muted); font-size: 16px; line-height: 25px; }

.cr-article__head { padding-top: 28px; display: flex; flex-direction: column; gap: 16px; }
.cr-article__title { margin: 0; font-size: 48px; line-height: 54px; font-weight: 800; letter-spacing: -1px; }
.cr-article__dek { margin: 0; font-size: 20px; line-height: 30px; color: var(--cr-ink-muted); }
.cr-byline { display: flex; align-items: center; gap: 12px; padding: 16px 0; border-top: 1px solid var(--cr-line); border-bottom: 1px solid var(--cr-line); font-size: 14px; }
.cr-byline__avatar { border-radius: 50%; }
.cr-byline__name { font-weight: 700; color: var(--cr-ink) !important; text-decoration: none; }
.cr-article__hero { margin-top: 24px; }
.cr-article__hero img { border-radius: var(--cr-r-md); width: 100%; }
.cr-article__layout { display: flex; flex-wrap: wrap; gap: 48px; align-items: flex-start; justify-content: flex-start; padding-top: 32px; padding-bottom: 56px; }
.cr-article__body { flex: 999 1 560px; max-width: 760px; min-width: 0; }
.cr-article__side { flex: 1 1 240px; max-width: 280px; display: flex; flex-direction: column; gap: 20px; }

.cr-toc { border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); padding: 12px; }
.cr-toc summary { font-weight: 800; font-size: 15px; padding: 6px 12px 8px; cursor: pointer; list-style: none; }
.cr-toc summary::-webkit-details-marker { display: none; }
.cr-toc ol { list-style: none; margin: 0; padding: 0; }
.cr-toc a { display: block; padding: 8px 12px; border-radius: 8px; color: var(--cr-ink-2) !important; text-decoration: none; font-size: 15px; line-height: 21px; }
.cr-toc a:hover { background: var(--cr-brand-tint); color: var(--cr-brand-strong) !important; }

.cr-prose { font-size: 18px; line-height: 30px; color: var(--cr-ink-2); }
.cr-prose > *:first-child { margin-top: 0; }
.cr-prose p, .cr-prose ul, .cr-prose ol { margin: 0 0 20px; }
.cr-prose ul, .cr-prose ol { padding-left: 22px; }
.cr-prose h2 { font-size: 28px; line-height: 34px; font-weight: 800; margin: 44px 0 12px; letter-spacing: -.4px; scroll-margin-top: 24px; }
.cr-prose h3 { font-size: 20px; line-height: 26px; font-weight: 700; margin: 28px 0 8px; }
.cr-prose a { text-decoration: underline; text-underline-offset: 2px; }
.cr-prose table { width: 100%; border-collapse: collapse; display: block; overflow-x: auto; margin: 0 0 24px; font-size: 16px; }
.cr-prose th, .cr-prose td { text-align: left; padding: 12px 16px; border-bottom: 1px solid var(--cr-line); }
.cr-prose th { background: var(--cr-surface-200); font-size: 13px; letter-spacing: .5px; color: var(--cr-ink-muted); }
.cr-prose blockquote { margin: 0 0 24px; padding: 16px 20px; border-radius: var(--cr-r-md); background: var(--cr-brand-tint); color: var(--cr-ink); }
.cr-prose img { border-radius: var(--cr-r-md); }
.cr-prose details { border-bottom: 1px solid var(--cr-line); padding: 16px 0; }
.cr-prose summary { cursor: pointer; font-weight: 700; }
.cr-store-about { font-size: 16px; line-height: 26px; }

.cr-tags { list-style: none; padding: 0; margin: 32px 0 0; display: flex; flex-wrap: wrap; gap: 8px; }
.cr-tags a { display: inline-block; padding: 6px 12px; border-radius: var(--cr-r-pill); border: 1px solid var(--cr-line); font-size: 14px; text-decoration: none; }
.cr-authorbox { margin-top: 40px; display: flex; gap: 16px; background: var(--cr-surface-200); border-radius: var(--cr-r-lg); padding: 24px; font-size: 15px; line-height: 24px; }
.cr-authorbox__avatar { border-radius: 50%; flex: 0 0 auto; }
.cr-authorbox__name { font-weight: 800; font-size: 17px; }
.cr-authorbox__name a { color: var(--cr-ink) !important; text-decoration: none; }
.cr-authorbox p { margin: 4px 0 0; color: var(--cr-ink-muted); }

.cr-404 { text-align: center; display: flex; flex-direction: column; align-items: center; gap: 16px; padding-bottom: 64px; }
.cr-404__code { margin: 0; font-size: 96px; font-weight: 800; color: var(--cr-brand); line-height: 1; }
.cr-404 .cr-search { width: 100%; }

/* ---------- Footer ---------- */
.cr-footer { background: var(--cr-brand-strong); color: #fff; padding: 56px 0 32px; margin-top: 0; }
.cr-footer__grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; }
.cr-footer__brand p { margin: 12px 0 0; font-size: 14px; line-height: 22px; color: #E9E1FB; }
.cr-footer__title { margin: 0 0 10px; font-size: 15px; font-weight: 700; color: #fff !important; }
.cr-footer ul { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.cr-footer a { color: #E9E1FB !important; text-decoration: none; font-size: 14px; }
.cr-footer a:hover { color: #fff !important; }
.cr-footer__bottom { border-top: 1px solid rgba(255,255,255,.2); margin-top: 40px; padding-top: 20px; font-size: 13px; line-height: 20px; color: #E9E1FB; }
.cr-footer__bottom p { margin: 0; }

/* ==========================================================================
   Mobile (matches the 390px designs)
   ========================================================================== */
@media (max-width: 899px) {
	.cr-wrap { padding: 0 16px; }
	.cr-h1 { font-size: 30px; line-height: 36px; letter-spacing: -.6px; }
	.cr-h2 { font-size: 22px; line-height: 28px; }

	/* Header: hamburger, logo, search icon */
	.cr-header__bar { flex-wrap: wrap; gap: 4px; padding: 8px 8px; }
	.cr-header__icon { display: flex; }
	.cr-brand { flex: 1; }
	.cr-brand__mark { width: 26px; height: 27px; }
	.cr-brand__name { font-size: 19px; }
	.cr-header__search { order: 5; flex: 1 1 100%; max-width: none; display: none; padding: 4px 4px 8px; }
	.cr-header__search.is-open { display: block; }
	.cr-nav { order: 6; flex: 1 1 100%; margin: 0 -8px -8px; display: none; background: var(--cr-brand-strong); }
	.cr-nav.is-open { display: block; }
	.cr-nav__list, .cr-nav ul { flex-direction: column; gap: 0; }
	.cr-nav a { min-height: 52px; display: flex; align-items: center; padding: 0 20px; font-size: 17px; font-weight: 700; border-top: 1px solid rgba(255,255,255,.14); border-bottom: 0; }

	.cr-pagehead { padding: 16px 0 20px; }
	.cr-pagehead .cr-wrap { gap: 12px; }

	/* Home */
	.cr-hero { padding: 20px 0 48px; }
	.cr-hero__inner { gap: 24px; }
	.cr-hero__text { flex-basis: 100%; gap: 16px; }
	.cr-hero__title { font-size: 34px; line-height: 38px; letter-spacing: -.8px; }
	.cr-hero__lede { font-size: 16px; line-height: 24px; }
	.cr-hero__chips { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; width: calc(100% + 32px); }
	.cr-hero__chips > span { display: none; }
	.cr-ticket { flex-basis: 100%; min-width: 0; padding: 18px; margin-bottom: -72px; border: 1px solid var(--cr-line); }
	.cr-ticket__perf { margin: 0 -18px; }
	.cr-trust { padding-top: 64px; }
	.cr-trust__grid { gap: 12px; }
	.cr-storegrid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
	.cr-storetile { padding: 14px 6px; gap: 8px; font-size: 13px; }
	.cr-storetile .cr-logo-tile--md { width: 44px; height: 44px; font-size: 15px; }
	.cr-storegrid--scroll { display: flex; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
	.cr-storegrid--scroll .cr-storetile { flex: 0 0 104px; }
	.cr-minigrid { grid-template-columns: 1fr; gap: 10px; }
	.cr-section { padding-top: 36px; }
	.cr-how { padding: 24px 20px; }
	.cr-newsletter { padding: 24px 20px; }

	/* Layout: sidebars drop below */
	.cr-layout { gap: 28px; padding-top: 16px; padding-bottom: 40px; }

	/* Store page */
	.cr-storehead { gap: 14px; }
	.cr-storehead .cr-logo-tile--lg { width: 64px; height: 64px; font-size: 20px; border-radius: 14px; }
	.cr-storehead__text { flex: 1 1 200px; }
	.cr-storehead .cr-h1 { font-size: 24px; line-height: 30px; letter-spacing: -.4px; }
	.cr-storehead .cr-btn--outline { width: 100%; }
	.cr-tabs { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px 12px; padding: 0 16px 4px; }
	.cr-tab { flex: 0 0 auto; }

	.cr-offer { grid-template-columns: 72px minmax(0, 1fr); gap: 12px; padding: 16px; }
	.cr-offer__badge { min-height: 68px; border-radius: 10px; }
	.cr-offer__big { font-size: 19px; }
	.cr-offer__small { font-size: 10px; }
	.cr-offer__title { font-size: 16px; line-height: 21px; }
	.cr-offer__desc { display: none; }
	.cr-offer__action { grid-column: 1 / -1; }
	.cr-offer__flag { left: 14px; font-size: 11px; }

	.cr-expired__row { flex-wrap: wrap; gap: 4px 12px; padding: 12px 14px; }
	.cr-expired__title { flex-basis: 100%; order: 3; }

	/* All stores */
	.cr-az { flex-wrap: nowrap; overflow-x: auto; margin: 0 -16px; padding: 0 16px 4px; }
	.cr-az a, .cr-az span { flex: 0 0 auto; }
	.cr-azgroup__list { grid-template-columns: 1fr; gap: 0; }
	.cr-catgrid { grid-template-columns: 1fr; gap: 10px; }
	.cr-azgroup__list a { min-height: 48px; align-items: center; border-bottom: 1px solid var(--cr-line); border-radius: 0; padding: 0 4px; }

	/* Blog */
	.cr-tabs--links { margin: 0 -16px; }
	.cr-postgrid { grid-template-columns: 1fr; gap: 0; }
	.cr-postgrid .cr-post__link { flex-direction: row; gap: 14px; border: 0; border-bottom: 1px solid var(--cr-line); border-radius: 0; padding: 16px 0; }
	.cr-postgrid .cr-post__thumb { flex: 0 0 88px; height: 88px; border-radius: var(--cr-r-md); }
	.cr-postgrid .cr-post__thumb span { font-size: 24px; letter-spacing: -1px; }
	.cr-postgrid .cr-post__body { padding: 0; gap: 4px; }
	.cr-postgrid .cr-post__cat { background: none; padding: 0; font-size: 11px; }
	.cr-postgrid .cr-post__title { font-size: 16px; line-height: 21px; }
	.cr-postgrid .cr-post__excerpt { display: none; }
	.cr-postgrid .cr-post__meta { font-size: 12px; }
	.cr-feature { margin-bottom: 12px; }
	.cr-feature__media { min-height: 180px; padding: 16px; }
	.cr-feature__art { width: 230px; height: 120px; right: -30px; top: 30px; }
	.cr-feature__ticket { font-size: 64px; }
	.cr-feature__body { padding: 16px; gap: 8px; }
	.cr-feature__title { font-size: 21px; line-height: 27px; }
	.cr-feature__excerpt { display: none; }

	.cr-article__head { padding-top: 16px; gap: 12px; }
	.cr-article__title { font-size: 30px; line-height: 36px; letter-spacing: -.6px; }
	.cr-article__dek { font-size: 17px; line-height: 26px; }
	.cr-article__layout { gap: 16px; padding-top: 8px; }
	.cr-article__side { order: -1; flex-basis: 100%; max-width: none; }
	.cr-prose { font-size: 17px; line-height: 28px; }
	.cr-prose h2 { font-size: 23px; line-height: 29px; margin-top: 36px; }
	.cr-prose h3 { font-size: 18px; line-height: 24px; }
	.cr-authorbox { padding: 18px; }

	.cr-footer { padding: 32px 0 24px; }
	.cr-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 20px; }
	.cr-footer__brand { grid-column: 1 / -1; }
	.cr-footer a { min-height: 32px; display: inline-flex; align-items: center; }
	.cr-footer__bottom { margin-top: 24px; font-size: 12px; line-height: 18px; }
}

@media (prefers-reduced-motion: reduce) {
	.cr-theme * { transition: none !important; scroll-behavior: auto !important; }
}

/* Store header: "Best offer today" bar (shown when products sit above the coupons) */
.cr-best { display: grid; grid-template-columns: 72px 1fr 240px; gap: 20px; align-items: center; margin-top: 20px; padding: 14px 16px; background: #fff; border: 2px solid var(--cr-brand); border-radius: var(--cr-r-lg, 16px); }
.cr-best__badge { height: 64px; border-radius: var(--cr-r-md); background: var(--cr-deal); color: var(--cr-ink); display: flex; flex-direction: column; align-items: center; justify-content: center; line-height: 1; text-align: center; }
.cr-best__big { font-size: 20px; font-weight: 800; letter-spacing: -.4px; }
.cr-best__small { font-size: 10px; font-weight: 800; letter-spacing: .5px; margin-top: 3px; }
.cr-best__text { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.cr-best__label { font-size: 12px; font-weight: 800; letter-spacing: .4px; text-transform: uppercase; color: var(--cr-brand-strong); }
.cr-best__title { font-size: 17px; line-height: 23px; font-weight: 700; color: var(--cr-ink); }
@media (max-width: 899px) {
	.cr-best { grid-template-columns: 56px 1fr; gap: 12px; padding: 12px; }
	.cr-best__badge { height: 56px; }
	.cr-best__big { font-size: 17px; }
	.cr-best__title { font-size: 15px; line-height: 21px; }
	.cr-best__action { grid-column: 1 / -1; }
}

/* Comments */
.cr-comments { margin-top: 40px; }
.cr-comments__list { list-style: none; margin: 16px 0 32px; padding: 0; display: flex; flex-direction: column; gap: 16px; }
.cr-comments__list ol.children { list-style: none; margin: 16px 0 0 24px; padding: 0; }
.cr-comments__list .comment-body { border: 1px solid var(--cr-line); border-radius: var(--cr-r-md); padding: 16px; background: #fff; }
.cr-comments__list .comment-author { display: flex; align-items: center; gap: 10px; font-weight: 700; }
.cr-comments__list .comment-author img { border-radius: 50%; }
.cr-comments__list .comment-author .says { display: none; }
.cr-comments__list .comment-metadata { font-size: 13px; margin: 4px 0 8px; }
.cr-comments__list .comment-metadata a { color: var(--cr-ink-muted); text-decoration: none; }
.cr-comments__list .reply a { font-size: 14px; font-weight: 700; }
.cr-comments__form .comment-form { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px 16px; }
.cr-comments__form .comment-form > p { margin: 0; }
.cr-comments__form .comment-notes, .cr-comments__form .logged-in-as, .cr-comments__form .comment-form-comment, .cr-comments__form .comment-form-cookies-consent, .cr-comments__form .form-submit { grid-column: 1 / -1; }
.cr-comments__form label { display: block; font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.cr-comments__form input[type="text"], .cr-comments__form input[type="email"], .cr-comments__form input[type="url"], .cr-comments__form textarea { width: 100%; box-sizing: border-box; font: inherit; font-size: 16px; padding: 10px 12px; border: 1px solid var(--cr-line-strong); border-radius: var(--cr-r-md); background: #fff; color: var(--cr-ink); }
.cr-comments__form textarea { min-height: 140px; resize: vertical; }
.cr-comments__form input:focus, .cr-comments__form textarea:focus { outline: 2px solid var(--cr-focus, #5B21B6); outline-offset: 1px; border-color: transparent; }
.cr-comments__form .comment-form-cookies-consent { display: flex; gap: 8px; align-items: flex-start; font-size: 14px; }
.cr-comments__form .comment-form-cookies-consent label { font-weight: 400; margin: 0; }
.cr-comments__form .comment-notes { font-size: 14px; color: var(--cr-ink-muted); }
@media (max-width: 899px) { .cr-comments__form .comment-form { grid-template-columns: 1fr; } }

/* Store page end: description on the left, "On this page" + About + Similar stores on the right. */
.cr-store-bottom { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 56px; align-items: start; margin-top: 48px; padding-top: 32px; border-top: 1px solid var(--cr-line); }
.cr-store-bottom .cr-store-about { margin: 0; padding: 0; border: 0; font-size: 17px; line-height: 29px; }
.cr-store-bottom .cr-store-about > h2:first-child { margin-top: 0; }
.cr-store-bottom__side { display: flex; flex-direction: column; gap: 20px; position: sticky; top: 24px; }
.admin-bar .cr-store-bottom__side { top: 56px; }
.cr-store-bottom--cards { grid-template-columns: repeat(auto-fill, minmax(300px, 400px)); }
.cr-store-bottom--cards .cr-store-bottom__side { display: contents; }
.cr-store-about h2[id], .cr-store-about h3[id] { scroll-margin-top: 24px; }
@media (max-width: 1099px) {
	.cr-store-bottom { grid-template-columns: 1fr; gap: 32px; }
	.cr-store-bottom__side { position: static; }
	.cr-store-bottom .cr-toc { display: none; } /* Long jump list isn't useful at the end on small screens. */
}
