:root {
	--page-bg:
		radial-gradient(circle at top left, rgba(96, 160, 255, 0.14), transparent 28%),
		radial-gradient(circle at 88% 12%, rgba(181, 126, 255, 0.16), transparent 24%),
		linear-gradient(180deg, #fafcff 0%, #f0f5fd 52%, #fcf9ff 100%);
	--paper: rgba(255, 255, 255, 0.82);
	--paper-strong: rgba(255, 255, 255, 0.92);
	--ink: #243149;
	--muted: #66768f;
	--line: rgba(80, 109, 154, 0.14);
	--accent: #3b6ede;
	--accent-strong: #735ce1;
	--accent-soft: rgba(95, 138, 235, 0.12);
	--brand-deep: #243149;
	--shadow: 0 22px 60px rgba(45, 78, 127, 0.1);
	--shadow-strong: 0 28px 80px rgba(53, 88, 141, 0.14);
	--radius: 26px;
}

* {
	box-sizing: border-box;
}

body {
	margin: 0;
	font-family: "Plus Jakarta Sans", "Segoe UI", sans-serif;
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.62), rgba(255, 255, 255, 0.24)),
		repeating-linear-gradient(
			90deg,
			transparent 0,
			transparent 84px,
			rgba(62, 93, 141, 0.035) 84px,
			rgba(62, 93, 141, 0.035) 85px
		),
		var(--page-bg);
	color: var(--ink);
}

body::before {
	position: fixed;
	inset: 0;
	z-index: 55;
	content: "";
	background: rgba(24, 42, 66, 0.24);
	backdrop-filter: blur(2px);
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.18s ease;
}

body.search-focus-active::before,
body.mobile-menu-open::before {
	opacity: 1;
	pointer-events: auto;
}

body.mobile-menu-open {
	overflow: hidden;
}

a {
	color: inherit;
	text-decoration: none;
}

img {
	display: block;
	max-width: 100%;
}

.detail-shell {
	max-width: 1360px;
	margin: 0 auto;
	padding: 18px 20px 88px;
}

.site-header {
	position: sticky;
	top: 0;
	z-index: 60;
	display: grid;
	grid-template-columns: auto minmax(420px, 1fr) auto;
	align-items: center;
	gap: 18px;
	padding: 14px 0 18px;
	backdrop-filter: blur(14px);
}

.brand img {
	width: 168px;
}

.header-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	min-height: 56px;
	border: 2px solid var(--accent);
	border-radius: 20px;
	padding: 5px;
	background: var(--paper-strong);
	box-shadow: var(--shadow);
	transition: grid-template-columns 0.2s ease;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.header-search input {
	min-width: 0;
	width: 100%;
	padding: 0 22px;
	border: 0;
	outline: 0;
	background: transparent;
	font: inherit;
	font-size: 15px;
	font-weight: 600;
	color: var(--ink);
}

.header-search input::placeholder {
	color: #7d8da2;
}

.header-search button,
.button,
.related-card-footer a {
	font: inherit;
	font-weight: 800;
}

.header-search button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 48px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 999px;
	background: var(--accent);
	color: #ffffff;
	cursor: pointer;
	overflow: hidden;
	transition:
		width 0.2s ease,
		background-color 0.18s ease,
		box-shadow 0.18s ease;
}

.header-search button svg {
	width: 21px;
	height: 21px;
	stroke: currentColor;
	stroke-width: 2.4;
	fill: none;
	stroke-linecap: round;
	stroke-linejoin: round;
}

.header-search-button-label {
	display: inline-block;
	max-width: 0;
	overflow: hidden;
	opacity: 0;
	white-space: nowrap;
	transition:
		max-width 0.2s ease,
		margin-left 0.2s ease,
		opacity 0.16s ease;
}

