:root {
  --bg: #ffffff;
  --card: #ffffff;
  --line: #e6e8eb;
  --text: #17212b;
  --muted: #717b86;
  --green: #0f766e;
  --green-dark: #075f58;
  --green-light: #f2faf7;
  --soft-green: #e8f4f1;
  --red: #c9362b;
  --price: #0f766e;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Microsoft YaHei", sans-serif;
}

button,
input,
textarea {
  font: inherit;
}

input,
textarea,
select {
  font-size: 16px;
}

button {
  border: 0;
  cursor: pointer;
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
  user-select: none;
}

button:disabled {
  opacity: 0.55;
}

.app {
  width: min(100%, 520px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 10px 10px 82px;
}

.loading,
.empty {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
  color: var(--muted);
  text-align: center;
}

.hero,
.toolbar,
.home-hero,
.home-search,
.product-card,
.detail-panel,
.row-card,
.cart-item,
.order-card,
.profile-card,
.notice {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--card);
}

.hero {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border-color: #dbe8e5;
  background: #fff;
}

.hero-logo {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.hero strong {
  display: block;
  font-size: 18px;
  font-weight: 900;
}

.hero span {
  display: block;
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.home-hero {
  position: sticky;
  top: 0;
  z-index: 12;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  gap: 8px;
  margin: -10px -10px 0;
  padding: 10px;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: #fff;
}

.home-brand {
  display: flex;
  align-items: center;
  min-width: 0;
  gap: 8px;
}

.home-brand strong {
  display: none;
  color: var(--text);
  font-size: 15px;
  font-weight: 750;
  line-height: 1.2;
  white-space: nowrap;
}

.home-brand span {
  display: block;
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.home-rate {
  grid-column: 2;
  display: none;
  justify-items: end;
  gap: 1px;
  padding: 2px 0;
  background: transparent;
}

.home-rate span,
.home-rate em {
  color: var(--muted);
  font-size: 11px;
  font-style: normal;
}

.home-rate strong {
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
}

.toolbar {
  margin-top: 10px;
  padding: 10px;
  border-color: #edf1f0;
}

.home-search {
  margin-top: 10px;
  padding: 9px;
  border-color: #edf1f0;
  box-shadow: 0 2px 10px rgba(23, 33, 43, 0.03);
}

.search-shell {
  display: flex;
  align-items: center;
  height: 42px;
  padding: 0 4px 0 12px;
  border: 2px solid var(--green);
  border-radius: 999px;
  background: #fff;
}

.search-mark {
  margin-right: 6px;
  color: #919aa3;
  font-size: 18px;
}

.search,
.input,
.textarea,
.qty-input {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  outline: none;
  background: #fff;
}

.search {
  height: 38px;
  padding: 0;
  border: 0;
  background: transparent;
}

.search-button {
  min-width: 62px;
  height: 32px;
  padding: 0 14px;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 14px;
  font-weight: 900;
}

.rate-line {
  margin-top: 9px;
  color: var(--muted);
  font-size: 12px;
}

.home-section-head {
  margin-top: 16px;
}

.home-section-head > div {
  display: grid;
  gap: 2px;
}

.home-section-head small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 14px 2px 8px;
}

.section-title,
.page-title {
  font-weight: 900;
}

.section-title {
  font-size: 17px;
}

.section-count {
  color: var(--muted);
  font-size: 13px;
}

.page-title {
  margin: 8px 2px 12px;
  font-size: 22px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 9px;
}

.product-card {
  overflow: hidden;
  border-color: #edf0ef;
  box-shadow: 0 2px 10px rgba(23, 33, 43, 0.035);
}

.product-image-wrap {
  position: relative;
  aspect-ratio: 1;
  background: #fff;
  overflow: hidden;
}

.product-image {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.product-badge {
  position: absolute;
  left: 6px;
  bottom: 6px;
  padding: 3px 6px;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.92);
  color: var(--green);
  font-size: 11px;
  font-weight: 800;
}

.product-badge.stockout {
  color: var(--red);
}

.product-body {
  padding: 9px;
}

.product-title {
  display: -webkit-box;
  min-height: 35px;
  overflow: hidden;
  font-size: 13px;
  font-weight: 850;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.spec,
.row-meta {
  display: block;
  overflow: hidden;
  color: var(--muted);
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.spec {
  margin-top: 4px;
}

.dual-price {
  display: grid;
  gap: 1px;
  margin-top: 5px;
}

.dual-price.compact {
  margin-top: 8px;
}

.price {
  color: var(--price);
  font-size: 16px;
  font-weight: 950;
}

.cny-price {
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.thumb-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 2px;
}

.secondary-button,
.danger-button,
.text-button,
.link-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  line-height: 1.2;
  white-space: nowrap;
}

.secondary-button {
  flex: 0 0 auto;
  border: 1px solid var(--line);
  background: #fff;
  color: var(--text);
  font-weight: 800;
}

.primary-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  border-radius: 8px;
  background: var(--green);
  color: #fff;
  font-weight: 900;
}

.primary-button.full {
  width: 100%;
}

.danger-button {
  margin-top: 8px;
  border: 1px solid #efcfc8;
  background: #fff7f5;
  color: var(--red);
  font-weight: 800;
}

.text-button,
.link-button {
  background: transparent;
  color: var(--green);
  font-weight: 800;
}

.category-layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  height: calc(100vh - 92px);
  min-height: 520px;
  margin: -10px -10px 0;
  background: #fff;
}

.left-nav {
  overflow-y: auto;
  border-right: 1px solid var(--line);
  background: #fff;
}

.left-item {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 44px;
  padding: 0 6px;
  background: #fff;
  color: #46524f;
  font-size: 13px;
  font-weight: 800;
  line-height: 1.25;
  text-align: center;
  white-space: normal;
  word-break: keep-all;
}

.left-active {
  background: var(--soft-green);
  color: var(--green);
}

.right-content {
  min-width: 0;
  overflow-y: auto;
  padding: 9px;
  background: #fff;
}

.collection-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
}

