/* ==========================================================================
   JSD Cobalt — JSD-16 design system
   1. Fonts  2. Tokens (light, dark)  3. Base  4. Layout  5. Header / menu
   6. Switcher  7. Buttons, pills, labels  8. Hero + featured  9. Cards
   10. Rows, panels, stores  11. How we pick, promo, signup  12. Archives,
   single, pages  13. Footer  14. Utilities
   ========================================================================== */

/* 1. Fonts (self-hosted, OFL) -------------------------------------------- */
@font-face { font-family: "Archivo"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 800; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-800-normal.woff2") format("woff2"); }
@font-face { font-family: "Archivo"; font-weight: 900; font-style: normal; font-display: swap; src: url("../fonts/archivo-latin-900-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 400; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist"; font-weight: 700; font-style: normal; font-display: swap; src: url("../fonts/geist-latin-700-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 500; font-style: normal; font-display: swap; src: url("../fonts/geist-mono-latin-500-normal.woff2") format("woff2"); }
@font-face { font-family: "Geist Mono"; font-weight: 600; font-style: normal; font-display: swap; src: url("../fonts/geist-mono-latin-600-normal.woff2") format("woff2"); }

/* 2. Tokens --------------------------------------------------------------- */
:root {
	color-scheme: light;
	--bg: #F4F6FA;
	--surface: #FFFFFF;
	--ink: #0D1430;
	--body: #363D55;
	--muted: #545B73;
	--faint: #666D84;
	--line: #DFE3EC;
	--line-soft: #EAEDF3;
	--chip-border: #D0D5E1;
	--tile: #E8ECF6;
	--accent: #3A63FF;
	--accent-text: #2448D6;
	--on-accent: #FFFFFF;
	--band: #0D1430;
	--band-text: #FFFFFF;
	--band-muted: #C2C8DB;
	--band-accent: #8FA8FF;
	--btn: #0D1430;
	--btn-text: #FFFFFF;

	--font-display: "Archivo", "Helvetica Neue", Arial, sans-serif;
	--font-body: "Geist", system-ui, -apple-system, "Segoe UI", sans-serif;
	--font-mono: "Geist Mono", ui-monospace, SFMono-Regular, Menlo, monospace;

	--radius-card: 16px;
	--radius-btn: 10px;
	--wrap: 1280px;
	--gutter: 32px;
}

/* Dark: explicit choice, or Auto with a dark device. Keep both blocks identical. */
:root[data-theme="dark"] {
	color-scheme: dark;
	--bg: #0B1020; --surface: #121933; --ink: #EEF1FA; --body: #C3C9DD; --muted: #9AA2BB; --faint: #8B93AD;
	--line: #252D4A; --line-soft: #1C2440; --chip-border: #323B5C; --tile: #182042;
	--accent: #6F8FFF; --accent-text: #8FA8FF; --on-accent: #0B1020;
	--band: #1B2A6B; --band-text: #FFFFFF; --band-muted: #C2CBEF; --band-accent: #9FB4FF;
	--btn: #EEF1FA; --btn-text: #0B1020;
}
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) {
		color-scheme: dark;
		--bg: #0B1020; --surface: #121933; --ink: #EEF1FA; --body: #C3C9DD; --muted: #9AA2BB; --faint: #8B93AD;
		--line: #252D4A; --line-soft: #1C2440; --chip-border: #323B5C; --tile: #182042;
		--accent: #6F8FFF; --accent-text: #8FA8FF; --on-accent: #0B1020;
		--band: #1B2A6B; --band-text: #FFFFFF; --band-muted: #C2CBEF; --band-accent: #9FB4FF;
		--btn: #EEF1FA; --btn-text: #0B1020;
	}
}

/* 3. Base ----------------------------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
body {
	margin: 0;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--font-body);
	font-size: 16px;
	line-height: 1.5;
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
}
img, svg, video { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--accent-text); }
h1, h2, h3, h4 { margin: 0; color: var(--ink); }
p { margin: 0; }
ul, ol { margin: 0; padding: 0; list-style: none; }
s { text-decoration-thickness: 1px; }
:focus-visible { outline: 2px solid var(--accent); outline-offset: 2px; border-radius: 4px; }
button { font: inherit; color: inherit; }
input, select, textarea { font: inherit; color: var(--ink); }
.jsd-icon { flex-shrink: 0; display: block; }
.screen-reader-text {
	position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px;
	overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}
.jsd-skip { position: absolute; left: 16px; top: -60px; z-index: 100; background: var(--btn); color: var(--btn-text); padding: 10px 16px; border-radius: var(--radius-btn); font-weight: 700; }
.jsd-skip:focus { top: 12px; color: var(--btn-text); }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation: none !important; transition: none !important; scroll-behavior: auto !important; } }

/* 4. Layout --------------------------------------------------------------- */
.jsd-wrap { width: 100%; max-width: calc(var(--wrap) + var(--gutter) * 2); margin-inline: auto; padding-inline: var(--gutter); }
.jsd-section { padding-block: 40px; }
.jsd-section__head { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 12px; margin-bottom: 24px; }
.jsd-section__sub { margin-top: 6px; font-size: 15px; color: var(--muted); }
.jsd-h2 { font-family: var(--font-display); font-weight: 800; font-size: 36px; line-height: 1.1; letter-spacing: -0.02em; }
.jsd-h3 { font-family: var(--font-display); font-weight: 800; font-size: 26px; line-height: 1.15; letter-spacing: -0.015em; }
.jsd-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.jsd-pair { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px; }
@media (max-width: 1180px) { .jsd-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 900px) { .jsd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .jsd-pair { grid-template-columns: 1fr; gap: 16px; } }
@media (max-width: 640px) {
	:root { --gutter: 16px; }
	.jsd-section { padding-block: 28px; }
	.jsd-h2 { font-size: 26px; }
	.jsd-h3 { font-size: 22px; }
	.jsd-grid--home > :nth-child(n+7) { display: none; } /* mobile shows 6 */
}

/* 5. Header + menu -------------------------------------------------------- */
.jsd-strip { background: var(--btn); color: var(--btn-text); font-size: 13px; text-align: center; padding: 9px 16px; }
.jsd-strip a { text-decoration: underline; font-weight: 600; }
.jsd-strip a:hover { color: inherit; opacity: .85; }
.jsd-header { background: var(--surface); border-bottom: 1px solid var(--line); position: relative; z-index: 20; }
.jsd-header__inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; padding-block: 12px; }
.jsd-header__right { display: flex; align-items: center; gap: 16px 24px; }
.jsd-logo { display: block; flex-shrink: 0; line-height: 0; }
.jsd-logo img { width: 190px; height: auto; }
.jsd-logo--footer img { width: 145px; }
.jsd-logo__dark { display: none; }
:root[data-theme="dark"] .jsd-logo__light { display: none; }
:root[data-theme="dark"] .jsd-logo__dark { display: block; }
@media (prefers-color-scheme: dark) {
	:root:not([data-theme="light"]) .jsd-logo__light { display: none; }
	:root:not([data-theme="light"]) .jsd-logo__dark { display: block; }
}
.jsd-nav__list { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 26px; font-weight: 600; font-size: 15px; }
.jsd-nav__list li { display: flex; align-items: center; gap: 6px; }
.jsd-nav__list .current-menu-item > a, .jsd-nav__list a[aria-current="page"] { color: var(--accent-text); }
.jsd-soon { background: var(--accent); color: var(--on-accent); font-family: var(--font-mono); font-size: 11px; font-weight: 600; letter-spacing: .04em; text-transform: uppercase; padding: 2px 6px; border-radius: 4px; }
.jsd-iconbtn { display: none; align-items: center; justify-content: center; width: 44px; height: 44px; border: 0; background: transparent; color: var(--ink); border-radius: var(--radius-btn); cursor: pointer; }
.jsd-iconbtn:hover { background: var(--tile); color: var(--ink); }
.jsd-menu-toggle__close { display: none; }
.jsd-menu-toggle[aria-expanded="true"] .jsd-menu-toggle__open { display: none; }
.jsd-menu-toggle[aria-expanded="true"] .jsd-menu-toggle__close { display: block; }
.jsd-menu { border-top: 1px solid var(--line); background: var(--surface); padding: 8px var(--gutter) 24px; }
.jsd-menu[hidden] { display: none; }
.jsd-menu__list a { display: flex; align-items: center; min-height: 52px; font-size: 18px; font-weight: 600; border-bottom: 1px solid var(--line-soft); }
.jsd-menu__list li { display: flex; align-items: center; justify-content: space-between; }
.jsd-menu__appearance { display: flex; flex-direction: column; gap: 10px; margin-top: 20px; }
@media (max-width: 959px) {
	.jsd-nav, .jsd-switch--header { display: none; }
	.jsd-iconbtn { display: inline-flex; }
	.jsd-header__right { gap: 4px; }
	.jsd-logo--header img { width: 125px; }
	.jsd-header__inner { padding-block: 8px; }
}
@media (min-width: 960px) { .jsd-menu { display: none !important; } }

/* Dropdowns — desktop header */
.jsd-nav__list > li { position: relative; }
.jsd-subtoggle { display: inline-flex; align-items: center; gap: 4px; min-height: 40px; padding: 0 2px; border: 0; background: transparent; color: var(--ink); font-weight: 600; font-size: 15px; cursor: pointer; }
.jsd-subtoggle:hover { color: var(--accent-text); }
.jsd-chevron { transition: transform .15s ease; }
.is-open > .jsd-subtoggle .jsd-chevron { transform: rotate(180deg); }
.jsd-nav .sub-menu { position: absolute; top: calc(100% + 6px); left: -14px; z-index: 30; min-width: 230px; max-height: min(70vh, 520px); overflow-y: auto; padding: 8px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; box-shadow: 0 12px 32px rgba(13, 20, 48, .14); display: none; flex-direction: column; }
.jsd-nav .sub-menu::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.jsd-nav .sub-menu a { display: flex; align-items: center; min-height: 40px; padding: 0 12px; border-radius: 8px; font-weight: 500; font-size: 15px; white-space: nowrap; }
.jsd-nav .sub-menu a:hover, .jsd-nav .sub-menu a:focus-visible { background: var(--tile); color: var(--ink); }
.jsd-nav .sub-menu .current-menu-item > a { color: var(--accent-text); font-weight: 600; }
.jsd-nav li.is-open > .sub-menu, .jsd-nav li:focus-within > .sub-menu { display: flex; }
@media (hover: hover) and (pointer: fine) { .jsd-nav li.menu-item-has-children:hover > .sub-menu { display: flex; } }
:root[data-theme="dark"] .jsd-nav .sub-menu { box-shadow: 0 12px 32px rgba(0, 0, 0, .45); }
@media (prefers-color-scheme: dark) { :root:not([data-theme="light"]) .jsd-nav .sub-menu { box-shadow: 0 12px 32px rgba(0, 0, 0, .45); } }
/* Dropdowns — mobile menu (accordion) */
.jsd-menu__list > li { flex-wrap: wrap; }
.jsd-menu__list .jsd-subtoggle { min-height: 52px; font-size: 18px; flex: 1; justify-content: space-between; border-bottom: 1px solid var(--line-soft); padding: 0; }
.jsd-menu__list .jsd-subtoggle:not(.jsd-subtoggle--label) { flex: 0 0 52px; justify-content: center; }
.jsd-menu__list > li > a { flex: 1; }
.jsd-menu__list .sub-menu { display: none; width: 100%; padding: 4px 0 8px 16px; }
.jsd-menu__list li.is-open > .sub-menu { display: block; }
.jsd-menu__list .sub-menu a { min-height: 46px; font-size: 16px; font-weight: 500; border-bottom: 0; }

/* 6. Theme switcher ------------------------------------------------------- */
.jsd-switch { display: inline-flex; gap: 2px; padding: 3px; border: 1px solid var(--chip-border); border-radius: 999px; background: var(--bg); }
.jsd-switch__btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; min-width: 34px; height: 34px; padding: 0; border: 0; border-radius: 999px; background: transparent; color: var(--body); font-size: 13px; font-weight: 600; cursor: pointer; }
.jsd-switch--labels .jsd-switch__btn { padding: 0 14px; }
.jsd-switch__btn:hover { color: var(--ink); }
.jsd-switch__btn[aria-pressed="true"] { background: var(--btn); color: var(--btn-text); }
@media (max-width: 959px) { .jsd-switch__btn { min-width: 44px; height: 44px; } }

