/* =========================================================================
 * GlobeMarket — Apple category page (Figma 559:13052).
 * Markup: template-parts/gm/category-apple.php. Behaviour: gm-category.js.
 * FAQ styles come from gm-landing.css.
 * ====================================================================== */

.gm-cat { overflow-x: clip; background: var(--gm-color-bg-subtle); font-family: var(--gm-font-sans); color: var(--gm-color-text-primary); }
.gm-cat p, .gm-cat h1, .gm-cat h2, .gm-cat h3 { margin: 0; }
.gm-cat ul { margin: 0; padding: 0; list-style: none; }

.gm-cat-h2 { font-size: 32px; line-height: 40px; font-weight: 700; letter-spacing: -.4px; color: var(--gm-color-text-primary); }
.gm-cat-h3 { font-size: 24px; line-height: 32px; font-weight: 700; letter-spacing: -.2px; color: #0a0a0a; }
.gm-cat-lead { font-size: 18px; line-height: 28px; font-weight: 400; color: var(--gm-color-text-secondary); }
.gm-cat-head { display: flex; flex-direction: column; gap: 16px; }

/* ---------- Hero (559:13106) ---------- */
.gm-cat-hero { padding: 40px 0 80px; }
.gm-cat-crumbs { display: flex; align-items: center; gap: 4px; padding-top: 4px; padding-bottom: 4px; font-size: 14px; line-height: 20px; }
.gm-cat-crumbs a { font-weight: 500; color: var(--gm-color-text-secondary); text-decoration: none; transition: color var(--gm-dur-fast, .15s) ease; }
.gm-cat-crumbs a:hover { color: var(--gm-color-action-secondary-default); text-decoration: underline; }
.gm-cat-crumbs span { font-weight: 600; color: var(--gm-color-text-primary); }
.gm-cat-crumbs img { display: block; width: 24px; height: 24px; }
.gm-cat-hero__info { display: flex; flex-direction: column; gap: var(--gm-spacing-lg); padding-top: 24px; padding-bottom: 24px; }
.gm-cat-hero__title { font-size: 40px; line-height: 48px; font-weight: 700; letter-spacing: -.6px; color: var(--gm-color-text-primary); }
.gm-cat-hero__lead { max-width: 1179px; }
.gm-cat .gm-cat-trust { display: flex; flex-wrap: wrap; align-items: center; gap: 0 100px; padding: 20px 0; }
.gm-cat-trust li { display: flex; align-items: center; gap: 12px; padding: 4px; font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gm-color-text-secondary); white-space: nowrap; }
.gm-cat-trust__ic { position: relative; flex: none; width: 48px; height: 48px; overflow: hidden; border-radius: var(--gm-radius-md); background: var(--gm-color-bg-subtle); }
.gm-cat-trust__ic img { position: absolute; left: 12px; top: 12px; display: block; }

/* ---------- Shop tech by brand (Refurbished phones, 1230:31242): 400 × 150 logo cards, 12px apart ---------- */
.gm-cat-brands { padding: 80px 0; }
.gm-cat-brands .gm-cat-h2 { margin-bottom: 40px; }
.gm-cat-brands__list { display: flex; flex-wrap: wrap; gap: 12px; max-width: 1224px; }
.gm-cat-brand {
	position: relative; display: grid; place-items: center; width: 400px; height: 150px; overflow: hidden;
	background: #fff; border-radius: var(--gm-radius-md, 12px); box-shadow: 0 1px 3px rgba(13, 27, 42, .08);
	transition: transform var(--gm-dur, .25s) var(--gm-ease, ease), box-shadow var(--gm-dur, .25s) ease;
}
.gm-cat-brand:hover { transform: translateY(-3px); box-shadow: 0 10px 20px rgba(13, 27, 42, .1); }
.gm-cat-brand:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-cat-brand img { display: block; max-width: none; }
.gm-cat-brand--samsung img { width: 192px; height: 29.44px; }
.gm-cat-brand--apple img { width: 58.56px; height: 72px; }
.gm-cat-brand--google img { width: 119.957px; height: 37.586px; }
.gm-cat-brand--oneplus img { width: 65px; height: 65px; }
.gm-cat-brand__mi { position: relative; display: block; width: 67.046px; height: 67.046px; }
.gm-cat-brand__mi img { position: absolute; inset: 0; width: 100%; height: 100%; }
.gm-cat-brand__mi .gm-cat-brand__mi-mark { inset: 30.89% 20.01% 30.71% 20.09%; width: auto; height: auto; }
@media (max-width: 1340px) { .gm-cat-brands__list { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); } .gm-cat-brand { width: auto; } }
@media (max-width: 768px) {
	.gm-cat-brands { padding: 48px 0; }
	.gm-cat-brands .gm-cat-h2 { margin-bottom: 24px; }
	.gm-cat-brands__list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gm-cat-brand { height: 110px; }
	.gm-cat-brand--samsung img { width: 128px; height: auto; }
}
@media (prefers-reduced-motion: reduce) { .gm-cat-brand { transition: none; } }

