
:root {
  --pine: #2D5F3F;
  --pine-light: #3A7A52;
  --pine-dark: #1E4029;
  --pine-bg: #D6E5DA;
  --cream: #FAF7F2;
  --cream-dark: #F0EBE3;
  --gold: #C4A265;
  --gold-light: #D4B87A;
  --text-primary: #1A1A1A;
  --text-secondary: #5C5C5C;
  --text-tertiary: #999999;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 2px 16px rgba(45,95,63,0.06);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  font-family: 'Noto Sans SC', sans-serif;
  background: #E8E4DF;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  min-height: 100vh;
  padding: 20px 0;
}

.phone-frame {
  width: 375px;
  height: 812px;
  background: var(--cream);
  border-radius: 36px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  position: relative;
  display: flex;
  flex-direction: column;
}

/* ===== Status Bar ===== */
.status-bar {
  height: 44px;
  padding: 12px 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--cream);
  flex-shrink: 0;
}
.status-bar .time {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
}
.status-bar .icons {
  display: flex;
  gap: 5px;
  align-items: center;
}
.status-bar .icons svg {
  width: 16px;
  height: 16px;
}

/* ===== Top Nav ===== */
.top-nav {
  height: 44px;
  padding: 0 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--cream);
  flex-shrink: 0;
}
.top-nav .back-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-nav .back-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--pine);
}
.top-nav .title {
  font-family: 'Noto Serif SC', serif;
  font-size: 17px;
  font-weight: 600;
  color: var(--pine-dark);
  letter-spacing: 1px;
}
.top-nav .search-btn {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.top-nav .search-btn svg {
  width: 20px;
  height: 20px;
  stroke: var(--pine);
}

/* ===== Scrollable Content ===== */
.scroll-content {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 80px;
}
.scroll-content::-webkit-scrollbar {
  display: none;
}

/* ===== Brand Story Carousel ===== */
.brand-carousel {
  padding: 0 16px;
  margin-bottom: 24px;
}
.carousel-container {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 160px;
}
.carousel-track {
  display: flex;
  width: 300%;
  height: 100%;
  animation: carouselSlide 12s ease-in-out infinite;
}
.carousel-slide {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  padding: 24px 28px;
  position: relative;
}
.carousel-slide:nth-child(1) {
  background: linear-gradient(135deg, #2D5F3F 0%, #1E4029 50%, #3A7A52 100%);
}
.carousel-slide:nth-child(2) {
  background: linear-gradient(135deg, #1E4029 0%, #2D5F3F 50%, #C4A265 100%);
}
.carousel-slide:nth-child(3) {
  background: linear-gradient(135deg, #3A7A52 0%, #1E4029 60%, #2D5F3F 100%);
}
.carousel-slide .slide-deco {
  position: absolute;
  top: 0;
  right: 0;
  width: 120px;
  height: 100%;
  opacity: 0.08;
}
.carousel-slide .slide-subtitle {
  font-family: 'Noto Serif SC', serif;
  font-size: 10px;
  color: rgba(255,255,255,0.6);
  letter-spacing: 3px;
  margin-bottom: 8px;
  text-transform: uppercase;
}
.carousel-slide .slide-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 18px;
  font-weight: 600;
  color: #fff;
  letter-spacing: 2px;
  text-align: center;
  line-height: 1.6;
  margin-bottom: 10px;
}
.carousel-slide .slide-desc {
  font-size: 11px;
  color: rgba(255,255,255,0.7);
  text-align: center;
  line-height: 1.6;
  max-width: 200px;
}
.carousel-dots {
  position: absolute;
  bottom: 12px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 6px;
}
.carousel-dots .dot {
  width: 6px;
  height: 6px;
  border-radius: 3px;
  background: rgba(255,255,255,0.35);
  transition: all 0.3s;
}
.carousel-dots .dot.active {
  width: 18px;
  background: rgba(255,255,255,0.9);
}

@keyframes carouselSlide {
  0%, 28% { transform: translateX(0); }
  33%, 61% { transform: translateX(-33.333%); }
  66%, 94% { transform: translateX(-66.666%); }
  100% { transform: translateX(0); }
}

/* ===== Founder Section ===== */
.founder-section {
  padding: 0 16px;
  margin-bottom: 24px;
}
.founder-card {
  background: #fff;
  border-radius: var(--radius-lg);
  padding: 20px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
}
.founder-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), var(--gold));
}
.founder-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 14px;
}
.founder-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--pine-light), var(--pine-dark));
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.founder-avatar svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.8);
  fill: none;
}
.founder-tag {
  font-size: 9px;
  color: var(--gold);
  background: rgba(196,162,101,0.1);
  padding: 2px 8px;
  border-radius: 10px;
  letter-spacing: 1px;
  font-weight: 500;
}
.founder-info {
  flex: 1;
}
.founder-info .name {
  font-family: 'Noto Serif SC', serif;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 2px;
}
.founder-quote {
  font-size: 13px;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 16px;
  padding-left: 12px;
  border-left: 2px solid var(--gold-light);
  font-style: italic;
}
.founder-quote .author {
  display: block;
  font-style: normal;
  font-size: 11px;
  color: var(--gold);
  margin-top: 6px;
  font-weight: 500;
}
.founder-products {
  display: flex;
  gap: 10px;
}
.founder-product-item {
  flex: 1;
  background: var(--cream);
  border-radius: var(--radius-sm);
  padding: 10px;
  text-align: center;
}
.founder-product-item .fp-img {
  width: 100%;
  height: 52px;
  border-radius: 6px;
  margin-bottom: 6px;
}
.founder-product-item:nth-child(1) .fp-img {
  background: linear-gradient(135deg, #E8D5B7, #D4B87A);
}
.founder-product-item:nth-child(2) .fp-img {
  background: linear-gradient(135deg, #C7DBC4, #3A7A52);
}
.founder-product-item:nth-child(3) .fp-img {
  background: linear-gradient(135deg, #E2C9A8, #C4A265);
}
.founder-product-item .fp-name {
  font-size: 11px;
  color: var(--text-primary);
  margin-bottom: 3px;
  font-weight: 500;
}
.founder-product-item .fp-price {
  font-size: 12px;
  color: var(--pine);
  font-weight: 700;
}

/* ===== Sub Mall Tabs ===== */
.sub-tabs {
  padding: 0 16px;
  margin-bottom: 24px;
}
.sub-tabs-inner {
  display: flex;
  gap: 0;
  border-bottom: 1px solid var(--cream-dark);
}
.sub-tab {
  flex: 1;
  text-align: center;
  padding: 10px 0;
  font-size: 13px;
  color: var(--text-tertiary);
  position: relative;
  cursor: pointer;
  transition: color 0.2s;
  white-space: nowrap;
}
.sub-tab.active {
  color: var(--pine);
  font-weight: 600;
}
.sub-tab.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 24px;
  height: 2.5px;
  background: var(--pine);
  border-radius: 2px;
}

/* ===== Traceability Section ===== */
.trace-section {
  padding: 0 16px;
  margin-bottom: 28px;
}
.section-title-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 14px;
}
.section-title {
  font-family: 'Noto Serif SC', serif;
  font-size: 19px;
  font-weight: 600;
  color: var(--pine-dark);
  letter-spacing: 1px;
}
.section-title-en {
  font-size: 9px;
  color: var(--text-tertiary);
  letter-spacing: 2px;
  text-transform: uppercase;
}
.section-more {
  font-size: 12px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 2px;
}
.section-more svg {
  width: 14px;
  height: 14px;
}
.trace-card {
  display: flex;
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  margin-bottom: 12px;
  position: relative;
}
.trace-card-img {
  width: 120px;
  min-height: 100px;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.trace-card:nth-child(1) .trace-card-img {
  background: linear-gradient(160deg, #E8D5B7 0%, #D4B87A 50%, #C4A265 100%);
}
.trace-card:nth-child(2) .trace-card-img {
  background: linear-gradient(160deg, #F0DFC0 0%, #D4A855 50%, #B8873A 100%);
}
.trace-card-img svg {
  width: 40px;
  height: 40px;
  stroke: rgba(255,255,255,0.6);
  fill: none;
  stroke-width: 1.5;
}
.trace-card-body {
  flex: 1;
  padding: 14px 14px 14px 14px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.trace-origin {
  font-size: 10px;
  color: var(--gold);
  letter-spacing: 1px;
  margin-bottom: 4px;
  font-weight: 500;
}
.trace-name {
  font-family: 'Noto Serif SC', serif;
  font-size: 16px;
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 6px;
}
.trace-desc {
  font-size: 11px;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 8px;
}
.trace-link {
  font-size: 11px;
  color: var(--pine);
  display: flex;
  align-items: center;
  gap: 3px;
  font-weight: 500;
}
.trace-link svg {
  width: 12px;
  height: 12px;
}

/* ===== Category Section ===== */
.category-section {
  padding: 0 0 0 16px;
  margin-bottom: 24px;
}
.category-scroll {
  display: flex;
  gap: 18px;
  overflow-x: auto;
  padding-right: 16px;
  padding-bottom: 4px;
}
.category-scroll::-webkit-scrollbar {
  display: none;
}
.category-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}
.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.2s;
}
.category-item:nth-child(1) .category-icon {
  background: linear-gradient(135deg, var(--pine), var(--pine-light));
}
.category-item:nth-child(2) .category-icon {
  background: linear-gradient(135deg, #E8D5B7, #D4B87A);
}
.category-item:nth-child(3) .category-icon {
  background: linear-gradient(135deg, #C7DBC4, #90BE8E);
}
.category-item:nth-child(4) .category-icon {
  background: linear-gradient(135deg, #F0DFC0, #E2C9A8);
}
.category-item:nth-child(5) .category-icon {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
}
.category-icon svg {
  width: 24px;
  height: 24px;
  stroke: rgba(255,255,255,0.9);
  fill: none;
  stroke-width: 1.5;
}
.category-label {
  font-size: 11px;
  color: var(--text-primary);
  white-space: nowrap;
  font-weight: 400;
}
.category-item:first-child .category-label {
  color: var(--pine);
  font-weight: 600;
}

/* ===== Product Grid ===== */
.product-grid {
  padding: 0 16px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}
.product-card {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
}
.product-img {
  width: 100%;
  height: 150px;
  position: relative;
}
.product-card:nth-child(1) .product-img {
  background: linear-gradient(160deg, #F5E6D0, #E8D5B7, #D4B87A);
}
.product-card:nth-child(2) .product-img {
  background: linear-gradient(160deg, #D4E8D0, #A8D4A0, #7BB876);
}
.product-card:nth-child(3) .product-img {
  background: linear-gradient(160deg, #F0DFC0, #E2C9A8, #C4A265);
}
.product-card:nth-child(4) .product-img {
  background: linear-gradient(160deg, #E0D0C0, #C8B8A0, #A89880);
}
.product-card:nth-child(5) .product-img {
  background: linear-gradient(160deg, #D0E0D8, #A0C8B8, #78A898);
}
.product-card:nth-child(6) .product-img {
  background: linear-gradient(160deg, #E8D8C8, #D4C0A8, #C4A888);
}
.product-img .img-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.product-img .img-icon svg {
  width: 36px;
  height: 36px;
  stroke: rgba(255,255,255,0.5);
  fill: none;
  stroke-width: 1.2;
}
.product-tag {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 9px;
  color: #fff;
  background: rgba(45,95,63,0.75);
  padding: 2px 7px;
  border-radius: 4px;
  backdrop-filter: blur(4px);
  letter-spacing: 0.5px;
}
.product-body {
  padding: 12px;
}
.product-name {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-primary);
  margin-bottom: 3px;
  line-height: 1.4;
}
.product-spec {
  font-size: 11px;
  color: var(--text-tertiary);
  margin-bottom: 8px;
}
.product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.product-price {
  font-size: 16px;
  font-weight: 700;
  color: var(--pine);
}
.product-price .yen {
  font-size: 11px;
  font-weight: 500;
}
.add-btn {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--pine);
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  cursor: pointer;
}
.add-btn svg {
  width: 14px;
  height: 14px;
  stroke: #fff;
  stroke-width: 2;
}

/* ===== Bottom Tab Bar ===== */
.bottom-tab-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 72px;
  background: #fff;
  border-top: 1px solid var(--cream-dark);
  display: flex;
  align-items: flex-start;
  padding-top: 8px;
  padding-bottom: 20px;
}
.tab-item {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  cursor: pointer;
}
.tab-item svg {
  width: 22px;
  height: 22px;
  stroke: var(--text-tertiary);
  fill: none;
  stroke-width: 1.5;
}
.tab-item .tab-label {
  font-size: 10px;
  color: var(--text-tertiary);
}
.tab-item.active svg {
  stroke: var(--pine);
}
.tab-item.active .tab-label {
  color: var(--pine);
  font-weight: 600;
}

/* v7 tab 链接化补丁 */
.tab-bar a,.bottom-tab-bar a{text-decoration:none;color:inherit;-webkit-tap-highlight-color:transparent}

a { color: inherit; text-decoration: none; }
button, input, select, textarea { font-family: inherit; }
button { border: none; background: none; cursor: pointer; }

body {
  padding: 0;
  background: #E8E4DF;
  align-items: stretch;
}
.phone-frame {
  width: min(480px, 100%);
  height: 100vh;
  height: 100dvh;
  margin: 0 auto;
  border-radius: 0;
  box-shadow: none;
}
.status-bar { display: none; }
.scroll-content { -webkit-overflow-scrolling: touch; }
.bottom-tab-bar {
  position: absolute;
  z-index: 20;
}
.top-nav .nav-tools { display: flex; align-items: center; gap: 2px; }
.icon-btn {
  width: 32px; height: 32px; display: flex; align-items: center; justify-content: center; position: relative;
}
.icon-btn svg { width: 20px; height: 20px; stroke: var(--pine); fill: none; stroke-width: 1.8; }
.cart-badge {
  position: absolute; top: 0; right: 0; min-width: 15px; height: 15px; padding: 0 4px;
  border-radius: 8px; background: #B5493A; color: #fff; font-size: 9px; line-height: 15px; text-align: center;
}
.sub-tab { display: block; }
.category-item { text-decoration: none; }
.category-item.on .category-label { color: var(--pine); font-weight: 600; }
.category-item:nth-child(6) .category-icon { background: linear-gradient(135deg, #8E7CC3, #B4A7D6); }
.category-item:nth-child(7) .category-icon { background: linear-gradient(135deg, #5B8AA0, #8FB4C6); }
.category-item:nth-child(8) .category-icon { background: linear-gradient(135deg, #C07840, #E0B080); }
.category-item:nth-child(9) .category-icon { background: linear-gradient(135deg, #3A7A52, #7BB876); }
.product-card { display: flex; flex-direction: column; }
.product-img { display: block; }
.product-img img.cover { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hue-0 { background: linear-gradient(160deg, #F5E6D0, #E8D5B7, #D4B87A); }
.hue-1 { background: linear-gradient(160deg, #D4E8D0, #A8D4A0, #7BB876); }
.hue-2 { background: linear-gradient(160deg, #F0DFC0, #E2C9A8, #C4A265); }
.hue-3 { background: linear-gradient(160deg, #E0D0C0, #C8B8A0, #A89880); }
.hue-4 { background: linear-gradient(160deg, #D0E0D8, #A0C8B8, #78A898); }
.hue-5 { background: linear-gradient(160deg, #E8D8C8, #D4C0A8, #C4A888); }
.product-card:nth-child(n) .product-img.hue-0,
.product-card:nth-child(n) .product-img.hue-1,
.product-card:nth-child(n) .product-img.hue-2,
.product-card:nth-child(n) .product-img.hue-3,
.product-card:nth-child(n) .product-img.hue-4,
.product-card:nth-child(n) .product-img.hue-5 { background: none; }
.product-img.hue-0 { background: linear-gradient(160deg, #F5E6D0, #E8D5B7, #D4B87A) !important; }
.product-img.hue-1 { background: linear-gradient(160deg, #D4E8D0, #A8D4A0, #7BB876) !important; }
.product-img.hue-2 { background: linear-gradient(160deg, #F0DFC0, #E2C9A8, #C4A265) !important; }
.product-img.hue-3 { background: linear-gradient(160deg, #E0D0C0, #C8B8A0, #A89880) !important; }
.product-img.hue-4 { background: linear-gradient(160deg, #D0E0D8, #A0C8B8, #78A898) !important; }
.product-img.hue-5 { background: linear-gradient(160deg, #E8D8C8, #D4C0A8, #C4A888) !important; }
.filter-bar {
  margin: 0 16px 12px; font-size: 12px; color: var(--pine);
  display: flex; justify-content: space-between; align-items: center;
}
.flash {
  margin: 0 16px 12px; padding: 10px 12px; border-radius: 10px; font-size: 13px; line-height: 1.5;
}
.flash.ok { background: #E6F0E9; color: #1E4029; }
.flash.err { background: #F6E3DF; color: #8C3A30; }
.empty { text-align: center; color: var(--text-tertiary); padding: 36px 16px; font-size: 13px; }
.card {
  background: #fff; border-radius: var(--radius-md); margin: 0 16px 12px; padding: 14px 14px;
  box-shadow: var(--shadow);
}
.card h3 { font-size: 15px; margin-bottom: 8px; color: var(--pine-dark); }
.muted { color: var(--text-tertiary); font-size: 12px; line-height: 1.6; }
.price { color: var(--pine); font-weight: 700; }
.price em { font-style: normal; font-size: 12px; font-weight: 500; }
.old { color: var(--text-tertiary); text-decoration: line-through; font-size: 12px; margin-left: 6px; font-weight: 400; }
.tag {
  display: inline-block; font-size: 10px; color: #fff; background: rgba(45,95,63,.8);
  border-radius: 4px; padding: 2px 6px; margin-right: 4px;
}
.tag.gold { background: rgba(196,162,101,.95); }
.row { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.field { margin: 0 16px 12px; }
.field label { display: block; font-size: 12px; color: var(--text-tertiary); margin-bottom: 6px; }
.field input, .field textarea, .field select {
  width: 100%; border: 1px solid var(--cream-dark); background: #fff; border-radius: 12px;
  padding: 12px 14px; font-size: 14px; color: var(--text-primary); outline: none;
}
.field textarea { min-height: 88px; resize: vertical; }
.field input:focus, .field textarea:focus, .field select:focus { border-color: var(--pine); }
.btn {
  display: block; width: calc(100% - 32px); margin: 8px 16px; text-align: center;
  background: var(--pine); color: #fff; border-radius: 24px; padding: 13px 16px;
  font-size: 15px; font-weight: 600; letter-spacing: 1px;
}
.btn.ghost { background: #fff; color: var(--pine); border: 1px solid var(--pine); }
.btn.gold { background: var(--gold); color: #fff; }
.btn.small, .btn-inline {
  display: inline-flex; align-items: center; justify-content: center;
  width: auto; margin: 0; padding: 8px 14px; border-radius: 16px; font-size: 13px;
  background: var(--pine); color: #fff;
}
.btn-inline.ghost { background: #fff; color: var(--pine); border: 1px solid var(--cream-dark); }
.qty {
  display: inline-flex; align-items: center; border: 1px solid var(--cream-dark); border-radius: 16px; overflow: hidden;
}
.qty button { width: 28px; height: 28px; color: var(--pine); font-size: 16px; }
.qty span { min-width: 22px; text-align: center; font-size: 13px; }
.hero-img { height: 240px; position: relative; }
.hero-img img.cover { width: 100%; height: 100%; object-fit: cover; display: block; }
.hero-gallery { display: flex; height: 100%; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; }
.hero-gallery::-webkit-scrollbar { display: none; }
.hero-gallery img { flex: 0 0 100%; width: 100%; height: 100%; object-fit: cover; scroll-snap-align: start; }
.hero-count { position: absolute; right: 12px; bottom: 12px; background: rgba(0,0,0,.45); color: #fff; font-size: 12px; border-radius: 12px; padding: 2px 8px; }
.pad { padding: 16px; }
.notice {
  margin: 0 16px 12px; background: rgba(45,95,63,.06); border: 1px solid rgba(45,95,63,.14);
  border-radius: 10px; padding: 9px 13px; font-size: 11px; color: #2D5F3F; line-height: 1.6;
}
.pay-opt { display: flex; align-items: center; gap: 8px; padding: 10px 0; border-bottom: 1px solid var(--cream-dark); font-size: 14px; }
.pay-opt:last-child { border-bottom: 0; }
.addr-item { padding: 10px 0; border-bottom: 1px solid var(--cream-dark); }
.addr-item:last-child { border-bottom: 0; }
.steps { display: flex; gap: 8px; overflow-x: auto; padding: 0 16px 12px; }
.steps a {
  flex-shrink: 0; font-size: 12px; padding: 6px 12px; border-radius: 14px; background: #fff; color: var(--text-secondary);
}
.steps a.on { background: var(--pine); color: #fff; }
.kv { display: flex; justify-content: space-between; font-size: 13px; padding: 6px 0; color: var(--text-secondary); }
.kv b { color: var(--text-primary); font-weight: 600; }
.me-head {
  margin: 8px 16px 16px; padding: 18px; border-radius: var(--radius-lg);
  background: linear-gradient(145deg, #2D5F3F, #1E4029); color: #fff;
}
.me-head .nm { font-size: 18px; font-weight: 650; letter-spacing: 1px; }
.me-stats { display: flex; margin-top: 14px; }
.me-stats div { flex: 1; }
.me-stats b { display: block; font-size: 18px; }
.me-stats span { font-size: 11px; opacity: .75; }
.menu a {
  display: flex; justify-content: space-between; align-items: center;
  padding: 14px 4px; border-bottom: 1px solid var(--cream-dark); font-size: 14px;
}
.detail-text { font-size: 13px; color: var(--text-secondary); line-height: 1.8; white-space: pre-wrap; }
.detail-rich { font-size: 13px; color: var(--text-secondary); line-height: 1.8; margin-top: 8px; }
.detail-rich p { margin: 0 0 8px; }
.detail-rich img { max-width: 100%; height: auto; border-radius: 8px; display: block; margin: 8px 0; }
.detail-rich h2, .detail-rich h3 { color: var(--text-primary); font-size: 16px; margin: 12px 0 6px; }
.bottom-buy {
  position: absolute; left: 0; right: 0; bottom: 72px; display: flex; gap: 8px;
  padding: 8px 12px; background: #fff; border-top: 1px solid var(--cream-dark);
}
.bottom-buy { z-index: 30; }
.bottom-buy .btn { width: auto; flex: 1; margin: 0; padding: 11px 8px; }
.category-item:first-child .category-label { color: var(--text-primary); font-weight: 400; }
.category-item.on .category-label { color: var(--pine); font-weight: 600; }
.with-buy { padding-bottom: 64px; }