@media (min-width: 721px) {
	.header-search:focus-within,
	.site-header.search-deals-open .header-search {
		grid-template-columns: minmax(0, 1fr) 132px;
	}

	.header-search:focus-within button,
	.site-header.search-deals-open .header-search button {
		width: 128px;
		padding: 0 18px;
		box-shadow: 0 10px 22px rgba(36, 125, 255, 0.22);
	}

	.header-search:focus-within .header-search-button-label,
	.site-header.search-deals-open .header-search-button-label {
		max-width: 76px;
		margin-left: 8px;
		opacity: 1;
	}
}

.header-actions,
.stacked-actions {
	display: flex;
	gap: 12px;
	flex-wrap: wrap;
}

.header-actions {
	justify-content: end;
}

.mobile-menu-toggle {
	display: none;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 4px;
	width: 56px;
	height: 56px;
	padding: 0;
	border: 1px solid rgba(124, 144, 178, 0.2);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.94);
	box-shadow: var(--shadow);
	cursor: pointer;
}

.mobile-menu-toggle span {
	display: block;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--ink);
}

.button-install-browser img {
	width: 20px;
	height: 20px;
	flex: 0 0 auto;
	object-fit: contain;
}

.search-deals-panel {
	position: absolute;
	z-index: 30;
	top: calc(100% - 4px);
	left: 0;
	right: 0;
	display: grid;
	gap: 24px;
	padding: 26px 20px 28px;
	border: 1px solid rgba(124, 144, 178, 0.24);
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 22px 42px rgba(32, 46, 75, 0.22);
	opacity: 0;
	pointer-events: none;
	transform: translateY(-8px);
	transition: opacity 0.16s ease, transform 0.16s ease;
}

.search-panel-close {
	position: absolute;
	top: 16px;
	right: 16px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid rgba(124, 144, 178, 0.18);
	border-radius: 14px;
	background: rgba(244, 248, 255, 0.94);
	color: var(--ink);
	cursor: pointer;
}

.search-panel-close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 17px;
	height: 2px;
	border-radius: 999px;
	background: currentColor;
}

.search-panel-close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.search-panel-close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.search-panel-close:hover,
.search-panel-close:focus-visible {
	background: #eaf2ff;
	color: var(--accent);
}

.site-header.search-deals-open .search-deals-panel {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.search-deals-section h2 {
	margin: 0 0 18px;
	padding-right: 52px;
	font-size: 1rem;
	line-height: 1.2;
}

.search-deals-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 12px;
}

.search-history-list {
	display: flex;
	grid-column: 1 / -1;
	flex-wrap: wrap;
	gap: 10px;
	min-width: 0;
}

.search-history-chip {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 40px;
	max-width: 100%;
	padding: 0 14px;
	border: 1px solid rgba(59, 110, 222, 0.18);
	border-radius: 999px;
	background: rgba(245, 248, 255, 0.92);
	color: var(--ink);
	font: inherit;
	font-size: 0.9rem;
	font-weight: 800;
	cursor: pointer;
	overflow-wrap: anywhere;
	transition:
		background-color 0.16s ease,
		border-color 0.16s ease,
		color 0.16s ease,
		transform 0.16s ease;
}

.search-history-chip:hover,
.search-history-chip:focus-visible {
	border-color: rgba(59, 110, 222, 0.34);
	background: #eaf2ff;
	color: var(--brand);
	transform: translateY(-1px);
}

.search-recommendation-loading {
	display: inline-flex;
	grid-column: 1 / -1;
	align-items: center;
	gap: 12px;
	padding: 14px 16px;
	border-radius: 16px;
	border: 1px solid rgba(124, 144, 178, 0.18);
	background: rgba(245, 248, 255, 0.88);
	color: var(--muted);
	font-weight: 700;
}

.search-recommendation-message {
	grid-column: 1 / -1;
	margin: 0;
	padding: 14px 16px;
	border: 1px dashed rgba(124, 144, 178, 0.28);
	border-radius: 16px;
	background: rgba(245, 248, 255, 0.74);
	color: var(--muted);
	font-weight: 800;
}

.search-loading-gif {
	position: relative;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 24px;
	height: 24px;
	border-radius: 999px;
	background: rgba(59, 110, 222, 0.1);
}

