*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  min-width: 320px;
  min-height: 100%;
  scroll-behavior: smooth;
  background: var(--store-paper);
  color: var(--store-ink);
  font-family: var(--store-font-sans);
  line-height: 1.5;
  text-size-adjust: 100%;
}

body.storefront {
  min-height: 100vh;
  margin: 0;
  overflow-x: clip;
  background: var(--store-paper);
}

body.storefront.is-nav-open {
  overflow: hidden;
}

.storefront img {
  display: block;
  max-width: 100%;
}

.storefront a {
  color: inherit;
  text-decoration: none;
}

.storefront button,
.storefront input,
.storefront select {
  color: inherit;
  font: inherit;
}

.storefront button,
.storefront select {
  cursor: pointer;
}

.storefront :focus-visible {
  outline: 3px solid var(--store-accent-hover);
  outline-offset: 3px;
}

.storefront h1,
.storefront h2,
.storefront h3,
.storefront p {
  margin-top: 0;
}

.store-skip-link {
  position: fixed;
  top: var(--store-space-3);
  left: var(--store-space-3);
  z-index: 100;
  transform: translateY(-150%);
  border-radius: var(--store-radius-small);
  background: var(--store-ink);
  color: #fff;
  padding: var(--store-space-2) var(--store-space-3);
}

.store-skip-link:focus {
  transform: none;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 40;
  min-height: var(--store-header-height);
  border-bottom: 1px solid var(--store-line);
  background: rgba(251, 252, 253, 0.96);
  backdrop-filter: blur(18px);
}

.store-header__inner {
  display: grid;
  grid-template-columns: minmax(200px, auto) 1fr auto;
  align-items: center;
  gap: var(--store-space-8);
  width: min(calc(100% - 48px), var(--store-container));
  min-height: var(--store-header-height);
  margin: 0 auto;
}

.store-brand {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  line-height: 1;
}

.store-brand span {
  letter-spacing: 0;
}

.store-brand--serif span,
.store-brand--soft span {
  font-family: var(--store-font-serif);
  font-size: 28px;
  font-style: italic;
  font-weight: 450;
}

.store-brand--soft span {
  color: #a75570;
}

.store-brand--sans span {
  color: var(--store-accent);
  font-size: 15px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-nav {
  display: flex;
  justify-content: center;
  gap: var(--store-space-8);
}

.store-nav a {
  min-height: 40px;
  border-bottom: 1px solid transparent;
  padding: 10px 0;
  color: var(--store-muted);
  font-size: 14px;
  transition: border-color var(--store-motion), color var(--store-motion);
}

.store-nav a:hover,
.store-nav a.is-active {
  border-color: var(--store-accent);
  color: var(--store-ink);
}

.store-actions {
  display: flex;
  align-items: center;
  gap: var(--store-space-2);
}

.store-search {
  position: relative;
  display: flex;
  align-items: center;
}

.store-search label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.store-search input {
  width: 176px;
  height: 40px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius-round);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 40px 0 14px;
  transition: width var(--store-motion), border-color var(--store-motion);
}

.store-search input:focus {
  width: 240px;
  border-color: var(--store-line-strong);
  outline: 0;
}

.store-search button {
  position: absolute;
  right: 4px;
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 18px;
}

.store-cart-link {
  display: inline-flex;
  align-items: center;
  gap: var(--store-space-2);
  min-height: 42px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius-round);
  background: rgba(255, 255, 255, 0.82);
  padding: 0 var(--store-space-3);
  font-size: 14px;
  transition: border-color var(--store-motion), transform var(--store-motion);
}

.store-cart-link:hover {
  border-color: var(--store-line-strong);
  transform: translateY(-1px);
}

.store-cart-link strong {
  display: grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--store-accent);
  color: #fff;
  font-size: 12px;
}

.store-nav-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: 0;
  background: transparent;
}

.store-nav-toggle span {
  display: block;
  width: 22px;
  height: 1px;
  margin: 6px auto;
  background: var(--store-ink);
}

.store-page {
  width: min(calc(100% - 48px), var(--store-container));
  margin: 0 auto;
  padding: var(--store-space-10) 0 var(--store-space-20);
}

