/* ============================================================
   Seraph Living — ecosystem layer (loaded last)
   One system, one accent per store: Essentials botanical green,
   Shop harvest copper (from arte*), hub ink. Store strip above
   the header; hub split panels.
   ============================================================ */

/* ---------- Store accents (body.store-*) ---------- */
.store-shop {
    --accent: #AB5700;
    --accent-hover: #8A4600;
    --accent-soft: #F5EADF;
    --accent-border: #D9A877;
    --green: #AB5700;
    --green-deep: #8A4600;
}
.store-sound {
    --accent: #25324A;
    --accent-hover: #1A2436;
    --accent-soft: #E6E9EF;
    --accent-border: #8C97AD;
    --green: #25324A;
    --green-deep: #1A2436;
}
.store-perfumes {
    --accent: #4A2A3F;
    --accent-hover: #361E2E;
    --accent-soft: #F0E8EC;
    --accent-border: #A88A9C;
    --green: #4A2A3F;
    --green-deep: #361E2E;
}
.store-luggage {
    --accent: #6A3B1F;
    --accent-hover: #522D17;
    --accent-soft: #F2EAE3;
    --accent-border: #B8916F;
    --green: #6A3B1F;
    --green-deep: #522D17;
}
.store-communion {
    --accent: #5C1E2A;
    --accent-hover: #461720;
    --accent-soft: #F2E8EA;
    --accent-border: #AE8890;
    --green: #5C1E2A;
    --green-deep: #461720;
}
.store-hub {
    --accent: #1A1A18;
    --accent-hover: #0E0E0D;
    --accent-soft: #ECECE8;
    --accent-border: #D2D2CC;
    --green: #1A1A18;
    --green-deep: #0E0E0D;
}

/* ---------- Store strip: Seraph Living · Essentials · Shop ---------- */
:root { --strip-h: 0px; --header-total: calc(var(--nav-h) + var(--strip-h)); }
html:has(.store-strip) { --strip-h: 32px; }
html:root:has(.ad-bar) { --header-total: calc(var(--nav-h) + var(--strip-h) + var(--ad-bar-h)); }