.search-loading-gif::before {
	position: absolute;
	inset: 4px;
	content: "";
	border: 2px solid rgba(59, 110, 222, 0.22);
	border-top-color: var(--brand);
	border-radius: inherit;
	animation: search-loading-spin 0.8s linear infinite;
}

.search-loading-gif img {
	width: 1px;
	height: 1px;
	opacity: 0;
}

@keyframes search-loading-spin {
	to {
		transform: rotate(360deg);
	}
}

.search-shop-result {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	align-items: center;
	gap: 14px;
	padding: 14px;
	border-radius: 18px;
	border: 1px solid rgba(124, 144, 178, 0.18);
	background: rgba(248, 251, 255, 0.92);
	box-shadow: 0 12px 26px rgba(43, 63, 97, 0.08);
	transition:
		transform 0.16s ease,
		border-color 0.16s ease,
		box-shadow 0.16s ease;
}

.search-shop-result:hover,
.search-shop-result:focus-visible {
	transform: translateY(-2px);
	border-color: rgba(59, 110, 222, 0.28);
	box-shadow: 0 18px 30px rgba(43, 63, 97, 0.12);
}

.search-result-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 52px;
	height: 52px;
	border-radius: 16px;
	background: linear-gradient(135deg, rgba(59, 110, 222, 0.14), rgba(115, 92, 225, 0.18));
	box-shadow: inset 0 0 0 1px rgba(59, 110, 222, 0.1);
	font-family: "Sora", "Segoe UI", sans-serif;
	font-size: 0.95rem;
	font-weight: 700;
	letter-spacing: -0.04em;
	color: var(--ink);
	overflow: hidden;
}

.search-result-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.search-shop-result strong,
.search-shop-result small {
	display: block;
}

.search-shop-result strong {
	font-family: "Sora", "Segoe UI", sans-serif;
	font-size: 1rem;
	letter-spacing: -0.03em;
}

.search-shop-result small {
	margin-top: 4px;
	color: var(--muted);
	font-size: 0.82rem;
	font-weight: 700;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 18px;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 700;
	transition:
		transform 160ms ease,
		border-color 160ms ease,
		background 160ms ease;
}

.button:hover {
	transform: translateY(-2px);
}

.button-primary {
	background: linear-gradient(135deg, var(--accent) 0%, var(--accent-strong) 100%);
	color: #ffffff;
	box-shadow: 0 18px 34px rgba(59, 110, 222, 0.18);
}

.button-install-browser {
	background: #4285f4;
	box-shadow: 0 12px 24px rgba(66, 133, 244, 0.22);
	transition:
		background-color 0.18s ease,
		box-shadow 0.18s ease,
		transform 0.18s ease;
}

.button-install-browser img {
	filter: brightness(0) invert(1);
}

.button-install-browser[data-browser="firefox"] {
	background: #ff9500;
	box-shadow: 0 12px 24px rgba(255, 149, 0, 0.24);
}

.button-install-browser:hover,
.button-install-browser:focus-visible {
	transform: translateY(-1px);
}

.button-ghost {
	border: 1px solid var(--line);
	background: rgba(255, 255, 255, 0.68);
}

.button-soft {
	border: 1px solid rgba(59, 110, 222, 0.16);
	background: var(--accent-soft);
	color: var(--ink);
}

.mobile-menu-backdrop {
	position: fixed;
	inset: 0;
	z-index: 64;
	opacity: 0;
	pointer-events: none;
	transition: opacity 0.2s ease;
}

.mobile-menu-backdrop.is-open {
	opacity: 1;
	pointer-events: auto;
}