.store-page--home {
  padding-top: 0;
  padding-bottom: 0;
}

.store-eyebrow {
  display: flex;
  align-items: center;
  gap: var(--store-space-2);
  margin-bottom: var(--store-space-2);
  color: var(--store-accent-hover);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
}

.store-eyebrow::before {
  width: 18px;
  height: 1px;
  background: currentColor;
  content: "";
}

.storefront h1,
.storefront h2 {
  margin-bottom: var(--store-space-4);
  font-family: var(--store-font-serif);
  font-weight: 430;
  letter-spacing: 0;
  line-height: 1.04;
}

.storefront h1 {
  font-size: 56px;
}

.storefront h2 {
  font-size: 42px;
}

.store-lead {
  max-width: 720px;
  margin-bottom: 0;
  color: var(--store-ink-soft);
  font-size: 17px;
}

.storefront .store-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  border: 1px solid var(--store-accent);
  border-radius: var(--store-radius-small);
  background: var(--store-accent);
  color: var(--store-on-accent);
  padding: 9px 16px;
  font-size: 14px;
  font-weight: 750;
  transition: background var(--store-motion), border-color var(--store-motion), transform var(--store-motion);
}

.store-button:hover:not(:disabled) {
  border-color: var(--store-accent-hover);
  background: var(--store-accent-hover);
  transform: translateY(-1px);
}

.storefront .store-button--secondary {
  border-color: var(--store-line-strong);
  background: transparent;
  color: var(--store-ink);
}

.storefront .store-button--secondary:hover:not(:disabled) {
  background: var(--store-surface);
  color: var(--store-accent);
}

.store-button--compact {
  min-height: 34px;
  padding: 6px 11px;
  font-size: 12px;
}

.store-button--wide {
  width: 100%;
}

.store-button:disabled {
  cursor: not-allowed;
  opacity: 0.5;
}

.store-step {
  min-height: calc(100svh - var(--store-header-height));
  scroll-margin-top: var(--store-header-height);
  border-bottom: 1px solid var(--store-line);
  padding: var(--store-space-10) 0 var(--store-space-14);
  opacity: 0.45;
  transition: opacity var(--store-motion);
}

.store-step[hidden] {
  display: none;
}

.store-step.is-active,
.store-step.is-complete {
  opacity: 1;
}

.store-step__header {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: var(--store-space-8);
  align-items: start;
  margin-bottom: var(--store-space-10);
}

.store-step__header--result {
  grid-template-columns: 132px minmax(0, 1fr) auto;
}

.store-step__mark {
  display: grid;
  gap: var(--store-space-3);
  justify-items: start;
}

.store-step__mark span {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border: 1px solid var(--store-line-strong);
  border-radius: 50%;
  background: var(--store-surface);
  color: var(--store-accent-hover);
  font-family: var(--store-font-serif);
  font-size: 19px;
}

.store-step__mark p {
  max-width: 104px;
  margin: 0;
  color: var(--store-muted);
  font-size: 12px;
  line-height: 1.35;
}

.store-type-grid,
.store-theme-grid,
.store-result-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--store-space-6);
  padding-left: 164px;
}

.store-palette-0 { --store-tint: var(--store-blue); }
.store-palette-1 { --store-tint: var(--store-mint); }
.store-palette-2 { --store-tint: var(--store-rose); }
.store-palette-3 { --store-tint: var(--store-lemon); }
.store-palette-4 { --store-tint: var(--store-lilac); }

.store-type-card {
  display: grid;
  grid-template-rows: 240px auto;
  min-width: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--store-radius);
  background: var(--store-tint, var(--store-surface-soft));
  transition: border-color var(--store-motion), box-shadow var(--store-motion), transform var(--store-motion);
}

.store-type-card:hover,
.store-type-card.is-selected {
  border-color: var(--store-accent-hover);
  box-shadow: var(--store-shadow-small);
  transform: translateY(-4px);
}

.store-type-card__media {
  display: grid;
  place-items: end center;
  overflow: hidden;
  padding: var(--store-space-5) var(--store-space-5) 0;
}

