/* switchgames.co — redesign stylesheet.
 *
 * Ports the design system from the mocks (mocks/SwitchGames.dc.html +
 * GameCard.dc.html) into reusable .sg-* classes. Custom CSS only — the new
 * templates drop Bootstrap/jQuery. Served from /static in dev/visual and via the
 * CDN in production (STATIC_URL). */

:root {
	--bg: #f3f6f9;
	--ink: #10202e;
	--ink-2: #3a4a58;
	--muted: #46586a;
	--muted-2: #6a7a88;
	--muted-3: #7d8c99;
	--muted-4: #8a98a5;
	--faint: #9aa8b4;
	--faint-2: #aab6c1;
	--border: #dce4ec;
	--border-2: #eef2f6;
	--border-3: #d3dde6;
	--border-4: #e6ecf2;
	--blue: #1f63d6;
	--blue-dark: #1a55ba;
	--green: #15a45f;
	--green-bg: #e6f6ed;
	--green-row: #f1f9f4;
	--card: #fff;
	--mono: 'SF Mono', ui-monospace, Menlo, Consolas, monospace;
	--sans: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

* { box-sizing: border-box; }
html, body { margin: 0; }
::selection { background: var(--blue); color: #fff; }
input, select, button, textarea { font-family: inherit; }
input::placeholder { color: var(--faint); }
::-webkit-scrollbar { height: 10px; width: 10px; }
::-webkit-scrollbar-thumb { background: #cdd8e2; border-radius: 6px; }

body {
	min-height: 100vh;
	background: var(--bg);
	color: var(--ink);
	font-family: var(--sans);
	-webkit-font-smoothing: antialiased;
	font-size: 15px;
	line-height: 1.5;
}

a { color: inherit; text-decoration: none; }
.sg-wrap { max-width: 1180px; margin: 0 auto; padding: 0 24px; }
.sg-mono { font-family: var(--mono); }

/* ---------------------------------------------------------------- header -- */
.sg-header {
	position: sticky; top: 0; z-index: 50;
	background: rgba(255, 255, 255, 0.94);
	backdrop-filter: blur(8px);
	border-bottom: 1px solid var(--border);
}
.sg-header-inner {
	max-width: 1180px; margin: 0 auto; padding: 0 24px;
	height: 62px; display: flex; align-items: center; gap: 22px;
}
.sg-logo { display: flex; align-items: center; gap: 9px; cursor: pointer; flex-shrink: 0; }
.sg-logo-mark {
	width: 30px; height: 30px; border-radius: 7px; background: var(--blue);
	color: #fff; display: flex; align-items: center; justify-content: center;
	font: 800 12px/1 var(--mono); letter-spacing: .02em;
}
.sg-logo-text { font-weight: 800; font-size: 17px; letter-spacing: -0.02em; }
.sg-logo-text span { color: var(--muted-3); font-weight: 600; }
.sg-nav { display: flex; align-items: center; gap: 4px; }
.sg-nav a {
	padding: 7px 11px; border-radius: 6px; font-size: 14px; font-weight: 600;
	cursor: pointer; color: var(--ink-2);
}
.sg-nav a:hover { background: #eef3f8; }
.sg-nav a.is-active { color: var(--blue); }
.sg-header-right { flex: 1; display: flex; justify-content: flex-end; align-items: center; gap: 12px; }
.sg-search { position: relative; flex: 1; max-width: 300px; }
.sg-search .sg-search-ico { position: absolute; left: 11px; top: 50%; transform: translateY(-50%); color: var(--muted-4); pointer-events: none; }
.sg-search input {
	width: 100%; height: 38px; padding: 0 12px 0 33px;
	border: 1px solid var(--border-3); border-radius: 8px; background: #fff;
	font-size: 14px; outline: none;
}
.sg-search input:focus { border-color: var(--blue); box-shadow: 0 0 0 3px rgba(31, 99, 214, 0.14); }

/* ------------------------------------------------------------------ hero -- */
.sg-hero { background: #e9f0f7; border-bottom: 1px solid var(--border); }
.sg-hero-inner { max-width: 1180px; margin: 0 auto; padding: 52px 24px 46px; }
.sg-hero h1 { margin: 0; font-size: 38px; line-height: 1.1; letter-spacing: -0.025em; font-weight: 800; max-width: 720px; }
.sg-hero p { margin: 14px 0 26px; font-size: 17px; color: var(--muted); max-width: 620px; }
.sg-hero-search { display: flex; gap: 10px; max-width: 640px; }
.sg-hero-search .sg-search { max-width: none; }
.sg-hero-search input { height: 52px; padding: 0 16px 0 44px; border: 1px solid #c7d4df; border-radius: 10px; font-size: 16px; }
.sg-hero-search .sg-search-ico { left: 15px; }
.sg-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 16px; align-items: center; }
.sg-chips-label { font-size: 13px; color: var(--muted-2); }
.sg-chip {
	padding: 5px 12px; background: #fff; border: 1px solid var(--border-3);
	border-radius: 20px; font-size: 13px; font-weight: 600; color: var(--ink-2); cursor: pointer;
}
.sg-chip:hover { border-color: var(--blue); color: var(--blue); }
.sg-stats { display: flex; gap: 34px; margin-top: 30px; flex-wrap: wrap; }
.sg-stat-num { font: 800 24px/1 var(--mono); color: var(--ink); }
.sg-stat-num.is-green { color: var(--green); }
.sg-stat-label { font-size: 12.5px; color: var(--muted-2); margin-top: 4px; }

/* --------------------------------------------------------------- buttons -- */
.sg-btn {
	height: 52px; padding: 0 24px; border: none; border-radius: 10px;
	background: var(--blue); color: #fff; font-size: 15px; font-weight: 700;
	cursor: pointer; white-space: nowrap; display: inline-flex; align-items: center; justify-content: center;
}
.sg-btn:hover { background: var(--blue-dark); }
.sg-btn--sm { height: 48px; padding: 0 24px; border-radius: 9px; }
.sg-btn--ghost {
	height: 36px; padding: 0 14px; border: 1px solid var(--border-3);
	background: #fff; border-radius: 8px; font-size: 13px; font-weight: 700;
	color: var(--blue); cursor: pointer;
}

/* -------------------------------------------------------------- sections -- */
.sg-section { padding: 36px 0 8px; }
.sg-section--first { padding: 40px 0 8px; }
.sg-section--last { padding: 36px 0 48px; }
.sg-section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 18px; }
.sg-section-head h2, .sg-h2 { margin: 0; font-size: 22px; font-weight: 800; letter-spacing: -0.02em; }
.sg-h2--sm { font-size: 20px; }
.sg-seeall { font-size: 14px; font-weight: 700; color: var(--blue); cursor: pointer; }
.sg-two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }

/* ------------------------------------------------------------------ grid -- */
.sg-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(176px, 1fr)); gap: 16px; }
.sg-grid--browse { grid-template-columns: repeat(auto-fill, minmax(184px, 1fr)); }
.sg-grid--3 { grid-template-columns: repeat(3, 1fr); }

/* ------------------------------------------------------------- game card -- */
.sg-card {
	display: flex; flex-direction: column; background: var(--card);
	border: 1px solid var(--border); border-radius: 8px; overflow: hidden;
	cursor: pointer; transition: box-shadow .15s ease, border-color .15s ease, transform .15s ease;
}
.sg-card:hover { border-color: var(--blue); box-shadow: 0 8px 22px rgba(16, 32, 46, 0.12); transform: translateY(-2px); }
.sg-cover {
	position: relative; aspect-ratio: 3 / 4;
	background: linear-gradient(150deg, #2a4d6e, #14304a);
	background-size: cover; background-position: center;
	color: #fff; display: flex; flex-direction: column; justify-content: space-between;
	padding: 13px; box-shadow: inset 0 -72px 56px -34px rgba(0, 0, 0, 0.5);
}
.sg-cover-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 6px; }
.sg-badge {
	font: 600 9.5px/1 var(--mono); letter-spacing: .09em;
	background: rgba(255, 255, 255, 0.18); padding: 4px 6px; border-radius: 4px;
}
.sg-sale {
	font: 700 11px/1 var(--mono); background: var(--green); color: #fff;
	padding: 4px 6px; border-radius: 4px;
}
.sg-cover-title { font-weight: 800; font-size: 16px; line-height: 1.13; letter-spacing: -0.01em; text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4); }
.sg-cover-pub { margin-top: 4px; font-size: 11px; opacity: .85; font-weight: 500; }
.sg-card-body { padding: 10px 12px 12px; display: flex; flex-direction: column; gap: 7px; flex: 1; }
.sg-card-sub { font-size: 11.5px; color: var(--muted); }
.sg-card-foot { margin-top: auto; display: flex; align-items: flex-end; justify-content: space-between; gap: 8px; }
.sg-price-wrap { display: flex; align-items: baseline; gap: 6px; }
.sg-price { font: 700 15px/1 var(--mono); color: var(--ink); }
.sg-strike { font: 12px/1 var(--mono); color: var(--faint); text-decoration: line-through; }