.mobile-menu-drawer {
	position: fixed;
	top: 16px;
	right: 16px;
	bottom: 16px;
	z-index: 65;
	display: grid;
	align-content: start;
	gap: 20px;
	width: min(360px, calc(100vw - 32px));
	padding: 22px 18px 20px;
	border: 1px solid rgba(124, 144, 178, 0.24);
	border-radius: 28px;
	background: rgba(255, 255, 255, 0.98);
	box-shadow: 0 28px 50px rgba(23, 48, 83, 0.2);
	opacity: 0;
	pointer-events: none;
	overflow-y: auto;
	transform: translateX(calc(100% + 28px));
	transition:
		opacity 0.2s ease,
		transform 0.22s ease;
}

.mobile-menu-drawer.is-open {
	opacity: 1;
	pointer-events: auto;
	transform: translateX(0);
}

.mobile-menu-head,
.mobile-menu-section {
	display: grid;
	gap: 12px;
}

.mobile-menu-head {
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: start;
	padding-bottom: 14px;
	border-bottom: 1px solid rgba(124, 144, 178, 0.16);
}

.mobile-menu-head strong {
	font-family: "Sora", "Segoe UI", sans-serif;
	font-size: 1.35rem;
	letter-spacing: -0.04em;
}

.mobile-menu-eyebrow,
.mobile-menu-label {
	margin: 0;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #6b7f96;
}

.mobile-menu-close {
	position: relative;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(124, 144, 178, 0.18);
	border-radius: 16px;
	background: rgba(244, 248, 255, 0.94);
	cursor: pointer;
}

.mobile-menu-close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	border-radius: 999px;
	background: var(--ink);
}

.mobile-menu-close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.mobile-menu-close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.mobile-menu-links {
	display: grid;
	gap: 10px;
}

.mobile-menu-links a,
.mobile-menu-cta-group .button {
	width: 100%;
}

.mobile-menu-links a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid rgba(124, 144, 178, 0.14);
	border-radius: 18px;
	background: rgba(246, 250, 255, 0.82);
	font-weight: 700;
}

.mobile-menu-links a::after {
	content: "›";
	font-size: 1.1rem;
	color: #6b7f96;
}

.mobile-menu-cta-group {
	padding-top: 6px;
	border-top: 1px solid rgba(124, 144, 178, 0.16);
}

.mobile-menu-cta-group [data-extension-install-button] {
	display: none;
}

.detail-main {
	display: grid;
	grid-template-columns: 360px minmax(0, 1fr);
	gap: 22px;
	padding-top: 30px;
}

.merchant-rail {
	position: sticky;
	top: 20px;
	align-self: start;
}

.merchant-identity,
.rail-stats,
.rail-box {
	padding: 24px;
	border-radius: var(--radius);
	border: 1px solid var(--line);
	background: var(--paper);
	box-shadow: var(--shadow);
	backdrop-filter: blur(14px);
}

.merchant-identity {
	background:
		linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(247, 250, 255, 0.84)),
		var(--paper);
}

.merchant-logo-slot {
	margin-bottom: 18px;
}

.merchant-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 84px;
	height: 84px;
	border-radius: 24px;
	background: linear-gradient(135deg, rgba(59, 110, 222, 0.14), rgba(115, 92, 225, 0.18));
	box-shadow: inset 0 0 0 1px rgba(59, 110, 222, 0.12);
	font-family: "Sora", "Segoe UI", sans-serif;
	font-size: 1.6rem;
	font-weight: 700;
	letter-spacing: -0.05em;
	color: var(--ink);
	overflow: hidden;
}

.merchant-logo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.eyebrow {
	margin: 0;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.merchant-rail h1,
.content-intro h2,
.terms-card h3,
.content-grid h3,
.rail-box strong,
.related-card strong,
.site-footer h2,
.site-footer h3,
.metric-card strong {
	margin: 0;
	font-family: "Sora", "Segoe UI", sans-serif;
}

.merchant-rail h1 {
	margin-top: 14px;
	font-size: clamp(2.8rem, 5vw, 4.4rem);
	line-height: 0.98;
	letter-spacing: -0.05em;
}

.merchant-name-link {
	text-decoration: none;
	transition: color 0.16s ease;
}

.merchant-name-link:hover,
.merchant-name-link:focus-visible {
	color: var(--accent);
}

.merchant-website {
	margin: 14px 0 0;
	font-size: 0.95rem;
	font-weight: 700;
	color: var(--accent);
}

.merchant-summary,
.content-grid p,
.related-card p,
.site-footer p,
.rail-box p,
.terms-card p {
	color: var(--muted);
	line-height: 1.8;
}

.merchant-summary {
	margin: 18px 0 0;
}

.merchant-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-top: 18px;
}