.store-type-card__media img {
  width: 160px;
  aspect-ratio: 3 / 4;
  border-radius: var(--store-radius-small) var(--store-radius-small) 0 0;
  object-fit: cover;
  box-shadow: 0 18px 38px rgba(75, 95, 104, 0.14);
}

.store-type-card__caption {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2px var(--store-space-3);
  align-items: baseline;
  padding: var(--store-space-4) var(--store-space-5) var(--store-space-5);
  background: rgba(255, 255, 255, 0.78);
}

.store-type-card__caption small {
  grid-row: span 2;
  color: var(--store-accent-hover);
  font-family: var(--store-font-mono);
  font-size: 11px;
}

.store-type-card__caption strong {
  overflow-wrap: anywhere;
  font-family: var(--store-font-serif);
  font-size: 23px;
  font-weight: 450;
  line-height: 1.1;
}

.store-type-card__caption span {
  color: var(--store-muted);
  font-size: 12px;
}

.store-theme-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--store-space-4);
}

.store-theme-card {
  position: relative;
  display: grid;
  grid-template-columns: 126px minmax(0, 1fr) auto;
  min-height: 154px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--store-radius);
  background: var(--store-tint, var(--store-surface-soft));
  text-align: left;
  transition: border-color var(--store-motion), box-shadow var(--store-motion), transform var(--store-motion);
}

.store-theme-card:hover,
.store-theme-card.is-selected {
  border-color: var(--store-accent-hover);
  box-shadow: var(--store-shadow-small);
  transform: translateY(-3px);
}

.store-theme-card__media {
  display: grid;
  place-items: center;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.78);
}

.store-theme-card__media img {
  width: 100%;
  height: 154px;
  object-fit: contain;
}

.store-theme-card__copy {
  display: grid;
  align-content: center;
  gap: var(--store-space-1);
  min-width: 0;
  padding: var(--store-space-4);
}

.store-theme-card__copy small {
  color: var(--store-accent-hover);
  font-family: var(--store-font-mono);
  font-size: 11px;
}

.store-theme-card__copy strong {
  overflow-wrap: anywhere;
  font-family: var(--store-font-serif);
  font-size: 21px;
  font-weight: 450;
  line-height: 1.1;
}

.store-theme-card__count {
  align-self: end;
  padding: var(--store-space-4);
  color: var(--store-accent-hover);
  font-family: var(--store-font-serif);
  font-size: 20px;
}

.store-flow-state {
  grid-column: 1 / -1;
  min-height: 160px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  padding: var(--store-space-8);
  color: var(--store-muted);
}

.store-product-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--store-space-10) var(--store-space-5);
}

.store-product-card {
  min-width: 0;
}

.store-product-card__media {
  position: relative;
  display: grid;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--store-radius);
  background: var(--store-surface-soft);
  transition: border-color var(--store-motion), box-shadow var(--store-motion);
}

.store-product-card:hover .store-product-card__media,
.store-product-card:focus-within .store-product-card__media {
  border-color: var(--store-line-strong);
  box-shadow: var(--store-shadow-small);
}

.store-product-card__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: opacity var(--store-motion), transform 360ms ease;
}

.store-product-card__image--hover {
  opacity: 0;
}

.store-product-card__media.has-hover-image:hover .store-product-card__image--primary,
.store-product-card__media.has-hover-image:focus .store-product-card__image--primary {
  opacity: 0;
}

.store-product-card__media.has-hover-image:hover .store-product-card__image--hover,
.store-product-card__media.has-hover-image:focus .store-product-card__image--hover {
  opacity: 1;
}

.store-product-card__media:hover .store-product-card__image {
  transform: scale(1.015);
}

.store-product-card__body {
  display: grid;
  gap: var(--store-space-2);
  padding: var(--store-space-3) var(--store-space-1) 0;
}

.store-product-card__meta {
  overflow: hidden;
  margin: 0;
  color: var(--store-accent-hover);
  font-size: 11px;
  font-weight: 750;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.store-product-card__title {
  display: -webkit-box;
  min-height: 47px;
  overflow: hidden;
  font-family: var(--store-font-serif);
  font-size: 19px;
  font-weight: 500;
  line-height: 1.22;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.store-product-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--store-space-3);
  min-height: 52px;
  border-top: 1px solid var(--store-line);
  padding-top: var(--store-space-2);
}

