/* Seven Origins product list (category pages): the app's list screen */
.so-ar {
	--text-title: #16241C; --text-subtle: #5C6660; --brand: #009E52; --brand-dark: #00743C; --deep: #00874A; --line: #E9EFEB;
	--card-ink: #16241C; --card-muted: #6B7A70; --card-strike: #98A49D; --img-ph: #F2F4F1; --heading: #14201A; --warn: #CC3A2E;
	font-family: "Outfit", -apple-system, "Segoe UI", Roboto, Helvetica, Arial, sans-serif; color: var(--text-title);
	-webkit-font-smoothing: antialiased; background: #fff; min-height: 100vh; max-width: 480px; margin: 0 auto; padding-bottom: 110px; position: relative;
}
body.so-archive-page { margin: 0; background: #fff; }
.so-ar a { text-decoration: none; color: inherit; }

/* top bar */
.so-ar-top { display: flex; align-items: center; gap: 12px; padding: 10px 14px 10px 10px; }
.so-ar-back, .so-ar-ic { display: flex; color: var(--text-title) !important; position: relative; flex: 0 0 auto; }
.so-ar-search { flex: 1; min-width: 0; display: flex; align-items: center; gap: 10px; height: 44px; padding: 0 14px; border: 1.5px solid #D7E0DB; border-radius: 14px; background: #F3F6F4; color: #6B7A70 !important; font-size: 16px; }
.so-ar-search span { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.so-ar-cart b { position: absolute; top: -7px; right: -9px; min-width: 18px; height: 18px; padding: 0 4px; box-sizing: border-box; border-radius: 9px; background: #E5484D; color: #fff; font-size: 11px; font-weight: 700; line-height: 18px; text-align: center; }

/* location strip */
.so-ar-loc { display: flex; align-items: center; gap: 10px; width: 100%; padding: 10px 16px; background: #EAF5EE !important; border: 0 !important; color: var(--text-title) !important; text-align: left; font: inherit; }
.so-ar-loc > svg:first-child { color: #00A152; flex: 0 0 auto; }
.so-ar-loctext { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-size: 16px; font-weight: 500; }
.so-ar-loctext b { font-weight: 700; }
.so-ar-loctext span:not(:empty)::before { content: " \00B7  "; }

/* chips */
.so-ar-chips { display: flex; align-items: center; gap: 10px; padding: 12px 16px 4px; overflow-x: auto; scrollbar-width: none; }
.so-ar-chips::-webkit-scrollbar { display: none; }
.so-ar-chip { flex: 0 0 auto; display: flex; align-items: center; gap: 8px; height: 43px; padding: 0 14px; border: 1.5px solid #D6DFDA; border-radius: 14px; background: #fff; font-size: 15px; font-weight: 700; color: var(--text-title) !important; white-space: nowrap; overflow: hidden; }
.so-ar-chip img { width: 43px; height: 43px; margin: 0 4px 0 -14px; object-fit: contain; background: #E9F0F4; }
.so-ar-chip.is-on { border-color: var(--brand); background: #E6F6EC; color: var(--brand-dark) !important; }
.so-ar-chip-ex svg { color: var(--brand-dark); }
.so-ar-div { flex: 0 0 1px; height: 36px; background: #D6DFDA; }

/* title row */
.so-ar-title { display: flex; align-items: baseline; justify-content: space-between; padding: 14px 16px 12px; }
.so-ar-title h1 { margin: 0; font-size: 26px; font-weight: 800; line-height: 1.2; color: var(--text-title); }
.so-ar-title span { font-size: 16px; font-weight: 500; color: var(--card-muted); }

/* product grid: one card design, as everywhere */
.so-ar-grid { list-style: none; margin: 0; padding: 0 12px; display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px 12px; }
.so-ar-item { margin: 0; min-width: 0; }
.so-ar .so-card { border-radius: 4px; }
.so-ar .so-brand { font-size: 9.5px; font-weight: 700; letter-spacing: .4px; text-transform: uppercase; color: var(--card-muted); }
.so-ar .so-name { display: block; font-weight: 400; font-size: 12px; line-height: 1.3; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; color: var(--card-ink); }
.so-ar .so-now { font-weight: 700; font-size: 13.5px; }
.so-ar .so-was { font-weight: 400; font-size: 10.5px; }
.so-ar .so-off { font-weight: 700; font-size: 10.5px; color: #00743C; }
.so-ar-tag { position: absolute; top: 12px; left: 0; z-index: 2; display: flex; align-items: center; gap: 4px; padding: 5px 9px 5px 8px; border-radius: 0 8px 8px 0; background: #0B7A43; color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.so-ar-sold { position: absolute; right: 10px; bottom: 10px; padding: 7px 12px; border: 2px solid #CFE8D9; border-radius: 12px; background: #fff; color: #9CC9B0; font-size: 12.5px; font-weight: 800; letter-spacing: .4px; }
.so-ar-pages { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 20px 16px; font-size: 15px; }
.so-ar-pages a, .so-ar-pages span { padding: 8px 12px; border: 1px solid var(--line); border-radius: 8px; }
.so-ar-pages .current { background: var(--brand); color: #fff; border-color: var(--brand); }
.so-ar.js .so-ar-pages { display: none; }
.so-ar-loading { text-align: center; padding: 16px; color: var(--card-muted); }
.so-ar-desc { padding: 16px; font-size: 14px; color: var(--text-subtle); line-height: 1.6; }

/* floating Sort | Brand | Filters bar */
.so-ar-bar { position: fixed; left: 50%; bottom: 18px; transform: translateX(-50%); z-index: 60; display: flex; background: #fff; border-radius: 16px; box-shadow: 0 6px 22px rgba(0,0,0,.2); overflow: hidden; }
.so-ar-bar button { display: flex; flex-direction: column; align-items: center; gap: 4px; width: 92px; padding: 10px 0 9px; background: #fff !important; border: 0 !important; color: var(--text-title) !important; font: inherit; font-size: 13px; font-weight: 600; }
.so-ar-bar button + button { border-left: 1px solid #E3E9E6 !important; }
.so-ar-bar button:hover, .so-ar-bar button:focus, .so-ar-bar button:active { background: #fff !important; color: var(--text-title) !important; }

/* panels: bottom sheets on phones */
.so-ar-scrim { position: fixed; inset: 0; z-index: 90; background: rgba(0,0,0,.45); }
.so-ar-panel { position: fixed; left: 0; right: 0; bottom: 0; z-index: 100; max-width: 480px; margin: 0 auto; background: #fff; border-radius: 20px 20px 0 0; max-height: 82vh; display: flex; flex-direction: column; }
.so-ar-panel[hidden] { display: none; }
.so-ar-phead { display: flex; align-items: center; justify-content: space-between; padding: 16px 18px 8px; }
.so-ar-phead h2 { margin: 0; font-size: 19px; font-weight: 800; }
.so-ar-x { background: none !important; border: 0 !important; padding: 6px; color: var(--text-subtle) !important; }
.so-ar-pbody { overflow-y: auto; padding: 4px 18px 12px; }
.so-ar-pfoot { display: flex; align-items: center; justify-content: space-between; gap: 12px; padding: 10px 18px 18px; border-top: 1px solid var(--line); }
.so-ar-apply { flex: 1; height: 46px; border: 0 !important; border-radius: 12px; background: var(--brand) !important; color: #fff !important; font: inherit; font-size: 15px; font-weight: 800; }
.so-ar-apply:hover, .so-ar-apply:focus { background: var(--brand) !important; color: #fff !important; }
.so-ar-clear { font-size: 14px; font-weight: 700; color: var(--text-subtle) !important; padding: 8px 4px; }
.so-ar-sortlist { list-style: none; margin: 0; padding: 0 8px 18px; }
.so-ar-sortlist a { display: flex; align-items: center; justify-content: space-between; padding: 15px 10px; font-size: 16px; font-weight: 500; color: var(--text-title) !important; }
.so-ar-sortlist a.is-on { font-weight: 700; color: var(--brand-dark) !important; }
.so-ar-group { padding: 10px 0 6px; }
.so-ar-group h3 { margin: 0 0 6px; font-size: 14px; font-weight: 700; color: var(--text-subtle); text-transform: uppercase; letter-spacing: .4px; }
.so-ar-check { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 15.5px; font-weight: 500; }
.so-ar-check input { width: 20px; height: 20px; accent-color: var(--brand); flex: 0 0 20px; margin: 0; }
.so-ar-none { color: var(--card-muted); padding: 14px 0; }
.so-ar-range { position: relative; height: 30px; margin: 6px 4px 0; }
.so-ar-range input[type=range] { position: absolute; left: 0; right: 0; top: 4px; width: 100%; margin: 0; pointer-events: none; -webkit-appearance: none; appearance: none; background: none; accent-color: var(--brand); }
.so-ar-range input[type=range]::-webkit-slider-thumb { pointer-events: auto; }
.so-ar-range input[type=range]::-moz-range-thumb { pointer-events: auto; }
.so-ar-rv { margin: 2px 4px 4px; font-size: 15px; font-weight: 700; }

/* desktop: the three panels become a sidebar, 4-column grid */
@media (min-width: 1024px) {
	.so-ar { max-width: 1280px; padding-bottom: 40px; }
	.so-ar-top { padding: 18px 32px 12px; }
	.so-ar-search { max-width: 620px; }
	.so-ar-loc { padding-left: 32px; }
	.so-ar-chips { padding: 14px 32px 4px; }
	.so-ar-layout { display: grid; grid-template-columns: 280px 1fr; gap: 32px; padding: 0 32px; align-items: start; }
	.so-ar-title { padding-left: 0; padding-right: 0; }
	.so-ar-grid { padding: 0; grid-template-columns: repeat(4, 1fr); gap: 28px 18px; }
	.so-ar-bar, .so-ar-scrim { display: none !important; }
	.so-ar-side { position: sticky; top: 16px; max-height: calc(100vh - 32px); overflow-y: auto; padding-top: 14px; }
	.so-ar-panel, .so-ar-panel[hidden] { display: block; position: static; max-width: none; max-height: none; border-radius: 0; border-top: 1px solid var(--line); margin-bottom: 8px; }
	.so-ar-x { display: none; }
	.so-ar-phead { padding: 14px 0 6px; }
	.so-ar-pbody { padding: 0 0 8px; overflow: visible; }
	.so-ar-pfoot { padding: 8px 0 14px; border: 0; }
	.so-ar-panel[data-panel="brand"] { display: none !important; } /* the brand list is inside Filters on desktop */
	.so-ar-sortlist { padding: 0 0 8px; }
	.so-ar-sortlist a { padding: 9px 0; font-size: 15px; }
}
.so-ar .so-sheet[hidden] { display: none !important; }

/* express tag is added by the page after it asks the server (it depends on where the visitor is) */
.so-ar-item.is-hidden { display: none; }
.so-ar-note { margin: 0 16px 10px; padding: 10px 14px; border-radius: 12px; background: #FFF6E0; color: #7A5A00; font-size: 14px; font-weight: 600; }
.so-ar-chip[hidden], .so-ar-div[hidden] { display: none; }
.so-ar-chip-ex { cursor: pointer; font-family: inherit; }
.so-ar-instock { padding: 6px 0 10px; border-bottom: 1px solid var(--line); margin-bottom: 4px; font-weight: 700; }
.so-ar-sortlist button { display: flex; align-items: center; justify-content: space-between; width: 100%; padding: 15px 10px; background: none !important; border: 0 !important; font: inherit; font-size: 16px; font-weight: 500; color: var(--text-title) !important; text-align: left; }
.so-ar-sortlist button svg { visibility: hidden; }
.so-ar-sortlist button.is-on { font-weight: 700; color: var(--brand-dark) !important; }
.so-ar-sortlist button.is-on svg { visibility: visible; }
.so-ar-sortlist button:hover, .so-ar-sortlist button:focus { background: none !important; color: var(--text-title) !important; }
.so-ar-sortlist button.is-on:hover { color: var(--brand-dark) !important; }

/* price range: a visible track with a green stretch between two round handles */
.so-ar-range { position: relative; height: 32px; margin: 8px 6px 0; }
.so-ar-track { position: absolute; left: 0; right: 0; top: 14px; height: 4px; border-radius: 2px; background: #DCE5E0; }
.so-ar-fill { position: absolute; top: 14px; height: 4px; border-radius: 2px; background: var(--brand); left: 0; right: 0; }
.so-ar-range input[type=range] { position: absolute; left: -6px; right: -6px; top: 0; width: calc(100% + 12px); height: 32px; margin: 0; padding: 0; pointer-events: none; -webkit-appearance: none; appearance: none; background: transparent !important; border: 0 !important; accent-color: var(--brand); }
.so-ar-range input[type=range]::-webkit-slider-runnable-track { -webkit-appearance: none; background: transparent; height: 32px; border: 0; }
.so-ar-range input[type=range]::-moz-range-track { background: transparent; border: 0; height: 32px; }
.so-ar-range input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; margin-top: 5px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.35); cursor: pointer; }
.so-ar-range input[type=range]::-moz-range-thumb { pointer-events: auto; width: 16px; height: 16px; border-radius: 50%; background: var(--brand); border: 3px solid #fff; box-shadow: 0 1px 5px rgba(0,0,0,.35); cursor: pointer; }
.so-ar-rv { margin: 4px 6px 6px; font-size: 15px; font-weight: 700; }

/* loading and arrival animation */
.so-ar-main.is-loading .so-ar-grid { opacity: .45; pointer-events: none; animation: so-pulse 1s ease-in-out infinite; }
@keyframes so-pulse { 50% { opacity: .3; } }
.so-ar-item { animation: so-in .35s ease both; }
@keyframes so-in { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) { .so-ar-item, .so-ar-main.is-loading .so-ar-grid { animation: none; } }

/* the Sort | Brand | Filters bar: plain cells with thin dividers (the theme gave every button a rounded outline) */
.so-ar-bar button, .so-ar-bar button:hover, .so-ar-bar button:focus, .so-ar-bar button:active { border-radius: 0 !important; box-shadow: none !important; outline: 0; }
.so-ar-bar button::before, .so-ar-bar button::after { display: none !important; content: none !important; }
.so-ar-bar button + button { border-left: 1px solid #E3E9E6 !important; border-top: 0 !important; border-right: 0 !important; border-bottom: 0 !important; }
.so-ar-bar button:first-child { border: 0 !important; }

/* location strip: a flat full-width band like the app (the theme rounded every button) */
.so-ar .so-ar-loc, .so-ar .so-ar-loc:hover, .so-ar .so-ar-loc:focus, .so-ar .so-ar-loc:active { border-radius: 0 !important; box-shadow: none !important; margin: 0; }
.so-ar .so-ar-loc::before, .so-ar .so-ar-loc::after { display: none !important; content: none !important; }

.so-ar-cart { width: 28px; height: 28px; }
.so-ar-cart svg { width: 28px; height: 28px; }
.so-ar-cart b { top: -6px; right: -8px; }

.so-ar-top > .so-ar-ic:not(.so-ar-cart) { width: 28px; height: 28px; }
.so-ar-top > .so-ar-ic svg { width: 28px; height: 28px; }

/* top bar icons: lighter lines (they looked too bold) */
.so-ar-top .so-ic { stroke-width: 1.6; }
.so-ar-top .so-ar-ic .so-ic { stroke-width: 1.5; }

/* top bar heart, bag and home: the app's own Cupertino icons (the font is loaded with the bottom bar) */
.so-ar-top .so-hic, .so-cats-tools .so-hic { font: normal 400 28px/1 "Cupertino Icons"; font-feature-settings: "liga"; font-variant-ligatures: common-ligatures; display: block; width: 28px; height: 28px; color: #16241C; -webkit-font-smoothing: antialiased; }
.so-ar-top .so-ar-ic, .so-cats-tools .so-cats-ic { width: 28px; height: 28px; }

/* header icons one size smaller (24px): they looked too big */
.so-ar-top .so-hic, .so-cats-tools .so-hic { font-size: 24px; width: 24px; height: 24px; }
.so-ar-top .so-ar-ic, .so-ar-top > .so-ar-ic:not(.so-ar-cart), .so-ar-cart, .so-cats-tools .so-cats-ic, .so-ar-back { width: 24px; height: 24px; }
.so-ar-top > .so-ar-ic svg, .so-ar-cart svg, .so-ar-back svg { width: 24px; height: 24px; }
.so-ar-cart b { top: -7px; right: -9px; }

/* the app screens' top bar: a little taller, one icon colour, soft shadow underneath */
.so-ar-top { min-height: 58px; padding-top: 12px; padding-bottom: 12px; position: relative; z-index: 20; background: #fff; box-shadow: 0 2px 10px rgba(22, 36, 28, .08); }
.so-ar-top .so-hic, .so-ar-top .so-ar-ic, .so-ar-top .so-ar-back, .so-cats-tools .so-hic { color: #16241C !important; }

/* icons: a softer charcoal instead of near-black */
.so-ar-top .so-hic, .so-ar-top .so-ar-ic, .so-ar-top .so-ar-back, .so-ar-top .so-ar-search, .so-cats-tools .so-hic, .so-cats-tools .so-cats-ic { color: #36423B !important; }

/* ===== the app's product list numbers (weights a step lighter for Outfit: 800 -> 700, 700 -> 600) ===== */
.so-ar-top .so-hic, .so-cats-tools .so-hic { font-size: 23px; width: 23px; height: 23px; }
.so-ar-top .so-ar-ic, .so-ar-top > .so-ar-ic:not(.so-ar-cart), .so-ar-cart, .so-cats-tools .so-cats-ic, .so-ar-back { width: 23px; height: 23px; }
.so-ar-top > .so-ar-ic svg, .so-ar-cart svg, .so-ar-back svg { width: 23px; height: 23px; }
.so-ar-search { height: 38px; padding: 0 12px; gap: 8px; border: 1px solid #D7E0DB; border-radius: 10px; font-size: 12.5px; font-weight: 400; }
.so-ar-search svg { width: 18px; height: 18px; }
.so-ar-cart b { min-width: 15px; height: 15px; padding: 0 3px; border-radius: 8px; font-size: 9px; font-weight: 600; line-height: 15px; top: -6px; right: -8px; }
.so-ar-loc { padding: 8px 16px; gap: 8px; }
.so-ar-loc > svg:first-child { width: 15px; height: 15px; }
.so-ar-loc > svg:last-child { width: 16px; height: 16px; }
.so-ar-loctext { font-size: 12.5px; font-weight: 400; }
.so-ar-loctext b { font-weight: 700; }
.so-ar-chips { gap: 8px; padding: 10px 12px 4px; }
.so-ar-chip { height: 38px; padding: 0 10px; gap: 6px; border: 1px solid #D6DFDA; border-radius: 10px; font-size: 10.5px; font-weight: 500; }
.so-ar-chip.is-on { border-width: 1.4px; font-weight: 700; }
.so-ar-chip img { width: 38px; height: 38px; margin: 0 4px 0 -10px; }
.so-ar-chip svg { width: 13px; height: 13px; }
.so-ar-title { padding: 12px 12px 10px; }
.so-ar-title h1 { font-size: 16px; font-weight: 700; }
.so-ar-title span { font-size: 12px; font-weight: 400; }
@media (max-width: 1023px) { .so-ar-grid { padding: 0 10px; gap: 10px; } }
.so-brand, .so-now, .so-off { font-weight: 700; }

/* search-bar header (lists, product, bag): no shadow, icons back to the larger size that looked right */
.so-ar-top { box-shadow: none; border-bottom: 1px solid #EBEDF0; }
.so-ar-top .so-hic, .so-cats-tools .so-hic { font-size: 28px; width: 28px; height: 28px; }
.so-ar-top .so-ar-ic, .so-ar-top > .so-ar-ic:not(.so-ar-cart), .so-ar-cart, .so-cats-tools .so-cats-ic, .so-ar-back { width: 28px; height: 28px; }
.so-ar-top > .so-ar-ic svg, .so-ar-cart svg, .so-ar-back svg { width: 28px; height: 28px; }
.so-ar-search svg { width: 20px; height: 20px; }
.so-ar-cart b { min-width: 18px; height: 18px; font-size: 11px; line-height: 18px; top: -7px; right: -9px; }

/* search-bar header: no line and no shadow under it at all */
.so-ar-top, .so-ar .so-ar-top { box-shadow: none !important; border-bottom: 0 !important; border: 0 !important; }

/* the search icon is the same colour as the other header icons (only the placeholder words stay light) */
.so-ar-search svg { color: #36423B !important; stroke-width: 1.8; }

/* the "Delivering to" address shows in full: it wraps to a second line instead of being cut off */
.so-ar-loctext { white-space: normal; overflow: visible; text-overflow: clip; line-height: 1.35; }

/* delivery bar: back to one line */
.so-ar-loctext { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; }

/* the 30-min chip is a button: keep the theme's black button look off it in every state */
.so-ar-chip.so-ar-chip-ex, .so-ar-chip.so-ar-chip-ex:hover, .so-ar-chip.so-ar-chip-ex:focus, .so-ar-chip.so-ar-chip-ex:active { background: #fff !important; color: var(--text-title) !important; border: 1px solid #D6DFDA !important; box-shadow: none !important; outline: 0; border-radius: 10px !important; }
.so-ar-chip.so-ar-chip-ex svg { color: var(--brand-dark); }
.so-ar-chip.so-ar-chip-ex.is-on, .so-ar-chip.so-ar-chip-ex.is-on:hover, .so-ar-chip.so-ar-chip-ex.is-on:focus, .so-ar-chip.so-ar-chip-ex.is-on:active { background: #E6F6EC !important; color: var(--brand-dark) !important; border: 1.4px solid var(--brand) !important; font-weight: 700; }
