/*
 * Shop: /shop (black stage) and /shop/hummm (FUSS light). Figma: Hummm file,
 * page "13 Shop", "Shop: final", 1440 and 390. The page fills the window; the
 * site's left panel and rounded right panel are not used here.
 */

/* ---------- Page ---------- */

html:has(body.fuss-shop) {
	background: var(--shop-page, #121117);
}

body.fuss-shop {
	--shop-page: #121117;
	background: var(--shop-page);
}

body.fuss-shop-light {
	--shop-page: #e7e9e0;
}

.fuss-shop #header.v2Nav,
.fuss-shop #landingRoller {
	display: none !important;
}

.fuss-v2.fuss-shop #container,
.fuss-shop #container {
	max-width: none;
	width: auto;
	height: auto;
	min-height: 0;
	margin: 0;
	border: 0;
	border-radius: 0;
	background: var(--shop-page);
	overflow: visible;
}

.shop {
	--ink: #121117;
	--paper: #fafbf7;
	--light: #e7e9e0;
	--green: #1ae32f;
	--m: 24px;
	--bar-h: 48px;
	--line: color-mix(in srgb, currentColor 15%, transparent);
	position: relative;
	background: var(--bg);
	color: var(--fg);
	font-family: "Faktum";
	font-weight: 400;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	text-rendering: geometricPrecision;
	/* No room kept for the bar at the end: it steps aside at the footer (js/shop.js), so the green footer ends the page. */
	padding-bottom: 0;
	overflow: clip;
}

.shop-light {
	--bg: var(--light);
	--fg: var(--ink);
	--seg-on-bg: var(--ink);
	--seg-on-fg: var(--paper);
	--buy-bg: var(--ink);
	--buy-fg: var(--paper);
	--bar-bg: var(--light);
	--bar-fg: var(--ink);
}

.shop-dark {
	--bg: var(--ink);
	--fg: var(--paper);
	--seg-on-bg: var(--paper);
	--seg-on-fg: var(--ink);
	--buy-bg: var(--paper);
	--buy-fg: var(--ink);
	--bar-bg: var(--ink);
	--bar-fg: var(--paper);
}

.shop p,
.shop h2,
.shop h3 {
	margin: 0;
	padding: 0;
	font-size: inherit;
	line-height: inherit;
	font-weight: inherit;
}

.shop a {
	color: inherit;
	font-family: inherit;
}

.shop img,
.shop video {
	display: block;
	max-width: 100%;
}

.shop button {
	font: inherit;
	color: inherit;
	background: none;
	border: 0;
	padding: 0;
	cursor: pointer;
}

/* ---------- Top bar ---------- */

.shop .shopTop {
	position: sticky;
	top: 0;
	bottom: auto;
	z-index: 40;
	display: flex;
	align-items: center;
	gap: 24px;
	max-width: none;
	width: auto;
	height: 48px;
	padding: 0 var(--m);
	overflow: visible;
	background: var(--bg);
	color: var(--fg);
}

.shopLogo {
	display: block;
	line-height: 0;
}