.store-product-card__footer > strong {
  font-family: var(--store-font-serif);
  font-size: 21px;
  font-weight: 600;
}

.store-image-placeholder {
  display: grid;
  width: 100%;
  height: 100%;
  place-items: center;
  background: var(--store-blue);
  color: var(--store-accent-hover);
  font-family: var(--store-font-serif);
  font-size: 64px;
}

.store-catalog-page {
  padding-top: var(--store-space-14);
}

.store-catalog-head {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: var(--store-space-8);
  align-items: end;
  border-bottom: 1px solid var(--store-line);
  padding-bottom: var(--store-space-6);
}

.store-catalog-head h1 {
  margin-bottom: var(--store-space-2);
}

.store-result-count {
  color: var(--store-accent-hover);
  font-family: var(--store-font-serif);
  font-size: 22px;
  font-weight: 500;
}

.store-filter-panel {
  margin: var(--store-space-6) 0 var(--store-space-10);
  border-radius: var(--store-radius);
  background: var(--store-surface-soft);
  padding: var(--store-space-3);
}

.store-filter-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--store-space-2);
}

.store-filter-button {
  display: inline-flex;
  align-items: center;
  gap: var(--store-space-2);
  min-height: 42px;
  border: 1px solid transparent;
  border-radius: var(--store-radius-small);
  background: rgba(255, 255, 255, 0.9);
  padding: 8px 13px;
  color: var(--store-ink-soft);
  font-size: 13px;
  transition: border-color var(--store-motion), box-shadow var(--store-motion);
}

.store-filter-button:hover,
.store-filter-button.is-active {
  border-color: var(--store-line-strong);
  box-shadow: var(--store-shadow-small);
  color: var(--store-accent);
}

.store-filter-button > span:last-child {
  color: var(--store-muted);
  font-size: 11px;
}

.storefront .store-filter-button--primary {
  border-color: var(--store-accent);
  background: var(--store-accent);
  color: var(--store-on-accent);
}

.storefront .store-filter-button--primary:hover {
  border-color: var(--store-accent-hover);
  background: var(--store-accent-hover);
  color: var(--store-on-accent);
}

.store-sort {
  display: flex;
  align-items: center;
  gap: var(--store-space-2);
  margin-left: auto;
  padding: 0 var(--store-space-2);
}

.store-sort label {
  color: var(--store-muted);
  font-size: 12px;
}

.store-sort select {
  height: 38px;
  border: 0;
  background: transparent;
  font-weight: 650;
}

.store-active-filters {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: var(--store-space-2);
  padding: var(--store-space-3) var(--store-space-1) 0;
}

.store-active-filters a {
  min-height: 30px;
  border: 1px solid var(--store-line);
  border-radius: var(--store-radius-small);
  background: var(--store-surface);
  padding: 5px 9px;
  color: var(--store-ink-soft);
  font-size: 12px;
}

.store-active-filters a:first-child {
  border-color: transparent;
  background: transparent;
  color: var(--store-accent-hover);
}

.store-filter-drawer {
  width: 100vw;
  max-width: none;
  height: 100vh;
  max-height: none;
  margin: 0;
  border: 0;
  background: transparent;
  padding: 0;
}

.store-filter-drawer::backdrop {
  background: rgba(36, 48, 54, 0.48);
}

.store-filter-drawer__panel {
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(100%, 460px);
  height: 100%;
  margin-left: auto;
  background: var(--store-surface);
  box-shadow: -20px 0 60px rgba(36, 48, 54, 0.16);
}

.store-filter-drawer__panel > header,
.store-filter-drawer__panel > footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--store-space-4);
  border-bottom: 1px solid var(--store-line);
  padding: var(--store-space-6);
}

.store-filter-drawer__panel > header {
  background: var(--store-blue);
}

.store-filter-drawer__panel > header h2 {
  margin: 0;
  font-size: 34px;
}