.collection-card {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
}

.collection-card img {
  width: 100%;
  aspect-ratio: 1;
  display: block;
  object-fit: cover;
  background: #edf1f3;
}

.collection-placeholder {
  width: 100%;
  aspect-ratio: 1;
  background: #f8f9fa;
}

.collection-card div {
  display: grid;
  gap: 2px;
  padding: 9px;
}

.collection-card span {
  color: var(--muted);
  font-size: 12px;
}

.list {
  display: grid;
  gap: 9px;
}

.row-card,
.cart-item {
  display: flex;
  gap: 10px;
  padding: 10px;
}

.row-card img,
.cart-item img {
  width: 78px;
  height: 78px;
  flex: 0 0 auto;
  border-radius: 8px;
  object-fit: cover;
  background: #edf1f3;
}

.row-main {
  flex: 1;
  min-width: 0;
}

.row-title {
  display: -webkit-box;
  overflow: hidden;
  font-weight: 850;
  line-height: 1.35;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.row-meta {
  margin-top: 5px;
}

.cart-spec {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  margin-top: 6px;
  padding: 3px 8px;
  border-radius: 7px;
  background: var(--green-light);
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 850;
  line-height: 1.25;
}

.detail-page {
  position: relative;
  min-height: 100vh;
  margin: -10px -10px 0;
  padding-bottom: 96px;
  background: #fff;
}

.detail-back {
  position: absolute;
  top: 12px;
  left: 12px;
  z-index: 6;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border: 1px solid rgba(214, 222, 226, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #18222b;
  box-shadow: 0 6px 18px rgba(23, 33, 43, 0.12);
  font-size: 30px;
  font-weight: 500;
  line-height: 1;
}

.detail-media {
  display: block;
}

.cover-wrap {
  position: relative;
}

.cover-image {
  display: block;
  width: 100%;
  height: 280px;
  object-fit: contain;
  object-position: center;
  background: #fff;
}

.cover-mask {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  padding: 60px 14px 14px;
  background: linear-gradient(180deg, rgba(31, 42, 50, 0), rgba(31, 42, 50, 0.72));
  color: #fff;
}

.company,
.cover-note {
  display: block;
}

.company {
  font-size: 17px;
  font-weight: 900;
}

.cover-note {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.86);
  font-size: 12px;
}

.thumb-row {
  display: flex;
  gap: 8px;
  margin: 10px 12px 0;
  overflow-x: auto;
  padding-bottom: 2px;
}

.thumb {
  width: 56px;
  height: 56px;
  flex: 0 0 auto;
  border: 2px solid transparent;
  border-radius: 8px;
  object-fit: contain;
  background: #fff;
}

.thumb.active {
  border-color: var(--green);
}

.detail-card {
  margin: 10px 12px 0;
  padding: 14px;
  border: 1px solid #e5dfd4;
  border-radius: 8px;
  background: #fff;
}

.detail-panel:has(.account-form) {
  padding: 18px;
}

.title-card {
  margin-top: 12px;
}

.category-label {
  display: block;
  color: var(--green);
  font-size: 12px;
  font-weight: 800;
}

.detail-title {
  margin: 6px 0 0;
  color: var(--text);
  font-size: 19px;
  font-weight: 850;
  line-height: 1.35;
}

.price-box {
  margin-top: 10px;
}

.detail-yen {
  display: block;
  color: var(--price);
  font-size: 24px;
  font-weight: 950;
}

.detail-card p {
  margin: 8px 0 0;
  color: #4a565f;
  font-size: 14px;
  line-height: 1.65;
}

.notice {
  margin: 10px 0;
  padding: 10px;
  color: var(--muted);
}

.notice.danger {
  color: var(--red);
}

.section-title {
  margin: 0;
  color: var(--text);
  font-size: 16px;
  font-weight: 850;
}

.variant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}

