/* Scholarly-Ink shop — product-led retail surface. */

.si-shop-page {
  --shop-ink: #0b1215;
  --shop-espresso: #4b3127;
  --shop-oxblood: #742e3b;
  --shop-violet: #6e55e8;
  --shop-violet-dark: #533ccc;
  --shop-paper: #f5f3ee;
  --shop-line: #dfe4e1;
  --shop-muted: #64716e;
  --shop-panel: #f8f9f7;
  color: var(--shop-ink);
  background: #fff;
  font-family: var(--si-font-sans);
  overflow: clip;
}

.si-shop-page *,
.si-shop-page *::before,
.si-shop-page *::after {
  box-sizing: border-box;
}

.si-shop-page :where(h1, h2, h3, p) {
  margin-top: 0;
}

.si-shop-page :where(a, button, input, select) {
  font: inherit;
}

.si-shop-page :where(a, button, input, select):focus-visible {
  outline: 3px solid rgba(110, 85, 232, 0.42);
  outline-offset: 3px;
}

.si-shop-button {
  min-height: 50px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 13px 21px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 0.82rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  line-height: 1;
  text-decoration: none;
  transition: transform 180ms ease, background-color 180ms ease, border-color 180ms ease;
}

.si-shop-button:hover {
  transform: translateY(-2px);
}

.si-shop-button--primary {
  color: #fff;
  background: var(--shop-violet);
  box-shadow: 0 14px 34px rgba(83, 60, 204, 0.35);
}

.si-shop-button--primary:hover,
.si-shop-button--primary:focus-visible {
  color: #fff;
  background: var(--shop-violet-dark);
}

.si-shop-button--glass {
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
  background: rgba(8, 15, 24, 0.24);
  backdrop-filter: blur(12px);
}

.si-shop-button--glass:hover,
.si-shop-button--glass:focus-visible {
  color: #fff;
  border-color: #fff;
  background: rgba(8, 15, 24, 0.5);
}

.si-shop-button--light {
  color: var(--shop-ink);
  background: #fff;
}

.si-shop-text-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-ink);
  font-size: 0.78rem;
  font-weight: 800;
  text-decoration: none;
}

.si-shop-text-link:hover {
  color: var(--shop-violet);
}

/* Full-bleed hero */
.si-shop-hero {
  position: relative;
  min-height: clamp(610px, 72vh, 820px);
  display: grid;
  align-items: center;
  isolation: isolate;
  background: #08101a;
  overflow: hidden;
}

.si-shop-hero__image,
.si-shop-hero__veil {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.si-shop-hero__image {
  z-index: -3;
  object-fit: cover;
  object-position: center;
}

.si-shop-hero__veil {
  z-index: -2;
  background:
    linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.76) 29%, rgba(5, 10, 18, 0.2) 56%, rgba(5, 10, 18, 0.04) 100%),
    linear-gradient(180deg, rgba(5, 10, 18, 0.1), rgba(5, 10, 18, 0.42));
}

.si-shop-hero__content {
  width: min(calc(100% - (2 * var(--si-gutter))), var(--si-container-max));
  margin-inline: auto;
  padding-top: clamp(72px, 8vw, 120px);
  padding-bottom: clamp(84px, 9vw, 135px);
}

.si-shop-hero__copy {
  max-width: 660px;
  color: #fff;
}

.si-shop-hero h1 {
  max-width: 10ch;
  margin-bottom: 16px;
  color: #fff;
  font-family: var(--si-font-serif);
  font-size: clamp(4.35rem, 6.2vw, 7rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.94;
}

.si-shop-hero__lead {
  margin-bottom: 11px;
  color: #fff;
  font-size: clamp(1.05rem, 1.45vw, 1.35rem);
  font-weight: 600;
  letter-spacing: -0.02em;
}

.si-shop-hero__intro {
  max-width: 50ch;
  margin-bottom: 27px;
  color: rgba(255, 255, 255, 0.74);
  font-size: clamp(0.78rem, 0.9vw, 0.9rem);
  line-height: 1.65;
}

.si-shop-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* Trust strip */
.si-shop-trust {
  position: relative;
  z-index: 4;
  margin-top: -44px;
}

.si-shop-trust__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  padding: 14px 12px;
  border: 1px solid var(--shop-line);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 20px 50px rgba(11, 18, 21, 0.12);
}