/* ------------------------------------------------------------- list rows -- */
.sg-list { background: var(--card); border: 1px solid var(--border); border-radius: 10px; overflow: hidden; }
.sg-row { display: flex; align-items: center; gap: 13px; padding: 12px 14px; border-bottom: 1px solid var(--border-2); cursor: pointer; }
.sg-row:last-child { border-bottom: none; }
.sg-row:hover { background: #f6f9fc; }
.sg-row-cover {
	width: 42px; height: 56px; border-radius: 5px; flex-shrink: 0;
	background: linear-gradient(150deg, #2a4d6e, #14304a);
	background-size: cover; background-position: center;
	box-shadow: inset 0 -20px 18px -14px rgba(0, 0, 0, 0.4);
}
.sg-row-cover--lg { width: 46px; height: 61px; }
.sg-row-main { flex: 1; min-width: 0; }
.sg-row-title { font-weight: 700; font-size: 14.5px; line-height: 1.25; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-row-sub { font-size: 12px; color: var(--muted-2); margin-top: 2px; }
.sg-row-right { text-align: right; flex-shrink: 0; }
.sg-row-date { font: 700 13px/1 var(--mono); color: var(--muted-3); }
.sg-row-date.is-upcoming { color: var(--blue); }
.sg-row-price { font: 12px/1 var(--mono); color: var(--muted-4); margin-top: 5px; }

/* ----------------------------------------------------------- genre cards -- */
.sg-genre-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 10px; }
.sg-genre {
	display: flex; align-items: center; justify-content: space-between;
	padding: 13px 15px; background: #fff; border: 1px solid var(--border);
	border-radius: 9px; cursor: pointer; font-weight: 700; font-size: 14px;
}
.sg-genre:hover { border-color: var(--blue); color: var(--blue); box-shadow: 0 3px 10px rgba(16, 32, 46, 0.06); }
.sg-genre-count { color: var(--faint-2); font: 12px/1 var(--mono); }

/* ----------------------------------------------------- breadcrumb / page -- */
.sg-crumbs { font-size: 13px; color: var(--muted-3); margin-bottom: 10px; }
.sg-crumbs a { color: var(--blue); cursor: pointer; }
.sg-page-title { margin: 0 0 20px; font-size: 26px; font-weight: 800; letter-spacing: -0.02em; }
.sg-page-sub { margin: 8px 0 22px; font-size: 15px; color: var(--muted); }

/* ---------------------------------------------------------------- browse -- */
.sg-browse { display: grid; grid-template-columns: 240px 1fr; gap: 26px; align-items: start; }
.sg-filters { position: sticky; top: 78px; background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 4px 16px 16px; }
.sg-filters-head { display: flex; align-items: center; justify-content: space-between; padding: 14px 0 10px; border-bottom: 1px solid var(--border-2); }
.sg-filters-head .sg-reset { font-size: 12.5px; color: var(--blue); cursor: pointer; font-weight: 600; }
.sg-filter-group { padding: 14px 0 4px; font-size: 12px; font-weight: 700; letter-spacing: .04em; color: var(--muted-4); text-transform: uppercase; }
.sg-filter-group.has-rule { border-top: 1px solid var(--border-2); margin-top: 10px; }
.sg-filter-opt { display: flex; align-items: center; gap: 9px; padding: 5px 0; cursor: pointer; font-size: 14px; }
.sg-filter-opt input { accent-color: var(--blue); }
.sg-filter-scroll { max-height: 230px; overflow: auto; margin: 0 -4px; padding: 0 4px; }
.sg-filter-check { display: flex; align-items: center; gap: 9px; padding: 14px 0 6px; cursor: pointer; font-size: 14px; font-weight: 600; border-top: 1px solid var(--border-2); margin-top: 14px; }
.sg-filter-check input { accent-color: var(--green); width: 15px; height: 15px; }
.sg-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.sg-toolbar-count { font-size: 14px; color: var(--muted); }
.sg-toolbar-count strong { color: var(--ink); font-weight: 800; }
.sg-toolbar-right { display: flex; align-items: center; gap: 10px; }
.sg-select {
	height: 36px; padding: 0 30px 0 11px; border: 1px solid var(--border-3);
	border-radius: 8px; background: #fff; font-size: 13.5px; font-weight: 600;
	cursor: pointer; outline: none; -webkit-appearance: none; appearance: none;
	background-image: url('data:image/svg+xml;utf8,<svg xmlns=%22http://www.w3.org/2000/svg%22 width=%2210%22 height=%2210%22 fill=%22none%22 stroke=%22%237d8c99%22 stroke-width=%222%22><path d=%22M2 3l3 4 3-4%22/></svg>');
	background-repeat: no-repeat; background-position: right 11px center;
}
.sg-viewtoggle { display: flex; border: 1px solid var(--border-3); border-radius: 8px; overflow: hidden; }
.sg-viewtoggle a { padding: 8px 10px; cursor: pointer; color: var(--muted-3); background: #fff; }
.sg-viewtoggle a + a { border-left: 1px solid var(--border-3); }
.sg-viewtoggle a.is-active { background: var(--blue); color: #fff; }
.sg-empty { background: #fff; border: 1px solid var(--border); border-radius: 10px; padding: 60px 20px; text-align: center; color: var(--muted-2); }
.sg-empty-title { font-size: 17px; font-weight: 700; color: var(--ink); margin-bottom: 6px; }

/* browse list view */
.sg-blist-row { display: flex; align-items: center; gap: 15px; padding: 13px 16px; }
.sg-blist-price { width: 120px; text-align: right; flex-shrink: 0; }
.sg-blist-price .sg-price { font-size: 16px; }
.sg-blist-note { font: 11.5px/1 var(--mono); color: var(--faint); margin-top: 5px; }

/* --------------------------------------------------------------- pager --- */
.sg-pager { display: flex; align-items: center; justify-content: center; gap: 14px; margin-top: 28px; font-size: 14px; }
.sg-pager a { color: var(--blue); font-weight: 700; }
.sg-pager .sg-pager-now { color: var(--muted); }

/* --------------------------------------------------------------- detail -- */
.sg-detail { display: grid; grid-template-columns: 300px 1fr; gap: 32px; align-items: start; }
.sg-detail-aside { position: sticky; top: 78px; }
.sg-detail-cover {
	aspect-ratio: 3 / 4; border-radius: 12px; color: #fff; padding: 22px;
	background: linear-gradient(150deg, #2a4d6e, #14304a);
	background-size: cover; background-position: center;
	display: flex; flex-direction: column; justify-content: space-between;
	box-shadow: inset 0 -90px 70px -42px rgba(0, 0, 0, 0.5), 0 10px 28px rgba(16, 32, 46, 0.16);
}
.sg-detail-cover-top { display: flex; justify-content: space-between; align-items: flex-start; }
.sg-detail-cover-title { font-weight: 800; font-size: 24px; line-height: 1.1; letter-spacing: -0.02em; text-shadow: 0 2px 14px rgba(0, 0, 0, 0.45); }
.sg-detail-cover-pub { margin-top: 6px; font-size: 12.5px; opacity: .85; }
.sg-detail-note { margin-top: 14px; font: 11px/1 var(--mono); color: var(--faint); text-align: center; }
.sg-detail-h1 { margin: 0; font-size: 30px; font-weight: 800; letter-spacing: -0.025em; line-height: 1.08; }
.sg-detail-by { margin-top: 8px; font-size: 14.5px; color: #5b6b7a; }
.sg-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 14px; }
.sg-tag { padding: 5px 11px; background: #eef2f6; border-radius: 20px; font-size: 12.5px; font-weight: 600; color: var(--ink-2); }
.sg-tag--genre { background: #eaf1f8; color: #2a5ea8; font-weight: 700; }

.sg-pricebox { margin-top: 22px; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 18px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.sg-pricebox-label { font-size: 12.5px; color: var(--muted-3); font-weight: 600; }
.sg-pricebox-row { display: flex; align-items: baseline; gap: 10px; margin-top: 4px; }
.sg-pricebox-now { font: 800 30px/1 var(--mono); color: var(--ink); }
.sg-pricebox-msrp { font: 16px/1 var(--mono); color: var(--faint); text-decoration: line-through; }
.sg-pricebox-save { font: 700 13px/1 var(--mono); color: var(--green); background: var(--green-bg); padding: 5px 8px; border-radius: 5px; }
.sg-pricebox-note { font-size: 12.5px; color: var(--muted-3); margin-top: 7px; }

.sg-h2-detail { margin: 30px 0 12px; font-size: 18px; font-weight: 800; letter-spacing: -0.02em; }
.sg-panel { background: #fff; border: 1px solid var(--border); border-radius: 11px; overflow: hidden; }

/* store table */
.sg-stores-head, .sg-stores-row { display: grid; grid-template-columns: 1.6fr 1fr 1fr 88px; align-items: center; }
.sg-stores-head { padding: 10px 18px; background: #f6f9fc; border-bottom: 1px solid var(--border-4); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--muted-4); text-transform: uppercase; }
.sg-stores-row { padding: 13px 18px; border-bottom: 1px solid var(--border-2); }
.sg-stores-row:last-child { border-bottom: none; }
.sg-stores-row.is-best { background: var(--green-row); }
.sg-store-name { display: flex; align-items: center; gap: 9px; font-weight: 700; font-size: 14px; }
.sg-store-best { font: 700 10px/1 var(--mono); color: var(--green); background: var(--green-bg); padding: 4px 6px; border-radius: 4px; }
.sg-store-price { text-align: right; font: 700 14.5px/1 var(--mono); }
.sg-store-price.is-best { color: var(--green); }
.sg-store-low { text-align: right; font: 13px/1 var(--mono); color: var(--faint); }
.sg-store-view { text-align: right; font-size: 13px; font-weight: 700; color: var(--blue); }
.t-right { text-align: right; }

/* price history chart */
.sg-chart-head { display: flex; align-items: center; justify-content: space-between; margin: 30px 0 12px; gap: 12px; flex-wrap: wrap; }
.sg-range { display: flex; border: 1px solid var(--border-3); border-radius: 8px; overflow: hidden; }
.sg-range span { padding: 7px 14px; font: 700 12.5px/1 var(--mono); color: var(--muted); }
.sg-range span.is-active { background: var(--blue); color: #fff; }
.sg-chart-card { background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 18px 18px 8px; }
.sg-chart-stats { display: flex; gap: 22px; flex-wrap: wrap; margin-bottom: 8px; }
.sg-chart-stat-k { font: 11px/1 var(--mono); color: var(--muted-4); }
.sg-chart-stat-v { font: 800 17px/1 var(--mono); color: var(--ink); margin-top: 6px; }
.sg-chart-stat-v.is-green { color: var(--green); }
.sg-chart-stat-v.is-muted { color: var(--muted); }
.sg-chart-empty { padding: 30px 10px; text-align: center; color: var(--muted-2); }
.sg-chart-empty-title { font-size: 16px; font-weight: 700; color: var(--ink); }

/* about / specs */
.sg-about { margin: 0; font-size: 15px; color: var(--ink-2); line-height: 1.65; max-width: 680px; }
.sg-specs { margin-top: 18px; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 6px 20px; }
.sg-spec { display: flex; justify-content: space-between; gap: 16px; padding: 11px 0; border-bottom: 1px solid var(--border-2); font-size: 14px; }
.sg-spec:last-child { border-bottom: none; }
.sg-spec-k { color: var(--muted-3); }
.sg-spec-v { font-weight: 700; text-align: right; }

/* ---------------------------------------------------------------- deals -- */
.sg-drop { display: flex; gap: 14px; background: #fff; border: 1px solid var(--border); border-radius: 11px; padding: 15px; cursor: pointer; }
.sg-drop:hover { border-color: var(--blue); box-shadow: 0 6px 18px rgba(16, 32, 46, 0.08); }
.sg-drop-cover { width: 74px; height: 99px; border-radius: 7px; flex-shrink: 0; background: linear-gradient(150deg, #2a4d6e, #14304a); background-size: cover; background-position: center; box-shadow: inset 0 -30px 24px -18px rgba(0, 0, 0, 0.45); }
.sg-drop-main { flex: 1; min-width: 0; display: flex; flex-direction: column; }
.sg-drop-title { font-weight: 800; font-size: 15px; line-height: 1.2; }
.sg-drop-store { font-size: 12px; color: var(--muted-3); margin-top: 3px; }
.sg-drop-price { margin-top: auto; display: flex; align-items: baseline; gap: 8px; }
.sg-drop-price .sg-price { font-size: 19px; }

.sg-deals-head, .sg-deals-row { display: grid; grid-template-columns: 2.2fr 1fr 0.9fr 110px 92px; align-items: center; }
.sg-deals-head { padding: 10px 18px; background: #f6f9fc; border-bottom: 1px solid var(--border-4); font-size: 11.5px; font-weight: 700; letter-spacing: .03em; color: var(--muted-4); text-transform: uppercase; }
.sg-deals-row { padding: 12px 18px; border-bottom: 1px solid var(--border-2); cursor: pointer; }
.sg-deals-row:last-child { border-bottom: none; }
.sg-deals-row:hover { background: #f6f9fc; }
.sg-deals-game { display: flex; align-items: center; gap: 12px; min-width: 0; }
.sg-deals-cover { width: 38px; height: 51px; border-radius: 5px; flex-shrink: 0; background: linear-gradient(150deg, #2a4d6e, #14304a); background-size: cover; background-position: center; box-shadow: inset 0 -18px 16px -12px rgba(0, 0, 0, 0.4); }
.sg-deals-name { font-weight: 700; font-size: 14px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sg-deals-tag { font-size: 11.5px; color: var(--faint); margin-top: 2px; }
.sg-deals-store { font-size: 13px; color: var(--muted); }
.sg-pct { font: 700 12.5px/1 var(--mono); color: var(--green); background: var(--green-bg); padding: 5px 8px; border-radius: 5px; }
.sg-pct--solid { color: #fff; background: var(--green); }
.sg-deals-filters { display: flex; align-items: center; gap: 10px; }
.sg-deal-buckets { display: flex; gap: 6px; }
.sg-deal-bucket { padding: 7px 12px; border-radius: 7px; font: 700 12.5px/1 var(--mono); cursor: pointer; border: 1px solid var(--border-3); background: #fff; color: var(--ink-2); }
.sg-deal-bucket.is-active { border-color: var(--green); background: var(--green); color: #fff; }
.sg-spark { width: 84px; height: 30px; display: block; }

/* ---------------------------------------------------------------- footer -- */
.sg-footer { background: var(--ink); color: #aeb9c4; margin-top: 30px; }
.sg-footer-inner { max-width: 1180px; margin: 0 auto; padding: 42px 24px 28px; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1fr; gap: 28px; }
.sg-footer-brand { display: flex; align-items: center; gap: 9px; margin-bottom: 12px; }
.sg-footer-brand .sg-logo-text { color: #fff; font-size: 16px; }
.sg-footer-brand .sg-logo-text span { color: var(--muted-3); }
.sg-footer p { margin: 0; font-size: 13px; line-height: 1.6; color: #8595a3; max-width: 260px; }
.sg-footer-col-title { font-weight: 700; color: #fff; font-size: 13px; margin-bottom: 12px; }
.sg-footer-links { display: flex; flex-direction: column; gap: 9px; font-size: 13.5px; }
.sg-footer-links a { cursor: pointer; }
.sg-footer-bottom { border-top: 1px solid #22364a; }
.sg-footer-bottom-inner { max-width: 1180px; margin: 0 auto; padding: 16px 24px; font-size: 12px; color: #6f8090; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 8px; }

/* --------------------------------------------------------- responsive ---- */
@media (max-width: 900px) {
	.sg-browse { grid-template-columns: 1fr; }
	.sg-filters { position: static; }
	.sg-detail { grid-template-columns: 1fr; }
	.sg-detail-aside { position: static; max-width: 320px; }
	.sg-two-col { grid-template-columns: 1fr; }
	.sg-grid--3 { grid-template-columns: 1fr; }
	.sg-footer-inner { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 620px) {
	.sg-nav { display: none; }
	.sg-hero h1 { font-size: 30px; }
	.sg-deals-head, .sg-deals-row { grid-template-columns: 2fr 0.8fr 92px; }
	.sg-deals-store, .sg-deals-spark-cell { display: none; }
	.sg-footer-inner { grid-template-columns: 1fr; }
}
