/* H5: mobile narrow column; desktop >=768px wide layout */
:root {
  --bg: #0c0c0c;
  --bg-elevated: #141414;
  --surface: #1a1a1a;
  --border: rgba(255, 255, 255, 0.08);
  --text: #f5f5f5;
  --muted: rgba(245, 245, 245, 0.55);
  --accent: #e8e8e8;
  --content-max: min(390px, 100%);
  --gutter: 16px;
  --nav-h: 56px;
  --font: "Inter", "SF Pro Text", system-ui, -apple-system, "Segoe UI", Roboto, "PingFang SC",
    "Microsoft YaHei", sans-serif;
}

@media (min-width: 768px) {
  :root {
    --content-max: min(1280px, calc(100vw - 48px));
    --gutter: 24px;
  }
}

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100dvh;
  font-family: var(--font);
  font-size: 15px;
  line-height: 1.45;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
  vertical-align: middle;
}

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

a:hover {
  opacity: 0.85;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Top nav */
.topnav {
  position: sticky;
  top: 0;
  z-index: 40;
  height: var(--nav-h);
  background: rgba(12, 12, 12, 0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

.topnav__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 0 var(--gutter);
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  font-weight: 700;
  font-size: 18px;
  letter-spacing: 0.06em;
  max-width: min(42vw, 220px);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.topnav__links {
  display: none;
  gap: 24px;
  font-size: 13px;
  color: var(--muted);
}

.topnav__links a {
  color: var(--text);
  position: relative;
  padding-bottom: 2px;
}

.topnav__links a.is-active {
  opacity: 1;
}

.topnav__links a.is-active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: currentColor;
}

@media (min-width: 768px) {
  .topnav__links {
    display: flex;
  }
  .nav-toggle {
    display: none !important;
  }
}

.topnav__actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.icon-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  padding: 0;
  border: none;
  background: transparent;
  color: var(--text);
  cursor: pointer;
  border-radius: 8px;
}

.icon-btn:hover {
  background: rgba(255, 255, 255, 0.06);
}

/* Header: contact developer — hover or click to show QR */
.dev-contact {
  position: relative;
}

.icon-btn.dev-contact__btn {
  width: auto;
  min-width: unset;
  height: 40px;
  padding: 0 12px 0 8px;
  gap: 6px;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1;
}

.dev-contact__label {
  white-space: nowrap;
}

.dev-contact__popover {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 60;
  /* Wider than .dev-contact (~40px); otherwise shrink-to-fit + img max-width:100% pins QR to icon width */
  width: min(92vw, 320px);
  max-width: none;
  box-sizing: border-box;
  padding: 14px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 12px;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(-6px);
  transition: opacity 0.18s ease, visibility 0.18s ease, transform 0.18s ease;
}

.dev-contact__popover img {
  width: 100%;
  max-width: none;
  height: auto;
  display: block;
  border-radius: 8px;
}

.dev-contact:hover .dev-contact__popover,
.dev-contact.is-popover-open .dev-contact__popover {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0);
}

.nav-toggle {
  flex-direction: column;
  gap: 5px;
  width: 40px;
}

.nav-toggle__bar {
  display: block;
  width: 18px;
  height: 2px;
  background: var(--text);
  border-radius: 1px;
}

/* Drawer */
.drawer {
  position: fixed;
  inset: 0;
  z-index: 50;
  pointer-events: none;
}

.drawer:not([hidden]) {
  pointer-events: auto;
}

.drawer__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  transition: opacity 0.2s ease;
}

.drawer:not([hidden]) .drawer__backdrop {
  opacity: 1;
}

.drawer__panel {
  position: absolute;
  top: 0;
  right: 0;
  width: min(280px, 86vw);
  height: 100%;
  background: var(--bg-elevated);
  border-left: 1px solid var(--border);
  padding: calc(var(--nav-h) + 16px) 20px 24px;
  display: flex;
  flex-direction: column;
  gap: 20px;
  font-size: 16px;
  transform: translateX(100%);
  transition: transform 0.22s ease;
}

.drawer:not([hidden]) .drawer__panel {
  transform: translateX(0);
}

/* Hero */
.hero {
  max-width: var(--content-max);
  margin: 0 auto;
}

.hero__visual {
  position: relative;
  aspect-ratio: 390 / 520;
  overflow: hidden;
  background: #111;
}

@media (min-width: 768px) {
  .hero {
    display: grid;
    grid-template-columns: minmax(0, 1.35fr) minmax(0, 1fr);
    gap: 0;
    align-items: stretch;
  }

  .hero__visual {
    aspect-ratio: auto;
    min-height: min(520px, 56vw);
  }
}