.si-shop-trust__item {
  min-width: 0;
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 9px 20px;
  border-right: 1px solid var(--shop-line);
}

.si-shop-trust__item:last-child {
  border-right: 0;
}

.si-shop-trust__icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: var(--shop-espresso);
  background: #f4ece4;
}

.si-shop-trust__icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.si-shop-trust__item h2 {
  margin-bottom: 3px;
  color: var(--shop-ink);
  font-size: 0.77rem;
  font-weight: 800;
  line-height: 1.25;
}

.si-shop-trust__item p {
  margin-bottom: 0;
  color: var(--shop-muted);
  font-size: 0.66rem;
  line-height: 1.4;
}

/* Shared sections */
.si-shop-categories,
.si-shop-products,
.si-shop-browser,
.si-shop-promos {
  padding-top: clamp(64px, 7vw, 100px);
}

.si-shop-section-head,
.si-shop-browser__head,
.si-shop-live-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 28px;
  margin-bottom: 25px;
}

.si-shop-section-head h2,
.si-shop-browser__head h2,
.si-shop-live-head h2 {
  margin-bottom: 0;
  color: var(--shop-ink);
  font-size: clamp(2rem, 3.7vw, 3.75rem);
  font-weight: 800;
  letter-spacing: -0.06em;
  line-height: 0.95;
}

.si-shop-section-head > div > p {
  max-width: 58ch;
  margin: 10px 0 0;
  color: var(--shop-muted);
  font-size: 0.86rem;
  line-height: 1.6;
}

/* Categories */
.si-shop-category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
}

.si-shop-category-card {
  position: relative;
  min-height: 410px;
  border-radius: 13px;
  color: #fff;
  background: var(--shop-ink);
  box-shadow: 0 10px 26px rgba(11, 18, 21, 0.08);
  overflow: hidden;
  text-decoration: none;
}

.si-shop-category-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform 420ms cubic-bezier(0.2, 0.65, 0.2, 1);
}

.si-shop-category-card__shade {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 34%, rgba(4, 11, 14, 0.12) 56%, rgba(4, 11, 14, 0.95) 100%);
}

.si-shop-category-card__body {
  position: absolute;
  inset: auto 20px 20px;
  display: grid;
  color: #fff;
}

.si-shop-category-card__body strong {
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1;
}

.si-shop-category-card__body small {
  min-height: 2.9em;
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.69rem;
  line-height: 1.45;
}

.si-shop-category-card__body > span {
  margin-top: 14px;
  font-size: 0.64rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.si-shop-category-card:hover {
  color: #fff;
}

.si-shop-category-card:hover img {
  transform: scale(1.04);
}

/* Seed product cards */
.si-shop-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
}

.si-shop-product-card {
  min-width: 0;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 7px 20px rgba(11, 18, 21, 0.045);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.si-shop-product-card[hidden] {
  display: none !important;
}

.si-shop-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(11, 18, 21, 0.11);
}

.si-shop-product-card__media {
  position: relative;
  aspect-ratio: 4 / 5;
  background: var(--shop-paper);
  overflow: hidden;
}

.si-shop-product-card__media-link {
  position: absolute;
  inset: 0;
  display: block;
}

.si-shop-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: opacity 480ms ease;
}

.si-shop-product-card__image--front {
  z-index: 1;
  opacity: 1;
}

.si-shop-product-card__image--alternate {
  z-index: 2;
  opacity: 0;
}