.merchant-chip,
.related-chip {
	display: inline-flex;
	align-items: center;
	min-height: 34px;
	padding: 0 14px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.9);
	border: 1px solid rgba(88, 118, 170, 0.14);
	font-size: 0.82rem;
	font-weight: 700;
	color: var(--muted);
}

.rail-stats {
	display: grid;
	gap: 18px;
	margin-top: 18px;
}

.rail-box {
	margin-top: 18px;
}

.rail-stats span {
	display: block;
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.rail-stats strong {
	display: block;
	margin-top: 8px;
	font-size: 1.05rem;
	letter-spacing: -0.03em;
}

.rail-box p {
	margin: 14px 0 0;
}

.stacked-actions {
	margin-top: 14px;
	flex-direction: column;
}

.stacked-actions .button {
	width: 100%;
}

.detail-content {
	display: grid;
	gap: 18px;
}

.detail-frame {
	padding: 24px;
	border-radius: 26px;
	border: 1px solid var(--line);
	background: var(--paper-strong);
	box-shadow: var(--shadow-strong);
	backdrop-filter: blur(14px);
}

.hero-frame {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(280px, 0.95fr);
	gap: 22px;
	align-items: stretch;
}

.promo-frame {
	display: grid;
	grid-template-columns: minmax(0, 0.7fr) minmax(320px, 1.3fr);
	gap: 20px;
	align-items: center;
}

.screenshot-frame {
	padding: 0;
	overflow: hidden;
	background: #121722;
	min-height: 100%;
}

.hero-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.content-intro h2 {
	margin-top: 12px;
	font-size: clamp(2rem, 4vw, 3.5rem);
	line-height: 1;
	letter-spacing: -0.05em;
}

.hero-description {
	max-width: 54ch;
	margin: 18px 0 0;
	color: var(--muted);
	font-size: 1rem;
	line-height: 1.9;
}

.promo-description {
	margin: 18px 0 0;
	color: var(--muted);
	line-height: 1.85;
}

.hero-metrics {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px;
	margin-top: 24px;
}

.metric-card,
.terms-card,
.related-card {
	border: 1px solid rgba(80, 109, 154, 0.12);
	background: rgba(255, 255, 255, 0.76);
}

.metric-card {
	padding: 18px;
	border-radius: 20px;
}

.metric-card span {
	display: block;
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--muted);
}

.metric-card strong {
	display: block;
	margin-top: 12px;
	font-size: 1.15rem;
	line-height: 1.4;
	letter-spacing: -0.03em;
}

.promo-banner-slot {
	position: relative;
	min-height: 240px;
	padding: 28px;
	border-radius: 24px;
	overflow: hidden;
	border: 1px solid rgba(80, 109, 154, 0.12);
	background:
		linear-gradient(135deg, rgba(59, 110, 222, 0.14), rgba(115, 92, 225, 0.18)),
		repeating-linear-gradient(
			135deg,
			rgba(255, 255, 255, 0.14) 0,
			rgba(255, 255, 255, 0.14) 18px,
			rgba(255, 255, 255, 0.03) 18px,
			rgba(255, 255, 255, 0.03) 36px
		),
		linear-gradient(135deg, #1f3157 0%, #365aa0 55%, #7b62e5 100%);
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.16);
}

.promo-banner-slot::after {
	position: absolute;
	inset: 14px;
	border: 1px dashed rgba(255, 255, 255, 0.38);
	border-radius: 18px;
	content: "";
	pointer-events: none;
}