.hero__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1.05) saturate(0.92);
}

.hero__gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(12, 12, 12, 0.1) 0%,
    rgba(12, 12, 12, 0.55) 55%,
    rgba(12, 12, 12, 0.95) 100%
  );
  pointer-events: none;
}

.hero__title {
  position: absolute;
  left: 20px;
  bottom: 28px;
  margin: 0;
  font-size: clamp(2.25rem, 10vw, 2.75rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero__title-line {
  display: block;
}

.hero__panel {
  padding: 24px var(--gutter) 32px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

@media (min-width: 768px) {
  .hero__title {
    font-size: clamp(2.75rem, 4.2vw, 4rem);
    left: clamp(24px, 4vw, 48px);
    bottom: clamp(28px, 5vw, 56px);
  }

  .hero__panel {
    padding: clamp(32px, 4vw, 48px) clamp(20px, 3vw, 40px);
    justify-content: flex-start;
    border-left: 1px solid var(--border);
    background: var(--bg-elevated);
  }
}

.eyebrow {
  margin: 0;
  font-size: 11px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--muted);
}

.field-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.field-label {
  margin: 0;
  font-size: 12px;
  letter-spacing: 0.08em;
  color: var(--muted);
}

.upload-zone {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-height: 138px;
  padding: 20px;
  border: 1px dashed var(--border);
  border-radius: 2px;
  background: var(--surface);
  color: var(--muted);
  font: inherit;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
  overflow: hidden;
}

.upload-zone.has-preview {
  padding: 10px 12px;
  min-height: 120px;
}

.upload-zone__placeholder {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
}

.upload-zone.has-preview .upload-zone__placeholder {
  display: none;
}

.upload-zone__preview {
  display: block;
  width: 100%;
  max-height: min(220px, 38vh);
  height: auto;
  object-fit: contain;
  border-radius: 2px;
  background: rgba(0, 0, 0, 0.2);
}

.upload-zone__preview[hidden] {
  display: none !important;
}

.upload-zone:hover,
.upload-zone:focus-visible {
  outline: none;
  border-color: rgba(255, 255, 255, 0.22);
  background: #1e1e1e;
}

.upload-zone__text {
  font-size: 13px;
}

.row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

/* Hero ???/???<select> ?????????? color????????? +????????????? */
.hero-filter-select {
  width: 100%;
  box-sizing: border-box;
  min-height: 40px;
  padding: 0.45rem 2rem 0.45rem 0.75rem;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 4px;
  background: #fff;
  color: #0a0a0a;
  font: inherit;
  font-size: 14px;
  cursor: pointer;
  appearance: auto;
}

.hero-filter-select option,
.hero-filter-select optgroup {
  color: #0a0a0a;
  background-color: #fff;
}

.select-like {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 40px;
  padding: 0 12px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 2px;
  font-size: 14px;
  color: var(--text);
}

.pill-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.pill {
  height: 40px;
  border: 1px solid var(--border);
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 15px;
  font-weight: 500;
  border-radius: 2px;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s;
}

.pill:hover {
  background: rgba(255, 255, 255, 0.04);
}

.pill.is-active {
  background: var(--text);
  color: var(--bg);
  border-color: var(--text);
}

.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  height: 56px;
  margin-top: 4px;
  border: none;
  border-radius: 2px;
  background: var(--accent);
  color: var(--bg);
  font: inherit;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: transform 0.12s ease, opacity 0.15s;
}

.cta:hover {
  opacity: 0.92;
}

.cta:active {
  transform: scale(0.99);
}

/* Results */
.results {
  max-width: var(--content-max);
  margin: 0 auto;
  padding: 8px var(--gutter) 40px;
}

.results__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  padding-top: 16px;
}

.results__title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.results__sub {
  margin: 0;
  font-size: 13px;
  color: var(--muted);
}

.results__meta {
  margin: 0;
  font-size: 12px;
  color: var(--muted);
  white-space: nowrap;
}

.results__meta strong {
  color: var(--text);
  font-weight: 600;
}

.divider {
  height: 1px;
  background: var(--border);
  margin: 16px 0 24px;
}

.product-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.product-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #111;
  aspect-ratio: 389 / 487;
}

.product-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-card--offset .product-card__media {
  margin-top: 0;
}

@media (min-width: 400px) and (max-width: 767px) {
  .product-card--offset .product-card__media {
    margin-top: 20px;
  }
}

@media (min-width: 768px) {
  .product-list {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: clamp(16px, 2vw, 28px);
    align-items: start;
  }

  .product-card--offset .product-card__media {
    margin-top: clamp(32px, 5vw, 64px);
  }
}