.store-strip {
    height: var(--strip-h);
    background: var(--text);
    color: var(--on-green);
}
.store-strip__inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 28px;
}
.store-strip__link {
    position: relative;
    display: inline-flex;
    align-items: center;
    height: 100%;
    font-family: var(--font-ui);
    font-size: 11px;
    font-weight: 400;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: rgba(244, 241, 232, 0.62);
    transition-property: color;
    transition-duration: 160ms;
    transition-timing-function: var(--micro-ease, ease-out);
}
.store-strip__link[aria-current="page"] { color: var(--on-green); font-weight: 500; }
.store-strip__link[aria-current="page"]::after {
    content: '';
    position: absolute;
    left: 0; right: 0; bottom: 0;
    height: 2px;
    background: var(--gold);
}
.store-strip__link--shop[aria-current="page"]::after { background: #D9A877; }
.store-strip__link--sound[aria-current="page"]::after { background: #8C97AD; }
.store-strip__link--perfumes[aria-current="page"]::after { background: #A88A9C; }
.store-strip__link--luggage[aria-current="page"]::after { background: #B8916F; }
.store-strip__link--communion[aria-current="page"]::after { background: #AE8890; }
.store-strip__note { margin-left: auto; padding-left: 24px; font-size: 11px; letter-spacing: 0.04em; white-space: nowrap; flex-shrink: 0; color: rgba(244, 241, 232, 0.62); }
/* One line or nothing: beside seven store links the note only fits from about 1050px. */
@media (max-width: 1079px) {
    .store-strip__note { display: none; }
}
@media (hover: hover) and (pointer: fine) {
    .store-strip__link:hover { color: var(--on-green); }
}
.store-strip__link { white-space: nowrap; flex-shrink: 0; }
@media (max-width: 760px) {
    /* Phones: one line that swipes sideways, padded on both ends, with a fade hinting at more */
    .store-strip__inner {
        gap: 18px;
        padding-inline: 16px;
        overflow-x: auto;
        overscroll-behavior-x: contain;
        scrollbar-width: none;
        -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
                mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    }
    .store-strip__inner::-webkit-scrollbar { display: none; }
    .store-strip__inner::after { content: ''; flex: 0 0 1px; } /* keeps right padding inside the scroll area */
    .store-strip__link { letter-spacing: 0.1em; }
}

/* ---------- Hub: split hero, who we are, houses grid (mood photography in img/hub) ---------- */
.maison-hero { position: relative; height: clamp(560px, calc(100svh - var(--header-total)), 980px); margin-top: var(--header-total); overflow: hidden; color: #FBF8F1; background: #1B1712; }
.maison-hero__media { position: absolute; inset: 0; display: grid; grid-template-columns: 1fr 1fr; }
.maison-hero__media img { width: 100%; height: 100%; object-fit: cover; }
.maison-hero__media img:first-child { object-position: 72% 50%; }
.maison-hero::after { /* keeps the name and list legible on both photos */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 16, 12, 0.5) 0%, rgba(20, 16, 12, 0) 38%, rgba(20, 16, 12, 0) 55%, rgba(20, 16, 12, 0.6) 100%);
    pointer-events: none;
}
.maison-hero__title {
    position: absolute;
    z-index: 1;
    top: clamp(20px, 3vw, 40px);
    left: 0;
    right: 0;
    margin: 0;
    font-family: var(--font-title);
    font-weight: 400;
    font-size: clamp(56px, 11.4vw, 200px);
    line-height: 0.9;
    letter-spacing: -0.03em;
    text-align: center;
    white-space: nowrap;
    text-shadow: 0 2px 24px rgba(20, 16, 12, 0.35);
}
.maison-hero__foot {
    position: absolute;
    z-index: 1;
    bottom: clamp(28px, 4.5vw, 64px);
    left: var(--gutter);
    right: var(--gutter);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: clamp(18px, 2vw, 26px);
    text-align: center;
}
.maison-hero__lede { margin: 0; max-width: 44ch; font-size: clamp(17px, 1.5vw, 21px); line-height: 1.45; color: #FBF8F1; text-shadow: 0 1px 14px rgba(20, 16, 12, 0.55); text-wrap: balance; }
.maison-hero__actions { display: flex; flex-wrap: wrap; justify-content: center; gap: 12px; }
.btn--glass { background: rgba(20, 16, 12, 0.28); color: #FBF8F1; border-color: rgba(251, 248, 241, 0.7); -webkit-backdrop-filter: blur(6px); backdrop-filter: blur(6px); }
@media (hover: hover) and (pointer: fine) {
    .btn--glass:hover { background: #FBF8F1; color: #1A1A18; border-color: #FBF8F1; }
}

/* ---------- Hub motion (hub-motion.js). Shapes change; nothing fades or blurs. ---------- */
.intro { display: none; }
.hub-intro .intro {
    position: fixed;
    inset: 0;
    z-index: 150; /* over the header; the dots loader (top layer) clears first */
    display: grid;
    place-items: center;
    background: var(--base);
}
.intro > * { grid-area: 1 / 1; }
.intro__word { position: relative; width: min(56vw, 420px); aspect-ratio: 554 / 96; }
.intro__letter {
    position: absolute;
    top: 0;
    height: 100%;
    background-image: url('../img/brand/seraph-word.webp');
    background-repeat: no-repeat;
    clip-path: inset(0 -2px 0 -2px); /* the mask line the letter rises out of */
    transform: translateY(105%);
}
.intro__pill {
    display: grid;
    place-items: center;
    width: 14px;
    height: 14px;
    overflow: hidden;
    border-radius: 999px;
    background: #1A1A18;
    color: #FBF8F1;
    transform: scale(0);
}
.intro__label { font-family: var(--font-title); font-size: 22px; letter-spacing: -0.01em; white-space: nowrap; transform: translateY(160%); }
.intro__iris {
    --d: 0%;
    --twist: 0deg;
    position: relative;
    width: min(44vmin, 360px);
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: 50%;
    visibility: hidden;
}
.intro__iris img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 72% 50%; }
.intro__blade { /* a half-plane per blade; six of them leave a hexagonal aperture of radius --d */
    position: absolute;
    left: -50%;
    top: 50%;
    width: 200%;
    height: 200%;
    background: #1A1A18;
    border-top: 1px solid rgba(232, 205, 150, 0.5);
    transform-origin: 50% 0;
    transform: rotate(calc(var(--i) * 60deg + var(--twist))) translateY(var(--d));
}

.hub-intro .header { transform: translateY(-100%); }
.hub-anim .maison-hero__title,
.hub-anim .maison-hero__foot { visibility: hidden; }
.hub-anim .maison-hero__media img:first-child { clip-path: inset(50% 50% 50% 50%); }
.hub-anim .maison-hero__media img:last-child { transform: translateX(100%); }

.house-tile__pill {
    position: absolute;
    z-index: 1;
    top: clamp(16px, 2vw, 28px);
    right: clamp(16px, 2vw, 28px);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 40px;
    padding: 10px 18px;
    border-radius: 999px;
    background: #FBF8F1; /* ivory reads on every photo; black vanished on the dark ones */
    color: #1A1A18;
    box-shadow: 0 2px 10px rgba(20, 16, 12, 0.28);
    font-size: 12px;
    font-weight: 600;
    letter-spacing: var(--track-caps);
    text-transform: uppercase;
}
@media (hover: hover) and (pointer: fine) {
    .house-tile__pill { transform: scale(0); transform-origin: 100% 0; transition: transform 300ms var(--ease-out); }
    .house-tile:hover .house-tile__pill,
    .house-tile:focus-visible .house-tile__pill { transform: scale(1); transition: transform 520ms cubic-bezier(0.34, 1.56, 0.64, 1); } /* spring */
}
.flood { position: fixed; z-index: 300; border-radius: 50%; background: #1A1A18; pointer-events: none; }

.maison-about { padding: clamp(96px, 13vw, 200px) 0; text-align: center; }
.maison-about__label { margin: 0 0 clamp(20px, 2.4vw, 32px); font-family: var(--font-ui); font-size: 16px; font-weight: 500; color: #8A6A2F; } /* darker gold: 4.9:1 on ivory */
.maison-about__line {
    margin: 0 auto;
    max-width: 16ch;
    font-family: var(--font-title);
    font-size: clamp(40px, 6vw, 96px);
    line-height: 1;
    letter-spacing: -0.025em;
    color: var(--text);
    text-wrap: balance;
}

.houses { padding-bottom: clamp(64px, 8vw, 120px); }
.houses__head { padding-bottom: clamp(20px, 2.4vw, 32px); }
.houses__title { margin: 0; font-family: var(--font-title); font-weight: 400; font-size: clamp(30px, 3vw, 44px); letter-spacing: -0.01em; }
.houses__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 2px; margin: 0; padding: 0; list-style: none; }
.house-tile { position: relative; display: block; aspect-ratio: 4 / 5; overflow: hidden; color: #FBF8F1; background: var(--surface-2); }
.house-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform 700ms var(--ease-out); }
.house-tile::after { content: ''; position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, rgba(20, 16, 12, 0.78) 0%, rgba(20, 16, 12, 0.45) 45%, rgba(20, 16, 12, 0) 100%); pointer-events: none; }
.house-tile__text { position: absolute; z-index: 1; left: clamp(20px, 2.4vw, 36px); right: clamp(20px, 2.4vw, 36px); bottom: clamp(20px, 2.4vw, 36px); display: grid; gap: 10px; text-shadow: 0 1px 12px rgba(20, 16, 12, 0.4); }
.house-tile__name { font-family: var(--font-title); font-size: clamp(28px, 2.6vw, 42px); line-height: 1; letter-spacing: -0.015em; }
.house-tile__line { font-size: 15px; line-height: 1.4; color: rgba(251, 248, 241, 0.94); }
.house-tile:focus-visible { outline: 2px solid var(--text); outline-offset: 3px; }
@media (hover: hover) and (pointer: fine) {
    .house-tile:hover img { transform: scale(1.03); }
}

.hub-statement { padding: clamp(40px, 5vw, 64px) 0; border-bottom: 1px solid var(--border); }
.hub-statement__grid { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 80px); align-items: center; }
.hub-statement__body { margin: 0; max-width: 24ch; font-family: var(--font-title); font-size: clamp(24px, 2.4vw, 34px); line-height: 1.15; letter-spacing: -0.01em; color: var(--text); text-wrap: balance; }
.hub-statement__links { margin: 0; padding: 0; list-style: none; }
.hub-statement__links li + li { border-top: 1px solid var(--border); }
.hub-statement__links a { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 14px 0; font-size: 15px; color: var(--text); }
.hub-statement__links i { font-size: 16px; color: var(--text-secondary); transition: transform 180ms cubic-bezier(0.23, 1, 0.32, 1); }
@media (hover: hover) and (pointer: fine) {
    .hub-statement__links a:hover i { transform: translateX(3px); color: var(--text); }
}
@media (max-width: 760px) {
    .hub-statement__grid { grid-template-columns: 1fr; }
}
@media (max-width: 860px) {
    .houses__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .maison-hero__media { grid-template-columns: 1fr; }
    .maison-hero__media img:last-child { display: none; }
    .maison-hero__title { white-space: normal; }
}
@media (max-width: 560px) {
    .houses__grid { grid-template-columns: minmax(0, 1fr); }
    .house-tile { aspect-ratio: 4 / 4.4; }
}
@media (prefers-reduced-motion: reduce) {
    .house-tile img { transition: none; }
}

/* ---------- Bag: which store each line comes from ---------- */
.line-store { margin-top: 2px; font-size: 12px; font-weight: 500; color: var(--text-secondary); }
.line-store--shop { color: #8A4600; }
.line-store--essentials { color: #1F3B2C; }
.line-store--sound { color: #25324A; }
.line-store--perfumes { color: #4A2A3F; }
.line-store--luggage { color: #6A3B1F; }
.line-store--communion { color: #5C1E2A; }

/* ---------- Custom dropdown (select-menu.js) ----------
   Motion: transitions.dev menu dropdown, pasted as shipped. */
:root {
  --dropdown-open-dur: 250ms;
  --dropdown-close-dur: 150ms;
  --dropdown-pre-scale: 0.97;
  --dropdown-closing-scale: 0.99;
  --dropdown-ease: cubic-bezier(0.22, 1, 0.36, 1);
}
.t-dropdown {
  transform-origin: top left;
  transform: scale(var(--dropdown-pre-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-open-dur) var(--dropdown-ease),
    opacity   var(--dropdown-open-dur) var(--dropdown-ease);
  will-change: transform, opacity;
}
.t-dropdown[data-origin="top-right"]     { transform-origin: top right; }
.t-dropdown[data-origin="top-center"]    { transform-origin: top center; }
.t-dropdown[data-origin="bottom-left"]   { transform-origin: bottom left; }
.t-dropdown[data-origin="bottom-center"] { transform-origin: bottom center; }
.t-dropdown[data-origin="bottom-right"]  { transform-origin: bottom right; }
.t-dropdown.is-open {
  transform: scale(1);
  opacity: 1;
  pointer-events: auto;
}
.t-dropdown.is-closing {
  transform: scale(var(--dropdown-closing-scale));
  opacity: 0;
  pointer-events: none;
  transition:
    transform var(--dropdown-close-dur) var(--dropdown-ease),
    opacity   var(--dropdown-close-dur) var(--dropdown-ease);
}
@media (prefers-reduced-motion: reduce) {
  .t-dropdown { transition: none !important; }
}

.sm { position: relative; display: inline-block; }
.sm--block { display: block; }
.sm__native { position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; }
.sm__trigger {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 12px 8px 14px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-minimal);
    background: var(--base);
    color: var(--text);
    font: 500 13px/1.2 var(--font-ui);
    text-align: left;
    cursor: pointer;
    transition-property: border-color, background-color;
    transition-duration: 150ms;
    transition-timing-function: var(--dropdown-ease);
}
.sm--block .sm__trigger { min-height: 48px; font-size: 14px; font-weight: 400; }
.sm__value { flex: 1; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sm__chevron { font-size: 15px; color: var(--text-secondary); transition: transform 200ms var(--dropdown-ease); }
.sm__trigger[aria-expanded="true"] { border-color: var(--text); }
.sm__trigger[aria-expanded="true"] .sm__chevron { transform: rotate(180deg); }
.sm__trigger:focus-visible { outline: none; box-shadow: 0 0 0 2px var(--base), 0 0 0 4px var(--accent); }
.sm__list {
    position: absolute;
    z-index: 60;
    top: calc(100% + 6px);
    left: 0;
    min-width: 100%;
    max-height: 320px;
    overflow: auto;
    margin: 0;
    padding: 6px;
    list-style: none;
    background: var(--base);
    border: 1px solid var(--border);
    border-radius: calc(var(--r-minimal) + 6px);
    box-shadow: var(--shadow-medium);
}
.sm__list[hidden] { display: none; }
.sm__list[data-origin$="-right"] { left: auto; right: 0; }
.sm__list--up { top: auto; bottom: calc(100% + 6px); }
.sm__list:focus { outline: none; }
.sm__option {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 9px 10px;
    border-radius: var(--r-minimal);
    font-size: 13px;
    color: var(--text);
    white-space: nowrap;
    cursor: pointer;
}
.sm__option.is-active { background: var(--surface-2); }
.sm__option[aria-disabled="true"] { color: var(--text-secondary); cursor: default; }
.sm__check { visibility: hidden; font-size: 14px; color: var(--accent); }
.sm__option[aria-selected="true"] { font-weight: 500; }
.sm__option[aria-selected="true"] .sm__check { visibility: visible; }
@media (prefers-reduced-motion: reduce) {
    .sm__chevron { transition: none; }
}

/* ---------- Human pass: type, numbers, photo-less layouts ---------- */
.display, .h1, .h2, .seraph-display, .seraph-h2,
.page > .container > .display, .shop-hero .display { font-weight: 400; letter-spacing: -0.015em; font-optical-sizing: auto; }
.seraph-display { font-size: clamp(42px, 5.4vw, 84px); line-height: 1; }
.seraph-h2 { font-size: clamp(30px, 3.2vw, 48px); line-height: 1.06; }
.h1 { letter-spacing: -0.02em; }
p { text-wrap: pretty; }
.card__price, .product__price, .cart-summary, .checkout-summary, .seraph-gift__price, .stat-value, .line-total, .totals { font-variant-numeric: tabular-nums lining-nums; }

.card__name { min-height: 0; }
.card__sub { margin: 4px 0 8px; font-size: 13px; line-height: 1.4; color: var(--text-secondary); }
.stat-label { font-size: 13px; color: var(--text-secondary); margin-bottom: 6px; }

/* A photo stand-in set like the printed label: name and spec on the packaging ground. */
.label-tile {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 8px;
    width: 100%;
    height: 100%;
    min-height: 100%;
    padding: clamp(16px, 8%, 32px);
    background: var(--surface);
    color: var(--text);
}
.label-tile__name { font-family: var(--font-title); font-size: clamp(20px, 2.1vw, 30px); line-height: 1.08; letter-spacing: -0.01em; max-width: 12ch; text-wrap: balance; }
.label-tile__meta { font-size: 12px; line-height: 1.4; color: var(--text-secondary); }
.store-shop .label-tile { background: #F3ECE3; }
.store-sound .label-tile { background: #ECEEF2; }
.store-perfumes .label-tile { background: #F1EBEE; }
.store-luggage .label-tile { background: #F2EAE3; }
.store-communion .label-tile { background: #F2E8EA; }
.product__hero .label-tile { aspect-ratio: 4 / 5; }
.product__hero .label-tile__name { font-size: clamp(32px, 4vw, 56px); }
.card__media .label-tile { position: absolute; inset: 0; }
.label-tile--mark { justify-content: center; align-items: center; }
.label-tile__size { font-family: var(--font-title); font-size: clamp(28px, 3vw, 44px); line-height: 1; letter-spacing: -0.02em; color: var(--text-secondary); text-align: center; max-width: 9ch; text-wrap: balance; }

/* Text-only hero, story and gift: one column, left-aligned, wide measure for the display line. */
.seraph-hero--text { grid-template-columns: minmax(0, 1fr); min-height: 0; }
.seraph-hero--text .seraph-hero__copy { padding: clamp(64px, 9vw, 128px) clamp(24px, 5vw, 80px); }
.seraph-hero.seraph-hero--text .seraph-display { max-width: 17ch; }
.seraph-hero--text .seraph-hero__sub { max-width: 52ch; }
.seraph-story--text { grid-template-columns: minmax(0, 1fr); }
.seraph-story--text .seraph-story__copy { max-width: 760px; padding-left: clamp(24px, 5vw, 80px); }
.seraph-gift--text { grid-template-columns: minmax(0, 1fr); }
.seraph-gift--text .seraph-gift__copy { max-width: 820px; }
.seraph-ingredients .ingredient__name { font-family: var(--font-title); font-weight: 400; font-size: 24px; }

.cats-filter__store { align-self: center; margin-right: 6px; font-size: 13px; font-weight: 500; color: var(--text-secondary); }

/* ---------- Store home: category links under the hero ---------- */
.store-cats { display: flex; flex-wrap: wrap; gap: 8px; padding-top: clamp(24px, 3vw, 40px); padding-bottom: 8px; }
.store-cats__link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    border: 1px solid var(--border-strong);
    border-radius: var(--r-minimal);
    font-size: 14px;
    color: var(--text);
    transition-property: background-color, border-color, color;
    transition-duration: 150ms;
    transition-timing-function: cubic-bezier(0.23, 1, 0.32, 1);
}
@media (hover: hover) and (pointer: fine) {
    .store-cats__link:hover { background: var(--accent); border-color: var(--accent); color: var(--on-green); }
}

/* ---------- Header: logo always centred ----------
   Equal side columns that can shrink below their content; links that do not fit fold into the menu
   (.header--compact, set by the nav partial), so nothing ever pushes the logo off centre. */
@media (min-width: 1025px) {
    .header__inner { grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr); }
    .header__nav { min-width: 0; overflow: hidden; }
    .header--compact .header__nav { visibility: hidden; }
    .header--compact .header__burger { display: flex; }
}
/* Tablet and phone keep the original header: logo left, tools right (seraph.css, max-width 1024px). */

/* Menu drawer: a right-hand panel from tablet width up; phones keep the full-screen sheet. */
@media (min-width: 600px) {
    .mobile-menu {
        left: auto;
        width: min(420px, 100%);
        border-left: 1px solid var(--border);
    }
    .mobile-menu.open { box-shadow: -24px 0 48px -24px rgba(17, 17, 15, 0.18); } /* closed, the shadow bled onto every page */
}


/* Picks rows: six cards fill the 3- and 2-column grids; the 5-column grid shows one full row. */
@media (min-width: 1101px) { .picks .seraph-grid > :nth-child(n+6) { display: none; } }

/* ---------- Shop pagination and "view all" under home collections ---------- */
.seraph-collection__more { display: flex; justify-content: center; margin-top: clamp(32px, 4vw, 56px); }
.shop-pager { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 12px 20px; margin-top: clamp(40px, 5vw, 64px); }
.shop-pager__pages { display: flex; gap: 6px; margin: 0; padding: 0; list-style: none; }
.shop-pager__pages a,
.shop-pager__pages span { display: grid; place-items: center; min-width: 44px; height: 44px; padding: 0 8px; border: 1px solid var(--border); border-radius: var(--r-minimal); font-size: 14px; font-variant-numeric: tabular-nums; color: var(--text); transition: border-color 160ms var(--ease-out), background-color 160ms var(--ease-out); }
.shop-pager__pages [aria-current="page"] { background: var(--text); border-color: var(--text); color: var(--base); }
.shop-pager__gap { display: grid; place-items: center; min-width: 24px; color: var(--text-secondary); }
.shop-pager__step { display: inline-flex; align-items: center; gap: 8px; min-height: 44px; font-size: 12px; font-weight: 500; letter-spacing: var(--track-caps); text-transform: uppercase; color: var(--text); }
@media (hover: hover) and (pointer: fine) {
    .shop-pager__pages a:hover { border-color: var(--text); }
}