.store-filter-drawer__panel > header button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border: 1px solid var(--store-line-strong);
  border-radius: 50%;
  background: var(--store-surface);
  font-size: 24px;
}

.store-filter-drawer__body {
  overflow-y: auto;
  padding: var(--store-space-6);
}

.store-filter-drawer__panel > footer {
  border-top: 1px solid var(--store-line);
  border-bottom: 0;
  background: var(--store-surface-soft);
}

.store-filter-drawer__panel > footer > * {
  flex: 1;
}

.store-field {
  display: grid;
  gap: var(--store-space-2);
  margin-bottom: var(--store-space-6);
  color: var(--store-muted);
  font-size: 12px;
  font-weight: 700;
}

.store-field input,
.store-field select,
.store-price-fields input {
  width: 100%;
  min-height: 42px;
  border: 1px solid var(--store-line-strong);
  border-radius: var(--store-radius-small);
  background: var(--store-surface);
  padding: 8px 11px;
  color: var(--store-ink);
}

.store-filter-group {
  display: grid;
  gap: var(--store-space-2);
  margin: 0 0 var(--store-space-6);
  border: 0;
  border-top: 1px solid var(--store-line);
  padding: var(--store-space-5) 0 0;
}

.store-filter-group legend {
  padding: 0 0 var(--store-space-3);
  font-family: var(--store-font-serif);
  font-size: 22px;
  font-weight: 550;
}

.store-filter-group > label {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: var(--store-space-3);
  align-items: center;
  min-height: 34px;
}

.store-filter-group small {
  color: var(--store-muted);
}

.store-price-fields {
  grid-template-columns: 1fr 1fr;
}

.store-price-fields legend {
  grid-column: 1 / -1;
}

.store-price-fields > label {
  display: grid;
  grid-template-columns: 1fr;
  gap: var(--store-space-1);
  color: var(--store-muted);
  font-size: 12px;
}

.store-empty-state {
  min-height: 320px;
  border-top: 1px solid var(--store-line);
  border-bottom: 1px solid var(--store-line);
  padding: var(--store-space-16) 0;
  text-align: center;
}

.store-empty-state h2 {
  font-size: 36px;
}

.store-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--store-space-4);
  margin-top: var(--store-space-14);
}

.store-pagination a {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--store-line-strong);
  border-radius: 50%;
  background: var(--store-surface);
}

.store-pagination span {
  color: var(--store-muted);
  font-size: 13px;
}

.store-breadcrumbs {
  display: flex;
  gap: var(--store-space-2);
  overflow: hidden;
  margin-bottom: var(--store-space-8);
  color: var(--store-muted);
  font-size: 12px;
  white-space: nowrap;
}

.store-breadcrumbs > span:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
}

.store-product-detail {
  display: grid;
  grid-template-columns: minmax(360px, 430px) minmax(380px, 1fr);
  gap: var(--store-space-16);
  align-items: start;
  border-radius: var(--store-radius);
  background: var(--store-surface-soft);
  padding: var(--store-space-10);
}

.store-product-gallery {
  width: min(100%, 430px);
  justify-self: center;
}

.store-product-gallery__main {
  display: grid;
  aspect-ratio: 3 / 4;
  place-items: center;
  overflow: hidden;
  border-radius: var(--store-radius);
  background: var(--store-blue);
  box-shadow: var(--store-shadow-small);
}

.store-product-gallery__main img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.store-gallery-thumbs {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: var(--store-space-3);
  margin-top: var(--store-space-4);
}

.store-gallery-thumb {
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--store-radius-small);
  background: var(--store-surface);
  padding: 0;
}

.store-gallery-thumb.is-selected {
  border-color: var(--store-accent-hover);
  box-shadow: var(--store-shadow-small);
}

.store-gallery-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.store-product-summary {
  max-width: 680px;
  padding-top: var(--store-space-4);
}

.store-summary-meta {
  display: flex;
  flex-wrap: wrap;
  gap: var(--store-space-2);
  margin-bottom: var(--store-space-4);
}