.promo-banner-copy {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	height: 100%;
	max-width: 32rem;
	color: #ffffff;
}

.promo-chip {
	display: inline-flex;
	align-items: center;
	align-self: flex-start;
	min-height: 34px;
	padding: 0 12px;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	border: 1px solid rgba(255, 255, 255, 0.18);
	font-size: 0.8rem;
	font-weight: 800;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.promo-banner-copy strong {
	display: block;
	margin-top: 18px;
	font-family: "Sora", "Segoe UI", sans-serif;
	font-size: clamp(1.7rem, 3vw, 2.5rem);
	line-height: 1.02;
	letter-spacing: -0.05em;
}

.promo-banner-copy p {
	max-width: 28rem;
	margin: 14px 0 0;
	line-height: 1.75;
	color: rgba(255, 255, 255, 0.86);
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 20px;
	margin-top: 22px;
}

.content-grid h3 {
	font-size: 1.4rem;
	letter-spacing: -0.04em;
}

.content-grid p {
	margin: 12px 0 0;
}

.terms-grid {
	display: grid;
	gap: 16px;
	margin-top: 22px;
}

.terms-card {
	border-radius: 22px;
	overflow: hidden;
}

.terms-card[open] {
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 18px 38px rgba(53, 88, 141, 0.08);
}

.terms-label {
	display: inline-block;
	padding: 6px 10px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.terms-card summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 18px;
	padding: 22px;
	cursor: pointer;
	list-style: none;
}

.terms-card summary::-webkit-details-marker {
	display: none;
}

.terms-summary-copy {
	min-width: 0;
}

.terms-card h3 {
	margin-top: 18px;
	font-size: 1.25rem;
	letter-spacing: -0.04em;
}

.terms-card summary svg {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
	fill: none;
	stroke: currentColor;
	stroke-linecap: round;
	stroke-linejoin: round;
	stroke-width: 2.25;
	color: var(--muted);
	transition: transform 180ms ease;
}

.terms-card[open] summary svg {
	transform: rotate(180deg);
}

.terms-card p {
	margin: 0;
	padding: 0 22px 22px;
}

.tips-panel {
	padding: 4px 0 0;
}

.tips-list {
	display: grid;
	gap: 14px;
	margin: 22px 0 0;
	padding: 0;
	list-style: none;
}

.tips-list li {
	position: relative;
	padding: 18px 18px 18px 58px;
	border-radius: 20px;
	border: 1px solid rgba(80, 109, 154, 0.12);
	background: rgba(255, 255, 255, 0.76);
	color: var(--muted);
	line-height: 1.8;
}

.tips-list li::before {
	position: absolute;
	left: 18px;
	top: 18px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 999px;
	background: var(--accent-soft);
	color: var(--accent);
	font-size: 0.85rem;
	font-weight: 800;
	content: "Tip";
}

.related-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 16px;
	margin-top: 24px;
}

.related-card {
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	gap: 18px;
	padding: 22px;
	border-radius: 22px;
}

.related-logo-stage {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 160px;
	padding: 22px;
	border-radius: 20px;
	overflow: hidden;
	background:
		radial-gradient(circle at 22% 24%, rgba(255, 255, 255, 0.22), transparent 22%),
		radial-gradient(circle at 80% 72%, rgba(255, 255, 255, 0.14), transparent 20%),
		linear-gradient(
			135deg,
			hsl(var(--related-hue) 70% 95%) 0%,
			hsl(var(--related-hue) 75% 88%) 100%
		);
	border: 1px solid rgba(255, 255, 255, 0.56);
}

.related-logo-stage::after {
	position: absolute;
	inset: 10px;
	border: 1px dashed rgba(61, 88, 132, 0.18);
	border-radius: 16px;
	content: "";
	pointer-events: none;
}

.merchant-logo-large {
	width: 94px;
	height: 94px;
	border-radius: 28px;
	font-size: 1.35rem;
	box-shadow:
		inset 0 0 0 1px rgba(59, 110, 222, 0.08),
		0 18px 34px rgba(43, 71, 114, 0.12);
}