.si-shop-product-card__media.is-alternate .si-shop-product-card__image--front {
  opacity: 0;
}

.si-shop-product-card__media.is-alternate .si-shop-product-card__image--alternate {
  opacity: 1;
}

.si-shop-product-card__badge {
  position: absolute;
  z-index: 4;
  top: 11px;
  left: 11px;
  padding: 5px 8px;
  border-radius: 5px;
  color: #fff;
  background: var(--shop-violet);
  font-size: 0.56rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.si-shop-product-card__body {
  min-height: 148px;
  display: flex;
  flex-direction: column;
  padding: 16px;
}

.si-shop-product-card__body h3 {
  margin-bottom: 5px;
  color: var(--shop-ink);
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.015em;
  line-height: 1.28;
}

.si-shop-product-card__type {
  min-height: 2.8em;
  margin: 0 0 14px;
  color: var(--shop-muted);
  font-size: 0.58rem;
  letter-spacing: 0.025em;
  line-height: 1.35;
  text-transform: none;
}

.si-shop-product-card__buy {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.si-shop-product-card__buy strong {
  color: var(--shop-ink);
  font-size: 0.74rem;
  font-weight: 800;
  white-space: nowrap;
}

.si-shop-product-card__buy a {
  color: var(--shop-ink);
  font-size: 0.66rem;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}

.si-shop-product-card__buy a:hover {
  color: var(--shop-violet);
}

/* Catalogue browser */
.si-shop-browser {
  margin-top: clamp(72px, 8vw, 112px);
  padding: clamp(58px, 6vw, 82px) 0 clamp(76px, 9vw, 125px);
  border-top: 1px solid var(--shop-line);
  background: var(--shop-panel);
}

.si-shop-browser__head {
  align-items: center;
}

.si-shop-browser__head > div:first-child > p {
  margin: 7px 0 0;
  color: var(--shop-muted);
  font-size: 0.76rem;
  font-weight: 650;
}

.si-shop-browser__utility {
  display: flex;
  align-items: center;
  gap: 9px;
}

.si-shop-search {
  min-width: min(440px, 50vw);
  min-height: 47px;
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 0 14px;
  border: 1px solid #d5dbd8;
  border-radius: 7px;
  background: #fff;
}

.si-shop-search svg,
.si-shop-cart svg,
.si-shop-view svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.si-shop-search input {
  width: 100%;
  min-width: 0;
  padding: 0;
  border: 0;
  color: var(--shop-ink);
  background: transparent;
  font-size: 0.77rem;
  outline: 0;
}

.si-shop-search:focus-within {
  border-color: var(--shop-violet);
  box-shadow: 0 0 0 3px rgba(110, 85, 232, 0.14);
}

.si-shop-search input:focus-visible {
  outline: 0;
}

.si-shop-cart {
  min-height: 47px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 13px;
  border: 1px solid #d5dbd8;
  border-radius: 7px;
  color: var(--shop-ink);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  text-decoration: none;
}

.si-shop-cart b {
  min-width: 20px;
  height: 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  color: #fff;
  background: var(--shop-violet);
  font-size: 0.6rem;
}

.si-shop-cart b[hidden] {
  display: none;
}

.si-shop-browser__toolbar {
  display: none;
  align-items: center;
  justify-content: flex-end;
  gap: 12px;
  margin-bottom: 20px;
  padding: 12px 0;
  border-top: 1px solid var(--shop-line);
  border-bottom: 1px solid var(--shop-line);
}

.si-shop-browser__toolbar-copy {
  margin-left: auto;
  color: var(--shop-muted);
  font-size: 0.7rem;
  font-weight: 650;
}

.si-shop-filter-toggle {
  margin-right: auto;
  display: none;
  align-items: center;
  gap: 8px;
  padding: 9px 12px;
  border: 1px solid #d5dbd8;
  border-radius: 6px;
  color: var(--shop-ink);
  background: #fff;
  font-size: 0.72rem;
  font-weight: 800;
}

.si-shop-sort {
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--shop-muted);
  font-size: 0.68rem;
  font-weight: 700;
}

.si-shop-sort select {
  min-height: 40px;
  padding: 0 34px 0 11px;
  border: 1px solid #d5dbd8;
  border-radius: 6px;
  color: var(--shop-ink);
  background: #fff;
  font-size: 0.72rem;
}

.si-shop-sort--filter,
.si-shop-sort--filter select {
  width: 100%;
}

.si-shop-sort--filter .si-branded-select__button {
  min-height: 44px;
  padding: 10px 40px 10px 13px;
  border-color: #cedbd9;
  border-radius: 12px;
  background:
    radial-gradient(circle at 94% 16%, rgba(126, 114, 236, 0.13), transparent 34%),
    linear-gradient(120deg, #fff, #f5faf9);
  color: var(--shop-ink);
  font-size: 0.74rem;
  font-weight: 750;
  box-shadow: 0 8px 22px rgba(20, 55, 52, 0.06), inset 0 1px 0 #fff;
}

.si-shop-sort--filter .si-branded-select__button::after {
  right: 15px;
  width: 8px;
  height: 8px;
  border-color: #556d6b;
}

.si-shop-sort--filter.is-open .si-branded-select__button {
  border-color: rgba(114, 99, 232, 0.62);
  background:
    radial-gradient(circle at 94% 16%, rgba(126, 114, 236, 0.19), transparent 36%),
    linear-gradient(120deg, #fff, #f4f1ff);
  box-shadow: 0 0 0 3px rgba(114, 99, 232, 0.13), 0 12px 28px rgba(33, 43, 60, 0.1);
}

.si-shop-sort--filter .si-branded-select__list {
  z-index: 80;
  gap: 4px;
  padding: 6px;
  border-color: #d3dddb;
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(209, 244, 239, 0.72), transparent 38%),
    linear-gradient(145deg, #fff, #f7faf9 64%, #f1effc);
  box-shadow: 0 18px 44px rgba(26, 53, 59, 0.17);
}

.si-shop-sort--filter .si-branded-select__option {
  min-height: 36px;
  padding: 8px 34px 8px 11px;
  border-radius: 9px;
  color: #385b59;
  font-size: 0.72rem;
  font-weight: 650;
}

.si-shop-sort--filter .si-branded-select__option:hover,
.si-shop-sort--filter .si-branded-select__option:focus-visible {
  background: rgba(219, 244, 239, 0.78);
  color: var(--shop-ink);
}

.si-shop-sort--filter .si-branded-select__option[aria-selected="true"] {
  background: linear-gradient(100deg, #d9f4ef, #e7eff3 58%, #ebe8fb);
  color: var(--shop-ink);
  font-weight: 800;
}

.si-shop-view {
  display: flex;
  gap: 5px;
}

.si-shop-view button {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  padding: 0;
  border: 1px solid #d5dbd8;
  border-radius: 6px;
  color: var(--shop-muted);
  background: #fff;
}

.si-shop-view button.is-active {
  color: #fff;
  border-color: var(--shop-violet);
  background: var(--shop-violet);
}

.si-shop-browser__layout {
  display: grid;
  grid-template-columns: 232px minmax(0, 1fr);
  align-items: start;
  gap: 28px;
}

.si-shop-filters {
  position: sticky;
  top: 96px;
  padding-right: 22px;
  border-right: 1px solid var(--shop-line);
}

.si-shop-filters__top {
  display: none;
}

.si-shop-filters fieldset {
  min-width: 0;
  margin: 0;
  padding: 20px 0;
  border: 0;
  border-bottom: 1px solid var(--shop-line);
}

.si-shop-filters legend {
  width: 100%;
  margin-bottom: 13px;
  color: var(--shop-ink);
  font-size: 0.68rem;
  font-weight: 850;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.si-shop-filters fieldset > label {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 9px 0;
  color: #3f4b49;
  font-size: 0.72rem;
}

.si-shop-filters input[type="radio"],
.si-shop-filters input[type="checkbox"] {
  accent-color: var(--shop-violet);
}

.si-shop-colours {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.si-shop-colours label {
  cursor: pointer;
}

.si-shop-colours input,
.si-shop-sizes input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.si-shop-colours span {
  width: 27px;
  height: 27px;
  display: block;
  border: 3px solid #fff;
  border-radius: 50%;
  background: var(--swatch);
  box-shadow: 0 0 0 1px #c7cecb;
}

.si-shop-colours input:checked + span {
  box-shadow: 0 0 0 2px var(--shop-violet);
}

.si-shop-colours em {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.si-shop-sizes {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.si-shop-sizes span {
  min-width: 35px;
  height: 35px;
  display: grid;
  place-items: center;
  padding: 0 7px;
  border: 1px solid #cfd6d2;
  border-radius: 5px;
  color: var(--shop-ink);
  background: #fff;
  font-size: 0.62rem;
  font-style: normal;
  font-weight: 750;
  cursor: pointer;
}

.si-shop-sizes input:checked + span {
  color: #fff;
  border-color: var(--shop-violet);
  background: var(--shop-violet);
}

.si-shop-filters small {
  display: block;
  margin-top: 10px;
  color: var(--shop-muted);
  font-size: 0.62rem;
  line-height: 1.45;
}

.si-shop-filters fieldset.is-contextual {
  opacity: 0.45;
}

.si-shop-price-filter {
  opacity: 0.52;
}

.si-shop-price-filter input {
  width: 100%;
  accent-color: var(--shop-violet);
}

.si-shop-clear {
  margin-top: 18px;
  padding: 0;
  border: 0;
  color: var(--shop-violet-dark);
  background: transparent;
  font-size: 0.68rem;
  font-weight: 800;
  text-decoration: underline;
  cursor: pointer;
}

.si-shop-product-grid--catalogue {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.si-shop-product-grid--catalogue.is-compact {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 11px;
}

.si-shop-product-grid--catalogue.is-compact .si-shop-product-card__body {
  padding: 12px;
}

.si-shop-product-grid--catalogue.is-compact .si-shop-product-card__body > span {
  display: none;
}

.si-shop-no-results {
  padding: 70px 25px;
  border: 1px dashed #cbd3cf;
  border-radius: 10px;
  text-align: center;
  background: #fff;
}

.si-shop-no-results h3 {
  margin-bottom: 7px;
  font-size: 1.25rem;
}

.si-shop-no-results p {
  margin-bottom: 17px;
  color: var(--shop-muted);
  font-size: 0.78rem;
}

.si-shop-no-results button {
  padding: 9px 14px;
  border: 0;
  border-radius: 6px;
  color: #fff;
  background: var(--shop-violet);
  font-size: 0.7rem;
  font-weight: 800;
}

.si-shop-stock-note {
  max-width: 70ch;
  margin: 24px 0 0;
  color: var(--shop-muted);
  font-size: 0.66rem;
  line-height: 1.55;
}

.si-shop-filter-backdrop {
  display: none;
}

/* Live WooCommerce catalogue */
.si-shop-browser--live .si-shop-live-catalogue {
  padding-top: 6px;
}

.si-shop-products--live .woocommerce ul.products,
.si-shop-live-catalogue ul.products {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 17px;
  margin: 0;
}

.si-shop-products--live .woocommerce ul.products::before,
.si-shop-products--live .woocommerce ul.products::after,
.si-shop-live-catalogue ul.products::before,
.si-shop-live-catalogue ul.products::after {
  display: none;
}

.si-shop-products--live ul.products li.product,
.si-shop-live-catalogue ul.products li.product {
  width: auto;
  float: none;
  margin: 0;
  padding: 0 0 16px;
  border: 1px solid var(--shop-line);
  border-radius: 12px;
  background: #fff;
  overflow: hidden;
}

.si-shop-loop-media {
  position: relative;
  aspect-ratio: 4 / 5;
  display: block;
  margin-bottom: 15px;
  background: var(--shop-paper);
  overflow: hidden;
}

.si-shop-loop-media__image {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  object-fit: cover;
  transition: opacity 480ms ease;
}

.si-shop-loop-media__image--alternate {
  z-index: 2;
  opacity: 0;
}

.si-shop-loop-media.is-alternate .si-shop-loop-media__image--front {
  opacity: 0;
}

.si-shop-loop-media.is-alternate .si-shop-loop-media__image--alternate {
  opacity: 1;
}

.si-shop-products--live ul.products li.product :where(.woocommerce-loop-product__title, .price, .button),
.si-shop-live-catalogue ul.products li.product :where(.woocommerce-loop-product__title, .price, .button) {
  margin-left: 14px;
  margin-right: 14px;
}

.si-shop-products--live ul.products li.product .woocommerce-loop-product__title,
.si-shop-live-catalogue ul.products li.product .woocommerce-loop-product__title {
  color: var(--shop-ink);
  font-size: 0.93rem;
  font-weight: 800;
}

.si-shop-products--live ul.products li.product .price,
.si-shop-live-catalogue ul.products li.product .price {
  color: var(--shop-espresso);
  font-weight: 800;
}

.si-shop-products--live ul.products li.product .button,
.si-shop-live-catalogue ul.products li.product .button {
  min-height: 39px;
  display: inline-flex;
  align-items: center;
  padding: 9px 13px;
  border-radius: 6px;
  color: #fff;
  background: var(--shop-espresso);
  font-size: 0.68rem;
}

.si-shop-live-catalogue .woocommerce-result-count,
.si-shop-live-catalogue .woocommerce-ordering {
  margin-bottom: 20px;
}

/* Real promotion only */
.si-shop-promos {
  padding-bottom: clamp(76px, 9vw, 120px);
}

.si-shop-promo {
  min-height: 310px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  padding: clamp(32px, 5vw, 66px);
  border-radius: 14px;
  color: #fff;
  background:
    radial-gradient(circle at 85% 22%, rgba(110, 85, 232, 0.58), transparent 34%),
    var(--shop-ink);
}

.si-shop-promo > p {
  margin-bottom: 8px;
  color: #b9aae9;
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.si-shop-promo h2 {
  margin-bottom: 8px;
  color: #fff;
  font-size: clamp(2.7rem, 5vw, 5rem);
  font-weight: 800;
  letter-spacing: -0.07em;
  line-height: 0.9;
}

.si-shop-promo > span {
  margin-bottom: 22px;
  color: rgba(255, 255, 255, 0.76);
  font-size: 0.84rem;
}

.si-section--wc {
  padding-top: clamp(46px, 7vw, 90px);
  padding-bottom: clamp(70px, 9vw, 120px);
}

@media (max-width: 1100px) {
  .si-shop-hero {
    min-height: 680px;
  }

  .si-shop-trust__item {
    padding-inline: 13px;
  }

  .si-shop-category-card {
    min-height: 355px;
  }

  .si-shop-product-grid--catalogue {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .si-shop-product-grid--catalogue.is-compact {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .si-shop-hero__image {
    object-position: 61% center;
  }

  .si-shop-hero__veil {
    background: linear-gradient(90deg, rgba(5, 10, 18, 0.96) 0%, rgba(5, 10, 18, 0.74) 47%, rgba(5, 10, 18, 0.22) 100%);
  }

  .si-shop-hero__copy {
    max-width: 570px;
  }

  .si-shop-trust__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .si-shop-trust__item:nth-child(2) {
    border-right: 0;
  }

  .si-shop-trust__item:nth-child(n + 3) {
    border-top: 1px solid var(--shop-line);
  }

  .si-shop-category-grid,
  .si-shop-product-grid,
  .si-shop-products--live .woocommerce ul.products,
  .si-shop-live-catalogue ul.products {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .si-shop-category-card {
    min-height: 450px;
  }

  .si-shop-filter-toggle {
    display: inline-flex;
  }

  .si-shop-browser__toolbar {
    display: flex;
  }

  .si-shop-browser__layout {
    display: block;
  }

  .si-shop-filters {
    position: fixed;
    z-index: 10002;
    width: min(370px, calc(100vw - 35px));
    max-height: 100dvh;
    inset: 0 auto 0 0;
    padding: 18px 24px 32px;
    border: 0;
    background: #fff;
    box-shadow: 20px 0 55px rgba(11, 18, 21, 0.24);
    overflow-y: auto;
    transform: translateX(-105%);
    transition: transform 220ms ease;
  }

  .si-shop-browser.is-filter-open .si-shop-filters {
    transform: translateX(0);
  }

  .si-shop-filters__top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 14px;
    border-bottom: 1px solid var(--shop-line);
  }

  .si-shop-filters__top strong {
    font-size: 1rem;
  }

  .si-shop-filters__top button {
    width: 38px;
    height: 38px;
    border: 0;
    border-radius: 50%;
    background: var(--shop-panel);
    font-size: 1.4rem;
  }

  .si-shop-filter-backdrop {
    position: fixed;
    z-index: 10001;
    inset: 0;
    display: block;
    background: rgba(8, 13, 16, 0.5);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
  }

  .si-shop-browser.is-filter-open .si-shop-filter-backdrop {
    opacity: 1;
    pointer-events: auto;
  }

  body.si-shop-filter-lock {
    overflow: hidden;
  }
}

@media (max-width: 720px) {
  .si-shop-hero {
    min-height: clamp(620px, calc(100svh - 68px), 760px);
    display: grid;
    align-items: end;
    background-image:
      linear-gradient(180deg, rgba(5, 10, 18, 0.08) 0%, rgba(5, 10, 18, 0.18) 34%, rgba(5, 10, 18, 0.84) 67%, rgba(5, 10, 18, 0.98) 100%),
      linear-gradient(90deg, rgba(5, 10, 18, 0.72) 0%, rgba(5, 10, 18, 0.18) 72%, rgba(5, 10, 18, 0.06) 100%),
      url("../images/shop/scholarly-shop-hero-scholar-blue-hour-v4.webp");
    background-position: center, center, 64% center;
    background-repeat: no-repeat;
    background-size: cover;
  }

  .si-shop-hero__image,
  .si-shop-hero__veil {
    display: none;
  }

  .si-shop-hero__content {
    position: relative;
    z-index: 1;
    align-self: end;
    padding-top: 0;
    padding-bottom: 72px;
  }

  .si-shop-hero h1 {
    max-width: 9ch;
    margin-bottom: 13px;
    font-size: clamp(3.55rem, 15vw, 4.65rem);
    font-weight: 500;
    letter-spacing: -0.045em;
    line-height: 0.94;
  }

  .si-shop-hero__lead {
    font-size: 1rem;
  }

  .si-shop-hero__intro {
    margin-bottom: 22px;
    font-size: 0.75rem;
    line-height: 1.6;
  }

  .si-shop-trust {
    margin-top: -31px;
  }

  .si-shop-section-head,
  .si-shop-browser__head,
  .si-shop-live-head {
    align-items: flex-end;
  }

  .si-shop-section-head h2,
  .si-shop-browser__head h2,
  .si-shop-live-head h2 {
    font-size: clamp(2rem, 9vw, 2.85rem);
  }

  .si-shop-section-head {
    gap: 12px;
  }

  .si-shop-section-head .si-shop-text-link {
    flex: 0 0 auto;
    font-size: 0.6rem;
    line-height: 1.2;
    white-space: nowrap;
  }

  .si-shop-browser__head,
  .si-shop-live-head {
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
  }

  .si-shop-browser__utility {
    width: 100%;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 52px;
    gap: 10px;
  }

  .si-shop-search {
    width: 100%;
    min-width: 0;
  }

  .si-shop-cart {
    width: 52px;
    justify-content: center;
    padding-inline: 0;
  }

  .si-shop-browser__toolbar {
    justify-content: space-between;
  }

}

@media (max-width: 540px) {
  .si-shop-hero__actions {
    width: 100%;
    flex-wrap: nowrap;
    gap: 8px;
  }

  .si-shop-hero__actions .si-shop-button {
    min-width: 0;
    min-height: 46px;
    flex: 1 1 0;
    gap: 6px;
    padding: 11px 10px;
    font-size: 0.68rem;
    white-space: nowrap;
  }

  .si-shop-trust__grid {
    grid-template-columns: 1fr;
    padding: 6px 15px;
  }

  .si-shop-trust__item,
  .si-shop-trust__item:nth-child(2),
  .si-shop-trust__item:nth-child(n + 3) {
    padding: 12px 3px;
    border-top: 0;
    border-right: 0;
    border-bottom: 1px solid var(--shop-line);
  }

  .si-shop-trust__item:last-child {
    border-bottom: 0;
  }

  .si-shop-category-grid,
  .si-shop-product-grid,
  .si-shop-products--live .woocommerce ul.products,
  .si-shop-live-catalogue ul.products {
    gap: 9px;
  }

  .si-shop-category-card {
    min-height: 300px;
    border-radius: 10px;
  }

  .si-shop-category-card__body {
    inset: auto 13px 14px;
  }

  .si-shop-category-card__body strong {
    font-size: 1.25rem;
  }

  .si-shop-category-card__body small {
    display: none;
  }

  .si-shop-category-card__body > span {
    margin-top: 9px;
    font-size: 0.56rem;
  }

  .si-shop-product-card {
    border-radius: 9px;
  }

  .si-shop-product-card__body {
    min-height: 120px;
    padding: 11px;
  }

  .si-shop-product-card__body h3 {
    font-size: 0.74rem;
    letter-spacing: 0.01em;
  }

  .si-shop-product-card__type {
    min-height: 2.7em;
    margin-bottom: 11px;
    font-size: 0.52rem;
    letter-spacing: 0.02em;
    line-height: 1.35;
  }

  .si-shop-product-card__buy {
    gap: 5px;
  }

  .si-shop-product-card__buy strong,
  .si-shop-product-card__buy a {
    font-size: 0.56rem;
  }

  .si-shop-product-grid--catalogue,
  .si-shop-product-grid--catalogue.is-compact {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .si-shop-cart > span {
    display: none;
  }
}

@media (max-width: 350px) {
  .si-shop-category-grid,
  .si-shop-product-grid,
  .si-shop-product-grid--catalogue,
  .si-shop-product-grid--catalogue.is-compact,
  .si-shop-products--live .woocommerce ul.products,
  .si-shop-live-catalogue ul.products {
    grid-template-columns: 1fr;
  }

  .si-shop-category-card {
    min-height: 420px;
  }
}

@media (hover: none), (pointer: coarse) {
  .si-shop-product-card:hover {
    transform: none;
  }

  .si-shop-product-card__media:hover .si-shop-product-card__image--front {
    opacity: 1;
  }

  .si-shop-product-card__media:hover .si-shop-product-card__image--alternate {
    opacity: 0;
  }

  .si-shop-product-card__media.is-alternate .si-shop-product-card__image--front {
    opacity: 1;
  }

  .si-shop-product-card__media.is-alternate .si-shop-product-card__image--alternate {
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .si-shop-page *,
  .si-shop-page *::before,
  .si-shop-page *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.001ms !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
  }
}
