/* IXXO Cart 8 storefront: fonts, reset, type, buttons and focus. Every page loads it, locked
   pages (checkout, pay, thank you) too. Logical properties only: the shop may read right to left.
   Fonts are self-hosted under the SIL Open Font License (licences beside the files):
   Archivo (variable, weight 100 to 900, width 62% to 125%), Geist (variable) and Geist Mono
   (variable, for prices, counts and labels). Neither has Greek or Arabic letters: those fall
   back to the system font of the stack. */
@font-face{ font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../../fonts/archivo/Archivo-latin.woff2") format("woff2"); unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD; }
@font-face{ font-family: 'Archivo'; font-style: normal; font-weight: 100 900; font-stretch: 62% 125%; font-display: swap; src: url("../../fonts/archivo/Archivo-latin-ext.woff2") format("woff2"); unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF; }
@font-face{ font-family: 'Geist'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../../fonts/geist/Geist-Variable.woff2") format("woff2"); }
@font-face{ font-family: 'Geist Mono'; font-style: normal; font-weight: 100 900; font-display: swap; src: url("../../fonts/geist-mono/GeistMono-Variable.woff2") format("woff2"); }

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

html{ -webkit-text-size-adjust: 100%; text-size-adjust: 100%; }

body{
	margin: 0;
	min-block-size: 100vh;
	display: flex;
	flex-direction: column;
	font-family: var(--font-body);
	font-size: 15px;
	line-height: 1.5;
	color: var(--ink);
	background: var(--paper);
	-webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4{ font-family: var(--font-heading); line-height: 1.15; letter-spacing: -0.02em; margin: 0; text-wrap: balance; }
h1{ font-size: clamp(28px, 3vw, 40px); font-weight: 760; }
h2{ font-size: clamp(22px, 2.2vw, 30px); font-weight: 720; }
p{ margin: 0; }
img, svg{ max-inline-size: 100%; }
img{ block-size: auto; display: block; }
a{ color: inherit; text-underline-offset: 2px; }
button, input, select, textarea{ font: inherit; color: inherit; }
ul, ol{ margin: 0; padding: 0; }
[hidden]{ display: none !important; }

.sf-wrap{ max-inline-size: 1360px; margin: 0 auto; padding-inline: 32px; }
.sf-main{ flex: 1; padding-block-end: 72px; }
.sf-main:focus{ outline: none; }
.sf-mono{ font-family: var(--font-mono); font-variant-numeric: tabular-nums; }

/* Visible to screen readers only. */
.sf-sr{ position: absolute; inline-size: 1px; block-size: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap; }

.sf-skip{ position: absolute; inset-block-start: 8px; inset-inline-start: 8px; z-index: 100; padding: 10px 16px; border-radius: var(--r); background: var(--ink); color: var(--on-ink); font-weight: 600; text-decoration: none; transform: translateY(-200%); }
.sf-skip:focus{ transform: none; }

:focus-visible{ outline: 2px solid var(--accent); outline-offset: 2px; }

.sf-ico{ inline-size: 20px; block-size: 20px; fill: none; stroke: currentColor; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; flex: none; }
/* Arrows and chevrons point the reading way. */
[dir="rtl"] .sf-flip{ transform: scaleX(-1); }

.sf-btn{
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-block-size: 44px;
	padding-inline: 22px;
	border: 0;
	border-radius: var(--r);
	font-weight: 600;
	font-size: 15px;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.2s cubic-bezier(0.16, 1, 0.3, 1), background-color 0.2s, color 0.2s;
}
.sf-btn:active{ transform: scale(0.98); }
.sf-btn-accent{ background: var(--accent); color: var(--on-accent); }
.sf-btn-accent:hover{ filter: brightness(0.94); }
.sf-btn-ink{ background: var(--ink); color: var(--on-ink); }
.sf-btn-ink:hover{ background: var(--ink-hover); }
.sf-btn-line{ background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.sf-btn-line:hover{ background: var(--ink); color: var(--on-ink); }
.sf-btn-block{ display: flex; inline-size: 100%; }
.sf-btn[aria-busy="true"]{ opacity: 0.7; cursor: progress; }

.sf-icon-btn{ display: inline-grid; place-items: center; inline-size: 44px; block-size: 44px; border: 0; border-radius: var(--r); background: none; color: var(--ink); cursor: pointer; }
.sf-icon-btn:hover{ background: var(--tile); }

@media (max-width: 720px){
	.sf-wrap{ padding-inline: 16px; }
}

@media (prefers-reduced-motion: reduce){
	*, *::before, *::after{ animation: none !important; transition: none !important; scroll-behavior: auto !important; }
}
