:root {
  --bg: #ffffff;
  --ink: #050505;
  --muted: rgba(5, 5, 5, 0.62);
  --line: rgba(5, 5, 5, 0.3);
  --header-h: 92px;
  --panel: linear-gradient(180deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.78) 62%, rgba(255, 255, 255, 0) 100%);
  --frame: #f5f5f5;
}

* {
  box-sizing: border-box;
}

html,
body {
  width: 100%;
  min-height: 100%;
}

body {
  margin: 0;
  background:
    linear-gradient(90deg, rgba(5, 5, 5, 0.035) 1px, transparent 1px) 0 0 / 96px 96px,
    linear-gradient(180deg, rgba(5, 5, 5, 0.028) 1px, transparent 1px) 0 0 / 96px 96px,
    var(--bg);
  color: var(--ink);
  font-family: "Space Grotesk", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
}

.po-shell {
  min-height: 100vh;
}

#layout-mount {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  pointer-events: none;
}

#layout-mount .po-header {
  height: var(--header-h);
  padding: 22px 28px 14px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  background: var(--panel);
  pointer-events: auto;
}

#layout-mount .po-brand {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  text-decoration: none;
}

#layout-mount .po-brand__logo {
  display: block;
  width: auto;
  height: clamp(12px, 0.9vw, 14px);
}

#layout-mount .po-nav {
  display: flex;
  align-items: center;
  gap: clamp(14px, 2vw, 28px);
  padding-top: 8px;
}

#layout-mount .po-nav__item {
  position: relative;
  color: var(--ink);
  text-decoration: none;
  font-size: clamp(12px, 0.9vw, 14px);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  line-height: 1;
}

#layout-mount .po-nav__item::after {
  content: "";
  opacity: 0;
  transition: opacity 150ms ease;
}

#layout-mount .po-nav__item:hover::after,
#layout-mount .po-nav__item:focus-visible::after {
  content: ":";
  opacity: 1;
}

#layout-mount .po-nav__item:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.po-list-main {
  width: min(1320px, calc(100% - 72px));
  margin: 0 auto;
  padding-top: calc(var(--header-h) + 64px);
  padding-bottom: 88px;
}

.po-list-title {
  margin: 0;
  text-align: center;
  font-family: "Space Grotesk", "Apple SD Gothic Neo", "Noto Sans KR", sans-serif;
  font-size: clamp(52px, 9.5vw, 148px);
  line-height: 0.94;
  letter-spacing: 0;
  font-weight: 500;
  text-transform: uppercase;
}

.po-list-grid {
  --po-list-label-w: 112px;
  --po-list-mark-w: 16px;
  margin-top: 52px;
  display: flex;
  flex-direction: column;
  gap: clamp(66px, 10vw, 136px);
}

.po-product {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 320px);
  gap: clamp(20px, 3vw, 42px);
  align-items: end;
}

.po-product--even {
  grid-template-columns: minmax(220px, 320px) minmax(0, 1fr);
}

.po-product--even .po-product__content-link {
  order: 1;
  text-align: right;
}

.po-product--even .po-product__media {
  order: 2;
}

.po-product__media {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2.2vw, 30px);
  align-items: end;
}

.po-product--single .po-product__media {
  grid-template-columns: minmax(0, 1fr);
  max-width: min(620px, 100%);
}

.po-shot {
  margin: 0;
  /*background: var(--frame);*/
  aspect-ratio: 4 / 5;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  /*border: 1px solid var(--line);*/
}

.po-shot-link {
  text-decoration: none;
  color: inherit;
}

.po-shot-link:focus-visible,
.po-product__content-link:focus-visible {
  outline: 1px solid var(--ink);
  outline-offset: 2px;
}

.po-shot img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: clamp(8px, 1.2vw, 18px);
  display: block;
  filter: grayscale(1) contrast(1.04);
  transition: transform 180ms ease;
}

.po-shot-link:hover img {
  transform: scale(1.012);
}

.po-product__content {
  font-size: 13px;
  line-height: 1.62;
  color: var(--muted);
  padding-bottom: clamp(2px, 0.5vw, 10px);
}

.po-product__name {
  margin: 0 0 8px;
  font-size: clamp(18px, 1.4vw, 24px);
  line-height: 1.2;
  letter-spacing: 0.01em;
  color: var(--ink);
  font-weight: 500;
  text-transform: uppercase;
}

.po-product__aligned-line {
  display: grid;
  grid-template-columns: var(--po-list-label-w) var(--po-list-mark-w) minmax(0, 1fr);
  column-gap: 0;
  align-items: baseline;
}

.po-product__label {
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.po-product__mark {
  text-align: center;
}

.po-product__value {
  min-width: 0;
  text-align: left;
  overflow-wrap: anywhere;
}

.po-product__name--single {
  text-align: left;
}

.po-product__line {
  margin: 0;
}

.po-product__line + .po-product__line {
  margin-top: 4px;
}

.po-price-old {
  text-decoration-line: line-through;
  text-decoration-thickness: 1px;
  text-decoration-color: var(--line);
  color: rgba(16, 16, 16, 0.72);
}

.po-price-pre {
  color: var(--ink);
  font-weight: 500;
}

.po-product__description {
  margin-top: 10px;
  color: var(--ink);
  opacity: 0.82;
  align-items: start;
}

.po-product__content-link {
  text-decoration: none;
  color: inherit;
  display: block;
}

.po-list-status {
  margin: 28px 0 0;
  font-size: 12px;
  letter-spacing: 0.04em;
  color: var(--muted);
}

.po-list-status.is-error {
  color: #7a0000;
}

@media (max-width: 1024px) {
  #layout-mount .po-header {
    height: 82px;
    padding: 16px 18px 10px;
  }

  #layout-mount .po-brand__logo {
    height: clamp(11px, 3.2vw, 13px);
  }

  #layout-mount .po-nav {
    gap: 12px;
    padding-top: 6px;
  }

  .po-list-main {
    width: min(100%, calc(100% - 32px));
    padding-top: calc(82px + 42px);
    padding-bottom: 62px;
  }

  .po-list-grid {
    margin-top: 30px;
    gap: 54px;
  }

  .po-product,
  .po-product--even {
    grid-template-columns: 1fr;
    gap: 16px;
    align-items: start;
  }

  .po-product--even .po-product__content-link,
  .po-product__content-link {
    order: 2;
    text-align: left;
    max-width: 100%;
    width: 100%;
    margin-top: 4px;
  }

  .po-product--even .po-product__media,
  .po-product__media {
    order: 1;
    grid-template-columns: 1fr;
    gap: 12px;
    width: 100%;
  }

  .po-shot {
    aspect-ratio: 4 / 5;
  }

  .po-product__name {
    font-size: 19px;
  }
}
