/* One Six product card — shared by the Product Rail, Shop Archive and Product widgets.
 * Fashion cards: the main photo fills a 3:4 frame; with "hover swap" on, the
 * second photo fades in on hover (pointer devices only). */
.os .os-card { display: grid; gap: 12px; align-content: start; min-width: 0; }
.os .os-card[hidden] { display: none; }
/* position + absolute image: Safari resolves height:100% against the padded box otherwise. */
.os .os-card__img { position: relative; aspect-ratio: 3 / 4; background-color: var(--os-mist); border-radius: var(--os-r); overflow: hidden; }
.os .os-card__img > a { position: absolute; inset: 0; }
.os .os-card__img img { position: absolute; inset: 0; width: 100%; height: 100%; max-width: none; object-fit: cover; transition: transform 1s var(--os-ease), opacity .5s; }
.os .os-card__alt { opacity: 0; }
@media (hover: hover) {
	.os .has-swap .os-card:hover .os-card__alt { opacity: 1; }
	.os .os-card:hover .os-card__img img { transform: scale(1.025); }
}
.os .os-card.is-out .os-card__main { opacity: .6; }
.os .os-card__badge { position: absolute; z-index: 2; left: 10px; top: 10px; padding: 5px 10px; background-color: rgba(255, 255, 255, .94); color: var(--os-ink); font-size: 11px; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; line-height: 1.3; border-radius: var(--os-r); }
.os .os-card__add { position: absolute; z-index: 2; right: 10px; bottom: 10px; width: 42px; height: 42px; padding: 0; border-radius: 50%; border: 0; background-color: var(--os-paper); color: var(--os-ink); display: grid; place-items: center; cursor: pointer; transition: transform .3s var(--os-ease), background-color .2s, color .2s; }
.os .os-card__add:hover, .os .os-card__add:focus-visible { transform: scale(1.06); background-color: var(--os-ink); color: #fff; }
.os .os-card__add svg { width: 18px; height: 18px; }
.os .os-card__row { display: grid; gap: 4px; }
.os .os-card__name { font-size: 14px; font-weight: 400; text-decoration: none; line-height: 1.35; }
.os .os-card__name:hover { text-decoration: underline; text-underline-offset: 3px; }
.os .os-card__price { font-size: 14px; font-weight: 500; white-space: nowrap; }
.os .os-card__price del { color: var(--os-mute); font-weight: 400; margin-right: 6px; }
.os .os-card__price ins { text-decoration: none; }

/* Pagination, shared by the Shop Archive and Post Grid widgets. */
.os .os-pager { margin-top: clamp(40px, 5vw, 64px); }
.os .os-pager ul { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.os .os-pager a, .os .os-pager span.page-numbers { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 12px; border: 1px solid var(--os-line); border-radius: var(--os-r); text-decoration: none; font-size: 14px; font-weight: 500; }
.os .os-pager a:hover { border-color: var(--os-ink); }
.os .os-pager .current { background-color: var(--os-ink); border-color: var(--os-ink); color: #fff; }
.os .os-pager .dots { border-color: transparent; }