.variant-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  min-height: 34px;
  padding: 0 10px;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  background: #fff;
  color: #2e3b44;
  font-weight: 850;
}

.variant-button.active {
  border-color: var(--green);
  background: var(--soft-green);
  color: var(--green);
}

.qty-section {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: 10px 12px;
}

.quantity-stepper {
  display: flex;
  align-items: center;
  overflow: hidden;
  border: 1px solid #d8e2df;
  border-radius: 8px;
  touch-action: manipulation;
}

.qty-button {
  width: 34px;
  height: 32px;
  background: #fff;
  color: var(--text);
  font-size: 18px;
  font-weight: 900;
  line-height: 1;
}

.qty-button:disabled {
  background: #f3f5f5;
  color: #b8c0c4;
  cursor: not-allowed;
}

.qty-input {
  width: 46px;
  height: 32px;
  padding: 0 4px;
  border: 0;
  border-right: 1px solid #d8e2df;
  border-left: 1px solid #d8e2df;
  border-radius: 0;
  font-size: 16px;
  text-align: center;
  font-weight: 900;
}

.qty-unit {
  color: #3f4d56;
  font-size: 14px;
  font-weight: 850;
}

.detail-subtotal {
  grid-column: 1 / -1;
  display: flex;
  align-items: baseline;
  justify-content: flex-start;
  gap: 7px;
  min-width: 0;
  color: var(--muted);
  font-size: 12px;
  white-space: nowrap;
}

.detail-subtotal strong {
  color: var(--price);
  font-size: 18px;
  font-weight: 950;
}

.detail-subtotal em {
  color: var(--muted);
  font-style: normal;
  font-weight: 750;
  white-space: nowrap;
}

.detail-inline-cart {
  grid-column: 1 / -1;
  min-height: 44px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 900;
}

.meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 10px 12px 0;
}

.meta-item {
  display: block;
  min-height: 76px;
  padding: 12px;
  border: 1px solid #e5dfd4;
  border-radius: 8px;
  background: #fff;
  color: var(--text);
  text-align: left;
}

.tappable-meta {
  border-color: #b9d8d1;
  background: #f3fbf8;
}

.meta-label {
  display: block;
  color: #8b959d;
  font-size: 12px;
}

.meta-item strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
  font-size: 15px;
  font-weight: 850;
  line-height: 1.3;
}

.deadline-item {
  grid-column: span 2;
}

.deadline-line {
  margin-top: 10px;
  color: var(--muted);
  font-size: 13px;
}

.deadline-line.danger {
  color: var(--red);
}

.ghost-button {
  border: 1px solid #cbd6da;
  background: #fff;
  color: #2e3b44;
}

.total-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
}

.total-row strong {
  color: var(--price);
  font-size: 18px;
}

.total-row em {
  display: block;
  margin-top: 2px;
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 750;
}

.total-row.sub strong {
  color: var(--muted);
  font-size: 14px;
}

.cart-summary {
  display: grid;
  gap: 14px;
  margin-top: 12px;
  padding: 16px;
}

.cart-summary .total-row {
  margin-bottom: 0;
}

.cart-summary .login-note {
  margin: 0;
}

.cart-summary .primary-button {
  margin-top: 2px;
}

.form {
  display: grid;
  gap: 10px;
}

.input {
  height: 46px;
  padding: 0 14px;
  border-color: #e8eaed;
  border-radius: 12px;
  background: #fff;
  color: var(--text);
  transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input:focus {
  border-color: rgba(15, 118, 110, 0.58);
  background: #fff;
  box-shadow: 0 0 0 3px rgba(15, 118, 110, 0.1);
}

.account-form {
  gap: 16px;
  max-width: 520px;
  margin: 0 auto;
}

.account-form .primary-button {
  min-height: 46px;
  border-radius: 14px;
  background: linear-gradient(90deg, var(--green), var(--green-dark));
}

.account-form .secondary-button {
  min-height: 46px;
  border-color: #cfe3df;
  border-radius: 12px;
  background: var(--green-light);
  color: var(--green);
}

.textarea {
  min-height: 78px;
  padding: 10px 12px;
  resize: vertical;
}

.inline-form-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
}