.store-summary-meta a {
  min-height: 26px;
  border-radius: var(--store-radius-small);
  background: var(--store-mint);
  padding: 4px 9px;
  color: var(--store-accent);
  font-size: 12px;
  font-weight: 700;
}

.store-summary-meta a:nth-child(2) {
  background: var(--store-rose);
}

.store-product-summary h1 {
  overflow-wrap: anywhere;
  font-size: 48px;
}

.store-product-intro {
  max-width: 660px;
  color: var(--store-ink-soft);
}

.store-product-price {
  display: block;
  margin: var(--store-space-5) 0;
  color: var(--store-accent-hover);
  font-family: var(--store-font-serif);
  font-size: 30px;
  font-weight: 550;
}

.store-option-group {
  margin: 0 0 var(--store-space-5);
  border: 0;
  padding: 0;
}

.store-option-group legend {
  margin-bottom: var(--store-space-2);
  color: var(--store-muted);
  font-size: 12px;
}

.store-option-group > div {
  display: flex;
  flex-wrap: wrap;
  gap: var(--store-space-2);
}

.store-option-group input {
  position: absolute;
  opacity: 0;
}

.store-option-group span {
  display: inline-flex;
  min-width: 42px;
  min-height: 38px;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--store-line-strong);
  border-radius: var(--store-radius-small);
  background: var(--store-surface);
  padding: 7px 11px;
}

.store-option-group label {
  cursor: pointer;
}

.store-option-group input:focus-visible + span {
  outline: 2px solid var(--store-accent-hover);
  outline-offset: 2px;
}

.store-option-group input:checked + span {
  border-color: var(--store-accent);
  background: var(--store-accent);
  color: #fff;
}

.store-spec-list {
  margin: var(--store-space-8) 0 0;
  border-top: 1px solid var(--store-line-strong);
}

.store-spec-list > div {
  display: grid;
  grid-template-columns: 170px minmax(0, 1fr);
  gap: var(--store-space-5);
  border-bottom: 1px solid var(--store-line);
  padding: 12px 0;
}

.store-spec-list dt {
  color: var(--store-muted);
}

.store-spec-list dd {
  margin: 0;
  overflow-wrap: anywhere;
}

.store-product-description {
  border-bottom: 1px solid var(--store-line);
  padding: var(--store-space-4) 0;
}

.store-product-description summary {
  cursor: pointer;
  color: var(--store-accent);
  font-weight: 750;
}

.store-product-description p {
  margin: var(--store-space-4) 0 0;
  color: var(--store-ink-soft);
  white-space: pre-line;
}

.store-related-section {
  margin-top: var(--store-space-20);
}

.store-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: var(--store-space-6);
  margin-bottom: var(--store-space-8);
  border-bottom: 1px solid var(--store-line);
  padding-bottom: var(--store-space-5);
}

.store-section-head h2 {
  margin: 0;
  font-size: 36px;
}

.store-section-head > a {
  color: var(--store-accent-hover);
  font-weight: 700;
}

.store-info-page,
.store-cart-page {
  width: min(calc(100% - 48px), 1120px);
  padding-top: var(--store-space-16);
}

.store-info-head {
  margin-bottom: var(--store-space-12);
}

.store-info-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--store-space-4);
}

.store-info-grid section {
  min-height: 240px;
  border-radius: var(--store-radius);
  background: var(--store-blue);
  padding: var(--store-space-6);
}

.store-info-grid section:nth-child(2) { background: var(--store-mint); }
.store-info-grid section:nth-child(3) { background: var(--store-lemon); }

.store-info-grid section > span {
  color: var(--store-accent-hover);
  font-family: var(--store-font-mono);
  font-size: 12px;
}

.store-info-grid h2 {
  margin-top: var(--store-space-8);
  font-size: 29px;
}

.store-info-grid p {
  color: var(--store-ink-soft);
}

.store-cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: var(--store-space-8);
  align-items: start;
}

.store-cart-items {
  display: grid;
  gap: var(--store-space-3);
}

.store-cart-row {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto auto 34px;
  gap: var(--store-space-4);
  align-items: center;
  border-bottom: 1px solid var(--store-line);
  padding: 0 0 var(--store-space-3);
}

