/* ==========================================================================
   Storefront
   --------------------------------------------------------------------------
   The public shop window. Nothing in here is loaded by the panel, so the two
   stylesheets never meet; the st- prefix keeps it that way if they ever do.

   The look follows the Ciseco reference: white pages, soft neutral panels,
   generous rounding, pill-shaped buttons, and a deep plum ink where the
   reference uses black. store-home.css adds the sections only the home page
   has; store-rtl.css the few things Arabic needs on top.

   Sides are written as logical properties (inline-start / inline-end), so
   the sheet mirrors for Arabic by itself.
   ========================================================================== */

:root {
	--st-ink:         #2A1E3F;
	--st-ink-hover:   #3D2E57;
	--st-muted:       #6E6485;
	--st-text:        #404040;
	--st-line:        rgba(23, 23, 23, .1);
	--st-50:          #FAFAFA;
	--st-100:         #F5F5F5;
	--st-200:         #E5E5E5;
	--st-sand:        #F7F0EA;

	/* Coral stays as the one warm accent: badges, sale prices, the bag count. */
	--st-accent:      #FF5E5B;
	--st-accent-ink:  #D6403C;
	--st-green:       #22C55E;
	--st-green-ink:   #15803D;
	--st-amber:       #D97706;

	--st-gap:         clamp(88px, 10vw, 144px);
	--st-shadow:      0 10px 15px -3px rgba(15, 23, 42, .08), 0 4px 6px -4px rgba(15, 23, 42, .08);
	--st-shadow-lg:   0 20px 40px -12px rgba(15, 23, 42, .16), 0 8px 16px -8px rgba(15, 23, 42, .08);
	--st-ring:        0 0 0 3px rgba(42, 30, 63, .1);
	--st-font:        "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

	/* A chevron for native selects, drawn in the muted ink. */
	--st-chevron:     url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%236E6485' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
}

/* --------------------------------------------------------------- reset --- */

.st-page *,
.st-page *::before,
.st-page *::after { box-sizing: border-box; }

.st-page {
	margin: 0;
	font-family: var(--st-font);
	font-size: 16px;
	line-height: 1.7;
	color: var(--st-muted);
	background: #FFF;
	-webkit-font-smoothing: antialiased;
	overflow-x: hidden;
}

/* Wrapped in :where() so the reset carries no specificity at all and every
   component rule below wins over it without a fight. */
:where(.st-page h1, .st-page h2, .st-page h3,
       .st-page h4, .st-page h5, .st-page h6) {
	margin: 0;
	color: var(--st-ink);
	font-weight: 600;
	line-height: 1.25;
	letter-spacing: -.02em;
}

:where(.st-page p) { margin: 0 0 16px; }
:where(.st-page p:last-child) { margin-bottom: 0; }
:where(.st-page a) { color: inherit; text-decoration: none; transition: color .2s, background-color .2s, border-color .2s; }
:where(.st-page img) { max-width: 100%; height: auto; display: block; }
:where(.st-page ul) { margin: 0; padding: 0; list-style: none; }
:where(.st-page button, .st-page input, .st-page select, .st-page textarea) { font-family: inherit; }
:where(.st-page button) { cursor: pointer; }

/* A panel with display: grid or flex would otherwise ignore [hidden]. */
.st-page [hidden] { display: none !important; }

/* ------------------------------------------------------------- frame --- */

.st-container {
	width: 100%;
	max-width: 1300px;
	margin: 0 auto;
	padding: 0 15px;
}

.st-stack {
	display: flex;
	flex-direction: column;
	gap: var(--st-gap);
	margin-block: var(--st-gap);
}

/* The body of an inner page, below its heading. */
.st-section { padding-block: 48px clamp(88px, 9vw, 128px); }

.st-center { display: flex; justify-content: center; margin-top: 64px; }
.st-rule { width: 100%; margin: 0; border: 0; border-top: 1px solid var(--st-line); }

/* .st-grid marks a set of cards store.js staggers in; it carries no layout
   of its own. .st-reveal marks a block that fades up as it scrolls in. */
.st-reveal { will-change: opacity, transform; }

@media (prefers-reduced-motion: reduce) {
	.st-page *,
	.st-page *::before,
	.st-page *::after {
		animation-duration: .001ms !important;
		animation-iteration-count: 1 !important;
		transition-duration: .001ms !important;
	}

	.st-reveal { opacity: 1 !important; transform: none !important; }
}

/* ------------------------------------------------------------- tones --- */

/* Each soft colour, as a pair: a wash for a panel and a stronger shade for
   whatever sits on it. */