/* 7. Buttons, pills, labels ---------------------------------------------- */
.jsd-btn { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 46px; padding: 0 20px; border-radius: var(--radius-btn); border: 1.5px solid transparent; font-weight: 700; font-size: 15px; line-height: 1.1; cursor: pointer; text-align: center; }
.jsd-btn--solid { background: var(--btn); color: var(--btn-text); }
.jsd-btn--solid:hover { color: var(--btn-text); opacity: .9; }
.jsd-btn--accent { background: var(--accent); color: var(--on-accent); }
.jsd-btn--accent:hover { color: var(--on-accent); filter: brightness(1.08); }
.jsd-btn--outline { border-color: var(--ink); color: var(--ink); background: transparent; }
.jsd-btn--outline:hover { background: var(--ink); color: var(--surface); }
.jsd-btn--lg { min-height: 54px; font-size: 16px; padding: 0 28px; }
.jsd-btn.is-disabled { border-color: var(--line); color: var(--faint); background: transparent; cursor: default; }
.jsd-btn.is-disabled:hover { background: transparent; color: var(--faint); }
.jsd-pills { display: flex; flex-wrap: wrap; gap: 10px; }
.jsd-pill { display: inline-flex; align-items: center; min-height: 40px; padding: 0 18px; border-radius: 999px; background: var(--surface); border: 1px solid var(--chip-border); font-weight: 600; font-size: 15px; color: var(--ink); }
.jsd-pill:hover { border-color: var(--ink); color: var(--ink); }
.jsd-pill.is-active { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.jsd-pill--sm { min-height: 32px; padding: 0 12px; font-size: 14px; font-weight: 500; }
.jsd-kicker { font-family: var(--font-mono); font-size: 13px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; color: var(--muted); }
.jsd-kicker--accent { color: var(--accent-text); }
.jsd-label { font-size: 14px; font-weight: 600; }
.jsd-textlink { font-weight: 600; font-size: 15px; text-decoration: underline; text-underline-offset: 3px; }
.jsd-textlink--arrow { display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.jsd-retailer { display: inline-flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 700; letter-spacing: .05em; text-transform: uppercase; color: var(--body); }
.jsd-retailer--sm { font-size: 11px; }
.jsd-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--dot, #8A8A8A); flex-shrink: 0; }
.jsd-dot--lg { width: 10px; height: 10px; }
.jsd-pick { position: absolute; top: 14px; left: 14px; z-index: 1; display: inline-flex; align-items: center; gap: 5px; background: var(--btn); color: var(--btn-text); font-size: 12px; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; padding: 5px 9px; border-radius: 6px; }
.jsd-pick .jsd-icon { color: var(--accent); }

/* Search */
.jsd-search { display: flex; gap: 8px; max-width: 560px; }
.jsd-search input[type="search"] { flex: 1; min-width: 0; height: 52px; padding: 0 18px; font-size: 16px; border: 1.5px solid var(--ink); border-radius: var(--radius-btn); background: var(--surface); }
.jsd-search input::placeholder { color: var(--faint); }
.jsd-search .jsd-btn { min-height: 52px; }

/* 8. Hero + featured ----------------------------------------------------- */
.jsd-hero { display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr); gap: 40px; padding-block: 56px 40px; align-items: stretch; }
.jsd-hero__copy { display: flex; flex-direction: column; justify-content: center; gap: 22px; }
.jsd-hero__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(46px, 6vw, 76px); line-height: .95; letter-spacing: -0.035em; }
.jsd-hero__title span { color: var(--accent-text); }
.jsd-hero__lead { font-size: 19px; color: var(--body); max-width: 520px; }
.jsd-popular { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 14px; color: var(--muted); }
.jsd-feature { height: 100%; background: var(--band); color: var(--band-text); border-radius: 20px; padding: 22px 24px 24px; display: flex; flex-direction: column; gap: 12px; }
.jsd-feature__top { display: flex; justify-content: space-between; align-items: center; font-size: 13px; color: var(--band-muted); }
.jsd-feature .jsd-kicker { color: var(--band-muted); font-size: 12px; }
.jsd-feature__hero { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding-block: 6px; }
.jsd-feature__pct { font-family: var(--font-display); font-weight: 900; font-size: clamp(92px, 10vw, 148px); line-height: .85; letter-spacing: -0.05em; color: var(--band-accent); }
.jsd-feature__icon { opacity: .5; }
.jsd-feature__body { margin-top: auto; display: flex; flex-direction: column; gap: 12px; }
.jsd-retailer--band { color: var(--band-muted); font-size: 13px; }
.jsd-feature__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(22px, 2.2vw, 30px); line-height: 1.12; letter-spacing: -0.015em; color: var(--band-text); }
.jsd-feature__title a:hover { color: var(--band-accent); }
.jsd-feature__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.jsd-feature__now { font-family: var(--font-display); font-weight: 800; font-size: clamp(32px, 3vw, 40px); letter-spacing: -0.02em; }
.jsd-feature__was { color: var(--band-muted); font-size: 16px; }
.jsd-feature__save { color: var(--band-accent); font-weight: 700; font-size: 16px; }
.jsd-feature__note { font-size: 15px; color: var(--band-muted); }
.jsd-feature__cta { margin-top: 4px; min-height: 52px; font-size: 16px; }
.jsd-feature .jsd-btn.is-disabled { border-color: var(--band-muted); color: var(--band-muted); }
@media (max-width: 959px) {
	.jsd-hero { grid-template-columns: 1fr; gap: 24px; padding-block: 28px 20px; }
	.jsd-hero__lead { font-size: 16px; }
	.jsd-feature { border-radius: 18px; padding: 18px; }
}
.jsd-rail { padding-bottom: 8px; }
.jsd-rail .jsd-pills { padding-block: 18px; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
@media (max-width: 640px) {
	.jsd-rail { padding-inline: 0; }
	.jsd-rail .jsd-pills { flex-wrap: nowrap; overflow-x: auto; padding: 10px 16px; scrollbar-width: none; }
	.jsd-rail .jsd-pills::-webkit-scrollbar { display: none; }
	.jsd-rail .jsd-pill { white-space: nowrap; min-height: 44px; }
	.jsd-search .jsd-btn { padding: 0 16px; }
}

/* 9. Full card ------------------------------------------------------------ */
.jsd-card { display: flex; flex-direction: column; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); overflow: hidden; }
.jsd-card__tile { position: relative; height: 150px; background: var(--tile); display: flex; align-items: flex-end; justify-content: space-between; padding: 16px 20px; }
.jsd-card__pct { font-family: var(--font-display); font-weight: 900; font-size: 60px; line-height: .85; letter-spacing: -0.045em; color: var(--accent-text); }
.jsd-card__icon { color: var(--ink); opacity: .45; }
.jsd-card__tile.has-image { padding: 0; align-items: stretch; background: #FFFFFF; }
.jsd-card__img { width: 100%; height: 100%; object-fit: contain; padding: 12px; }
.jsd-card__chip, .jsd-single__chip { position: absolute; top: 12px; right: 12px; background: var(--accent); color: var(--on-accent); font-family: var(--font-display); font-weight: 800; font-size: 15px; padding: 4px 8px; border-radius: 6px; }
.jsd-card__body { flex: 1; display: flex; flex-direction: column; gap: 8px; padding: 16px 20px 20px; }
.jsd-card__title { font-family: var(--font-body); font-size: 16px; font-weight: 600; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.jsd-card__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 2px 10px; margin-top: auto; padding-top: 4px; }
.jsd-card__now { font-family: var(--font-display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; }
.jsd-card__was { font-size: 14px; color: var(--faint); }
.jsd-card__meta { display: flex; justify-content: space-between; gap: 8px; font-size: 13px; }
.jsd-card__save { font-weight: 600; color: var(--accent-text); }
.jsd-card__ends { color: var(--faint); }
.jsd-card__cta { margin-top: 8px; width: 100%; }
.jsd-card.is-inactive .jsd-card__now, .jsd-card.is-inactive .jsd-card__pct { color: var(--faint); }
@media (max-width: 640px) {
	.jsd-card { border-radius: 14px; }
	.jsd-card__tile { height: 112px; padding: 10px 12px; }
	.jsd-card__pct { font-size: 38px; }
	.jsd-card__icon .jsd-icon { width: 30px; height: 30px; }
	.jsd-pick { top: 10px; left: 10px; font-size: 10px; padding: 4px 7px; }
	.jsd-card__body { padding: 12px 12px 14px; gap: 6px; }
	.jsd-card__title { font-size: 14px; }
	.jsd-card__now { font-size: 21px; }
	.jsd-card__was { font-size: 12px; }
	.jsd-card__meta { display: none; }
	.jsd-card__cta { min-height: 44px; font-size: 13px; padding: 0 10px; }
}

/* 10. Rows, panels, stores ----------------------------------------------- */
.jsd-panel { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius-card); padding: 24px; }
.jsd-panel__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.jsd-rows { margin-top: 12px; }
.jsd-row { display: flex; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--line-soft); }
.jsd-row:hover .jsd-row__title { text-decoration: underline; }
.jsd-row:hover { color: inherit; }
.jsd-row__tile { flex-shrink: 0; width: 72px; height: 56px; border-radius: var(--radius-btn); background: var(--tile); display: flex; align-items: center; justify-content: center; font-family: var(--font-display); font-weight: 900; font-size: 22px; letter-spacing: -0.03em; color: var(--accent-text); }
.jsd-row__main { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.jsd-row__title { font-size: 15px; font-weight: 600; line-height: 1.3; }
.jsd-row__price { flex-shrink: 0; display: flex; flex-direction: column; align-items: flex-end; gap: 2px; }
.jsd-row__now { font-family: var(--font-display); font-weight: 800; font-size: 20px; }
.jsd-row__was { font-size: 12px; color: var(--faint); }
@media (max-width: 640px) {
	.jsd-panel { padding: 18px 16px 6px; }
	.jsd-row { gap: 12px; }
	.jsd-row__tile { width: 60px; height: 50px; font-size: 18px; }
	.jsd-row__title { font-size: 14px; }
	.jsd-row__now { font-size: 17px; }
}
.jsd-stores { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 12px; margin-top: 18px; }
.jsd-store { display: flex; align-items: center; justify-content: space-between; min-height: 64px; padding: 0 20px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; font-weight: 700; font-size: 16px; }
.jsd-store:hover { border-color: var(--ink); color: var(--ink); }
.jsd-store__name { display: flex; align-items: center; gap: 10px; }
@media (max-width: 640px) { .jsd-stores { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; } .jsd-store { min-height: 52px; padding: 0 14px; font-size: 15px; } }

/* 11. How we pick, promo, signup ----------------------------------------- */
.jsd-how { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); border-top: 2px solid var(--ink); counter-reset: none; }
.jsd-how li { padding: 24px 24px 0 0; }
.jsd-how__num { font-family: var(--font-mono); font-size: 13px; font-weight: 600; color: var(--accent-text); }
.jsd-how h3 { margin: 8px 0 6px; font-family: var(--font-display); font-weight: 800; font-size: 22px; }
.jsd-how p { font-size: 15px; color: var(--body); }
.jsd-how + p { margin-top: 20px; }
@media (max-width: 900px) { .jsd-how { grid-template-columns: 1fr; } .jsd-how li { padding: 18px 0 0; } .jsd-how h3 { font-size: 19px; } }
.jsd-band { background: var(--band); color: var(--band-text); border-radius: var(--radius-card); padding: 32px; }
.jsd-promo { display: flex; flex-direction: column; align-items: flex-start; gap: 14px; }
.jsd-promo .jsd-kicker { color: var(--band-muted); font-size: 12px; }
.jsd-promo__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(34px, 3.4vw, 44px); line-height: 1; letter-spacing: -0.03em; color: var(--band-text); }
.jsd-promo__title span { color: var(--band-accent); }
.jsd-promo p { color: var(--band-muted); max-width: 440px; }
.jsd-signup { display: flex; flex-direction: column; justify-content: center; gap: 14px; padding: 32px; }
.jsd-signup__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 2.6vw, 32px); letter-spacing: -0.02em; }
.jsd-signup p { color: var(--body); }
@media (max-width: 640px) { .jsd-band, .jsd-signup { padding: 24px; } }

