html, body { margin: 0; background: #fff9ef; overscroll-behavior: none; }
body { font-family: 'Outfit', sans-serif; color: #1d1b16; -webkit-tap-highlight-color: transparent; }
html[lang="ar"] body, html[lang="ar"] button, html[lang="ar"] input, html[lang="ar"] select, html[lang="ar"] textarea {
  font-family: 'IBM Plex Sans Arabic', 'Outfit', sans-serif;
}
/* tracking/uppercase fight Arabic letter joining */
html[lang="ar"] * { letter-spacing: 0 !important; text-transform: none !important; }

::-webkit-scrollbar { display: none; }
* { scrollbar-width: none; }
.pb-safe { padding-bottom: env(safe-area-inset-bottom, 0px); }

.material-symbols-outlined { font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' 0, 'opsz' 24; font-size: 24px; line-height: 1; }
.material-symbols-outlined.fill { font-variation-settings: 'FILL' 1, 'wght' 300, 'GRAD' 0, 'opsz' 24; }

button, a { touch-action: manipulation; }
input, select, textarea { font: inherit; color: inherit; }
input:focus, select:focus, textarea:focus { outline: none; border-color: #111111 !important; }

/* size chip: available / selected / sold out (diagonal strike) */
.chip-size { position: relative; min-width: 44px; height: 44px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid #E3DACB; background: #FBF8F3; border-radius: 6px; font-size: 13px; font-weight: 500; }
.chip-size.on { background: #111111; color: #F5EFE6; border-color: #111111; }
.chip-size.off { color: rgba(107, 101, 92, .5); background: #F5EFE6; cursor: not-allowed; }
.chip-size.off::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top right, transparent calc(50% - .5px), #6B655C 50%, transparent calc(50% + .5px)); }

.chip { height: 40px; padding: 0 16px; display: inline-flex; align-items: center; white-space: nowrap; border: 1px solid #E3DACB; border-radius: 6px; background: #f3ede4; font-size: 12px; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.chip.on { background: #111111; color: #F5EFE6; border-color: #111111; }

.toggle { position: relative; width: 44px; height: 24px; border-radius: 9999px; background: #c4c7c7; transition: background .15s; flex: none; }
.toggle::after { content: ''; position: absolute; top: 2px; inset-inline-start: 2px; width: 20px; height: 20px; border-radius: 9999px; background: #fff; transition: inset-inline-start .15s; }
.toggle.on { background: #1f9d55; }
.toggle.on::after { inset-inline-start: 22px; }

.snap-x-row { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; }
.snap-x-row > * { scroll-snap-align: start; flex: none; }