.badge {
  position: absolute;
  top: 14px;
  left: 14px;
  padding: 5px 10px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(12, 12, 12, 0.75);
  border: 1px solid var(--border);
  border-radius: 2px;
}

.product-card__body {
  padding-top: 14px;
}

.product-card__name {
  margin: 0 0 8px;
  font-size: 16px;
  font-weight: 600;
}

.product-card__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.muted {
  color: var(--muted);
}

.price {
  font-weight: 600;
  letter-spacing: 0.02em;
}

/* Standalone shop document: full light canvas */
body.page-shop {
  background: #fff;
  color: #0a0a0a;
}

.shop-page--standalone {
  border-top: none;
  padding-top: 20px;
}

.footer--on-light {
  background: #fafafa;
  border-top-color: rgba(0, 0, 0, 0.08);
}

.footer--on-light .footer__brand {
  color: #0a0a0a;
}

.footer--on-light .footer__links a {
  color: rgba(10, 10, 10, 0.45);
}

.footer--on-light .footer__links a:hover {
  color: #0a0a0a;
}

.footer--on-light .footer__copy {
  color: rgba(10, 10, 10, 0.35);
}

/* Shop page (light boutique listing) */
.shop-page {
  background: #fff;
  color: #0a0a0a;
  padding: 28px 0 48px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-page a:hover {
  opacity: 1;
}

.shop-page__inner {
  max-width: min(1200px, calc(100vw - 2 * var(--gutter)));
  margin: 0 auto;
  padding: 0 var(--gutter);
}

.shop-page__intro {
  margin-bottom: 28px;
}

.shop-page__title {
  margin: 0 0 10px;
  font-size: clamp(1.75rem, 4vw, 2.25rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.15;
}

.shop-page__lead {
  margin: 0 0 20px;
  max-width: 42rem;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(10, 10, 10, 0.55);
}

.shop-page__search {
  display: flex;
  align-items: center;
  gap: 10px;
  max-width: 320px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 999px;
  background: #fafafa;
}

.shop-page__search-icon {
  flex-shrink: 0;
  color: rgba(10, 10, 10, 0.35);
}

.shop-page__search-input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  font: inherit;
  font-size: 14px;
  color: #0a0a0a;
  outline: none;
}

.shop-page__search-input::placeholder {
  color: rgba(10, 10, 10, 0.4);
}

.shop-page__layout {
  display: grid;
  gap: 28px;
}

@media (min-width: 900px) {
  .shop-page__layout {
    grid-template-columns: 220px minmax(0, 1fr);
    gap: 40px;
    align-items: start;
  }
}

.shop-sidebar {
  display: flex;
  flex-direction: column;
  gap: 28px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

@media (min-width: 900px) {
  .shop-sidebar {
    border-bottom: none;
    padding-bottom: 0;
    position: sticky;
    top: calc(var(--nav-h) + 16px);
  }
}

.shop-filter-block__title {
  margin: 0 0 14px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(10, 10, 10, 0.45);
}

.shop-filter-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.shop-filter-list__link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
  color: #0a0a0a;
}

.shop-filter-list__count {
  font-size: 12px;
  color: rgba(10, 10, 10, 0.4);
}

.shop-check-list,
.shop-radio-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 14px;
}

.shop-check-list label,
.shop-radio-list label {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  color: rgba(10, 10, 10, 0.85);
}

.shop-check-list input,
.shop-radio-list input {
  accent-color: #0a0a0a;
}

.shop-promo {
  padding: 20px;
  background: #0a0a0a;
  color: #fff;
  border-radius: 2px;
}

.shop-promo__title {
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 600;
}

.shop-promo__text {
  margin: 0 0 16px;
  font-size: 13px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.65);
  white-space: normal;
}

.shop-promo__line {
  margin: 0 0 6px;
}

.shop-promo__line:last-child {
  margin-bottom: 0;
}

.shop-promo__address-btn {
  display: inline;
  margin: 0;
  padding: 0;
  border: 0;
  background: none;
  font: inherit;
  color: #fff;
  text-align: left;
  text-decoration: underline;
  text-underline-offset: 3px;
  cursor: pointer;
  vertical-align: baseline;
}

.shop-promo__address-btn:hover,
.shop-promo__address-btn:focus-visible {
  color: rgba(255, 255, 255, 0.92);
}

.shop-promo__address-btn:focus-visible {
  outline: 2px solid rgba(255, 255, 255, 0.5);
  outline-offset: 2px;
}

.shop-promo__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 16px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #0a0a0a;
  background: #fff;
  border-radius: 2px;
}