.related-card-title {
	display: block;
	font-size: 1.3rem;
	font-family: "Sora", "Segoe UI", sans-serif;
	font-weight: 700;
	letter-spacing: -0.04em;
	transition: color 0.16s ease;
}

.related-card-title:hover,
.related-card-title:focus-visible {
	color: var(--accent);
}

.related-card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.related-card-footer a {
	font-size: 0.9rem;
	font-weight: 800;
	color: var(--accent);
}

.site-footer {
	margin-top: 30px;
	padding: 30px 32px 22px;
	border-radius: 26px;
	border: 1px solid var(--line);
	background: linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(248, 251, 255, 0.88));
	box-shadow: var(--shadow-strong);
	backdrop-filter: blur(14px);
}

.footer-shell {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	padding-bottom: 20px;
	border-bottom: 1px solid var(--line);
}

.footer-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	min-width: 0;
	max-width: 520px;
}

.footer-brand img {
	width: 50px;
	height: 50px;
	border-radius: 16px;
	object-fit: cover;
}

.footer-brand strong {
	display: block;
	font-size: 1.08rem;
	line-height: 1.1;
}

.footer-brand p:last-child {
	margin: 4px 0 0;
	max-width: 460px;
	font-size: 0.9rem;
	line-height: 1.45;
}

.footer-install-links {
	display: flex;
	flex-wrap: nowrap;
	justify-content: end;
	gap: 8px;
}

.footer-pill {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 46px;
	height: 46px;
	padding: 0;
	border: 1px solid rgba(124, 144, 178, 0.18);
	border-radius: 15px;
	background: rgba(246, 250, 255, 0.82);
	color: var(--brand-deep);
}

.footer-pill img,
.footer-link-with-logo img {
	width: 22px;
	height: 22px;
	flex: 0 0 auto;
}

.footer-pill img {
	width: 30px;
	height: 30px;
}

.site-footer h3 {
	margin: 0 0 10px;
	font-size: 0.78rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ink);
}

.footer-grid {
	display: grid;
	grid-template-columns: minmax(220px, 1.35fr) minmax(140px, 0.8fr) minmax(120px, 0.7fr) minmax(150px, 0.8fr);
	align-items: start;
	gap: clamp(24px, 4vw, 56px);
	padding: 22px 0 20px;
}

.footer-column {
	display: grid;
	align-content: start;
	gap: 8px;
	min-width: 0;
}

.site-footer a,
.footer-link-list a {
	display: block;
	margin-top: 0;
	color: var(--muted);
	font-size: 0.94rem;
	font-weight: 700;
	line-height: 1.35;
	text-decoration: none;
}

.site-footer a:hover,
.site-footer a:focus-visible {
	color: var(--accent);
}

.footer-install-links .footer-pill {
	display: inline-flex;
	margin-top: 0;
}

.footer-link-list {
	display: grid;
	gap: 8px;
}

.footer-link-list a {
	margin-top: 0;
}

.footer-inline-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.footer-inline-links a {
	margin-top: 0;
}

.footer-link-with-logo {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 1px solid rgba(124, 144, 178, 0.16);
	border-radius: 12px;
	background: rgba(246, 250, 255, 0.82);
}

.footer-bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	border-top: 1px solid var(--line);
}

.footer-bottom p {
	margin: 0;
	font-size: 14px;
}