/* WPForms restyle (JSD-12 form). Keeps WPForms validation markup intact. */
.jsd-signup .wpforms-container { margin: 0 !important; }
.jsd-signup .wpforms-form .wpforms-field-container { display: block; }
.jsd-signup .wpforms-form .wpforms-field { padding: 0 !important; }
.jsd-signup .wpforms-form .wpforms-field-label { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.jsd-signup .wpforms-form input[type="email"] { width: 100% !important; max-width: none !important; height: 50px !important; padding: 0 16px !important; font-size: 16px !important; color: var(--ink) !important; background: var(--bg) !important; border: 1.5px solid var(--chip-border) !important; border-radius: var(--radius-btn) !important; box-shadow: none !important; }
.jsd-signup .wpforms-form input[type="email"]:focus { border-color: var(--accent) !important; outline: none; }
.jsd-signup .wpforms-form .wpforms-submit-container { padding: 10px 0 0 !important; }
.jsd-signup .wpforms-form button[type="submit"] { width: 100%; height: 50px !important; padding: 0 22px !important; background: var(--btn) !important; color: var(--btn-text) !important; border: 0 !important; border-radius: var(--radius-btn) !important; font-weight: 700 !important; font-size: 15px !important; cursor: pointer; }
.jsd-signup .wpforms-form label.wpforms-error, .jsd-signup .wpforms-form em.wpforms-error { color: #C62828 !important; font-size: 13px !important; }
:root[data-theme="dark"] .jsd-signup .wpforms-form label.wpforms-error { color: #FF8A80 !important; }
.jsd-signup .wpforms-confirmation-container-full { background: var(--tile) !important; border: 1px solid var(--line) !important; color: var(--ink) !important; border-radius: var(--radius-btn); }

/* 12. Archives, single, pages ------------------------------------------- */
.jsd-crumbs { display: flex; flex-wrap: wrap; gap: 8px; font-size: 14px; color: var(--muted); margin-bottom: 24px; }
.jsd-crumbs a:hover { color: var(--ink); text-decoration: underline; }
.jsd-crumbs [aria-current] { color: var(--ink); }
.jsd-archive-head { padding-block: 28px 8px; display: flex; flex-direction: column; gap: 14px; }
.jsd-archive-head .jsd-crumbs { margin-bottom: 10px; }
.jsd-archive-head__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(40px, 6vw, 72px); line-height: .95; letter-spacing: -0.035em; }
.jsd-archive-head__lead { font-size: 18px; color: var(--body); max-width: 640px; }
.jsd-archive-head .jsd-pills { margin-top: 8px; }
.jsd-count { padding: 16px 0; border-top: 1px solid var(--line); margin-bottom: 24px; color: var(--body); }
.jsd-count strong { color: var(--ink); }
.jsd-empty { background: var(--surface); border: 1px dashed var(--chip-border); border-radius: var(--radius-card); padding: 40px; display: flex; flex-direction: column; align-items: flex-start; gap: 12px; max-width: 720px; }
.jsd-empty p { color: var(--body); }
.jsd-pagination { margin-top: 32px; }
.jsd-pagination .nav-links { display: flex; flex-wrap: wrap; gap: 8px; }
.jsd-pagination .page-numbers { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; height: 44px; padding: 0 14px; border-radius: var(--radius-btn); border: 1px solid var(--chip-border); background: var(--surface); font-weight: 600; }
.jsd-pagination .page-numbers.current { background: var(--btn); border-color: var(--btn); color: var(--btn-text); }
.jsd-single { padding-block: 28px 16px; }
.jsd-single__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 40px; align-items: start; }
.jsd-single__tile { position: relative; aspect-ratio: 4 / 3; background: var(--tile); border-radius: 20px; display: flex; align-items: flex-end; justify-content: space-between; padding: 28px; overflow: hidden; }
.jsd-single__tile .jsd-pick { top: 20px; left: 20px; }
.jsd-single__pct { font-family: var(--font-display); font-weight: 900; font-size: clamp(80px, 11vw, 160px); line-height: .85; letter-spacing: -0.05em; color: var(--accent-text); }
.jsd-single__icon { color: var(--ink); opacity: .4; }
.jsd-single__tile.has-image { padding: 0; background: #FFFFFF; }
.jsd-single__img { width: 100%; height: 100%; object-fit: contain; padding: 24px; }
.jsd-single__info { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.jsd-single__title { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3.2vw, 42px); line-height: 1.08; letter-spacing: -0.02em; }
.jsd-single__price { display: flex; flex-wrap: wrap; align-items: baseline; gap: 6px 14px; }
.jsd-single__now { font-family: var(--font-display); font-weight: 800; font-size: 44px; letter-spacing: -0.02em; }
.jsd-single__was { color: var(--faint); font-size: 18px; }
.jsd-single__save { color: var(--accent-text); font-weight: 700; font-size: 17px; }
.jsd-single__note { font-size: 17px; color: var(--body); max-width: 560px; }
.jsd-single__facts { display: flex; flex-direction: column; gap: 6px; font-size: 14px; color: var(--muted); }
.jsd-single__facts li::before { content: "·"; margin-right: 8px; color: var(--faint); }
.jsd-single__content { margin-top: 40px; }
@media (max-width: 900px) { .jsd-single__grid { grid-template-columns: 1fr; gap: 24px; } .jsd-single__tile { aspect-ratio: 16 / 10; padding: 20px; } .jsd-single__now { font-size: 36px; } }
.jsd-page { padding-block: 40px 56px; }
.jsd-page__title { font-family: var(--font-display); font-weight: 900; font-size: clamp(36px, 5vw, 60px); line-height: 1; letter-spacing: -0.03em; margin-bottom: 24px; }
.jsd-404 { display: flex; flex-direction: column; gap: 18px; }
.jsd-404 .jsd-page__title { margin-bottom: 0; }
.jsd-entries { display: flex; flex-direction: column; gap: 24px; max-width: 760px; }
.jsd-entry { padding-bottom: 24px; border-bottom: 1px solid var(--line); }
.jsd-entry__excerpt { margin-top: 8px; color: var(--body); }
.jsd-prose { max-width: 760px; font-size: 17px; line-height: 1.65; color: var(--body); }
.jsd-prose > * + * { margin-top: 1em; }
.jsd-prose h2 { font-family: var(--font-display); font-weight: 800; font-size: 28px; line-height: 1.15; margin-top: 1.6em; }
.jsd-prose h3 { font-family: var(--font-display); font-weight: 800; font-size: 22px; margin-top: 1.4em; }
.jsd-prose a { color: var(--accent-text); text-decoration: underline; text-underline-offset: 3px; }
.jsd-prose ul { list-style: disc; padding-left: 1.4em; }
.jsd-prose ol { list-style: decimal; padding-left: 1.4em; }
.jsd-prose li + li { margin-top: .4em; }
.jsd-prose strong { color: var(--ink); }
.jsd-prose blockquote { margin: 0; padding-left: 18px; border-left: 3px solid var(--accent); }

/* 13. Footer -------------------------------------------------------------- */
.jsd-footer { margin-top: 24px; background: var(--surface); border-top: 1px solid var(--line); }
.jsd-footer__top { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-block: 40px 24px; }
.jsd-footer__brand { display: flex; flex-direction: column; gap: 8px; }
.jsd-footer__tagline { font-size: 14px; color: var(--muted); }
.jsd-footer__links { display: flex; flex-wrap: wrap; gap: 12px 24px; font-size: 14px; font-weight: 600; }
.jsd-footer__appearance { display: flex; flex-wrap: wrap; align-items: center; gap: 12px; padding-bottom: 24px; }
.jsd-footer__mode { font-size: 13px; color: var(--muted); }
.jsd-footer__legal { border-top: 1px solid var(--line-soft); }
.jsd-footer__legal p { padding-block: 18px; font-size: 13px; color: var(--muted); }
@media (max-width: 640px) {
	.jsd-footer__top { padding-block: 28px 20px; }
	.jsd-footer__appearance { flex-direction: column; align-items: flex-start; }
}

/* 14. Utilities / WordPress core ----------------------------------------- */
.alignwide { max-width: var(--wrap); }
.alignfull { width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); }
.wp-block-image img { border-radius: 12px; }
.jsd-no-core .jsd-rail { display: none; }