.shop-promo__btn:hover {
  opacity: 0.9;
}

.shop-promo__btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}

.shop-promo__btn:disabled:hover {
  opacity: 0.45;
}

.shop-qr-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  box-sizing: border-box;
}

.shop-qr-modal[hidden] {
  display: none !important;
}

.shop-qr-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
}

.shop-qr-modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 340px;
  padding: 24px 22px 28px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.22);
}

.shop-qr-modal__close {
  position: absolute;
  top: 10px;
  right: 12px;
  z-index: 2;
  width: 36px;
  height: 36px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 26px;
  line-height: 1;
  color: rgba(10, 10, 10, 0.45);
  cursor: pointer;
}

.shop-qr-modal__close:hover {
  color: #0a0a0a;
}

.shop-qr-modal__title {
  margin: 0 32px 8px 0;
  font-size: 18px;
  font-weight: 600;
}

.shop-qr-modal__hint {
  margin: 0 0 18px;
  font-size: 13px;
  line-height: 1.45;
  color: rgba(10, 10, 10, 0.55);
}

.shop-qr-modal__img-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
}

.shop-qr-modal__img-wrap img {
  max-width: 100%;
  height: auto;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-qr-modal__empty {
  margin: 0;
  font-size: 14px;
  line-height: 1.5;
  color: rgba(10, 10, 10, 0.6);
  text-align: center;
}

.shop-garment-gallery {
  position: fixed;
  inset: 0;
  z-index: 1250;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.shop-garment-gallery[hidden] {
  display: none !important;
}

.shop-garment-gallery__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.shop-garment-gallery__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: min(792px, 100vw - 32px);
  max-height: calc(100vh - 32px);
  padding: 36px 29px 36px;
  background: #fff;
  color: #0a0a0a;
  border-radius: 4px;
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.28);
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
}

.shop-garment-gallery__close {
  position: absolute;
  top: 14px;
  right: 18px;
  z-index: 2;
  width: 65px;
  height: 65px;
  padding: 0;
  border: 0;
  background: transparent;
  font-size: 34px;
  line-height: 1;
  color: rgba(10, 10, 10, 0.45);
  cursor: pointer;
}

.shop-garment-gallery__close:hover {
  color: #0a0a0a;
}

.shop-garment-gallery__title {
  margin: 0 65px 7px 0;
  font-size: 22px;
  font-weight: 600;
  line-height: 1.3;
}

.shop-garment-gallery__slot {
  margin: 0 0 22px;
  font-size: 15px;
  color: rgba(10, 10, 10, 0.5);
}

.shop-garment-gallery__viewport {
  position: relative;
  display: flex;
  align-items: center;
  gap: 7px;
  min-height: 0;
  flex: 1;
}

.shop-garment-gallery__img-wrap {
  flex: 1;
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #f4f4f4;
  border-radius: 2px;
  border: 1px solid rgba(0, 0, 0, 0.06);
  overflow: hidden;
}

.shop-garment-gallery__img-wrap img {
  display: block;
  width: 100%;
  max-height: min(min(calc(68vh * 1.8), 96vh), 936px);
  height: auto;
  object-fit: contain;
}

.shop-garment-gallery__arrow {
  flex-shrink: 0;
  width: 72px;
  height: 79px;
  padding: 0;
  border: 0;
  border-radius: 2px;
  background: rgba(10, 10, 10, 0.06);
  color: #0a0a0a;
  font-size: 40px;
  line-height: 1;
  cursor: pointer;
}

.shop-garment-gallery__arrow:hover:not(:disabled) {
  background: rgba(10, 10, 10, 0.12);
}

.shop-garment-gallery__arrow:disabled {
  opacity: 0.28;
  cursor: default;
}

.shop-garment-gallery__counter {
  margin: 22px 0 0;
  text-align: center;
  font-size: 15px;
  color: rgba(10, 10, 10, 0.45);
}

.shop-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-view-toggle {
  display: inline-flex;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  overflow: hidden;
}

.shop-view-toggle__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 36px;
  padding: 0;
  border: none;
  background: #fff;
  color: rgba(10, 10, 10, 0.35);
  cursor: pointer;
}

.shop-view-toggle__btn.is-active {
  background: #0a0a0a;
  color: #fff;
}

.shop-sort {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  color: rgba(10, 10, 10, 0.55);
}

.shop-sort__select {
  height: 36px;
  padding: 0 32px 0 12px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  background: #fff;
  font: inherit;
  font-size: 13px;
  color: #0a0a0a;
  cursor: pointer;
}

.shop-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 2.5vw, 24px);
}