@media (max-width: 1080px) {
	.detail-main,
	.hero-frame,
	.promo-frame,
	.hero-metrics,
	.content-grid,
	.search-deals-grid,
	.related-grid {
		grid-template-columns: 1fr;
	}

	.footer-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.merchant-rail {
		position: static;
	}

	.site-header {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		column-gap: 16px;
		row-gap: 12px;
	}

	.header-search {
		grid-column: 1 / -1;
		grid-row: 2;
		width: 100%;
	}

	.header-actions {
		display: none;
	}

	.mobile-menu-toggle {
		display: inline-flex;
		grid-column: 2;
		grid-row: 1;
		align-self: center;
		justify-self: end;
		width: 50px;
		height: 50px;
	}

	.search-deals-panel {
		grid-column: 1 / -1;
		grid-row: 3;
		display: none;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		width: 100%;
		transform: none;
	}

	.site-header.search-deals-open .search-deals-panel {
		display: grid;
		transform: none;
	}

	.search-history-list {
		justify-content: flex-start;
	}

	.footer-shell,
	.footer-bottom {
		align-items: start;
		justify-content: flex-start;
	}

	.footer-shell {
		grid-template-columns: 1fr;
	}

	.footer-install-links {
		justify-content: start;
	}
}

@media (max-width: 720px) {
	.detail-shell {
		padding: 16px 14px 60px;
	}

	.footer-grid {
		grid-template-columns: 1fr;
		gap: 14px;
	}

	.footer-brand {
		align-items: flex-start;
	}

	.footer-install-links {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.footer-pill {
		width: 100%;
	}

	.footer-column:not(:last-child) {
		padding-bottom: 12px;
		border-bottom: 1px solid rgba(124, 144, 178, 0.14);
	}

	.site-header {
		grid-template-columns: minmax(0, 1fr) auto;
		align-items: center;
		gap: 10px 12px;
		padding: 12px 0 14px;
	}

	.brand {
		align-self: center;
	}

	.brand img {
		width: clamp(136px, 42vw, 168px);
	}

	.header-search {
		grid-column: 1 / -1;
		grid-row: 2;
		grid-template-columns: minmax(0, 1fr) 48px;
		border-radius: 24px;
		padding: 8px;
	}

	.header-search input {
		padding: 0 14px;
		font-size: 14px;
	}

	.header-search button {
		width: 48px;
		height: 48px;
		justify-self: end;
	}

	.header-search:focus-within,
	.site-header.search-deals-open .header-search {
		grid-template-columns: minmax(0, 1fr) 132px;
	}

	.header-search:focus-within button,
	.site-header.search-deals-open .header-search button {
		width: 128px;
		padding: 0 18px;
		box-shadow: 0 10px 22px rgba(36, 125, 255, 0.22);
	}

	.header-search:focus-within .header-search-button-label,
	.site-header.search-deals-open .header-search-button-label {
		max-width: 76px;
		margin-left: 8px;
		opacity: 1;
	}

	.search-deals-panel {
		grid-column: 1 / -1;
		display: none;
		position: relative;
		top: auto;
		left: auto;
		right: auto;
		grid-template-columns: 1fr;
		width: 100%;
		max-height: min(64vh, 520px);
		margin-top: 0;
		padding: 18px 16px 20px;
		overflow-y: auto;
		border-radius: 22px;
		box-shadow: 0 18px 38px rgba(24, 43, 74, 0.16);
	}

	.site-header.search-deals-open .search-deals-panel {
		display: grid;
		transform: none;
	}

	.mobile-menu-drawer {
		top: 12px;
		right: 12px;
		bottom: 12px;
		width: min(24rem, calc(100vw - 24px));
		padding: 20px 16px 18px;
		border-radius: 24px;
	}

	.mobile-menu-toggle {
		grid-column: 2;
		grid-row: 1;
		width: 48px;
		height: 48px;
		border-radius: 16px;
	}

	.search-shop-result {
		grid-template-columns: 46px minmax(0, 1fr);
	}

	.search-history-list {
		display: grid;
		grid-template-columns: 1fr;
		gap: 8px;
	}

	.search-history-chip {
		justify-content: flex-start;
		min-height: 44px;
		border-radius: 14px;
		text-align: left;
	}

	.search-result-logo {
		width: 46px;
		height: 46px;
	}

	.header-actions .button,
	.detail-actions .button,
	.stacked-actions .button,
	.related-card-footer {
		width: 100%;
	}

	.related-card-footer {
		align-items: flex-start;
		flex-direction: column;
	}
}
