/* One Six Shop Archive */
.os.os-shop-a { background-color: var(--os-paper); padding: clamp(32px, 4vw, 56px) 0 clamp(72px, 9vw, 140px); }
.os .os-shop__layout { display: grid; grid-template-columns: minmax(0, 1fr); gap: clamp(28px, 4vw, 64px); align-items: start; }
.os.os-shop-a.has-side .os-shop__layout { grid-template-columns: 220px minmax(0, 1fr); }
/* Grid items default to min-width:auto, so the scrolling chip row on small
 * screens would stretch the column to its full length. */
.os .os-shop__layout > *, .os .os-shop__side, .os .os-shop__side nav { min-width: 0; }

.os .os-shop__side { position: sticky; top: calc(var(--wp-admin--admin-bar--height, 0px) + 100px); display: grid; gap: 28px; }
.os .os-shop__side nav { display: grid; gap: 28px; }
.os .os-shop__all { font-size: 13px; font-weight: 500; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.os .os-shop__group h2 { font-family: var(--os-font-sans); font-size: 11px; font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--os-mute); margin-bottom: 12px; line-height: 1.4; }
.os .os-shop__group ul { display: grid; gap: 2px; }
.os .os-shop__side a { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; font-size: 15px; line-height: 1.35; text-decoration: none; color: var(--os-ink); }
.os .os-shop__side a span { color: var(--os-mute); font-size: 13px; }
.os .os-shop__side a:hover { color: var(--os-mute); }
.os .os-shop__side a[aria-current] { font-weight: 600; color: var(--os-ink); text-decoration: underline; text-underline-offset: 4px; }
.os .os-shop__note { font-size: 14px; color: var(--os-mute); padding: 16px; border-radius: var(--os-r); background-color: var(--os-mist); }

.os .os-shop__bar { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: nowrap; margin-bottom: 24px; padding-bottom: 16px; border-bottom: 1px solid var(--os-line); }
.os .os-shop__count { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; color: var(--os-mute); }
.os .os-shop__sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.os .os-shop__sort label { font-size: 13px; color: var(--os-mute); white-space: nowrap; }
.os .os-shop__sort select { height: 44px; padding: 0 40px 0 16px; border: 1px solid var(--os-line); border-radius: var(--os-r); background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' fill='none'%3E%3Cpath d='M1 1.5l5 5 5-5' stroke='%23111111' stroke-width='1.5'/%3E%3C/svg%3E") no-repeat right 16px center; -webkit-appearance: none; appearance: none; font-family: var(--os-font-sans); font-size: 14px; font-weight: 500; color: var(--os-ink); cursor: pointer; }
.os .os-shop__sort select:focus { outline: none; border-color: var(--os-ink); }

.os .os-shop__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: clamp(28px, 3vw, 44px) clamp(10px, 1.2vw, 18px); }
.os .os-shop__empty { padding: 48px 0; color: var(--os-mute); font-size: 18px; }

@media (max-width: 960px) {
	.os.os-shop-a.has-side .os-shop__layout { grid-template-columns: 1fr; }
	.os .os-shop__side { position: static; display: block; }
	.os .os-shop__side nav { display: flex; gap: 8px; overflow-x: auto; overscroll-behavior-x: contain; scrollbar-width: none; padding-bottom: 4px; }
	.os .os-shop__side nav::-webkit-scrollbar { display: none; }
	.os .os-shop__group { display: contents; }
	.os .os-shop__group h2 { display: none; }
	.os .os-shop__group ul { display: contents; }
	.os .os-shop__side a, .os .os-shop__all { flex: none; padding: 10px 16px; border-radius: 999px; border: 1px solid var(--os-line); font-size: 14px; white-space: nowrap; text-decoration: none; }
	.os .os-shop__side a span { display: none; }
	.os .os-shop__side a[aria-current] { background-color: var(--os-ink); border-color: var(--os-ink); color: #fff; text-decoration: none; }
	.os .os-shop__note { display: none; }
}
@media (max-width: 600px) {
	.os .os-shop__sort label { display: none; }
}