.link-button {
  width: 100%;
  min-height: 32px;
}

.field-tip,
.split-line {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.split-line {
  display: flex;
  align-items: center;
  gap: 8px;
}

.split-line::before,
.split-line::after {
  flex: 1;
  height: 1px;
  background: var(--line);
  content: "";
}

.profile-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 12px;
}

.profile-card strong,
.profile-card span {
  display: block;
}

.profile-card span {
  margin-top: 3px;
  color: var(--muted);
  font-size: 13px;
}

.menu-list {
  display: grid;
  gap: 1px;
  margin-top: 10px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--line);
}

.menu-list button {
  min-height: 46px;
  padding: 0 12px;
  background: #fff;
  text-align: left;
  font-weight: 850;
}

.order-card {
  padding: 10px;
}

.order-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
}

.order-head strong {
  min-width: 0;
  overflow-wrap: anywhere;
}

.status-pill {
  flex: 0 0 auto;
  max-width: 112px;
  padding: 4px 7px;
  border-radius: 6px;
  background: var(--soft-green);
  color: var(--green);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
  text-align: center;
}

.status-pill.cancelled {
  background: #fff1ee;
  color: var(--red);
}

.admin-list {
  display: grid;
  gap: 5px;
  margin: 8px 0;
  color: #47505a;
  font-size: 13px;
}

.cart-price-line {
  display: grid;
  gap: 1px;
  margin-top: 7px;
}

.qty-row {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
  overflow: hidden;
  border: 1px solid #e1e6e8;
  border-radius: 8px;
}

.qty-row strong {
  display: inline-flex;
  align-items: baseline;
  justify-content: center;
  min-width: 40px;
  padding: 0 6px;
  text-align: center;
}

.cart-qty-wrap {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
  margin-top: 8px;
}

.cart-unit {
  color: #58646f;
  font-size: 13px;
  font-weight: 850;
  line-height: 1;
}

.cart-delete {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid #efcfc8;
  border-radius: 8px;
  background: #fff;
  color: var(--red);
  font-size: 13px;
  font-weight: 850;
}

.deadline-text,
.login-note {
  display: block;
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
}

.login-note {
  margin: 10px 0;
}

.bottom-nav {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  display: flex;
  justify-content: center;
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
}

.bottom-nav-inner {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  width: min(100%, 520px);
}