/* ---------- Device types (559:13139) ---------- */
.gm-cat-types { padding: 80px 0; }
.gm-cat-types .gm-cat-head { margin-bottom: 32px; }
.gm-cat-tiles { display: flex; flex-wrap: wrap; gap: 14px; }
.gm-cat-tile {
	position: relative; width: 300px; height: 340px; overflow: hidden; flex: none;
	background: var(--gm-color-bg-brand); border-radius: var(--gm-radius-md);
	transition: transform var(--gm-dur, .25s) var(--gm-ease, ease), box-shadow var(--gm-dur, .25s) ease;
}
.gm-cat-tile:hover { transform: translateY(-4px); box-shadow: 0 12px 24px rgba(255, 122, 0, .25); }
.gm-cat-tile__art { position: absolute; inset: 0; transition: transform .4s var(--gm-ease, ease); }
.gm-cat-tile:hover .gm-cat-tile__art { transform: scale(1.04); }
.gm-cat-tile__img { position: absolute; left: 50%; top: 50%; max-width: none; object-fit: cover; }
.gm-cat-tile--ipad .gm-cat-tile__img { width: 193.426px; height: 210px; transform: translate(calc(-50% - .29px), calc(-50% - 29px)); }
.gm-cat-tile--watch .gm-cat-tile__img { width: 172px; height: 204px; transform: translate(-50%, calc(-50% - 30px)); }
.gm-cat-tile--airpods .gm-cat-tile__img { width: 160px; height: 198px; transform: translate(-50%, calc(-50% - 33px)); }
.gm-cat-tile__ph { position: absolute; left: 50%; top: 50%; overflow: hidden; }
.gm-cat-tile__ph img { position: absolute; max-width: none; }
.gm-cat-tile__ph--1 { width: 95.967px; height: 195.45px; border-radius: 16.96px; transform: translate(calc(-50% - 73.28px), calc(-50% - 21.72px)); }
.gm-cat-tile__ph--1 img { left: -69.18%; top: -2.96%; width: 173.63%; height: 105.82%; }
.gm-cat-tile__ph--2 { width: 95.861px; height: 195.45px; border-radius: 16.564px; transform: translate(calc(-50% + 72.83px), calc(-50% - 21.72px)); }
.gm-cat-tile__ph--2 img { left: -70.68%; top: -2.97%; width: 175.49%; height: 105.93%; }
.gm-cat-tile__ph--3 { width: 101.009px; height: 207px; border-radius: 16.986px; transform: translate(calc(-50% - .33px), calc(-50% - 27.5px)); }
.gm-cat-tile__ph--3 img { left: -66.59%; top: -.03%; width: 166.59%; height: 100.05%; }
.gm-cat-tile__name {
	position: absolute; left: 0; top: 267px; display: flex; align-items: center; justify-content: center;
	width: 100%; height: 73px; padding: 10px; font-size: 20px; line-height: 28px; font-weight: 700; color: #000; white-space: nowrap;
}

/* Samsung series tiles: buttons that filter the grid. */
.gm-cat--light .gm-cat-hero, .gm-cat--light .gm-cat-types { background: var(--gm-color-bg-surface); }
.gm-cat-tile--btn { display: block; padding: 0; border: 0; font: inherit; text-align: center; cursor: pointer; }
a.gm-cat-tile--btn, a.gm-cat-tile--btn:hover { text-decoration: none; } /* Galaxy S tile links to its page. */
.gm-cat-tile__link { position: absolute; inset: 0; display: block; color: inherit; text-decoration: none; border-radius: inherit; } /* Apple iPhone tile → Refurbished iPhones. */
.gm-cat-tile__link:hover { text-decoration: none; }
.gm-cat-tile__link:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-cat-tile--btn:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
.gm-cat-tile__name--268 { top: 268px; }