.store-cart-row img,
.store-cart-row__placeholder {
  width: 88px;
  aspect-ratio: 3 / 4;
  border-radius: var(--store-radius-small);
  background: var(--store-blue);
  object-fit: cover;
}

.store-cart-row h2 {
  margin: 0 0 var(--store-space-1);
  font-family: var(--store-font-serif);
  font-size: 20px;
}

.store-cart-row p {
  margin: 0;
  color: var(--store-muted);
}

.store-cart-quantity {
  display: flex;
  align-items: center;
  gap: var(--store-space-2);
}

.store-cart-quantity button,
.store-cart-remove {
  width: 34px;
  height: 34px;
  border: 1px solid var(--store-line);
  border-radius: 50%;
  background: var(--store-surface);
}

.store-cart-summary {
  position: sticky;
  top: calc(var(--store-header-height) + var(--store-space-4));
  display: grid;
  gap: var(--store-space-4);
  border-radius: var(--store-radius);
  background: var(--store-blue);
  padding: var(--store-space-6);
}

.store-cart-summary > span,
.store-cart-summary > p {
  color: var(--store-muted);
  font-size: 12px;
}

.store-cart-summary > strong {
  font-family: var(--store-font-serif);
  font-size: 32px;
}

.store-footer {
  border-top: 1px solid var(--store-line);
  background: var(--store-surface);
}

.store-footer__inner {
  display: grid;
  grid-template-columns: 1fr auto auto;
  gap: var(--store-space-8);
  width: min(calc(100% - 48px), var(--store-container));
  margin: 0 auto;
  padding: var(--store-space-10) 0;
  color: var(--store-muted);
  font-size: 13px;
}

.store-footer nav {
  display: flex;
  gap: var(--store-space-5);
}

.store-toast {
  position: fixed;
  right: var(--store-space-5);
  bottom: var(--store-space-5);
  z-index: 80;
  max-width: min(360px, calc(100vw - 40px));
  border: 1px solid var(--store-line-strong);
  border-radius: var(--store-radius);
  background: var(--store-surface);
  box-shadow: var(--store-shadow);
  padding: 12px 15px;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity var(--store-motion), transform var(--store-motion);
}

.store-toast.is-visible {
  opacity: 1;
  transform: none;
}

@media (max-width: 1180px) {
  .store-header__inner {
    grid-template-columns: minmax(170px, auto) 1fr auto;
    gap: var(--store-space-4);
  }

  .store-search input {
    width: 142px;
  }

  .store-step__header,
  .store-step__header--result {
    grid-template-columns: 106px minmax(0, 1fr);
  }

  .store-step__header--result > .store-button {
    grid-column: 2;
    justify-self: start;
  }

  .store-type-grid,
  .store-theme-grid,
  .store-result-grid {
    padding-left: 138px;
  }

  .store-type-grid,
  .store-product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .store-theme-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 920px) {
  :root {
    --store-header-height: 68px;
  }

  .store-header__inner {
    grid-template-columns: 1fr auto auto;
    width: min(calc(100% - 32px), var(--store-container));
  }

  .store-nav-toggle {
    display: block;
  }

  .store-nav {
    position: fixed;
    inset: var(--store-header-height) 0 auto;
    display: none;
    border-bottom: 1px solid var(--store-line);
    background: var(--store-paper);
    padding: var(--store-space-4);
  }

  body.is-nav-open .store-nav {
    display: grid;
  }

  .store-nav a {
    border: 0;
    padding: var(--store-space-3);
  }

  .store-search {
    display: none;
  }

  .store-page {
    width: min(calc(100% - 32px), var(--store-container));
  }

  .storefront h1 {
    font-size: 46px;
  }

  .storefront h2 {
    font-size: 36px;
  }

  .store-step__header,
  .store-step__header--result {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: var(--store-space-4);
  }

  .store-type-grid,
  .store-theme-grid,
  .store-result-grid {
    padding-left: 94px;
  }

  .store-product-detail {
    grid-template-columns: minmax(280px, 0.85fr) minmax(340px, 1.15fr);
    gap: var(--store-space-8);
    padding: var(--store-space-6);
  }

  .store-product-summary h1 {
    font-size: 40px;
  }

  .store-info-grid {
    grid-template-columns: 1fr;
  }

  .store-info-grid section {
    min-height: 180px;
  }
}