.nav-button {
  min-height: 58px;
  padding: 0 2px;
  background: transparent;
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.nav-button.active {
  color: var(--green);
}

@media (min-width: 760px) {
  .app,
  .bottom-nav-inner {
    width: 720px;
  }

  .hero {
    padding: 16px;
  }

  .home-hero {
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    padding: 16px;
  }

  .home-rate {
    display: grid;
    grid-column: auto;
    min-width: 180px;
  }

  .home-brand strong {
    display: block;
  }

  .home-search {
    padding: 12px;
  }

  .toolbar {
    padding: 12px;
  }

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

  .collection-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (min-width: 1100px) {
  .app,
  .bottom-nav-inner {
    width: 1180px;
  }

  .app {
    padding: 18px 18px 96px;
  }

  .hero {
    gap: 14px;
    padding: 18px;
  }

  .home-hero {
    grid-template-columns: auto minmax(420px, 1fr) auto;
    gap: 20px;
    margin: -18px -18px 0;
    padding: 16px 18px;
  }

  .home-brand {
    gap: 10px;
  }

  .home-brand strong {
    font-size: 18px;
  }

  .home-brand span {
    font-size: 13px;
  }

  .home-rate {
    min-width: 220px;
    padding: 0;
    text-align: right;
  }

  .hero strong {
    font-size: 22px;
  }

  .hero span {
    font-size: 13px;
  }

  .toolbar {
    display: grid;
    grid-template-columns: minmax(360px, 560px) 1fr;
    align-items: center;
    gap: 16px;
    margin-top: 14px;
    padding: 14px 16px;
  }

  .home-search {
    margin-top: 14px;
    padding: 14px 16px;
  }

  .rate-line {
    margin-top: 0;
    text-align: right;
  }

  .section-head {
    margin: 20px 2px 12px;
  }

  .section-title {
    font-size: 20px;
  }

  .product-grid,
  .collection-grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 12px;
  }

  .product-card {
    border-radius: 10px;
  }

  .product-body {
    padding: 10px 11px 12px;
  }

  .product-title {
    font-size: 14px;
  }

  .price {
    font-size: 18px;
  }

  .detail-page {
    display: grid;
    grid-template-columns: 520px minmax(0, 1fr);
    grid-template-areas:
      "media title"
      "media spec"
      "media qty"
      "media meta"
      "media desc";
    gap: 10px 24px;
    margin: -10px auto 0;
    padding: 18px 24px 64px;
    background: #fff;
  }

  .detail-back {
    top: 14px;
    left: 14px;
    width: 38px;
    height: 38px;
    font-size: 30px;
  }

  .detail-media {
    grid-area: media;
    align-self: start;
  }

  .cover-wrap {
    overflow: hidden;
    border: 1px solid #edf1f0;
    border-radius: 10px;
    background: #fff;
  }

  .cover-image {
    height: auto;
    aspect-ratio: 1;
    border-radius: 10px;
  }

  .cover-mask {
    display: none;
    padding: 90px 18px 18px;
  }

  .thumb-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 10px 0 0;
    overflow: visible;
    padding: 0;
  }

  .thumb {
    width: 70px;
    height: 70px;
    border-radius: 10px;
  }

  .title-card,
  .spec-card,
  .qty-section,
  .meta-grid,
  .desc-card {
    margin: 0;
  }

  .title-card {
    grid-area: title;
    align-self: start;
    padding: 4px 0 14px;
    border: 0;
    border-bottom: 1px solid #edf1f0;
    border-radius: 0;
    box-shadow: none;
  }

  .category-label {
    color: var(--green);
    font-size: 13px;
  }

  .detail-title {
    margin-top: 6px;
    font-size: 22px;
    line-height: 1.35;
  }

  .price-box {
    margin-top: 14px;
    padding: 0;
    border-radius: 0;
    background: transparent;
  }

  .detail-yen {
    color: var(--green);
    font-size: 28px;
  }

  .spec-card {
    grid-area: spec;
    align-self: start;
    border: 0;
    border-bottom: 1px solid #edf1f0;
    border-radius: 0;
    box-shadow: none;
  }

  .spec-card,
  .qty-section {
    padding: 14px 0;
  }

  .variant-row {
    gap: 10px;
  }

  .variant-button {
    min-width: 112px;
    min-height: 38px;
    border-color: #eceff2;
    border-radius: 10px;
    background: #fff;
  }

  .variant-button.active {
    border-color: var(--green);
    background: var(--green-light);
    color: var(--green);
    box-shadow: inset 0 0 0 1px var(--green);
  }

  .qty-section {
    grid-area: qty;
    align-self: start;
    grid-template-columns: 88px auto auto minmax(0, 1fr) 180px;
    justify-content: start;
    border: 0;
    border-bottom: 1px solid #edf1f0;
    border-radius: 0;
    box-shadow: none;
  }

  .quantity-stepper {
    border-color: #eceff2;
    border-radius: 10px;
  }

  .qty-button {
    width: 38px;
    height: 34px;
    background: #fafafa;
  }

  .qty-input {
    width: 52px;
    height: 34px;
  }

  .detail-subtotal {
    grid-column: 1 / 5;
    justify-content: flex-start;
    padding-top: 2px;
  }

  .detail-inline-cart {
    grid-column: 5;
    grid-row: 2;
    width: 180px;
    min-height: 40px;
    border-radius: 12px;
    font-size: 14px;
  }

  .meta-grid {
    grid-area: meta;
    align-self: start;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .meta-item {
    min-height: 58px;
    padding: 9px 11px;
    border-color: #eceff2;
    background: #fff;
  }

  .deadline-item {
    grid-column: span 2;
  }

  .desc-card {
    grid-area: desc;
    align-self: start;
    padding: 14px 0;
    border: 0;
    border-bottom: 1px solid #edf1f0;
    border-radius: 0;
    box-shadow: none;
  }

  .detail-card {
    border-color: #edf1f0;
  }

  .cart-item {
    align-items: center;
    gap: 16px;
    padding: 14px 16px;
  }

  .cart-item img {
    width: 88px;
    height: 88px;
  }

  .cart-item .row-main {
    display: grid;
    grid-template-columns: minmax(260px, 420px) auto minmax(20px, 1fr) auto;
    align-items: center;
    column-gap: 18px;
  }

  .cart-item .row-title,
  .cart-item .row-meta,
  .cart-item .cart-spec,
  .cart-item .deadline-text,
  .cart-item .cart-price-line {
    grid-column: 1;
  }

  .cart-qty-wrap {
    grid-column: 2;
    grid-row: 1 / span 4;
    margin-top: 0;
  }

  .cart-delete {
    grid-column: 4;
    grid-row: 1 / span 4;
    justify-self: end;
    margin-top: 0;
  }
}