@media (min-width: 640px) {
  .shop-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.shop-grid--list {
  grid-template-columns: 1fr;
}

.shop-grid--list .shop-card__link {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  gap: 20px;
}

.shop-grid--list .shop-card__body {
  flex: 1;
  padding-top: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.shop-grid--list .shop-card__media {
  flex: 0 0 min(200px, 38vw);
  aspect-ratio: 4 / 5;
}

.shop-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.shop-card__link:hover .shop-card__name {
  text-decoration: underline;
  text-underline-offset: 3px;
}

.shop-card__media {
  position: relative;
  overflow: hidden;
  border-radius: 2px;
  background: #f0f0f0;
  aspect-ratio: 4 / 5;
}

.shop-card__media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.shop-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 4px 9px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.04em;
  border-radius: 2px;
}

.shop-badge--new {
  color: #fff;
  background: #0a0a0a;
}

.shop-badge--hot {
  color: #fff;
  background: #c41e1e;
}

.shop-card__body {
  padding-top: 12px;
}

.shop-card__row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
}

.shop-card__name {
  margin: 0;
  font-size: 15px;
  font-weight: 600;
  letter-spacing: -0.02em;
}

.shop-card__price {
  font-size: 14px;
  font-weight: 600;
  white-space: nowrap;
}

.shop-card__desc {
  margin: 6px 0 0;
  font-size: 12px;
  color: rgba(10, 10, 10, 0.5);
}

.shop-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 36px;
  padding-top: 24px;
  border-top: 1px solid rgba(0, 0, 0, 0.08);
}

.shop-pagination__arrow {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(0, 0, 0, 0.12);
  border-radius: 2px;
  background: #fff;
  font-size: 18px;
  line-height: 1;
  color: #0a0a0a;
  cursor: pointer;
}

.shop-pagination__arrow:hover {
  background: #fafafa;
}

.shop-pagination__pages {
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: rgba(10, 10, 10, 0.55);
}

.shop-pagination__current {
  color: #0a0a0a;
  font-weight: 600;
}

.shop-pagination__sep {
  margin: 0 6px;
  opacity: 0.4;
}

.shop-api-hint {
  margin: 0 0 16px;
  font-size: 14px;
  color: #b45309;
}

.shop-filter-list__link.is-active {
  font-weight: 600;
}

/* Footer */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px var(--gutter) 40px;
  background: var(--bg);
}

.footer__inner {
  max-width: var(--content-max);
  margin: 0 auto;
  text-align: center;
}

.footer__brand {
  margin: 0 0 20px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.12em;
}

.footer__links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 20px;
  margin-bottom: 20px;
  font-size: 12px;
  color: var(--muted);
}

.footer__links a {
  color: var(--muted);
}

.footer__links a:hover {
  color: var(--text);
}

.footer__copy {
  margin: 0;
  font-size: 11px;
  color: rgba(245, 245, 245, 0.35);
}

.hero-occasion-input {
  width: 100%;
  max-width: 100%;
  padding: 0.5rem 0.75rem;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.08);
  color: inherit;
  font: inherit;
}

.hero-cta-row {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 0.25rem;
}

@media (min-width: 768px) {
  .hero-cta-row {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: stretch;
  }

  .hero-cta-row .cta {
    flex: 1 1 200px;
  }
}

.cta--primary {
  opacity: 1;
}

.cta--ghost {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.35);
  color: var(--text);
}

.cta--ghost:hover {
  background: rgba(255, 255, 255, 0.06);
}

.outfit-build {
  margin-top: 0.5rem;
}

.outfit-summary {
  margin: 0 0 1rem;
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.5;
}

.outfit-slot {
  margin-bottom: 1.5rem;
  padding-bottom: 1.25rem;
  border-bottom: 1px solid var(--border);
}

.outfit-slot:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.outfit-slot__title {
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.outfit-slot__empty {
  margin: 0;
  font-size: 0.88rem;
  color: var(--muted);
}

.outfit-slot__list {
  margin: 0;
}

@media (min-width: 768px) {
  body {
    background: linear-gradient(180deg, #080808 0%, #0c0c0c 45%);
  }

  body.page-shop {
    background: #fff;
  }

  .results__title {
    font-size: clamp(22px, 2.2vw, 28px);
  }

  .footer__inner {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 16px 24px;
    text-align: left;
  }

  .footer__brand {
    margin: 0;
    flex: 0 0 auto;
  }

  .footer__links {
    margin: 0;
    justify-content: flex-end;
    flex: 1 1 auto;
  }

  .footer__copy {
    width: 100%;
    text-align: center;
    margin-top: 8px;
  }
}