@media (max-width: 700px) {
  .store-header__inner {
    grid-template-columns: 1fr auto auto;
    width: calc(100% - 24px);
  }

  .store-brand--serif span,
  .store-brand--soft span {
    font-size: 24px;
  }

  .store-cart-link {
    min-width: 42px;
    padding: 0 8px;
  }

  .store-cart-link > span {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
  }

  .store-page,
  .store-info-page,
  .store-cart-page {
    width: calc(100% - 24px);
  }

  .storefront h1 {
    font-size: 38px;
  }

  .storefront h2 {
    font-size: 32px;
  }

  .store-lead {
    font-size: 15px;
  }

  .store-step {
    padding: var(--store-space-8) 0 var(--store-space-10);
  }

  .store-step__header,
  .store-step__header--result {
    grid-template-columns: 48px minmax(0, 1fr);
    margin-bottom: var(--store-space-6);
  }

  .store-step__mark span {
    width: 40px;
    height: 40px;
  }

  .store-step__mark p {
    display: none;
  }

  .store-type-grid,
  .store-theme-grid,
  .store-result-grid,
  .store-product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: var(--store-space-4);
    padding-left: 0;
  }

  .store-type-card {
    grid-template-rows: 190px auto;
  }

  .store-type-card__media img {
    width: 128px;
  }

  .store-type-card__caption {
    padding: var(--store-space-3);
  }

  .store-type-card__caption strong {
    font-size: 19px;
  }

  .store-theme-grid {
    grid-template-columns: 1fr;
  }

  .store-theme-card {
    grid-template-columns: 104px minmax(0, 1fr) auto;
    min-height: 132px;
  }

  .store-theme-card__media img {
    height: 132px;
  }

  .store-product-card__title {
    font-size: 17px;
  }

  .store-product-card__footer {
    align-items: stretch;
    flex-direction: column;
  }

  .store-product-card__footer .store-button {
    width: 100%;
  }

  .store-catalog-head {
    grid-template-columns: 1fr;
  }

  .store-filter-bar > .store-filter-button:not(:first-child) {
    display: none;
  }

  .store-sort {
    flex: 1;
    justify-content: flex-end;
  }

  .store-sort label {
    display: none;
  }

  .store-sort select {
    max-width: 170px;
  }

  .store-product-detail {
    grid-template-columns: 1fr;
    padding: var(--store-space-3);
  }

  .store-product-gallery {
    width: min(100%, 390px);
  }

  .store-product-summary {
    padding: var(--store-space-4);
  }

  .store-product-summary h1 {
    font-size: 36px;
  }

  .store-spec-list > div {
    grid-template-columns: 1fr;
    gap: var(--store-space-1);
  }

  .store-section-head {
    align-items: start;
    flex-direction: column;
  }

  .store-product-grid--related > :nth-child(n + 3) {
    display: none;
  }

  .store-cart-layout {
    grid-template-columns: 1fr;
  }

  .store-cart-row {
    grid-template-columns: 70px minmax(0, 1fr) auto;
  }

  .store-cart-row img,
  .store-cart-row__placeholder {
    width: 70px;
  }

  .store-cart-row > strong {
    grid-column: 2;
  }

  .store-cart-summary {
    position: static;
  }

  .store-footer__inner {
    grid-template-columns: 1fr;
    width: calc(100% - 24px);
    gap: var(--store-space-4);
  }

  .store-footer nav {
    flex-wrap: wrap;
  }
}

@media (max-width: 420px) {
  .store-type-grid,
  .store-result-grid,
  .store-product-grid {
    grid-template-columns: 1fr;
  }

  .store-type-card {
    grid-template-rows: 220px auto;
  }

  .store-type-card__media img {
    width: 148px;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .storefront *,
  .storefront *::before,
  .storefront *::after {
    scroll-behavior: auto !important;
    transition-duration: 0.01ms !important;
  }
}