.shopCrumb {
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shopCrumb a {
	text-decoration: none;
}

.shopCrumb a:hover {
	text-decoration: underline;
}

.shop .shopMenuBtn {
	position: relative;
	top: auto;
	right: auto;
	margin-left: auto;
	width: 19px;
	height: 12.25px;
}

.shop .shopMenuBtn span {
	background: var(--fg);
}

.shop .shopMenuBtn:hover span,
.shop .shopMenuBtn:focus-visible span {
	background: #b49c3a;
}

/* Account icon (store on): the menu button's colour, ink or paper; hover gold. */
.shop .shopAccount {
	margin-left: auto;
	color: var(--fg);
}

/* ~ not +: off the store pages a small script follows the icon (inc/store/routes.php). */
.shop .shopAccount ~ .shopMenuBtn {
	margin-left: -12px; /* 12px from the icon's edge = 16px glyph to glyph (bar gap is 24) */
}

.shop .shopAccount:hover,
.shop .shopAccount:focus-visible {
	color: #b49c3a;
}

.shop .shopAccount:focus-visible {
	outline-color: var(--fg);
}

/* ---------- Hero: the demo store, film playing ---------- */

.shopHero {
	position: relative;
	height: calc(100vh - 48px);
	height: calc(100svh - 48px);
	min-height: 480px;
	max-height: 1100px;
	background: #5b5f55;
	overflow: hidden;
}

.shopHeroMedia {
	position: absolute;
	inset: 0;
	opacity: 0;
	visibility: hidden;
	transition: opacity .4s ease, visibility 0s linear .4s;
}

.shopHeroMedia.is-on {
	opacity: 1;
	visibility: visible;
	transition: opacity .4s ease;
}

.shopHeroMedia picture {
	display: block;
	width: 100%;
	height: 100%;
}

.shopHeroMedia img,
.shopHeroMedia video {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center top;
}

.shopFilm {
	object-position: center;
}

.shopStore {
	position: absolute;
	inset: 0;
	color: #fafbf7;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	pointer-events: none;
}

.shopStoreNav {
	display: flex;
	align-items: center;
	gap: 38px;
	padding: 18px 24px;
	font-size: 13px;
	line-height: 1;
}

.shopStoreNav b {
	font-size: 20px;
	font-weight: 500;
	letter-spacing: -.02em;
	margin-right: 18px;
}

.shopStoreLinks,
.shopStoreRight {
	display: flex;
	gap: 22px;
}

.shopStoreRight {
	margin-left: auto;
}

.shopStoreCopy {
	position: absolute;
	left: 24px;
	right: 24px;
	bottom: calc(var(--bar-h) + 24px);
}

.shop .shopStoreMono {
	font-family: ui-monospace, Menlo, Consolas, monospace;
	font-size: 11px;
	line-height: 1.4;
	opacity: .85;
}

.shop .shopStoreLine {
	margin-top: 8px;
	max-width: 560px;
	font-size: clamp(32px, 3.7vw, 54px);
	line-height: 1.04;
	font-weight: 500;
	letter-spacing: -.025em;
}

.shop .shopStoreLink {
	margin-top: 16px;
	font-size: 13px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Name ---------- */

.shopName {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	padding: 96px var(--m) 0;
}

/* Desktop keeps the preset switch in the bar; phones get it here. */
.shopName .shopPresets {
	display: none;
}

.shop .shopKicker {
	grid-column: 1;
	max-width: 320px;
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shop .shopLead {
	grid-column: 2;
	max-width: 640px;
	font-size: clamp(22px, 2.08vw, 30px);
	line-height: 1.267;
	letter-spacing: -.01em;
}

.shop .shopGiant {
	grid-column: 1 / -1;
	margin: clamp(80px, 13vw, 190px) -4px 0;
	font-size: calc((100vw - 40px) / 2.195);
	line-height: .78;
	font-weight: 500;
	letter-spacing: -.03em;
	white-space: nowrap;
	text-align: center;
}

.shopGiant span {
	display: inline-block;
}

/* ---------- Sections ---------- */

.shopSec {
	padding: 100px var(--m) 0;
}

.shopHead {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	align-items: start;
}

.shop .shopH2 {
	max-width: 640px;
	font-size: clamp(40px, 5vw, 72px);
	line-height: 1.056;
	letter-spacing: -.02em;
	font-weight: 400;
}

.shop .shopSub {
	max-width: 456px;
	padding-top: 12px;
	font-size: 18px;
	line-height: 1.4;
	opacity: .7;
}

.shopCap {
	display: block;
	margin-top: 20px;
	font-size: 15px;
	line-height: 20px;
}

.shopCapTitle {
	display: block;
	font-weight: 500;
}

.shopCapText {
	display: block;
	max-width: 560px;
	margin-top: 2px;
	opacity: .6;
}

.shopFrame {
	position: relative;
	aspect-ratio: 16 / 10;
	margin-top: 52px;
	background: #5b5f55;
	overflow: hidden;
}

.shopFrame img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

/* Segmented control: Plate/Atlas/Poster and the five views. */
.shopSeg {
	display: flex;
	flex-wrap: wrap;
	gap: 2px;
}

.shop .shopSegBtn {
	height: 32px;
	padding: 0 14px;
	border-radius: 16px;
	font-size: 15px;
	line-height: 32px;
	opacity: .55;
	white-space: nowrap;
	transition: background-color .2s, color .2s, opacity .2s;
}

.shop .shopSegBtn:hover {
	opacity: 1;
}

.shop .shopSegBtn.is-on {
	background: var(--seg-on-bg);
	color: var(--seg-on-fg);
	opacity: 1;
}

.shopViews {
	margin-top: 100px;
}

.shopViews + .shopFrame {
	margin-top: 20px;
}

.shopView {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity .35s ease;
}

.shopView.is-on {
	opacity: 1;
}

/* ---------- Openings: tabs over a sideways track ---------- */

.shopTabs {
	display: flex;
	align-items: baseline;
	gap: 24px;
	margin-top: 100px;
	font-size: 18px;
	line-height: 24px;
}

.shopTabList {
	display: flex;
	flex-wrap: wrap;
	gap: 0 28px;
}

.shop .shopTab {
	opacity: .45;
	text-decoration: none;
	text-underline-offset: 4px;
	transition: opacity .2s;
}

.shop .shopTab:hover {
	opacity: .8;
}

.shop .shopTab.is-on {
	opacity: 1;
	text-decoration: underline;
}

.shopTabCount {
	margin-left: auto;
	opacity: .6;
	white-space: nowrap;
}

.shopTrack {
	display: flex;
	gap: 24px;
	margin: 20px calc(var(--m) * -1) 0;
	padding: 0 var(--m);
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding: 0 var(--m);
	scrollbar-width: none;
	overscroll-behavior-x: contain;
}

.shopTrack::-webkit-scrollbar {
	display: none;
}

.shopSlide {
	flex: 0 0 83.34%;
	aspect-ratio: 16 / 10;
	scroll-snap-align: center;
	background: #5b5f55;
	overflow: hidden;
}

/* The first slide sits flush left and the last flush right; the ones between are centred,
   so the slides either side peek in. */
.shopSlide:first-child {
	scroll-snap-align: start;
}

.shopSlide:last-child {
	scroll-snap-align: end;
}

/* Peeking slides bring themselves in on click, tap, Enter or Space (js/shop.js). */
.shopSlide:not(.is-current) {
	cursor: pointer;
}

.shopSlide:focus-visible {
	outline: 2px solid var(--fg);
	outline-offset: -2px;
}

.shopSlide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

/* ---------- Product pages ---------- */

.shopPdpGrid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px var(--m);
	margin-top: 100px;
}

.shopPdpImg {
	aspect-ratio: 16 / 10;
	background: #5b5f55;
	overflow: hidden;
}

.shopPdpImg img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: top;
}

.shopPdpTile .shopCap {
	margin-top: 18px;
}

/* ---------- Licenses left ---------- */

.shopCount {
	margin-top: 100px;
	min-height: calc(100vh + 18px);
	min-height: calc(100svh + 18px);
	margin-bottom: -18px;
	padding: 0 var(--m) 18px;
	display: flex;
	align-items: center;
	background: var(--shop-tone, #1ae32f);
	color: #121117;
}

.shopCountInner {
	display: grid;
	grid-template-columns: auto 1fr;
	grid-template-rows: auto auto;
	column-gap: 64px;
	width: 100%;
	align-items: start;
}

.shop .shopCountLabel {
	grid-column: 1;
	font-size: 12px;
	line-height: 16.8px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.shop .shopCountNum,
.shop .shopCountOut {
	grid-column: 1;
	grid-row: 2;
	margin-left: -18px;
	font-size: clamp(240px, 38.9vw, 600px);
	line-height: .78;
	font-weight: 500;
	letter-spacing: -.05em;
	padding-top: .06em;
}

.shop .shopCountOut {
	grid-column: 1 / -1;
	grid-row: 2;
	font-size: calc((100vw - 40px) / 3.544);
	letter-spacing: -.04em;
	white-space: nowrap;
	margin-top: 24px;
}

.shopCountSide {
	grid-column: 2;
	grid-row: 1 / span 2;
	justify-self: end;
	width: min(50vw - var(--m), 696px);
	max-width: 100%;
	padding-top: 4px;
}

.shopCountInner.is-out .shopCountSide {
	grid-row: 1;
}

.shop .shopCountAt {
	font-size: clamp(32px, 3.34vw, 48px);
	line-height: 1.08;
	font-weight: 500;
	letter-spacing: -.01em;
}

.shop .shopCountLine {
	max-width: 384px;
	margin-top: 20px;
	font-size: 18px;
	line-height: 24px;
}

.shopCountInner.is-out .shopCountLine {
	max-width: 600px;
	margin-top: 0;
	font-size: clamp(22px, 2.08vw, 30px);
	line-height: 1.27;
}

.shop .shopCountAfter {
	max-width: 384px;
	margin-top: 64px;
	font-size: 15px;
	line-height: 20px;
	opacity: .65;
}

/* ---------- Buy ---------- */

.shopBuy {
	position: relative;
	z-index: 1;
	padding: 80px var(--m) 96px;
	border-radius: 18px 18px 0 0;
	background: var(--buy-bg);
	color: var(--buy-fg);
}

.shopBuyHead {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
}

.shop .shopBuyTitle {
	font-size: clamp(48px, 6.25vw, 90px);
	line-height: 1.11;
	font-weight: 500;
	letter-spacing: -.01em;
}

.shop .shopBuyIntro {
	max-width: 560px;
	padding-top: 16px;
	font-size: 18px;
	line-height: 1.4;
}

.shopLics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	margin-top: 80px;
}

.shopLic {
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.shop .shopLicName {
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
}

.shop .shopLicFor {
	margin-top: 4px;
	font-size: 18px;
	line-height: 25px;
	opacity: .6;
}

.shop .shopLicPrice {
	margin: 24px 0 0 -3px;
	font-size: 72px;
	line-height: 76px;
	letter-spacing: -.02em;
}

.shop .shopLicNote {
	margin-top: 8px;
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shop .shopLicInc {
	margin-top: 32px;
	font-size: 18px;
	line-height: 28px;
}

.shop .shopBuyBtn {
	display: inline-flex;
	align-items: center;
	height: 52px;
	margin-top: 20px;
	padding: 0 26px;
	border-radius: 26px;
	background: var(--green);
	color: var(--ink);
	font-size: 16px;
	font-weight: 500;
	line-height: 1;
	white-space: nowrap;
	cursor: default;
}

.shop .shopBuyBtnSm {
	height: 32px;
	margin: 0;
	padding: 0 20px;
	border-radius: 16px;
	font-size: 15px;
}

/* The license line under the two licenses. */
.shop .shopLicLegal {
	margin-top: 32px;
	font-size: 15px;
	line-height: 20px;
	opacity: .7;
}

.shopLicLegal a,
.shopFootCols a:hover {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shopRow {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--line);
}

.shopLics + .shopRow {
	margin-top: 64px;
}

.shop .shopRowHead {
	font-size: 24px;
	line-height: 30px;
	font-weight: 500;
}

.shopList {
	font-size: 18px;
	line-height: 30px;
}

.shopRow > .shopList:first-of-type {
	grid-column: 2;
}

.shopRow > .shopList + .shopList {
	grid-column: 2;
}

@media (min-width: 1200px) {
	.shopRow:has(.shopList + .shopList) {
		grid-template-columns: 1fr .5fr .5fr;
	}

	.shopRow > .shopList + .shopList {
		grid-column: 3;
	}
}

.shopTry {
	grid-column: 2;
	font-size: 24px;
	line-height: 44px;
}

.shopTry a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 5px;
}

/* North-east arrow after outside links. */
.shopTry a::after,
.shopBarDemo::after {
	content: '';
	display: inline-block;
	width: 11px;
	height: 11px;
	margin-left: 10px;
	vertical-align: 3px;
	background: currentColor;
	-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M1 10 10 1M3 1h7v7' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 11 11'%3E%3Cpath d='M1 10 10 1M3 1h7v7' fill='none' stroke='%23000' stroke-width='1.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.shopTry a[href^="mailto"]::after {
	display: none;
}

.shopFaq {
	grid-column: 2;
	margin-top: -4px;
}

.shopQ {
	border-top: 1px solid var(--line);
}

.shopQ:first-child {
	border-top: 0;
}

.shopQ summary {
	position: relative;
	display: block;
	padding: 18px 40px 18px 0;
	font-size: 18px;
	line-height: 24px;
	list-style: none;
	cursor: pointer;
}

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

.shopQ summary::before,
.shopQ summary::after {
	content: '';
	position: absolute;
	right: 0;
	top: 29px;
	width: 14px;
	height: 1.2px;
	background: currentColor;
}

.shopQ summary::after {
	transform: rotate(90deg);
	transition: transform .2s;
}

.shopQ[open] summary {
	font-weight: 500;
}

.shopQ[open] summary::after {
	transform: rotate(0deg);
}

.shopQ p {
	max-width: 600px;
	padding-bottom: 24px;
	font-size: 18px;
	line-height: 25px;
	opacity: .7;
}

.shop .shopSupport {
	padding-top: 24px;
	border-top: 1px solid var(--line);
	font-size: 18px;
	line-height: 24px;
	opacity: .7;
}

.shopSupport a {
	text-decoration: underline;
	text-underline-offset: 3px;
}

/* ---------- Footer (the green FUSS footer) ---------- */

.shop .shopFoot {
	position: relative;
	z-index: 1;
	padding: 15px;
	background: var(--green);
	color: var(--ink);
}

.shopFootCols {
	display: flex;
	gap: 30px;
}

.shop .shopFootCols p {
	font-size: 12px;
	line-height: 16.8px;
	font-weight: 500;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.shopFootCols a {
	text-decoration: none;
}

.shopFootSocial {
	display: flex;
	gap: 16px;
	margin-top: 16px;
}

.shopFootSocial img {
	width: 24px;
	height: auto;
}

.shopFootMark {
	width: 100%;
	height: auto;
	margin-top: 56px;
}

/* ---------- Pinned buy bar ---------- */

.shopBar {
	position: fixed;
	left: 0;
	right: 0;
	bottom: 0;
	z-index: 45;
	display: grid;
	grid-template-columns: 1fr auto 1fr;
	align-items: center;
	gap: 16px;
	height: var(--bar-h);
	padding: 0 var(--m);
	background: var(--bar-bg);
	color: var(--bar-fg);
	border-top: 1px solid color-mix(in srgb, var(--bar-fg) 14%, transparent);
	font-size: 15px;
	line-height: 20px;
	transform: translateY(0);
	transition: transform .35s cubic-bezier(.2, .7, .2, 1);
}

.shopBar.is-tucked {
	transform: translateY(100%);
}

.shop .shopBarName {
	min-width: 0;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.shopBarName b {
	font-weight: 500;
}

.shopBarName span {
	opacity: .6;
	margin-left: 4px;
}

.shopBarRight {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 20px;
	white-space: nowrap;
}

.shopBarDemo {
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shopBarDemo::after {
	width: 9px;
	height: 9px;
	margin-left: 6px;
	vertical-align: 2px;
}

.shopBarCount {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.shopDot {
	flex: 0 0 auto;
	width: 8px;
	height: 8px;
	border-radius: 50%;
	background: var(--shop-tone, #1ae32f);
}

/* Bar handle: pull up (or click) for the license sheet. */
.shop .shopBarHandle {
	position: absolute;
	top: 0;
	left: 50%;
	width: 72px;
	height: 14px;
	margin-left: -36px;
	cursor: pointer;
}

.shopBarHandle::before {
	content: '';
	position: absolute;
	top: 5px;
	left: 20px;
	width: 32px;
	height: 3px;
	border-radius: 1.5px;
	background: currentColor;
	opacity: .35;
	transition: opacity .2s;
}

.shopBarHandle:hover::before,
.shopBarHandle:focus-visible::before {
	opacity: .8;
}

.shop a.shopBuyBtn {
	text-decoration: none;
	cursor: pointer;
}

.shop .shopBuyBtn[aria-disabled="true"] {
	cursor: default;
}

.shop .shopBuyBtn:focus-visible,
.shop .shopSheetClose:focus-visible,
.shop .shopBarHandle:focus-visible {
	outline: 2px solid var(--ink);
	outline-offset: 3px;
}

/* ---------- License sheet (parts/shop/sheet.php) ---------- */

.shopSheet {
	position: fixed;
	inset: 0;
	z-index: 60;
	color: var(--ink);
}

.shopSheet[hidden] {
	display: none;
}

.shopSheetBack {
	position: absolute;
	inset: 0;
	background: rgba(18, 17, 23, .3);
	opacity: 0;
	transition: opacity .3s ease;
}

.shopSheetPanel {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: calc(100vh - 48px);
	max-height: calc(100svh - 48px);
	min-height: min(500px, calc(100svh - 48px));
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 32px var(--m) 40px;
	border-radius: 18px 18px 0 0;
	background: var(--paper);
	transform: translateY(100%);
	transition: transform .4s cubic-bezier(.2, .7, .2, 1);
	outline: none;
}

.shopSheet.is-open .shopSheetBack {
	opacity: 1;
}

.shopSheet.is-open .shopSheetPanel {
	transform: none;
}

.shopSheetHandle {
	position: absolute;
	top: 8px;
	left: 50%;
	width: 32px;
	height: 3px;
	margin-left: -16px;
	border-radius: 1.5px;
	background: var(--ink);
	opacity: .3;
}

.shopSheetTop {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	align-items: baseline;
	position: relative;
}

.shop .shopSheetTitle {
	font-size: 24px;
	line-height: 30px;
	font-weight: 400;
}

.shopSheetTitle b {
	font-weight: 500;
}

.shopSheetTitle span {
	margin-left: 4px;
	opacity: .45;
}

.shop .shopSheetCount {
	display: flex;
	align-items: center;
	gap: 8px;
	padding-right: 80px;
	font-size: 15px;
	line-height: 20px;
}

.shop .shopSheetClose {
	position: absolute;
	top: 4px;
	right: 0;
	font-size: 15px;
	line-height: 20px;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.shopSheetLics {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	margin-top: 32px;
}

.shopSheetLic {
	display: grid;
	grid-template-areas: 'name' 'for' 'price' 'note' 'inc' 'btn';
	justify-items: start;
	padding-top: 20px;
	border-top: 1px solid rgba(18, 17, 23, .15);
}

.shop .shopSheetName {
	grid-area: name;
	font-size: 20px;
	line-height: 26px;
	font-weight: 500;
}

.shop .shopSheetFor {
	grid-area: for;
	margin-top: 2px;
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shop .shopSheetPrice {
	grid-area: price;
	margin: 16px 0 0 -2px;
	font-size: 56px;
	line-height: 60px;
	letter-spacing: -.02em;
}

.shop .shopSheetNote {
	grid-area: note;
	margin-top: 8px;
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shop .shopSheetInc {
	grid-area: inc;
	margin-top: 16px;
	font-size: 15px;
	line-height: 20px;
}

.shopSheetLic .shopBuyBtn {
	grid-area: btn;
	margin-top: 28px;
}

.shop .shopSheetSmall {
	margin-top: 40px;
	font-size: 13px;
	line-height: 17px;
	opacity: .5;
}

.shopSheetSmall a {
	text-decoration: underline;
	text-underline-offset: 2px;
}

html.shop-sheet-open,
html.shop-sheet-open body {
	overflow: hidden;
}

@media (prefers-reduced-motion: reduce) {
	.shopSheetBack,
	.shopSheetPanel {
		transition: none;
	}
}

@media (max-width: 767px) {
	.shopSheetPanel {
		min-height: 0;
		max-height: 88svh;
		padding: 28px var(--m) 32px;
	}

	.shopSheetTop {
		grid-template-columns: 1fr;
	}

	.shop .shopSheetTitle {
		font-size: 20px;
		line-height: 26px;
	}

	.shopSheetTitle b {
		display: none;
	}

	.shopSheetTitle span {
		margin: 0;
		opacity: 1;
		font-weight: 500;
	}

	.shop .shopSheetCount {
		margin-top: 8px;
		padding-right: 0;
		opacity: .7;
	}

	.shop .shopSheetClose {
		top: 3px;
	}

	.shopSheetLics {
		grid-template-columns: 1fr;
		row-gap: 28px;
		margin-top: 20px;
	}

	.shopSheetLic {
		grid-template-columns: 1fr auto;
		grid-template-areas: 'name price' 'for price' 'note note' 'inc inc' 'btn btn';
		padding-top: 16px;
	}

	.shop .shopSheetName {
		font-size: 18px;
		line-height: 24px;
	}

	.shop .shopSheetPrice {
		justify-self: end;
		margin: 0;
		font-size: 32px;
		line-height: 36px;
	}

	.shop .shopSheetNote {
		margin-top: 10px;
		font-size: 13px;
		line-height: 17px;
	}

	.shop .shopSheetInc {
		margin-top: 8px;
	}

	.shopSheetLic .shopBuyBtn {
		width: 100%;
		margin-top: 16px;
	}

	.shop .shopSheetSmall {
		margin-top: 28px;
	}
}
/* ---------- /shop: the index ---------- */

.shopIndex {
	padding-bottom: 0;
}

.shopIndexHead {
	display: grid;
	grid-template-columns: 1fr 1fr;
	column-gap: var(--m);
	align-items: start;
	padding: 72px var(--m) 0;
}

.shop .shopIndexTitle {
	font-size: clamp(56px, 6.25vw, 90px);
	line-height: 1.11;
	font-weight: 500;
	letter-spacing: -.01em;
}

.shop .shopIndexIntro {
	max-width: 456px;
	padding-top: 16px;
	font-size: 18px;
	line-height: 1.4;
	opacity: .7;
}

.shopFilter {
	padding: 60px var(--m) 0;
}

.shopGrid {
	container-type: inline-size;
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 48px var(--m);
	padding: 24px var(--m) 144px;
}

.shopTile {
	display: block;
	text-decoration: none;
}

/* Grid rhythm (fuss_shop_grid_shapes): wide = two columns, full = the whole row. */
.shopTile.is-wide {
	grid-column: span 2;
}

.shopTile.is-full {
	grid-column: 1 / -1;
}

.shopTile[hidden] {
	display: none;
}

.shopTileImg {
	display: block;
	aspect-ratio: 448 / 560;
	border-radius: 3px;
	background: #e7e9e0;
	overflow: hidden;
}

.shopTile.is-wide .shopTileImg {
	aspect-ratio: 920 / 560;
}

/* The whole row keeps the row's height; the wide plate sits on its own ground, uncropped. */
.shopTile.is-full .shopTileImg {
	aspect-ratio: auto;
	height: calc((100vw - 4 * var(--m)) / 3 * 1.25);
	height: calc((100cqw - 2 * var(--m)) / 3 * 1.25);
}

.shopTile.is-full .shopTileImg img {
	object-fit: contain;
}

.shopTileImg picture,
.shopTileImg img {
	display: block;
	width: 100%;
	height: 100%;
}

.shopTileImg img {
	object-fit: cover;
	transition: transform .6s cubic-bezier(.2, .7, .2, 1);
}

.shopTile:hover .shopTileImg img {
	transform: scale(1.02);
}

.shopTileMeta {
	display: grid;
	grid-template-columns: 1fr auto;
	column-gap: 16px;
	margin-top: 16px;
}

.shopTileName,
.shopTilePrice {
	font-size: 18px;
	line-height: 24px;
	font-weight: 500;
}

.shopTilePrice {
	text-align: right;
}

.shopTilePrice.is-out {
	color: #ff4f1f;
}

.shopTileKind,
.shopTileLeft {
	font-size: 15px;
	line-height: 20px;
	opacity: .6;
}

.shopTileLeft {
	display: inline-flex;
	align-items: center;
	justify-content: flex-end;
	gap: 8px;
}

.shopTileLeft .shopDot {
	opacity: 1;
}

.shopTile:focus-visible {
	outline: 2px solid #1ae32f;
	outline-offset: 4px;
}
/* ---------- Motion: letters and headings rise (js/shop.js adds .is-in) ---------- */

.shop-motion .shopGiant span {
	transform: translateY(102%);
	opacity: 0;
	transition: transform .9s cubic-bezier(.2, .7, .2, 1), opacity .5s ease;
	transition-delay: calc(var(--i) * 60ms);
}

.shop-motion .shopGiant {
	overflow: hidden;
	padding-bottom: .06em;
}

.shop-motion .shopGiant.is-in span {
	transform: none;
	opacity: 1;
}

.shop-motion .shopRiseLine {
	transform: translateY(24px);
	opacity: 0;
	transition: transform .8s cubic-bezier(.2, .7, .2, 1), opacity .6s ease;
}

.shop-motion .shopRiseLine.is-in {
	transform: none;
	opacity: 1;
}

@media (prefers-reduced-motion: reduce) {
	.shop-motion .shopGiant span,
	.shop-motion .shopRiseLine {
		transform: none;
		opacity: 1;
		transition: none;
	}
}

/* ---------- Tablet ---------- */

@media (max-width: 1100px) {
	.shopBarName span,
	.shopBarDemo {
		display: none;
	}
}

/* ---------- Phone ---------- */

@media (max-width: 767px) {
	.shop {
		--m: 16px;
		--bar-h: 64px;
	}

	.shopStoreLinks,
	.shopStoreRight span:not(:last-child) {
		display: none;
	}

	.shop .shopStoreLine {
		font-size: 34px;
	}

	.shopName,
	.shopHead,
	.shopBuyHead,
	.shopLics,
	.shopRow {
		grid-template-columns: 1fr;
	}

	.shopName {
		padding-top: 24px;
	}

	.shopName .shopPresets {
		display: flex;
		margin-bottom: 32px;
	}

	.shop .shopPresets .shopSegBtn {
		padding: 0 11px;
		font-size: 14px;
	}

	.shop .shopLead {
		grid-column: 1;
		margin-top: 16px;
		font-size: 22px;
		line-height: 29px;
	}

	.shop .shopGiant {
		margin-top: 120px;
		font-size: calc((100vw - 28px) / 2.195);
	}

	.shopSec {
		padding-top: 56px;
	}

	.shop .shopH2 {
		font-size: 40px;
		line-height: 44px;
	}

	.shop .shopSub {
		padding-top: 16px;
		font-size: 15px;
		line-height: 19.5px;
	}

	.shopTabs {
		margin-top: 32px;
		font-size: 15px;
		line-height: 20px;
	}

	.shopTabList {
		flex-wrap: nowrap;
		gap: 0 20px;
		overflow-x: auto;
		scrollbar-width: none;
	}

	.shopTabList::-webkit-scrollbar {
		display: none;
	}

	.shop .shopTab {
		white-space: nowrap;
	}

	.shopTabCount {
		display: none;
	}

	.shopTrack {
		gap: 12px;
	}

	.shopSlide {
		flex-basis: 88%;
	}

	.shopViews {
		margin-top: 32px;
	}

	.shop .shopViews .shopSegBtn {
		padding: 0 11px;
		font-size: 14px;
	}

	.shopFrame {
		margin-top: 32px;
	}

	.shopPdpGrid {
		gap: 24px 11px;
		margin-top: 32px;
	}

	.shopPdpTile .shopCapText {
		display: none;
	}

	.shopCount {
		margin-top: 64px;
		align-items: center;
	}

	.shopCountInner {
		grid-template-columns: 1fr;
	}

	.shop .shopCountNum {
		margin-left: -10px;
		font-size: 61.5vw;
	}

	.shop .shopCountOut {
		font-size: calc((100vw - 24px) / 3.544);
	}

	.shopCountSide {
		grid-column: 1;
		grid-row: auto;
		justify-self: start;
		width: auto;
		padding-top: 24px;
	}

	.shopCountInner.is-out .shopCountSide {
		grid-row: auto;
	}

	.shop .shopCountAt {
		font-size: 32px;
	}

	.shop .shopCountLine {
		font-size: 15px;
		line-height: 20px;
	}

	.shop .shopCountAfter {
		margin-top: 24px;
		font-size: 14px;
		line-height: 18px;
	}

	.shopBuy {
		padding: 40px var(--m) 64px;
	}

	.shop .shopBuyTitle {
		font-size: 48px;
		line-height: 56px;
	}

	.shop .shopBuyIntro {
		padding-top: 16px;
		font-size: 15px;
		line-height: 19.5px;
	}

	.shopLics {
		margin-top: 48px;
		row-gap: 48px;
	}

	.shop .shopLicName {
		font-size: 20px;
		line-height: 26px;
	}

	.shop .shopLicFor {
		font-size: 15px;
		line-height: 19.5px;
	}

	.shop .shopLicPrice {
		font-size: 56px;
		line-height: 60px;
	}

	.shop .shopLicNote {
		font-size: 13px;
		line-height: 17px;
	}

	.shop .shopLicInc {
		margin-top: 20px;
		font-size: 15px;
		line-height: 24px;
	}

	.shop .shopBuyBtn {
		display: flex;
		justify-content: center;
		width: 100%;
	}

	.shopRow {
		margin-top: 48px;
		padding-top: 20px;
	}

	.shop .shopRowHead {
		font-size: 20px;
		line-height: 26px;
		margin-bottom: 16px;
	}

	.shopRow > .shopList:first-of-type,
	.shopRow > .shopList + .shopList,
	.shopTry,
	.shopFaq {
		grid-column: 1;
	}

	.shopList {
		font-size: 15px;
		line-height: 24px;
	}

	.shopTry {
		font-size: 18px;
		line-height: 36px;
	}

	.shopQ summary {
		padding: 16px 32px 16px 0;
		font-size: 15px;
		line-height: 20px;
	}

	.shopQ summary::before,
	.shopQ summary::after {
		top: 25px;
		width: 12px;
	}

	.shopQ p,
	.shop .shopSupport {
		font-size: 15px;
		line-height: 19.5px;
	}

	.shop .shopFoot {
		padding: 9px;
	}

	.shopFootCols {
		flex-direction: column;
		gap: 16px;
	}

	/* Bar: name and count on the left, the button on the right. */
	.shopBar {
		grid-template-columns: 1fr auto;
		grid-template-rows: auto auto;
		column-gap: 12px;
		row-gap: 2px;
		align-content: center;
	}

	.shopBarName {
		grid-column: 1;
		grid-row: 1;
	}

	.shopBarPresets {
		display: none;
	}

	.shopBarRight {
		display: contents;
	}

	.shopBarCount {
		grid-column: 1;
		grid-row: 2;
		font-size: 13px;
		line-height: 17px;
		opacity: .7;
	}

	.shopDot {
		width: 7px;
		height: 7px;
	}

	.shop .shopBuyBtnSm {
		grid-column: 2;
		grid-row: 1 / span 2;
		height: 40px;
		padding: 0 18px;
		border-radius: 20px;
	}

	.shopIndexHead {
		grid-template-columns: 1fr;
		padding-top: 40px;
	}

	.shop .shopIndexTitle {
		font-size: 48px;
		line-height: 56px;
	}

	.shop .shopIndexIntro {
		padding-top: 12px;
		font-size: 15px;
		line-height: 19.5px;
	}

	.shopFilter {
		padding-top: 32px;
	}

	.shop .shopFilter .shopSegBtn {
		padding: 0 11px;
		font-size: 14px;
	}

	.shopGrid {
		grid-template-columns: 1fr;
		padding-top: 24px;
		padding-bottom: 96px;
	}

	.shopTile.is-wide,
	.shopTile.is-full {
		grid-column: auto;
	}

	.shopTile.is-wide .shopTileImg,
	.shopTile.is-full .shopTileImg {
		height: auto;
		aspect-ratio: 448 / 560;
	}

	.shopTile.is-full .shopTileImg img {
		object-fit: cover;
	}

	.shopTileMeta {
		margin-top: 12px;
	}

	.shopTileName,
	.shopTilePrice {
		font-size: 15px;
		line-height: 20px;
	}

	.shopTileKind,
	.shopTileLeft {
		font-size: 13px;
		line-height: 17px;
	}
}