.st-tone--red    { --tone-50: #FEF2F2; --tone-600: #DC2626; }
.st-tone--orange { --tone-50: #FFF7ED; --tone-600: #EA580C; }
.st-tone--yellow { --tone-50: #FEFCE8; --tone-600: #CA8A04; }
.st-tone--green  { --tone-50: #F0FDF4; --tone-600: #16A34A; }
.st-tone--blue   { --tone-50: #EFF6FF; --tone-600: #2563EB; }
.st-tone--indigo { --tone-50: #EEF2FF; --tone-600: #4F46E5; }
.st-tone--purple { --tone-50: #FAF5FF; --tone-600: #9333EA; }

.st-badge {
	display: inline-flex;
	align-items: center;
	padding: 2px 7px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 500;
	line-height: 20px;
}

.st-badge--red    { background: rgba(239, 68, 68, .15);  color: #B91C1C; }
.st-badge--indigo { background: rgba(99, 102, 241, .15); color: #4338CA; }
.st-badge--yellow { background: rgba(250, 204, 21, .22); color: #A16207; }
.st-badge--purple { background: rgba(168, 85, 247, .15); color: #7E22CE; }
.st-badge--violet { background: rgba(139, 92, 246, .15); color: #6D28D9; }
.st-badge--green  { background: rgba(34, 197, 94, .15);  color: #15803D; }

/* ----------------------------------------------------------- buttons --- */

.st-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	padding: 11px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	white-space: nowrap;
	transition: background-color .2s, border-color .2s, color .2s, box-shadow .2s;
}

.st-btn svg { flex: 0 0 auto; width: 16px; height: 16px; }

.st-btn--lg { padding: 14px 30px; font-size: 16px; }
.st-btn--lg svg { width: 18px; height: 18px; }
.st-btn--sm { padding: 8px 20px; }
.st-btn--block { width: 100%; }

.st-btn--dark { background: var(--st-ink); color: #FFF; }
.st-btn--dark:hover { background: var(--st-ink-hover); color: #FFF; }
.st-btn--dark svg { color: rgba(255, 255, 255, .62); }

.st-btn--light {
	border-color: var(--st-line);
	background: #FFF;
	color: var(--st-ink);
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
}

.st-btn--light:hover { border-color: rgba(23, 23, 23, .2); background: #FCFCFC; }
.st-btn--light svg { color: #71717A; }

.st-btn--ghost { border-color: var(--st-200); color: var(--st-ink); }
.st-btn--ghost:hover { background: var(--st-50); }

/* A quiet text link with an arrow, for "keep shopping" and the like. */
.st-link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--st-ink);
}

.st-link:hover { color: var(--st-accent-ink); }
.st-link svg { width: 16px; height: 16px; }

/* ----------------------------------------------------- section heads --- */

.st-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 56px;
}

.st-head__title {
	margin: 0;
	font-size: 36px;
	font-weight: 600;
	line-height: 1.25;
	color: var(--st-ink);
}

.st-head__sub { color: var(--st-muted); }

.st-arrows { display: flex; flex: 0 0 auto; gap: 8px; }
.st-arrows.is-idle { visibility: hidden; }

.st-arrows__btn {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	padding: 0;
	border: 2px solid var(--st-200);
	border-radius: 50%;
	background: #FFF;
	color: var(--st-muted);
	transition: border-color .2s, color .2s, opacity .2s;
}

.st-arrows__btn:hover:not(:disabled) { border-color: var(--st-ink); color: var(--st-ink); }
.st-arrows__btn:disabled { border-color: transparent; opacity: .45; cursor: default; }
.st-arrows__btn svg { width: 18px; height: 18px; }

/* ------------------------------------------------------------ slider --- */

/* A native scroller with snap points; the arrows in the head only nudge it.
   --st-per is how many items fit across, fractions allowed so the next card
   peeks in and says there is more. */
.st-slider__track {
	--st-per: 4;
	--st-gutter: 32px;

	display: flex;
	gap: var(--st-gutter);
	overflow-x: auto;
	overscroll-behavior-x: contain;
	scroll-snap-type: x mandatory;
	scrollbar-width: none;
}

.st-slider__track::-webkit-scrollbar { display: none; }

.st-slider__item {
	flex: 0 0 calc((100% - (var(--st-per) - 1) * var(--st-gutter)) / var(--st-per));
	min-width: 0;
	scroll-snap-align: start;
}

/* -------------------------------------------------------- tabs, pills --- */

/* A floating white bar of tabs, the selected one filled. */
.st-tabs {
	display: flex;
	width: max-content;
	max-width: 100%;
	margin: 0 auto 56px;
	padding: 4px;
	border-radius: 999px;
	background: #FFF;
	box-shadow: var(--st-shadow-lg);
	overflow-x: auto;
	scrollbar-width: none;
}

.st-tabs button {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: none;
	font-size: 14px;
	font-weight: 500;
	color: #525252;
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

.st-tabs button:hover { color: var(--st-ink); }
.st-tabs button.is-on { background: var(--st-ink); color: #FFF; }
.st-tabs svg { width: 18px; height: 18px; }

/* The same idea without the bar: loose pills on the page. */
.st-pills {
	display: flex;
	gap: 8px;
	max-width: 100%;
	overflow-x: auto;
	scrollbar-width: none;
}

.st-pills::-webkit-scrollbar,
.st-tabs::-webkit-scrollbar { display: none; }

.st-pills button,
.st-pills a {
	flex: 0 0 auto;
	padding: 10px 24px;
	border: 1px solid transparent;
	border-radius: 999px;
	background: none;
	font-size: 14px;
	font-weight: 500;
	line-height: 24px;
	color: var(--st-ink);
	white-space: nowrap;
	transition: background-color .2s, color .2s;
}

.st-pills button:hover,
.st-pills a:hover { background: rgba(23, 23, 23, .05); }

.st-pills .is-on,
.st-pills .is-on:hover { background: var(--st-ink); color: #FFF; }

/* ------------------------------------------------------ product card --- */

.st-cards {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 40px 32px;
}

.st-cards--3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }

.st-card { position: relative; display: flex; flex-direction: column; }

.st-card__media {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 24px;
	background: var(--st-50);
}

.st-card__img { display: block; width: 100%; height: 100%; }

.st-card__img img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 25%;
	transition: transform .6s ease;
}

.st-card__media:hover .st-card__img img { transform: scale(1.03); }

/* The white chip in a picture's top corner - "New in", "Sale". */
.st-card__flag {
	position: absolute;
	top: 12px;
	inset-inline-start: 12px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	padding: 6px 10px;
	border-radius: 999px;
	background: #FFF;
	box-shadow: var(--st-shadow);
	font-size: 12px;
	line-height: 1;
	color: var(--st-text);
}

.st-card__flag svg { width: 14px; height: 14px; }
.st-card__flag--sale { color: var(--st-accent-ink); }

.st-card__wish {
	position: absolute;
	top: 12px;
	inset-inline-end: 12px;
	z-index: 2;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: #FFF;
	color: var(--st-text);
	box-shadow: var(--st-shadow);
	transition: color .2s;
}

.st-card__wish:hover { color: var(--st-accent); }
.st-card__wish svg { width: 18px; height: 18px; }

/* Add to bag and quick view rise into the picture on hover or focus. */
.st-card__actions {
	position: absolute;
	inset-inline: 4px;
	bottom: 16px;
	z-index: 2;
	display: flex;
	justify-content: center;
	gap: 6px;
	opacity: 0;
	transform: translateY(16px);
	pointer-events: none;
	transition: opacity .2s ease-out, transform .2s ease-out;
}

.st-card__media:hover .st-card__actions,
.st-card__media:focus-within .st-card__actions {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}

.st-card__actions form { margin: 0; }

.st-card__action {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	height: 36px;
	padding: 0 16px;
	border: 0;
	border-radius: 999px;
	background: #FFF;
	color: var(--st-ink);
	font-size: 12px;
	font-weight: 500;
	white-space: nowrap;
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, .12);
	transition: background-color .2s;
}

.st-card__action:hover { background: var(--st-50); }
.st-card__action--dark { background: var(--st-ink); color: #FFF; }
.st-card__action--dark:hover { background: var(--st-ink-hover); }
.st-card__action svg { width: 15px; height: 15px; }

.st-card__body {
	display: flex;
	flex-direction: column;
	gap: 16px;
	padding: 20px 10px 10px;
}

.st-card__swatches { display: flex; gap: 8px; }

.st-card__swatches span {
	width: 16px;
	height: 16px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .2);
}

.st-card__name {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	color: var(--st-ink);
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.st-card__name a:hover { color: var(--st-accent-ink); }
.st-card__sub { margin: 4px 0 0; font-size: 14px; }

.st-card__foot {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 8px 10px;
}

/* The outlined price, green as on the reference; coral once it is on sale. */
.st-price {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 6px 10px;
	border: 2px solid var(--st-green);
	border-radius: 8px;
	font-size: 14px;
	font-weight: 500;
	line-height: 1;
	color: var(--st-green-ink);
	white-space: nowrap;
}

.st-price del { font-size: 12px; font-weight: 400; color: var(--st-muted); }
.st-price--sale { border-color: var(--st-accent); color: var(--st-accent-ink); }
.st-price--ask { border-color: var(--st-200); color: var(--st-muted); }
.st-price--lg { padding: 9px 14px; border-radius: 12px; font-size: 20px; font-weight: 600; }
.st-price--lg del { font-size: 14px; }

.st-stock {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-bottom: 2px;
	font-size: 13px;
	color: var(--st-muted);
}

.st-stock svg { width: 15px; height: 15px; color: #16A34A; }

/* Nothing left to sell: said in the accent, so it reads at a glance. */
.st-stock--out { color: var(--st-accent-ink); }
.st-stock--out svg { color: var(--st-accent); }

.st-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 7px 14px;
	border-radius: 999px;
	background: var(--st-100);
	font-size: 13px;
	font-weight: 500;
	color: var(--st-text);
}

.st-chip svg { width: 16px; height: 16px; }

/* ---------------------------------------------------- search, fields --- */

/* A pill field with a round dark button sitting inside its end. */
.st-search { position: relative; }

.st-search input {
	width: 100%;
	height: 48px;
	padding-inline: 20px 56px;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	background: #FFF;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .05);
	font-size: 14px;
	color: var(--st-ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s;
}

.st-search input::placeholder { color: #71717A; }
.st-search input:focus { border-color: var(--st-ink); box-shadow: 0 0 0 1px var(--st-ink); }

.st-search button {
	position: absolute;
	top: 50%;
	inset-inline-end: 6px;
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: var(--st-ink);
	color: #FFF;
	transform: translateY(-50%);
	transition: background-color .2s;
}

.st-search button:hover { background: var(--st-ink-hover); }
.st-search button svg { width: 18px; height: 18px; }

.st-select {
	width: 100%;
	height: 44px;
	padding-inline: 18px 42px;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	background: #FFF var(--st-chevron) no-repeat right 16px center / 16px;
	font-size: 14px;
	color: var(--st-ink);
	outline: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: border-color .2s, box-shadow .2s;
}

.st-select:focus { border-color: var(--st-ink); box-shadow: var(--st-ring); }

/* A checkbox drawn as a sliding switch. */
.st-switch {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	font-size: 15px;
	color: var(--st-text);
	cursor: pointer;
}

.st-switch input {
	position: relative;
	flex: 0 0 auto;
	width: 40px;
	height: 22px;
	margin: 0;
	border-radius: 999px;
	background: var(--st-200);
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: background-color .2s;
}

.st-switch input::after {
	content: "";
	position: absolute;
	top: 3px;
	inset-inline-start: 3px;
	width: 16px;
	height: 16px;
	border-radius: 50%;
	background: #FFF;
	box-shadow: 0 1px 3px rgba(0, 0, 0, .2);
	transition: inset-inline-start .2s;
}

.st-switch input:checked { background: var(--st-ink); }
.st-switch input:checked::after { inset-inline-start: 21px; }
.st-switch input:focus-visible { box-shadow: var(--st-ring); outline: none; }

/* The checkout's labelled fields. */
.st-fields {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 18px;
}

.st-field { display: block; }
.st-field--wide { grid-column: 1 / -1; }

.st-field span {
	display: block;
	margin-bottom: 8px;
	font-size: 14px;
	font-weight: 500;
	color: var(--st-text);
}

.st-field input,
.st-field select,
.st-field textarea {
	width: 100%;
	height: 48px;
	padding: 0 18px;
	border: 1px solid var(--st-200);
	border-radius: 16px;
	background: #FFF;
	font-size: 15px;
	color: var(--st-ink);
	outline: none;
	transition: border-color .2s, box-shadow .2s;
}

.st-field select {
	padding-inline-end: 44px;
	background: #FFF var(--st-chevron) no-repeat right 16px center / 16px;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
}

.st-field textarea { height: auto; padding-block: 14px; line-height: 1.6; resize: vertical; }

.st-field input::placeholder,
.st-field textarea::placeholder { color: #A3A3A3; }

.st-field input:focus,
.st-field select:focus,
.st-field textarea:focus { border-color: var(--st-ink); box-shadow: var(--st-ring); }

/* ------------------------------------------------------------ notices --- */

.st-note {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin-bottom: 24px;
	padding: 14px 18px;
	border-radius: 16px;
	font-size: 15px;
	font-weight: 500;
}

.st-note svg { flex: 0 0 auto; width: 20px; height: 20px; margin-top: 2px; }
.st-note--good { background: #F0FDF4; color: #15803D; }
.st-note--bad { background: #FEF2F2; color: #B91C1C; }

.st-tag {
	display: inline-flex;
	padding: 4px 10px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.4;
}

.st-tag--wait { background: #FEF3C7; color: #92400E; }
.st-tag--paid { background: #DCFCE7; color: #15803D; }

/* ---------------------------------------------------------- accordion --- */

/* Rows that open one at a time - store.js drives [data-store-faq]. */
.st-faq__item { border-bottom: 1px solid var(--st-line); }

.st-faq__q {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	width: 100%;
	padding: 20px 0;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 600;
	text-align: start;
	color: var(--st-ink);
	transition: color .2s;
}

.st-faq__q:hover { color: #525252; }

.st-faq__sign {
	position: relative;
	flex: 0 0 auto;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--st-100);
	transition: background-color .25s;
}

.st-faq__sign::before,
.st-faq__sign::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background: var(--st-ink);
	transform: translate(-50%, -50%);
	transition: transform .25s, opacity .25s, background-color .25s;
}

.st-faq__sign::before { width: 12px; height: 1.5px; }
.st-faq__sign::after { width: 1.5px; height: 12px; }

.st-faq__item.is-open .st-faq__sign { background: var(--st-ink); }
.st-faq__item.is-open .st-faq__sign::before { background: #FFF; }
.st-faq__item.is-open .st-faq__sign::after { opacity: 0; transform: translate(-50%, -50%) rotate(90deg); }

.st-faq__a {
	max-height: 0;
	overflow: hidden;
	transition: max-height .4s ease-in-out;
}

.st-faq__a > * { padding-bottom: 22px; font-size: 15px; }

/* ============================================================ header === */

/* Solid white rather than a blur: backdrop-filter would make the header the
   containing block for the fixed off-canvas menu inside it. */
.st-header {
	position: sticky;
	top: 0;
	z-index: 90;
	background: #FFF;
	border-bottom: 1px solid var(--st-line);
}

.st-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 24px;
	height: 80px;
}

.st-logo {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	font-size: 24px;
	font-weight: 700;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--st-ink);
}

.st-logo img { max-height: 44px; width: auto; }

.st-menu { display: flex; align-items: center; gap: 4px; }
.st-menu__item { position: relative; }
.st-menu__close,
.st-menu__lang { display: none; }

.st-menu__link {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 10px 18px;
	border-radius: 999px;
	font-size: 15px;
	font-weight: 500;
	color: #525252;
}

.st-menu__link:hover,
.st-menu__item:hover > .st-menu__link,
.st-menu__item.is-active > .st-menu__link { background: var(--st-100); color: var(--st-ink); }

.st-menu__caret { width: 12px; height: 12px; transition: transform .2s; }
.st-menu__item:hover .st-menu__caret { transform: rotate(180deg); }

/* Keeps the pointer inside the item while it crosses the gap to the menu. */
.st-menu__item--drop::after {
	content: "";
	position: absolute;
	inset-inline: 0;
	top: 100%;
	height: 12px;
}

/* The categories the panel already owns, nothing invented. */
.st-drop {
	position: absolute;
	top: calc(100% + 10px);
	inset-inline-start: 0;
	z-index: 10;
	min-width: 250px;
	max-height: 70vh;
	padding: 10px;
	border-radius: 16px;
	background: #FFF;
	box-shadow: var(--st-shadow-lg), 0 0 0 1px rgba(0, 0, 0, .05);
	overflow-y: auto;
	opacity: 0;
	visibility: hidden;
	transform: translateY(6px);
	transition: opacity .2s, transform .2s, visibility .2s;
}

.st-drop--wide {
	display: grid;
	grid-template-columns: repeat(2, minmax(210px, 1fr));
	column-gap: 6px;
	min-width: 480px;
}

.st-menu__item:hover .st-drop,
.st-menu__item:focus-within .st-drop {
	opacity: 1;
	visibility: visible;
	transform: none;
}

.st-drop a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	padding: 8px 14px;
	border-radius: 10px;
	font-size: 14px;
	color: #525252;
}

.st-drop a small { font-size: 12px; color: #A3A3A3; }
.st-drop a:hover { background: var(--st-100); color: var(--st-ink); }

.st-tools { display: flex; align-items: center; gap: 4px; }

.st-tool {
	position: relative;
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: none;
	color: var(--st-text);
	transition: background-color .2s, color .2s;
}

.st-tool:hover,
.st-tool[aria-expanded="true"] { background: var(--st-100); color: var(--st-ink); }
.st-tool svg { width: 22px; height: 22px; }

.st-tool__count {
	position: absolute;
	top: 5px;
	inset-inline-end: 3px;
	min-width: 17px;
	height: 17px;
	padding: 0 4px;
	border-radius: 999px;
	background: var(--st-accent);
	color: #FFF;
	font-size: 10px;
	font-weight: 700;
	line-height: 17px;
	text-align: center;
}

.st-burger { display: none; }

/* Language: two short labels in a soft capsule, the live one raised white.
   Sits at the start of the icon group; on a phone the menu has its own. */
.st-langpick {
	display: inline-flex;
	gap: 2px;
	margin-inline-end: 8px;
	padding: 3px;
	border-radius: 999px;
	background: var(--st-100);
}

.st-langpick a {
	display: grid;
	place-items: center;
	min-width: 36px;
	height: 30px;
	padding: 0 10px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	color: var(--st-muted);
}

.st-langpick a:hover { color: var(--st-ink); }
.st-langpick a.is-on { background: #FFF; color: var(--st-ink); box-shadow: 0 1px 3px rgba(15, 23, 42, .12); }

/* The search that drops out of the header. */
.st-searchbar {
	position: absolute;
	inset-inline: 0;
	top: 100%;
	padding-block: 20px;
	border-bottom: 1px solid var(--st-line);
	background: #FFF;
	box-shadow: 0 24px 30px -24px rgba(15, 23, 42, .2);
}

.st-searchbar form {
	display: flex;
	align-items: center;
	gap: 12px;
	max-width: 760px;
	margin: 0 auto;
	padding: 6px;
	padding-inline-start: 20px;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	background: var(--st-50);
	transition: border-color .2s, box-shadow .2s;
}

.st-searchbar form:focus-within { border-color: var(--st-ink); box-shadow: var(--st-ring); }
.st-searchbar form > svg { flex: 0 0 auto; width: 20px; height: 20px; color: var(--st-muted); }

.st-searchbar input {
	flex: 1;
	min-width: 0;
	height: 40px;
	border: 0;
	background: none;
	font-size: 15px;
	color: var(--st-ink);
	outline: none;
	-webkit-appearance: none;
	appearance: none;
}

.st-backdrop {
	position: fixed;
	inset: 0;
	z-index: 110;
	background: rgba(15, 23, 42, .45);
	opacity: 0;
	visibility: hidden;
	transition: opacity .3s, visibility .3s;
}

.st-backdrop.is-open { opacity: 1; visibility: visible; }

/* The bar staff see when the shop is hidden from customers but they are
   signed in and looking at it anyway. */
.st-preview {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	padding: 10px 20px;
	background: #FEF3C7;
	color: #92400E;
	font-size: 14px;
	font-weight: 500;
	text-align: center;
}

.st-preview svg { flex: 0 0 auto; width: 18px; height: 18px; }
.st-preview a { color: inherit; font-weight: 600; text-decoration: underline; text-underline-offset: 3px; }

/* ============================================================ footer === */

.st-footer { border-top: 1px solid var(--st-line); background: #FFF; }

.st-footer__grid {
	display: grid;
	grid-template-columns: 1.6fr repeat(3, minmax(0, 1fr));
	gap: 40px;
	padding-block: 96px 72px;
}

.st-footer__brand .st-logo { margin-bottom: 20px; }
.st-footer__brand p { max-width: 300px; font-size: 14px; line-height: 1.75; }

.st-footer__social { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }

.st-footer__social a {
	display: grid;
	place-items: center;
	width: 40px;
	height: 40px;
	border: 1px solid var(--st-line);
	border-radius: 50%;
	color: var(--st-text);
}

.st-footer__social a:hover { border-color: var(--st-ink); background: var(--st-ink); color: #FFF; }
.st-footer__social svg { width: 17px; height: 17px; }

.st-footer h4 { font-size: 14px; font-weight: 600; letter-spacing: 0; color: var(--st-ink); }

.st-footer__col ul {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-top: 20px;
	font-size: 14px;
}

.st-footer__col a { color: #525252; }
.st-footer__col a:hover { color: var(--st-ink); }

.st-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 24px;
	border-top: 1px solid var(--st-line);
	font-size: 13px;
}

.st-footer__bottom nav { display: flex; flex-wrap: wrap; gap: 20px; }
.st-footer__bottom a:hover { color: var(--st-ink); }
.st-footer__credit a { font-weight: 500; color: var(--st-ink); }

/* ========================================================= inner pages === */

/* ---------------------------------------------------------- page head --- */

.st-pagehead { padding-top: 48px; }

.st-crumbs {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	font-size: 14px;
}

.st-crumbs a:hover { color: var(--st-ink); }
.st-crumbs__sep { color: #C4C4C4; }
.st-crumbs strong { font-weight: 500; color: var(--st-ink); }

.st-pagehead h1 {
	margin-top: 20px;
	font-size: 40px;
	font-weight: 600;
	line-height: 1.2;
}

.st-pagehead p { max-width: 640px; margin: 14px 0 0; }
.st-pagehead__rule { margin-top: 40px; }

.st-pagehead__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-top: 28px;
	border-radius: 50%;
	background: #DCFCE7;
	color: var(--st-green-ink);
}

.st-pagehead__icon svg { width: 30px; height: 30px; }
.st-pagehead__icon + h1 { margin-top: 20px; }

/* ------------------------------------------------------------ listing --- */

.st-shop {
	display: grid;
	grid-template-columns: 272px minmax(0, 1fr);
	gap: 56px;
	align-items: start;
}

.st-filters { position: sticky; top: 104px; }

/* On a desktop the filters are always open; the summary only shows on a
   narrow screen, where they fold away. */
.st-filters > summary { display: none; }

.st-filter { padding-block: 24px; border-bottom: 1px solid var(--st-line); }
.st-filter:first-of-type { padding-top: 0; }

.st-filter h4 { margin-bottom: 14px; font-size: 16px; font-weight: 600; letter-spacing: 0; }

.st-filter__list {
	max-height: 320px;
	margin-inline-end: -8px;
	padding-inline-end: 8px;
	overflow-y: auto;
	scrollbar-width: thin;
}

.st-filter__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 7px 0;
	font-size: 15px;
	color: #525252;
}

.st-filter__list a:hover { color: var(--st-ink); }

.st-filter__list small {
	min-width: 28px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--st-100);
	font-size: 12px;
	line-height: 22px;
	text-align: center;
	color: var(--st-muted);
}

.st-filter__list a.is-on { font-weight: 600; color: var(--st-ink); }
.st-filter__list a.is-on small { background: var(--st-ink); color: #FFF; }

.st-filters__actions { display: flex; flex-direction: column; gap: 14px; padding-top: 24px; }
.st-filters__clear { font-size: 14px; text-align: center; }
.st-filters__clear:hover { color: var(--st-ink); }

.st-results__bar {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-bottom: 32px;
	font-size: 14px;
}

.st-sort { display: flex; align-items: center; gap: 10px; }
.st-sort .st-select { width: auto; min-width: 200px; }

.st-empty {
	padding: 72px 24px;
	border-radius: 24px;
	background: var(--st-50);
	text-align: center;
}

.st-empty h3 { font-size: 22px; }
.st-empty p { margin: 12px auto 28px; max-width: 420px; }

.st-pager { margin-top: 64px; }

.st-pagination {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.st-pagelink {
	display: grid;
	place-items: center;
	min-width: 44px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--st-line);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--st-ink);
}

a.st-pagelink:hover { background: var(--st-100); }
.st-pagelink.is-on { border-color: var(--st-ink); background: var(--st-ink); color: #FFF; }
.st-pagelink.is-off { opacity: .4; }
.st-pagelink.is-gap { border-color: transparent; }

/* ------------------------------------------------------- product page --- */

.st-detail {
	display: grid;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	gap: 64px;
	align-items: start;
}

.st-gallery { position: sticky; top: 104px; }

.st-gallery__main {
	position: relative;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 24px;
	background: var(--st-100);
}

.st-gallery__main > img { width: 100%; height: 100%; object-fit: cover; }

.st-gallery__thumbs {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 12px;
	margin-top: 12px;
}

.st-thumb {
	aspect-ratio: 1 / 1;
	padding: 0;
	overflow: hidden;
	border: 2px solid transparent;
	border-radius: 16px;
	background: var(--st-100);
	transition: border-color .2s;
}

.st-thumb img { width: 100%; height: 100%; object-fit: cover; }
.st-thumb:hover { border-color: var(--st-200); }
.st-thumb.is-on { border-color: var(--st-ink); }

.st-detail__info h1 { font-size: 32px; font-weight: 600; line-height: 1.25; }

.st-detail__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 18px;
	margin-top: 24px;
	font-size: 14px;
}

.st-detail__meta .st-stock { margin: 0; font-size: 14px; }
.st-detail__sep { width: 1px; height: 28px; background: var(--st-200); }
.st-detail__designer a { font-weight: 600; color: var(--st-ink); }
.st-detail__designer a:hover { color: var(--st-accent-ink); }

.st-detail__info .st-note { margin: 28px 0 0; }

.st-options { display: flex; flex-direction: column; gap: 24px; margin-top: 32px; }

.st-option h4 { margin-bottom: 12px; font-size: 14px; font-weight: 500; letter-spacing: 0; color: var(--st-muted); }
.st-option h4 strong { font-weight: 600; color: var(--st-ink); }

.st-option__row { display: flex; flex-wrap: wrap; gap: 10px; }

.st-swatch {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-width: 52px;
	height: 44px;
	padding: 0 16px;
	border: 1px solid var(--st-200);
	border-radius: 14px;
	background: #FFF;
	font-size: 14px;
	font-weight: 500;
	color: var(--st-ink);
	transition: border-color .2s, background-color .2s, color .2s, box-shadow .2s;
}

.st-swatch:hover { border-color: var(--st-ink); }
.st-swatch small { font-size: 12px; color: var(--st-muted); }

.st-swatch.is-on { border-color: var(--st-ink); background: var(--st-ink); color: #FFF; }
.st-swatch.is-on small { color: rgba(255, 255, 255, .7); }

/* A colour keeps its white face when picked and takes a ring instead, so
   the dot is not lost against the ink. */
.st-swatch--dot.is-on { background: #FFF; color: var(--st-ink); box-shadow: inset 0 0 0 1px var(--st-ink); }
.st-swatch--dot.is-on small { color: var(--st-muted); }

.st-swatch__dot {
	display: inline-block;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	box-shadow: inset 0 0 0 1px rgba(23, 23, 23, .2);
}

.st-detail__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
	margin-top: 32px;
}

/* The quantity stepper: round buttons in a soft capsule. */
.st-qty {
	display: inline-flex;
	align-items: center;
	gap: 2px;
	height: 52px;
	padding: 0 8px;
	border-radius: 999px;
	background: var(--st-100);
}

.st-qty button {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	padding: 0;
	border: 1px solid var(--st-200);
	border-radius: 50%;
	background: #FFF;
	font-size: 18px;
	line-height: 1;
	color: var(--st-ink);
	transition: border-color .2s;
}

.st-qty button:hover { border-color: var(--st-ink); }

.st-qty input {
	width: 40px;
	height: 100%;
	border: 0;
	background: none;
	font-size: 16px;
	font-weight: 600;
	text-align: center;
	color: var(--st-ink);
	outline: none;
	-moz-appearance: textfield;
}

.st-qty input::-webkit-outer-spin-button,
.st-qty input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }

.st-qty--sm { height: 40px; padding: 0 4px; }
.st-qty--sm button { width: 30px; height: 30px; font-size: 16px; }
.st-qty--sm input { width: 36px; font-size: 14px; }

.st-detail__cart { flex: 1; min-width: 200px; }

/* Sold out: the button keeps its place, greyed and inert. */
.st-detail__cart--out {
	border-color: var(--st-200);
	background: var(--st-100);
	color: var(--st-muted);
	cursor: not-allowed;
}

.st-detail__cart--out svg { color: var(--st-accent); }
.st-detail__wish { width: 52px; height: 52px; border: 1px solid var(--st-line); }

.st-detail__more { margin-top: 40px; border-top: 1px solid var(--st-line); }
.st-detail__more .st-faq__a p { white-space: pre-line; }

.st-facts li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	padding-block: 11px;
	border-bottom: 1px solid var(--st-line);
	font-size: 14px;
}

.st-facts li:last-child { border-bottom: 0; }
.st-facts strong { font-weight: 500; color: var(--st-ink); }

/* The four promises under the buttons, each on its own soft tint. */
.st-policies {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin-top: 32px;
}

.st-policy { padding: 18px 20px; border-radius: 16px; background: var(--tone-50); }
.st-policy svg { width: 24px; height: 24px; color: var(--tone-600); }
.st-policy strong { display: block; margin-top: 10px; font-size: 14px; font-weight: 600; color: var(--st-ink); }
.st-policy span { display: block; margin-top: 2px; font-size: 13px; line-height: 1.5; }

.st-related { margin-top: var(--st-gap); }

/* ------------------------------------------------------ bag, checkout --- */

.st-bag {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 400px;
	gap: 64px;
	align-items: start;
}

.st-line {
	display: grid;
	grid-template-columns: 112px minmax(0, 1fr) auto;
	gap: 24px;
	padding-block: 28px;
	border-bottom: 1px solid var(--st-line);
}

.st-line:first-child { padding-top: 0; }

.st-line__media {
	display: block;
	aspect-ratio: 4 / 5;
	overflow: hidden;
	border-radius: 16px;
	background: var(--st-100);
}

.st-line__media img { width: 100%; height: 100%; object-fit: cover; }

.st-line__body { display: flex; flex-direction: column; min-width: 0; }
.st-line__body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; }
.st-line__body h3 a:hover { color: var(--st-accent-ink); }
.st-line__cat { margin-top: 4px; font-size: 13px; }

.st-line__options { display: flex; flex-wrap: wrap; gap: 6px 18px; margin-top: 12px; }
.st-line__options li { display: inline-flex; align-items: center; gap: 6px; font-size: 13px; }
.st-line__options strong { font-weight: 500; color: var(--st-text); }
.st-line__options small { font-weight: 600; color: var(--st-accent-ink); }
.st-line__options .st-swatch__dot { width: 14px; height: 14px; }

.st-line__unit { margin-top: 10px; font-size: 13px; }
.st-line__unit em { font-style: normal; }

.st-line__remove {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding: 12px 0 0;
	border: 0;
	background: none;
	font-size: 13px;
	font-weight: 500;
	color: var(--st-accent-ink);
}

.st-line__remove:hover { text-decoration: underline; text-underline-offset: 3px; }
.st-line__remove svg { width: 14px; height: 14px; }
.st-line__body form { margin-top: auto; }

.st-line__controls { display: flex; flex-direction: column; align-items: flex-end; gap: 16px; }
.st-line__total { font-size: 15px; }

.st-bag__actions {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 20px;
	margin-top: 28px;
}

.st-bag__clear {
	padding: 0;
	border: 0;
	background: none;
	font-size: 14px;
	color: var(--st-muted);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.st-bag__clear:hover { color: var(--st-accent-ink); }

/* The order summary: a soft panel that follows the page down. */
.st-summary {
	position: sticky;
	top: 104px;
	padding: 32px;
	border-radius: 24px;
	background: var(--st-50);
}

.st-summary h3 { margin-bottom: 8px; font-size: 18px; font-weight: 600; }

.st-summary dl { margin: 0; }

.st-summary dl div {
	display: flex;
	justify-content: space-between;
	gap: 16px;
	padding-block: 14px;
	border-bottom: 1px solid var(--st-line);
	font-size: 14px;
}

.st-summary dd { margin: 0; font-weight: 500; color: var(--st-ink); }

.st-summary__total {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 16px;
	padding-block: 18px 22px;
}

.st-summary__total span { font-size: 15px; font-weight: 600; color: var(--st-ink); }
.st-summary__total strong { font-size: 22px; font-weight: 700; color: var(--st-ink); }

.st-summary__free { font-weight: 600; color: var(--st-green-ink); }
.st-summary__quote { font-weight: 600; color: var(--st-amber); }

.st-summary__hint {
	margin: 0 0 12px;
	padding: 12px 14px;
	border-radius: 12px;
	background: #FFF;
	font-size: 13px;
	line-height: 1.55;
}

.st-summary__go { margin-top: 8px; }

.st-summary__back { display: block; margin-top: 16px; font-size: 14px; text-align: center; }
.st-summary__back:hover { color: var(--st-ink); }

.st-summary__trust { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 22px; }
.st-summary .st-chip { background: #FFF; }

.st-summary__items { margin-top: 8px; }

.st-summary__items li {
	display: flex;
	align-items: center;
	gap: 14px;
	padding-block: 12px;
	border-bottom: 1px solid var(--st-line);
}

.st-summary__thumb {
	position: relative;
	flex: 0 0 auto;
	width: 56px;
	height: 70px;
	border-radius: 12px;
	background: var(--st-100);
}

.st-summary__thumb img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; }

.st-summary__thumb em {
	position: absolute;
	top: -7px;
	inset-inline-end: -7px;
	display: grid;
	place-items: center;
	min-width: 22px;
	height: 22px;
	padding: 0 5px;
	border: 2px solid #FFF;
	border-radius: 999px;
	background: var(--st-ink);
	color: #FFF;
	font-size: 11px;
	font-style: normal;
	font-weight: 700;
}

.st-summary__name {
	flex: 1;
	min-width: 0;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.35;
	color: var(--st-ink);
}

.st-summary__name small { display: block; margin-top: 3px; font-weight: 400; color: var(--st-muted); }
.st-summary__money { flex: 0 0 auto; font-size: 14px; font-weight: 600; color: var(--st-ink); }

/* A white panel for one step of the checkout. */
.st-panel {
	margin-bottom: 20px;
	padding: 28px;
	border: 1px solid var(--st-line);
	border-radius: 24px;
	background: #FFF;
}

.st-panel__head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }

.st-panel__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	background: var(--st-100);
	color: var(--st-ink);
}

.st-panel__icon svg { width: 20px; height: 20px; }
.st-panel h3 { font-size: 18px; font-weight: 600; }
.st-panel__hint { margin: 18px 0 0; font-size: 13px; line-height: 1.6; }

.st-methods { display: grid; gap: 12px; }

.st-method {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	padding: 16px 18px;
	border: 1px solid var(--st-200);
	border-radius: 16px;
	cursor: pointer;
	transition: border-color .2s, background-color .2s, box-shadow .2s;
}

.st-method:hover { border-color: var(--st-ink); }
.st-method.is-on { border-color: var(--st-ink); background: var(--st-50); box-shadow: inset 0 0 0 1px var(--st-ink); }

.st-method input { flex: 0 0 auto; width: 18px; height: 18px; margin: 3px 0 0; accent-color: var(--st-ink); }
.st-method__body strong { display: block; font-size: 15px; font-weight: 600; color: var(--st-ink); }
.st-method__body small { font-size: 13px; }

.st-ordernote {
	margin: 0;
	padding: 16px;
	border-radius: 16px;
	background: var(--st-50);
	font-family: inherit;
	font-size: 14px;
	line-height: 1.7;
	color: var(--st-text);
	white-space: pre-wrap;
	word-break: break-word;
}

/* A label:value pair built from catalogue text, which may be in either
   script. `plaintext` lets each pair take its direction from its own first
   strong character, so a colon never jumps to the wrong end. */
.st-pair { unicode-bidi: plaintext; }

/* ================================================== shop switched off === */

/* The notice a customer gets while the shop is off - the home page's hero,
   with the photograph standing in its arch. */
.st-closed {
	display: flex;
	align-items: center;
	min-height: 100vh;
	padding-block: 24px;
}

.st-closed__box {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	min-height: min(640px, calc(100vh - 48px));
	border-radius: 24px;
	background: var(--st-sand);
	overflow: hidden;
}

.st-closed__copy {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: center;
	gap: 24px;
	padding: 64px;
}

.st-closed h1 { font-size: clamp(30px, 4vw, 52px); font-weight: 700; line-height: 1.15; color: #171717; }
.st-closed p { max-width: 440px; margin: 0; font-size: 17px; }

.st-closed__actions { display: flex; flex-wrap: wrap; gap: 10px; }
.st-closed__lang { display: flex; gap: 8px; margin-top: 8px; }

.st-closed__lang a {
	padding: 6px 16px;
	border: 1px solid rgba(23, 23, 23, .15);
	border-radius: 999px;
	font-size: 14px;
	font-weight: 500;
	color: var(--st-text);
}

.st-closed__lang a:hover { border-color: var(--st-ink); }
.st-closed__lang a.is-on { border-color: var(--st-ink); background: var(--st-ink); color: #FFF; }

.st-closed__media { position: relative; }

/* The photograph in an arch standing on the bottom edge, as on the home
   page's hero. */
.st-arch {
	position: absolute;
	top: 56px;
	bottom: 0;
	inset-inline: 0;
	width: min(66%, 420px);
	margin-inline: auto;
	border-radius: 999px 999px 0 0;
	overflow: hidden;
	background: #3A0A0E;
	box-shadow: 0 30px 60px -20px rgba(58, 10, 14, .45);
}

.st-arch img { width: 100%; height: 100%; object-fit: cover; object-position: 66% 18%; }

/* A photo uploaded in the panel is framed from its centre, in either
   direction - the 66% above is tuned to the campaign shot's model. */
.st-arch.st-arch--custom img { object-position: 50% 20%; }

/* ======================================================== responsive === */

@media (max-width: 1279px) {
	.st-slider__track--cards { --st-per: 3; }
	.st-cards { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.st-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.st-menu__link { padding-inline: 14px; }
	.st-bag { grid-template-columns: minmax(0, 1fr) 360px; gap: 40px; }
	.st-detail { gap: 44px; }
}

@media (max-width: 1023px) {
	.st-slider__track--cards { --st-per: 2; }

	/* The menu folds into a panel the burger opens, and takes the language
	   switch with it. */
	.st-burger { display: grid; }
	.st-langpick { display: none; }

	.st-menu {
		position: fixed;
		top: 0;
		bottom: 0;
		inset-inline-end: 0;
		z-index: 120;
		flex-direction: column;
		align-items: stretch;
		gap: 2px;
		width: min(340px, 86vw);
		padding: 84px 20px 28px;
		background: #FFF;
		box-shadow: -20px 0 60px rgba(15, 23, 42, .15);
		overflow-y: auto;
		visibility: hidden;
		transform: translateX(100%);
		transition: transform .35s ease, visibility .35s;
	}

	.st-menu.is-open { visibility: visible; transform: none; }

	.st-menu__link { display: flex; justify-content: space-between; width: 100%; padding: 13px 16px; border-radius: 12px; font-size: 16px; }
	.st-menu__item--drop::after { display: none; }

	.st-menu__close {
		position: absolute;
		top: 20px;
		inset-inline-end: 20px;
		display: grid;
		place-items: center;
		width: 44px;
		height: 44px;
		padding: 0;
		border: 1px solid var(--st-line);
		border-radius: 50%;
		background: none;
		color: var(--st-ink);
	}

	.st-menu__close svg { width: 18px; height: 18px; }

	.st-drop,
	.st-drop--wide {
		position: static;
		display: block;
		min-width: 0;
		max-height: 0;
		padding: 0;
		padding-inline-start: 12px;
		border-radius: 0;
		box-shadow: none;
		overflow: hidden;
		opacity: 1;
		visibility: visible;
		transform: none;
		transition: max-height .35s ease;
	}

	.st-menu__item.is-expanded .st-drop { max-height: 2000px; padding-block: 4px 8px; }

	.st-menu__lang {
		display: flex;
		gap: 8px;
		margin-top: 20px;
		padding-top: 20px;
		border-top: 1px solid var(--st-line);
	}

	.st-menu__lang a {
		flex: 1;
		padding: 10px;
		border: 1px solid var(--st-line);
		border-radius: 999px;
		font-size: 14px;
		font-weight: 500;
		text-align: center;
		color: var(--st-ink);
	}

	.st-menu__lang a.is-on { border-color: var(--st-ink); background: var(--st-ink); color: #FFF; }

	.st-footer__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); padding-block: 72px 56px; }
	.st-footer__brand { grid-column: 1 / -1; }

	/* Filters sit above the grid once there is no room beside it, folded
	   away behind a summary line. */
	.st-shop { grid-template-columns: 1fr; gap: 32px; }
	.st-filters { position: static; padding: 0 20px; border: 1px solid var(--st-line); border-radius: 24px; }
	.st-filters > summary {
		display: flex;
		align-items: center;
		justify-content: space-between;
		gap: 12px;
		padding-block: 16px;
		font-size: 15px;
		font-weight: 600;
		color: var(--st-ink);
		cursor: pointer;
		list-style: none;
	}
	.st-filters > summary::-webkit-details-marker { display: none; }
	.st-filters > summary svg { width: 18px; height: 18px; }
	.st-filters[open] > summary { border-bottom: 1px solid var(--st-line); margin-bottom: 20px; }
	.st-filters__actions { padding-bottom: 20px; }

	.st-detail { grid-template-columns: 1fr; }
	.st-gallery { position: static; max-width: 560px; }

	.st-bag { grid-template-columns: 1fr; }
	.st-summary { position: static; }

	.st-closed__box { grid-template-columns: 1fr; }
	.st-closed__copy { padding: 48px 32px 0; }
	.st-closed__media { height: 360px; }
	.st-arch { top: 36px; width: min(72%, 340px); }
}

@media (max-width: 767px) {
	.st-header__inner { height: 68px; gap: 12px; }
	.st-logo { font-size: 20px; }
	.st-logo img { max-height: 38px; }
	.st-tools { gap: 0; }
	.st-tool { width: 40px; height: 40px; }
	.st-tool svg { width: 20px; height: 20px; }

	.st-head { flex-direction: column; align-items: flex-start; margin-bottom: 40px; }
	.st-head .st-arrows { align-self: flex-end; }
	.st-head__title { font-size: 28px; }

	.st-pagehead { padding-top: 32px; }
	.st-pagehead h1 { font-size: 30px; }
	.st-pagehead__rule { margin-top: 28px; }
	.st-section { padding-top: 32px; }

	.st-fields { grid-template-columns: 1fr; }
	.st-panel { padding: 22px 18px; }
	.st-summary { padding: 24px 20px; }

	.st-results__bar { flex-direction: column; align-items: stretch; }
	.st-sort .st-select { flex: 1; min-width: 0; }

	/* The bag line folds: picture beside the copy, price and quantity on a
	   row of their own underneath. */
	.st-line { grid-template-columns: 88px minmax(0, 1fr); gap: 16px; }
	.st-line__controls {
		grid-column: 1 / -1;
		flex-direction: row-reverse;
		align-items: center;
		justify-content: space-between;
	}

	.st-policies { grid-template-columns: 1fr; }
	.st-gallery__thumbs { grid-template-columns: repeat(4, minmax(0, 1fr)); }

	.st-footer__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 36px 24px; }
	.st-footer__bottom { flex-direction: column; text-align: center; }
	.st-footer__bottom nav { justify-content: center; }
}

@media (max-width: 639px) {
	.st-slider__track { --st-gutter: 20px; }
	.st-slider__track--cards { --st-per: 1.16; }

	/* Two across on a phone - one card per screen makes a grid of eight a
	   very long scroll. */
	.st-cards,
	.st-cards--3 { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 32px 14px; }
	.st-cards .st-card__media { border-radius: 16px; }
	.st-cards .st-card__body { gap: 10px; padding: 14px 2px 0; }
	.st-cards .st-card__name { font-size: 15px; }
	.st-cards .st-card__actions { display: none; }

	.st-detail__actions .st-qty { width: 100%; justify-content: space-between; }
	.st-detail__info h1 { font-size: 26px; }
	.st-empty { padding: 48px 20px; }
}