/* Multi-paragraph / bulleted H3 text */
.gm-cat .gm-cat-rich p + p, .gm-cat .gm-cat-rich p + ul, .gm-cat .gm-cat-rich ul + p { margin-top: 28px; }
.gm-cat .gm-cat-rich ul { list-style: none; padding: 0; }
.gm-cat .gm-cat-rich li { position: relative; padding-left: 12px; }
.gm-cat .gm-cat-rich li::before { content: "•"; position: absolute; left: 0; }

/* ---------- Comparison table (Samsung 559:13669) ---------- */
.gm-cat-table { overflow: hidden; background: var(--gm-color-bg-surface); border: 1px solid var(--gm-color-border-default); border-radius: 12px; }
.gm-cat-table__row { display: grid; grid-template-columns: 240px minmax(0, 1fr) minmax(0, 1fr); border-top: 1px solid var(--gm-color-border-default); }
.gm-cat-table__row > span { display: flex; align-items: center; min-height: 52px; padding: 16px 20px; font-size: 14px; line-height: 20px; font-weight: 400; color: var(--gm-color-text-secondary); }
.gm-cat-table__row > span:first-child { font-weight: 600; letter-spacing: .1px; color: #0a0a0a; }
.gm-cat-table__row--head { border-top: 0; background: var(--gm-color-bg-subtle); }
.gm-cat-table--tall .gm-cat-table__row:not(.gm-cat-table__row--head) > span { min-height: 72px; }
.gm-cat-table__row--head > span { min-height: 52px; font-weight: 700 !important; letter-spacing: .1px; color: #0a0a0a; }
/* Smartwatches table (Figma 972:24774): 420px question column, 22px lines, muted header. */
.gm-cat-table--watch { border-color: #d5d9dc; border-radius: 6px; }
.gm-cat-table--watch .gm-cat-table__row { grid-template-columns: 420px minmax(0, 1fr) minmax(0, 1fr); border-top-color: #eceff1; }
.gm-cat-table--watch .gm-cat-table__row > span { align-items: flex-start; min-height: 54px; line-height: 22px; color: #6b7177; }
.gm-cat-table--watch .gm-cat-table__row > span:first-child { color: #1a1d20; letter-spacing: 0; }
.gm-cat-table--watch .gm-cat-table__row--head > span { min-height: 50px; padding: 14px 20px; font-size: 12px; line-height: 22px; letter-spacing: 0; color: #6b7177; }

/* ---------- Shop: filters + grid (559:13164) ---------- */
.gm-cat-shop { padding: 80px 0; }
.gm-cat-shop__top { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.gm-cat-shop__body { display: flex; align-items: flex-start; justify-content: flex-end; gap: 40px; }
.gm-cat-filterbtn { display: none; }

.gm-cat-filters {
	display: flex; flex-direction: column; align-items: center; gap: 25px; flex: none;
	width: 280px; padding-bottom: 16px; background: #fff; border-radius: var(--gm-radius-md);
}
.gm-cat-filters__head { display: flex; align-items: center; gap: 28px; width: 100%; padding: 12px 20px; border-bottom: 1px solid var(--gm-color-border-default); }
.gm-cat-filters__title { font-size: 20px; line-height: 28px; font-weight: 700; color: var(--gm-color-text-primary); white-space: nowrap; }
.gm-cat-filters__clear {
	flex: 1; padding: 0; border: 0; background: none; cursor: pointer; text-align: right;
	font: 500 14px/18px var(--gm-font-sans); color: var(--gm-color-text-secondary);
}
.gm-cat-filters__clear:hover { color: var(--gm-color-action-secondary-default); text-decoration: underline; }
.gm-cat-filters__clear:focus-visible, .gm-cat-filters__close:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); border-radius: 4px; }
.gm-cat-filters__close { display: none; }

.gm-cat-group { display: block; width: 240px; min-width: 0; margin: 0; padding: 0; border: 0; }
.gm-cat-group__title { float: left; width: 100%; padding: 0; margin: 0 0 12px; font-size: 18px; line-height: 28px; font-weight: 700; color: var(--gm-color-text-primary); }
.gm-cat-group__opts { clear: both; display: flex; flex-direction: column; gap: 4px; }
.gm-cat-group--price { padding: 8px 0 !important; }

/* Checkbox rows (Check_boxs 290:931) */
.gm-cat-check { position: relative; display: flex; align-items: center; gap: 4px; margin: 0; cursor: pointer; }
.gm-cat-check input { position: absolute; left: 0; top: 0; width: 38px; height: 38px; margin: 0; opacity: 0; cursor: pointer; }
.gm-cat-check__box { position: relative; flex: none; width: 38px; height: 38px; border-radius: var(--gm-radius-md); transition: background-color var(--gm-dur-fast, .15s) ease; }
.gm-cat-check__box::before { content: ""; position: absolute; left: 7px; top: 7px; width: 24px; height: 24px; background: url(../images/gm/ic-square.svg) no-repeat 0 0 / 24px 24px; }
.gm-cat-check__box::after {
	content: ""; position: absolute; left: 10px; top: 10px; width: 18px; height: 18px; border-radius: 3px;
	background: #ff7a00 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M6 12.5l4 4 8-9' fill='none' stroke='%230a0a0a' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 16px 16px;
	opacity: 0; transform: scale(.6); transition: opacity var(--gm-dur-fast, .15s) ease, transform var(--gm-dur-fast, .15s) var(--gm-ease, ease);
}
.gm-cat-check:hover .gm-cat-check__box { background: var(--gm-color-bg-subtle); }
.gm-cat-check input:checked + .gm-cat-check__box::after { opacity: 1; transform: none; }
.gm-cat-check input:focus-visible + .gm-cat-check__box { box-shadow: var(--gm-focus-ring); }
.gm-cat-check__label { font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gm-color-text-secondary); white-space: nowrap; }
.gm-cat-check input:checked ~ .gm-cat-check__label { color: var(--gm-color-text-primary); }
.gm-cat-check__n { margin-left: auto; font-size: 12px; line-height: 16px; font-weight: 400; color: var(--gm-color-text-muted); text-align: right; }
.gm-cat-check[hidden] { display: none; }
.gm-cat-check--ph { cursor: default; }
.gm-cat-check--ph:hover .gm-cat-check__box { background: none; }
.gm-cat-check.is-empty .gm-cat-check__label, .gm-cat-check.is-empty .gm-cat-check__n { opacity: .45; }

/* Chips (Storage, Price) */
.gm-cat-group--chip .gm-cat-group__opts { flex-direction: row; flex-wrap: wrap; }
.gm-cat-chip { position: relative; display: block; width: 118px; margin: 0; cursor: pointer; }
.gm-cat-chip input { position: absolute; inset: 0; width: 100%; height: 100%; margin: 0; opacity: 0; cursor: pointer; }
.gm-cat-chip span {
	display: flex; align-items: center; justify-content: center; padding: 6px 8px;
	border: 1px solid var(--gm-color-border-default); border-radius: var(--gm-radius-md);
	font-size: 18px; line-height: 28px; font-weight: 600; color: var(--gm-color-text-secondary); white-space: nowrap;
	transition: background-color var(--gm-dur-fast, .15s) ease, border-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease;
}
.gm-cat-chip:hover span { border-color: var(--gm-color-border-strong); }
.gm-cat-chip input:checked + span { background: var(--gm-color-bg-inverse); border-color: var(--gm-color-bg-inverse); color: #fff; }
.gm-cat-chip input:focus-visible + span { box-shadow: var(--gm-focus-ring); }

/* Grid of Figma cards (296:1633) */
.gm-cat-results { display: flex; flex-direction: column; align-items: center; gap: 25px; width: 1000px; max-width: 100%; min-width: 0; }
.gm-cat-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 25px 24px; width: 100%; }
.gm-cat-card {
	display: flex; flex-direction: column; gap: 8px; width: 300px; height: 370px; overflow: hidden;
	background: #fff; border-radius: var(--gm-radius-md); filter: drop-shadow(0 2px 2px rgba(17, 15, 21, .05));
	color: inherit; text-decoration: none;
	animation: gm-cat-in var(--gm-dur, .25s) var(--gm-ease, ease) backwards;
	transition: transform var(--gm-dur, .25s) var(--gm-ease, ease), filter var(--gm-dur, .25s) ease;
}
.gm-cat-card:hover { transform: translateY(-4px); filter: drop-shadow(0 10px 18px rgba(17, 15, 21, .08)); }
.gm-cat-card:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
@keyframes gm-cat-in { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
.gm-cat-card__media { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 12px; height: 200px; padding: 18px 18px 0; }
.gm-cat-card__img { display: flex; align-items: flex-start; justify-content: center; width: 150px; height: 150px; padding: 0 14.063px; overflow: hidden; }
.gm-cat-card__img img { width: 120.85px; height: 150px; max-width: none; object-fit: cover; transition: transform .4s var(--gm-ease, ease); }
.gm-cat-card__img img.is-contain { object-fit: contain; }
.gm-cat-card:hover .gm-cat-card__img img { transform: scale(1.04); }
.gm-cat-card .gm-pcard__swatches { display: flex; }
.gm-cat-card .gm-pcard__swatchli { display: block; padding: 2px; }
.gm-cat-card .gm-pcard__swatch { display: block; }
.gm-cat-card__body { display: flex; flex-direction: column; gap: 14px; height: 132px; padding: 0 18px 24px; }
.gm-cat-card__title { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; font-size: 18px; line-height: 28px; font-weight: 700; color: var(--gm-color-text-primary); transition: color var(--gm-dur-fast, .15s) ease; }
.gm-cat-card:hover .gm-cat-card__title { color: var(--gm-color-action-secondary-default); }

.gm-cat-empty { display: flex; flex-direction: column; align-items: center; gap: 16px; padding: 64px 24px; text-align: center; font-size: 18px; line-height: 28px; color: var(--gm-color-text-secondary); }
.gm-cat-empty[hidden] { display: none; }

/* Pagination (303:1227) */
.gm-cat-pages { display: flex; justify-content: center; padding: 20px 60px; }
.gm-cat-pages:empty { display: none; }
.gm-cat-pages__list { display: flex; gap: 12px; }
.gm-cat-page {
	display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; padding: 0;
	border: 1px solid var(--gm-color-border-default); border-radius: var(--gm-radius-md); background: transparent; cursor: pointer;
	font: 600 14px/19px var(--gm-font-sans); letter-spacing: .5px; color: var(--gm-color-text-disabled);
	transition: background-color var(--gm-dur-fast, .15s) ease, border-color var(--gm-dur-fast, .15s) ease, color var(--gm-dur-fast, .15s) ease;
}
.gm-cat-page:hover:not([disabled]):not([aria-current]) { border-color: var(--gm-color-border-strong); color: var(--gm-color-text-primary); background: #fff; }
.gm-cat-page[aria-current] { background: var(--gm-color-bg-inverse); border-color: var(--gm-color-icon-primary); font-size: 16px; font-weight: 700; color: #fff; cursor: default; }
.gm-cat-page[disabled] { opacity: .4; cursor: default; }
.gm-cat-page img { display: block; }
.gm-cat-pages__list li:last-child .gm-cat-page img { transform: scaleX(-1); }
.gm-cat-page:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }

/* ---------- Choose a phone (559:12900) ---------- */
.gm-cat-guide { padding: 80px 0; }
.gm-cat-guide__head { margin-bottom: 32px; color: #000; }
.gm-cat-guide__head .gm-cat-h2, .gm-cat-guide__head .gm-cat-lead { color: #000; }
.gm-cat-guide__cards { display: flex; align-items: stretch; gap: 30px; }
.gm-cat-guide__card {
	display: flex; flex-direction: column; gap: 14px; width: 420px; padding: 24px 30px;
	background: #fff; border-radius: var(--gm-radius-md); filter: drop-shadow(0 2px 2px rgba(17, 15, 21, .05));
}
.gm-cat-guide__ic { position: relative; width: 48px; height: 48px; overflow: hidden; border-radius: var(--gm-radius-md); background: var(--gm-color-bg-raised); }
.gm-cat-guide__ic img { position: absolute; left: 12px; top: 12px; display: block; }
.gm-cat-guide__title { font-size: 24px; line-height: 32px; font-weight: 800; letter-spacing: -.2px; color: var(--gm-color-text-secondary); }
.gm-cat-guide__text { font-size: 18px; line-height: 28px; font-weight: 400; color: var(--gm-color-text-muted); }
.gm-cat-guide__more { margin-top: 32px; }
.gm-cat-info__cards { margin: 0; padding: 0; list-style: none; align-items: flex-start; }
.gm-cat-info__cards .gm-cat-guide__card { min-height: 352px; }
.gm-cat-info__cardlink { align-self: flex-start; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .1px; color: #0a0a0a; text-decoration: underline; text-decoration-thickness: 8%; }
.gm-cat-info__cardlink:hover { color: var(--gm-color-action-secondary-default); }
.gm-cat-guide__more .gm-cat-ghost { padding: 0 12px; }

/* ---------- FAQ (559:13262) ---------- */
.gm-cat-faq { background: #fff; }

/* ---------- Info sections (559:13273 …) ---------- */
.gm-cat-info { padding: 80px 0; }
.gm-cat-info__in { display: flex; flex-direction: column; gap: 32px; }
.gm-cat-block { display: flex; flex-direction: column; align-items: flex-start; gap: 16px; }
.gm-cat-related { display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
/* Button/Ghost — plain text until its page exists (client decision). */
.gm-cat-ghost { display: inline-flex; align-items: center; gap: 8px; height: 44px; font-size: 14px; line-height: 20px; font-weight: 600; letter-spacing: .1px; color: var(--gm-color-text-primary); white-space: nowrap; }
.gm-cat-ghost__label { text-decoration: underline solid; text-decoration-thickness: 8%; text-decoration-skip-ink: none; }
.gm-cat-ghost img { display: block; width: 16px; height: 16px; }
a.gm-cat-ghost, a.gm-cat-ghost:hover { color: var(--gm-color-text-primary); text-decoration: none; }
a.gm-cat-ghost:hover .gm-cat-ghost__label { color: var(--gm-color-action-secondary-default); }
a.gm-cat-ghost:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); border-radius: 6px; }
.gm-cat-next li a { color: inherit; text-decoration: inherit; }
.gm-cat .gm-cat-next { list-style: disc; padding: 0; }
.gm-cat-next li { margin-inline-start: 27px; font-size: 18px; line-height: 28px; font-weight: 700; color: var(--gm-color-text-primary); text-decoration: underline solid; text-decoration-thickness: from-font; text-underline-position: from-font; }

/* ---------- Responsive ---------- */
@media (max-width: 1380px) {
	.gm-cat-results { width: auto; flex: 1; }
	.gm-cat-grid { justify-content: flex-start; }
}
@media (max-width: 1024px) {
	.gm-cat-trust { gap: 8px 40px; }
	.gm-cat-guide__cards { flex-direction: column; gap: 16px; }
	.gm-cat-table__row { grid-template-columns: 160px minmax(0, 1fr) minmax(0, 1fr); }
	.gm-cat-table--watch .gm-cat-table__row { grid-template-columns: 220px minmax(0, 1fr) minmax(0, 1fr); }
	.gm-cat-guide__card { width: auto; }
	.gm-cat-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.gm-cat-tile { width: auto; }

	/* Filters slide in from the side behind a "Filters" button. */
	.gm-cat-filterbtn {
		display: inline-flex; align-items: center; gap: 8px; height: 44px; padding: 0 16px;
		border: 1px solid var(--gm-color-border-default); border-radius: var(--gm-radius-md); background: #fff; cursor: pointer;
		font: 600 16px/24px var(--gm-font-sans); color: var(--gm-color-text-primary);
	}
	.gm-cat-filterbtn:focus-visible { outline: none; box-shadow: var(--gm-focus-ring); }
	.gm-cat-filterbtn__n { display: inline-flex; align-items: center; justify-content: center; min-width: 22px; height: 22px; padding: 0 6px; border-radius: 999px; background: #ff7a00; font-size: 12px; font-weight: 700; color: #0a0a0a; }
	.gm-cat-filterbtn__n[hidden] { display: none; }
	.gm-cat-shop__body { display: block; }
	.gm-cat-results { width: 100%; }
	.gm-cat-grid { justify-content: center; }
	.gm-cat-filters {
		position: fixed; top: 0; bottom: 0; left: 0; z-index: 1003; width: min(320px, 88vw); overflow-y: auto; overscroll-behavior: contain;
		border-radius: 0 16px 16px 0; box-shadow: 0 16px 40px rgba(0, 0, 0, .18);
		transform: translateX(-104%); visibility: hidden;
		transition: transform var(--gm-dur, .25s) var(--gm-ease, ease), visibility 0s linear var(--gm-dur, .25s);
	}
	.gm-cat-filters.is-open { transform: none; visibility: visible; transition: transform var(--gm-dur, .25s) var(--gm-ease, ease); }
	.gm-cat-filters__close { display: flex; flex: none; padding: 0; border: 0; background: none; cursor: pointer; }
	.gm-cat-filters__head { position: sticky; top: 0; z-index: 1; background: #fff; }
	.gm-cat-scrim { position: fixed; inset: 0; z-index: 1002; background: rgba(0, 0, 0, .45); opacity: 0; transition: opacity var(--gm-dur, .25s) ease; }
	.gm-cat-scrim.is-open { opacity: 1; }
	.gm-cat-scrim[hidden] { display: none; }
	html.gm-cat-lock, html.gm-cat-lock body { overflow: hidden; }
}
@media (max-width: 768px) {
	.gm-cat-hero { padding: 24px 0 40px; }
	.gm-cat-hero__title { font-size: 30px; line-height: 38px; }
	.gm-cat-h2 { font-size: 24px; line-height: 32px; letter-spacing: -.2px; }
	.gm-cat-h3 { font-size: 20px; line-height: 28px; }
	.gm-cat-lead, .gm-cat-trust li { font-size: 16px; line-height: 24px; }
	.gm-cat-trust li { white-space: normal; }
	.gm-cat-types, .gm-cat-shop, .gm-cat-info, .gm-cat-guide { padding: 48px 0; }
	.gm-cat-guide__title { font-size: 20px; line-height: 28px; }
	.gm-cat-guide__text { font-size: 16px; line-height: 24px; }
	.gm-cat-lead br { display: none; }
	.gm-cat-table__row--head { display: none; }
	.gm-cat-table__row, .gm-cat-table--watch .gm-cat-table__row { grid-template-columns: 1fr; border-top: 0; }
	.gm-cat-table--watch .gm-cat-table__row > span { min-height: 0; }
	.gm-cat-table__row + .gm-cat-table__row { border-top: 1px solid var(--gm-color-border-default); }
	.gm-cat-table__row > span { min-height: 0; padding: 4px 16px; }
	.gm-cat-table__row > span:first-child { padding-top: 16px; font-size: 16px; }
	.gm-cat-table__row > span:last-child { padding-bottom: 16px; }
	.gm-cat-table__row > span:nth-child(2)::before { content: "Start here when: "; font-weight: 600; color: #0a0a0a; white-space: pre; }
	.gm-cat-table__row > span:nth-child(3)::before { content: "Compare: "; font-weight: 600; color: #0a0a0a; white-space: pre; }
	.gm-cat-table--watch .gm-cat-table__row > span:nth-child(n+2)::before { content: attr(data-label) ": "; }
	.gm-cat-h2 br { display: none; }
	.gm-cat-tiles { gap: 10px; }
	.gm-cat-tile { height: 240px; }
	.gm-cat-tile__art { transform: scale(.7) translateY(-20%); }
	.gm-cat-tile:hover .gm-cat-tile__art { transform: scale(.72) translateY(-20%); }
	.gm-cat-tile__name { top: auto; bottom: 0; height: 56px; font-size: 18px; }
	.gm-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 12px; }
	.gm-cat-card { width: auto; }
	.gm-cat-card__img { width: 120px; height: 120px; padding: 0; }
	.gm-cat-card__img img { width: 97px; height: 120px; }
	.gm-cat-card__media { height: 172px; }
	.gm-cat-card { height: auto; }
	.gm-cat-card__body { height: auto; padding: 0 14px 18px; }
	.gm-cat-card__title { font-size: 16px; line-height: 24px; }
	.gm-cat-pages { padding: 12px 0; }
	.gm-cat-pages__list { gap: 8px; }
	.gm-cat-page { width: 44px; height: 44px; }
	.gm-cat-ghost { white-space: normal; height: auto; min-height: 44px; }
}
@media (prefers-reduced-motion: reduce) {
	.gm-cat-card, .gm-cat-tile, .gm-cat-tile__art, .gm-cat-filters, .gm-cat-scrim { transition: none; animation: none; }
	.gm-cat-card:hover, .gm-cat-tile:hover, .gm-cat-tile:hover .gm-cat-tile__art { transform: none; }
}

/* Page links are real <a href> now (crawlable /page/N/, 2026-10-23): same look as the buttons. */
a.gm-cat-page { text-decoration: none; }
