body {
  font-size: 16px;
}
header {
  height: auto;
  min-height: 72px;
  gap: 12px;
  padding: 16px 24px;
  flex-wrap: wrap;
}
.shop {
  max-width: 1080px;
  margin: auto;
  padding: 32px 24px;
}
.shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(280px, 1fr);
  gap: 36px;
}
.shop-images {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
}
.shop-images img {
  width: 100%;
  flex: 0 0 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: white;
  scroll-snap-align: start;
  border-radius: 12px;
}
.shop-desc {
  white-space: pre-wrap;
  overflow-wrap: anywhere;
}
.shop video {
  width: 100%;
  margin-top: 16px;
}
.shop-price {
  font-size: 28px;
  font-weight: 750;
  color: var(--green);
}
.shop form {
  border-top: 1px solid var(--line);
  margin-top: 24px;
  padding-top: 8px;
}
.shop button {
  min-height: 48px;
  width: 100%;
}
.shop select {
  max-width: 200px;
}
.shop-total {
  font-weight: 600;
}
.shop-result {
  padding: 16px;
  background: var(--accent);
  border-radius: 8px;
  margin-top: 16px;
}
.shop-other {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}
.shop-other a {
  display: block;
  padding: 14px 18px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--green);
  text-decoration: none;
}
#shop-status {
  margin-bottom: 20px;
}
#buyer-name {
  font-size: 15px;
  color: var(--muted);
}
@media (max-width: 640px) {
  header {
    padding: 14px 18px;
  }
  .shop {
    padding: 24px 18px;
  }
  .shop-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .shop h1 {
    font-size: 28px;
  }
  .shop-images img {
    max-height: 360px;
  }
  .shop .brand {
    font-size: 22px;
  }
}
.shop-layout.no-media {
  grid-template-columns: 1fr;
  max-width: 680px;
  margin: auto;
}
.shop-layout.no-media > div:first-child {
  display: none;
}
.shop-other {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 16px;
}
.shop-other a {
  padding: 0;
  overflow: hidden;
}
.shop-other img {
  display: block;
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
.shop-other strong,
.shop-other span {
  display: block;
  padding: 10px 14px 0;
}
.shop-other span {
  font-size: 14px;
  color: var(--muted);
  padding-bottom: 14px;
}
.shop-other strong:last-child {
  padding-bottom: 14px;
}
@media (max-width: 640px) {
  .shop-other {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
  }
  .shop-other strong {
    font-size: 15px;
    padding: 10px;
  }
  .shop-other span {
    padding: 0 10px 10px;
  }
}
.member-nav {padding:0 0 14px;border-right:0;display:flex;gap:8px;flex-wrap:wrap;margin-bottom:28px;border-bottom:1px solid var(--line);padding-bottom:14px}
.member-nav a {color:var(--ink);text-decoration:none;padding:10px 14px;border-radius:6px}
.member-nav a[aria-current],.member-nav a:hover {background:var(--accent);color:var(--green)}
.member-notice {padding:20px;border:1px solid var(--line);background:white;margin-bottom:28px;border-left:4px solid var(--green)}
.member-action {display:inline-block;padding:12px 18px;background:var(--green);color:white;border-radius:6px;text-decoration:none;margin:0 8px 10px 0}
.member-notice button {width:auto}
.member-empty {padding:24px 0;border-top:1px solid var(--line);margin-top:24px}
.member-store-label {margin-bottom:0;color:var(--muted)}
#member-center h1 {margin-top:8px}
#member-center h2 {font-size:22px;margin-top:28px}
#member-center select {max-width:100%}
#store-choice {max-width:480px}
#store-choice button {margin-top:16px}
.member-orders {border-top:1px solid var(--line)}
.member-order {display:flex;gap:24px;padding:24px 0;border-bottom:1px solid var(--line)}
.member-order img {width:144px;height:144px;object-fit:cover;border-radius:8px}
.member-order h2 {margin-top:0!important;font-size:20px!important}
.member-order p {margin:0 0 10px}
.member-order > div {min-width:0;overflow-wrap:anywhere}
@media(max-width:640px){.member-nav{gap:2px}.member-nav a{padding:10px 8px;font-size:15px}.member-order{gap:14px}.member-order img{width:80px;height:80px}.member-notice button{width:100%}}
