:root {
  --bg: #fefcf8;
  --white: #ffffff;
  --ink: #000000;
  --ink-soft: #947a62;
  --brown: #c16c44;
  --brown-dark: #503c2d;
  --line: #e4d4c0;
  --cream: #f6eee4;
  --cream-soft: #faf6f0;
  --gold: #d6af82;
  --footer-bg: #3a2a20;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Inter, "PingFang SC", "Microsoft YaHei", sans-serif;
  background: var(--bg);
  color: var(--ink);
}

a {
  text-decoration: none;
}

.page-wrap {
  width: min(1406px, 100% - 40px);
  margin: 0 auto;
}

.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--ink);
  box-shadow: 0 2px 20px rgba(58, 42, 32, 0.08);
  position: sticky;
  top: 0;
  z-index: 10;
}

.navbar-row {
  min-height: 65px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.brand {
  font-size: 18px;
  line-height: 28px;
  font-weight: 700;
}

.main-nav {
  margin: 0;
  padding: 0;
  list-style: none;
  display: flex;
  align-items: center;
  gap: 4px;
}

.main-nav li a {
  display: block;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink);
  border-radius: 10px;
}

.main-nav li.active a {
  background: var(--cream);
  color: var(--brown);
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 10px;
}

.search-box {
  width: 192px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--cream-soft);
  display: flex;
  align-items: center;
  padding: 0 12px 0 8px;
  gap: 8px;
}

.search-box input {
  border: 0;
  background: transparent;
  width: 100%;
  color: #999;
  font-size: 14px;
  outline: 0;
}

.icon-btn {
  width: 40px;
  height: 40px;
  border: 0;
  border-radius: 10px;
  background: transparent;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.badge-dot {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 16px;
  height: 16px;
  background: var(--brown);
  color: var(--white);
  border-radius: 50%;
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
}

.login-btn {
  border: 0;
  background: var(--brown);
  color: var(--white);
  border-radius: 10px;
  padding: 8px 16px;
  font-size: 14px;
  line-height: 20px;
}

.main-content {
  padding-top: 42px;
  padding-bottom: 56px;
}

.hero-row {
  display: grid;
  grid-template-columns: 324px 520px 417px;
  column-gap: 38px;
  align-items: start;
}

.hero-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--cream);
  padding: 59px 57px 26px;
  min-height: 326px;
  position: relative;
  overflow: hidden;
}

.hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  border: 0;
  background: transparent;
  width: 24px;
  height: 24px;
  font-size: 28px;
  line-height: 20px;
  color: #6d5a47;
  z-index: 2;
  padding: 0;
}

.hero-prev {
  left: 20px;
}

.hero-next {
  right: 20px;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--brown);
  color: var(--white);
  border-radius: 999px;
  padding: 8px 12px;
  font-size: 12px;
  line-height: 16px;
}

.hero-card h1 {
  margin: 12px 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.hero-card p {
  margin: 0 0 32px;
  color: var(--ink-soft);
  font-size: 18px;
  line-height: 28px;
  letter-spacing: 0.01em;
}

.hero-visual {
  position: absolute;
  right: 84px;
  top: 116px;
  font-size: 96px;
  opacity: 0.9;
}

.hero-actions {
  display: flex;
  gap: 12px;
  position: relative;
  z-index: 1;
}

.btn-main,
.btn-ghost {
  min-width: 114px;
  height: 50px;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 24px;
}

.btn-main {
  background: var(--brown);
  color: var(--white);
}

.btn-ghost {
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink);
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 24px;
}

.hero-dots span {
  display: inline-block;
  width: 12px;
  height: 6px;
  border-radius: 999px;
  background: #e6dfd5;
}

.hero-dots span.active {
  width: 24px;
  background: var(--brown);
}

.benefit-card {
  background: transparent;
}

.benefit-list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 12px;
}

.benefit-list li {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 62px;
  padding: 13px 17px;
}

.benefit-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.benefit-list strong {
  display: block;
  margin-bottom: 2px;
  font-size: 14px;
  line-height: 20px;
}

.benefit-list small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.category-section,
.product-section {
  margin-top: 42px;
}

.category-side {
  margin-top: 0;
  margin-left: 11px;
}

.category-side .category-grid {
  grid-template-columns: repeat(4, 96px);
  gap: 12px;
  justify-content: start;
}

.category-side .category-item {
  min-height: 102px;
  padding: 13px 4px 10px;
}

.section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 18px;
}

.section-head h2 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 28px;
  font-weight: 700;
}

.more-link {
  color: var(--brown);
  font-size: 14px;
  line-height: 20px;
}

.more-link::after {
  content: "→";
  margin-left: 8px;
}

.category-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
}

.category-item {
  min-height: 102px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  text-align: center;
  padding: 13px 4px 10px;
}

.category-item span {
  display: block;
  font-size: 32px;
  line-height: 48px;
}

.category-item h3 {
  margin: 4px 0 0;
  font-size: 12px;
  line-height: 16px;
  font-weight: 400;
}

.category-item p {
  margin: 2px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.title-with-tag {
  display: flex;
  align-items: center;
  gap: 8px;
}

.hot-tag {
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  font-size: 12px;
  line-height: 16px;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.product-section {
  margin-top: 16px;
}

.product-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 0 12px 12px;
}

.product-cover {
  height: 192px;
  border-radius: 0 0 12px 12px;
  background: var(--cream);
  display: grid;
  place-items: center;
  position: relative;
}

.product-cover span {
  font-size: 48px;
  opacity: 0.6;
}

.product-cover em {
  position: absolute;
  top: 8px;
  left: 8px;
  padding: 2px 8px;
  border-radius: 8px;
  background: var(--brown);
  color: var(--white);
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
}

.product-card h3 {
  margin: 12px 0 6px;
  font-size: 14px;
  line-height: 20px;
  font-weight: 400;
}

.meta {
  margin: 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
  display: flex;
  justify-content: space-between;
}

.price {
  margin: 10px 0 12px;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.price strong {
  color: var(--brown);
  font-size: 16px;
  line-height: 24px;
  font-weight: 400;
}

.price del {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.action-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.action-row a,
.action-row button {
  height: 38px;
  border-radius: 10px;
  font-size: 12px;
  line-height: 16px;
  border: 1px solid var(--line);
}

.action-row a {
  color: var(--ink);
  display: grid;
  place-items: center;
}

.action-row button {
  border: 0;
  background: var(--brown);
  color: var(--white);
}

.culture-box {
  margin-top: 24px;
  border-radius: 14px;
  background: var(--cream);
  min-height: 234px;
  padding: 33px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.culture-kicker {
  margin: 0 0 4px;
  color: var(--brown);
  font-size: 12px;
  line-height: 16px;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.culture-copy h2 {
  margin: 0 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 32px;
}

.culture-copy p {
  margin: 0;
  max-width: 448px;
  font-size: 16px;
  line-height: 24px;
  color: var(--ink-soft);
}

.culture-copy a {
  margin-top: 14px;
  width: 156px;
  height: 44px;
  border-radius: 14px;
  background: var(--brown);
  color: var(--white);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 14px;
}

.culture-art {
  width: 132px;
  height: 96px;
  opacity: 0.4;
  display: grid;
  place-items: center;
  font-size: 96px;
}

.site-footer {
  background: var(--footer-bg);
}

.footer-main {
  padding: 40px 32px 28px;
  display: flex;
  justify-content: space-between;
  gap: 40px;
}

.brand-badge {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  background: var(--brown);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

.footer-brand h3 {
  margin: 8px 0 16px;
  color: var(--cream);
  font-size: 16px;
  line-height: 24px;
  font-weight: 700;
}

.footer-brand p {
  margin: 0;
  max-width: 308px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.footer-nav-wrap {
  display: flex;
  gap: 48px;
}

.footer-nav-wrap h4 {
  margin: 0 0 12px;
  color: var(--gold);
  font-size: 14px;
  line-height: 20px;
  font-weight: 600;
}

.footer-nav-wrap a {
  display: block;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 6px;
}

.footer-bottom {
  border-top: 1px solid var(--brown-dark);
  color: var(--ink-soft);
  text-align: center;
  padding: 24px 0 20px;
  font-size: 12px;
  line-height: 16px;
}

.product-list-page .main-content {
  padding-top: 24px;
  padding-bottom: 72px;
}

.brand-branding {
  display: flex;
  align-items: center;
  gap: 8px;
}

.brand-pill {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--brown);
  color: var(--white);
  display: inline-grid;
  place-items: center;
  font-size: 12px;
  line-height: 16px;
  font-weight: 700;
}

/* 统一页头宽度，避免商品分类页导航位移 */
.product-list-page .search-box {
  width: 192px;
}

.product-list-page .pl-headline {
  margin: 0 0 20px;
}

.product-list-page .pl-headline h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
  color: var(--ink);
}

.product-list-page .pl-headline p {
  margin: 4px 0 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-soft);
}

.product-list-page .pl-filter-wrap {
  margin-bottom: 20px;
}

.product-list-page .pl-filter-card {
  width: 1342px;
  max-width: 100%;
  min-height: 116px;
  border: 1px solid var(--line);
  border-radius: 16px;
  box-shadow: 0 2px 12px rgba(193, 108, 68, 0.12);
  background: var(--white);
  padding: 16px;
}

.product-list-page .pl-filter-row {
  display: flex;
  align-items: center;
  gap: 8px;
}

.product-list-page .pl-filter-row + .pl-filter-row {
  margin-top: 14px;
}

.product-list-page .pl-filter-label {
  flex-shrink: 0;
  font-size: 14px;
  line-height: 20px;
  color: var(--ink-soft);
}

.product-list-page .pl-chip-group {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.product-list-page .pl-chip {
  min-width: 80px;
  height: 28px;
  border: 0;
  border-radius: 10px;
  padding: 0 12px;
  background: transparent;
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
}

.product-list-page .pl-chip.is-active {
  background: var(--cream);
}

.product-list-page .pl-input-wrap {
  width: 324px;
  height: 38px;
  border-radius: 10px;
  background: var(--cream);
  margin: 0;
  display: flex;
  align-items: center;
  padding: 0 12px;
  gap: 8px;
}

.product-list-page .pl-input-wrap input {
  border: 0;
  background: transparent;
  width: 100%;
  font-size: 14px;
  color: #999;
  outline: 0;
}

.product-list-page .pl-search-icon {
  color: #8f7c68;
}

.product-list-page .pl-price-input {
  width: 154px;
  height: 38px;
  margin: 0;
}

.product-list-page .pl-price-input input {
  width: 100%;
  height: 100%;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  font-size: 14px;
  color: #999;
  outline: 0;
  background: var(--white);
}

.product-list-page .pl-sep {
  width: 26px;
  text-align: center;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.product-list-page .pl-tool-btn {
  height: 38px;
  border: 1px solid var(--ink);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  padding: 0 12px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.product-list-page .pl-products {
  margin-top: 10px;
}

.product-list-page .product-grid-list {
  grid-template-columns: repeat(4, 324px);
  justify-content: space-between;
  gap: 18px 0;
}

.product-list-page .product-card {
  width: 324px;
  min-height: 350px;
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0 12px 12px;
}

.product-list-page .product-cover {
  height: 176px;
  border-radius: 10px;
  background: var(--cream);
}

.product-list-page .product-card h3 {
  margin: 12px 0 6px;
  font-size: 14px;
  line-height: 20px;
}

.product-list-page .meta {
  font-size: 14px;
  line-height: 20px;
}

.product-list-page .price {
  margin: 12px 0;
}

.product-list-page .action-row {
  grid-template-columns: 147px 147px;
  justify-content: space-between;
}

.product-list-page .action-row a,
.product-list-page .action-row button {
  height: 38px;
}

.product-list-page .pl-pagination {
  margin-top: 24px;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
}

.product-list-page .page-btn,
.product-list-page .page-num {
  min-width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  color: var(--ink);
  font-size: 14px;
  line-height: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 12px;
}

.product-list-page .page-num.active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.culture-page .main-content,
.community-page .main-content {
  padding-top: 24px;
}

.culture-page .culture-head h1,
.community-page .community-head h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 32px;
  font-weight: 700;
}

.culture-page .culture-head p,
.community-page .community-head p {
  margin: 4px 0 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.culture-page .culture-feature {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 842px 484px;
  justify-content: space-between;
  gap: 16px;
}

.culture-feature-main {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(193, 108, 68, 0.12);
  padding: 24px;
}

.culture-chip {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 10px;
  background: var(--brown);
  color: var(--white);
  font-size: 12px;
  line-height: 16px;
}

.culture-feature-main h2 {
  margin: 12px 0 10px;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 36px;
}

.culture-feature-main p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 24px;
}

.culture-meta {
  margin: 14px 0 18px;
  display: flex;
  gap: 22px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.culture-main-btn {
  display: inline-block;
  border-radius: 14px;
  padding: 12px 20px;
  background: var(--brown);
  color: var(--white);
  font-size: 14px;
}

.culture-course-panel {
  border-radius: 16px;
  border: 1px solid var(--line);
  background: var(--cream);
  padding: 20px;
}

.culture-course-title {
  font-size: 16px;
  line-height: 24px;
  font-weight: 600;
  margin-bottom: 10px;
}

.course-item {
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 14px;
  margin-bottom: 10px;
}

.course-item:last-child {
  margin-bottom: 0;
}

.course-item h3 {
  margin: 0 0 4px;
  font-size: 14px;
  line-height: 20px;
}

.course-item p {
  margin: 0 0 10px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.course-item div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 16px;
}

.course-item a {
  color: var(--brown);
}

.culture-tabs {
  margin-top: 20px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.culture-tabs button {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--white);
  height: 38px;
  padding: 0 16px;
  font-size: 14px;
  color: var(--ink-soft);
}

.culture-tabs button.is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.culture-search {
  margin-left: auto;
  width: 266px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.culture-search input {
  border: 0;
  width: 100%;
  outline: 0;
  background: transparent;
  font-size: 14px;
  color: #999;
}

.culture-article-grid {
  margin-top: 20px;
  display: grid;
  grid-template-columns: repeat(3, 438px);
  justify-content: space-between;
  gap: 16px 0;
}

.culture-article-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 12px;
}

.article-cover {
  height: 176px;
  border-radius: 10px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 48px;
}

.article-type {
  display: inline-block;
  margin-top: 10px;
  font-size: 12px;
  line-height: 16px;
  color: var(--brown);
}

.culture-article-card h3 {
  margin: 8px 0 8px;
  font-size: 16px;
  line-height: 24px;
}

.article-brief {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
  display: flex;
  gap: 12px;
  margin-bottom: 10px;
}

.culture-article-card a {
  display: inline-block;
  height: 38px;
  line-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 16px;
  color: var(--ink);
}

.community-page .community-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.community-post-btn {
  display: inline-block;
  height: 44px;
  line-height: 44px;
  border-radius: 14px;
  background: var(--brown);
  color: var(--white);
  padding: 0 20px;
  font-size: 14px;
}

.community-filter-bar {
  margin-top: 20px;
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
  background: var(--white);
}

.community-filter-bar button {
  height: 38px;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: var(--white);
  color: var(--ink-soft);
  padding: 0 14px;
  font-size: 14px;
}

.community-filter-bar .is-active {
  background: var(--brown);
  border-color: var(--brown);
  color: var(--white);
}

.community-filter-bar .outline {
  color: var(--ink);
  border-color: var(--ink);
}

.community-search {
  margin-left: auto;
  width: 220px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 0 12px;
}

.community-search input {
  border: 0;
  width: 100%;
  background: transparent;
  outline: 0;
  font-size: 14px;
  color: #999;
}

.community-layout {
  margin-top: 18px;
  display: grid;
  grid-template-columns: 930px 394px;
  justify-content: space-between;
  align-items: start;
}

.community-post-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 18px;
  margin-bottom: 14px;
}

.community-post-card.is-pinned {
  border-color: #d6af82;
}

.post-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.post-author {
  display: flex;
  align-items: center;
  gap: 8px;
}

.post-author span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.post-author strong {
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.post-author em {
  font-style: normal;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-soft);
}

.post-date {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-soft);
}

.post-date b {
  color: var(--brown);
  margin-left: 6px;
}

.community-post-card h3 {
  margin: 0 0 8px;
  font-size: 18px;
  line-height: 28px;
}

.community-post-card p {
  margin: 0;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 22px;
}

.post-tags {
  margin-top: 12px;
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.post-tags span {
  background: var(--cream);
  color: var(--brown);
  border-radius: 8px;
  padding: 4px 8px;
  font-size: 12px;
  line-height: 16px;
}

.post-actions {
  margin-top: 12px;
  display: flex;
  align-items: center;
  gap: 16px;
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-soft);
}

.post-actions a {
  margin-left: auto;
  color: var(--brown);
}

.community-side .side-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  padding: 16px;
  margin-bottom: 14px;
}

.community-side h4 {
  margin: 0 0 10px;
  font-size: 16px;
  line-height: 24px;
}

.community-side ol {
  margin: 0;
  padding: 0;
  list-style: none;
}

.community-side li {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 8px;
}

.community-side li span {
  width: 20px;
  color: var(--brown);
  font-size: 12px;
}

.community-side li a {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.side-user {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 10px;
}

.side-user span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.side-user strong {
  display: block;
  font-size: 14px;
  line-height: 20px;
}

.side-user small {
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.detail-page .main-content,
.cart-page .main-content,
.checkout-page .main-content {
  padding-top: 24px;
}

.detail-breadcrumb {
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
  margin-bottom: 14px;
}

.detail-main {
  display: grid;
  grid-template-columns: 640px 686px;
  justify-content: space-between;
  gap: 16px;
}

.detail-gallery,
.detail-info,
.detail-desc,
.cart-table-wrap,
.cart-summary .summary-card,
.checkout-card,
.checkout-side .summary-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(193, 108, 68, 0.12);
}

.detail-gallery {
  padding: 16px;
}

.detail-main-image {
  height: 420px;
  border-radius: 14px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 120px;
}

.detail-thumbs {
  margin-top: 12px;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 8px;
}

.detail-thumbs button {
  height: 74px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 26px;
}

.detail-thumbs .active {
  border-color: var(--brown);
}

.detail-info {
  padding: 20px;
}

.detail-info h1 {
  margin: 0;
  font-size: 28px;
  line-height: 38px;
  font-family: "Noto Serif SC", serif;
}

.detail-rating {
  margin-top: 10px;
  display: flex;
  gap: 10px;
  align-items: center;
  color: var(--ink-soft);
  font-size: 14px;
}

.detail-rating strong {
  color: var(--brown);
}

.detail-price-box {
  margin-top: 16px;
  border-radius: 14px;
  background: var(--cream);
  padding: 14px 16px;
}

.detail-price-box div {
  display: flex;
  align-items: center;
  gap: 10px;
}

.detail-price-box b {
  color: var(--brown);
  font-size: 36px;
  line-height: 40px;
  font-weight: 700;
}

.detail-price-box del {
  color: var(--ink-soft);
  font-size: 16px;
}

.detail-price-box span {
  background: var(--brown);
  color: var(--white);
  border-radius: 999px;
  padding: 2px 8px;
  font-size: 12px;
}

.detail-price-box p {
  margin: 8px 0 0;
  color: #d34040;
  font-size: 14px;
}

.detail-options {
  margin-top: 16px;
}

.detail-row {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-row label {
  width: 64px;
  margin: 0;
  font-size: 14px;
  color: var(--ink-soft);
}

.chips {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.chips button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.chips button.active {
  border-color: var(--brown);
  color: var(--brown);
}

.qty-box {
  width: 110px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 10px;
}

.qty-box button {
  border: 0;
  background: transparent;
  color: var(--ink-soft);
}

.detail-row small {
  color: var(--ink-soft);
}

.detail-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}

.btn-outline-main,
.btn-solid-main {
  width: 180px;
  height: 50px;
  border-radius: 14px;
  font-size: 16px;
}

.btn-outline-main {
  border: 1px solid var(--brown);
  color: var(--brown);
  background: var(--white);
}

.btn-solid-main {
  border: 0;
  color: var(--white);
  background: var(--brown);
}

.detail-guarantee {
  margin: 16px 0 0;
  padding: 0;
  list-style: none;
  display: flex;
  gap: 16px;
  color: var(--ink-soft);
  font-size: 14px;
}

.detail-desc {
  margin-top: 16px;
  padding: 0;
}

.detail-tabs {
  border-bottom: 1px solid var(--line);
  display: flex;
  gap: 8px;
  padding: 0 16px;
}

.detail-tabs button {
  height: 52px;
  border: 0;
  background: transparent;
  font-size: 16px;
  color: var(--ink-soft);
}

.detail-tabs .active {
  color: var(--brown);
  border-bottom: 2px solid var(--brown);
}

.detail-desc-content {
  padding: 18px 16px 22px;
}

.detail-desc-content h3 {
  margin: 0 0 8px;
  font-size: 20px;
}

.detail-desc-content p {
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 16px;
  line-height: 26px;
}

.detail-desc-content ul {
  margin: 0;
  padding-left: 20px;
  color: var(--ink-soft);
}

.cart-head {
  display: flex;
  gap: 8px;
  align-items: baseline;
  margin-bottom: 16px;
}

.cart-head h1 {
  margin: 0;
  font-size: 24px;
  font-family: "Noto Serif SC", serif;
}

.cart-head p {
  margin: 0;
  color: var(--ink-soft);
}

.cart-layout {
  display: grid;
  grid-template-columns: 930px 394px;
  justify-content: space-between;
  align-items: start;
}

.cart-table-wrap {
  padding: 14px;
}

.cart-table {
  width: 100%;
  border-collapse: collapse;
}

.cart-table th {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
  padding: 10px 8px;
  border-bottom: 1px solid var(--line);
}

.cart-table td {
  padding: 14px 8px;
  border-bottom: 1px solid #f1e6da;
  font-size: 14px;
}

.cart-item-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.cart-item-info span {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--cream);
  display: grid;
  place-items: center;
}

.cart-table td a {
  color: #d34040;
}

.cart-summary .summary-card {
  padding: 16px;
}

.cart-coupon {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 12px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  padding: 8px 12px;
}

.cart-coupon span {
  color: var(--ink-soft);
  font-size: 14px;
}

.cart-coupon input {
  width: 160px;
  border: 0;
  outline: 0;
  text-align: right;
  font-size: 14px;
}

.summary-card h3 {
  margin: 0 0 12px;
  font-size: 18px;
}

.summary-card p {
  margin: 0 0 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
}

.summary-card .total {
  border-top: 1px dashed var(--line);
  padding-top: 12px;
}

.summary-card .total strong {
  color: var(--brown);
  font-size: 24px;
}

.summary-card small {
  display: block;
  margin: 4px 0 10px;
  color: var(--ink-soft);
}

.summary-card button,
.submit-order-btn {
  width: 100%;
  height: 44px;
  border-radius: 14px;
  border: 0;
  background: var(--brown);
  color: var(--white);
  font-size: 16px;
}

.summary-card > a {
  display: block;
  text-align: center;
  margin-top: 10px;
  color: var(--ink-soft);
}

.checkout-steps {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.checkout-steps span {
  height: 36px;
  line-height: 36px;
  border-radius: 10px;
  border: 1px solid var(--line);
  padding: 0 14px;
  color: var(--ink-soft);
  font-size: 14px;
}

.checkout-steps .active {
  color: var(--white);
  background: var(--brown);
  border-color: var(--brown);
}

.checkout-layout {
  display: grid;
  grid-template-columns: 930px 394px;
  justify-content: space-between;
  align-items: start;
  gap: 16px;
}

.checkout-card {
  padding: 16px;
  margin-bottom: 12px;
}

.checkout-card h2 {
  margin: 0 0 12px;
  font-size: 18px;
}

.card-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.card-head a {
  color: var(--brown);
  font-size: 14px;
}

.address-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.address-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 12px;
}

.address-item.active {
  border-color: var(--brown);
}

.address-item h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.address-item h3 span {
  font-size: 14px;
  color: var(--ink-soft);
}

.address-item p {
  margin: 0 0 6px;
  font-size: 14px;
  color: var(--ink-soft);
}

.address-item em,
.address-item b {
  font-style: normal;
  font-size: 12px;
  margin-right: 6px;
}

.address-item b {
  color: var(--brown);
}

.address-item a {
  color: var(--brown);
  font-size: 12px;
}

.checkout-products {
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-products li {
  display: grid;
  grid-template-columns: 1fr 140px 100px 70px;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1e6da;
  font-size: 14px;
}

.checkout-products li:last-child {
  border-bottom: 0;
}

.checkout-card textarea {
  width: 100%;
  min-height: 90px;
  border: 1px solid var(--line);
  border-radius: 10px;
  padding: 10px;
  outline: 0;
  resize: vertical;
}

.pay-methods {
  display: flex;
  gap: 10px;
}

.pay-methods button {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: 10px;
  height: 40px;
  padding: 0 16px;
}

.pay-methods .active {
  border-color: var(--brown);
  color: var(--brown);
}

.checkout-side .summary-card {
  padding: 16px;
  margin-bottom: 12px;
}

.submit-tip {
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 16px;
}

.account-page .main-content {
  padding-top: 24px;
}

.account-layout {
  display: grid;
  grid-template-columns: 324px 1000px;
  justify-content: space-between;
  align-items: start;
  gap: 18px;
}

.account-sidebar,
.account-content,
.auth-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--white);
  box-shadow: 0 2px 12px rgba(193, 108, 68, 0.12);
}

.account-sidebar {
  padding: 16px;
}

.account-user {
  text-align: center;
}

.avatar {
  width: 64px;
  height: 64px;
  margin: 0 auto 10px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 30px;
}

.account-user h2 {
  margin: 0;
  font-size: 20px;
  line-height: 28px;
}

.account-user p {
  margin: 4px 0 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.user-stats {
  display: flex;
  justify-content: space-between;
  border-top: 1px dashed var(--line);
  border-bottom: 1px dashed var(--line);
  padding: 10px 6px;
}

.user-stats span {
  font-size: 12px;
  line-height: 16px;
  color: var(--ink-soft);
}

.user-stats b {
  display: block;
  color: var(--ink);
  font-size: 16px;
  line-height: 24px;
}

.account-nav {
  margin-top: 14px;
  display: grid;
  gap: 8px;
}

.account-nav a {
  display: block;
  height: 42px;
  line-height: 42px;
  border: 1px solid var(--line);
  border-radius: 10px;
  text-align: center;
  color: var(--ink);
  font-size: 14px;
}

.account-nav a.active {
  border-color: var(--brown);
  color: var(--brown);
  background: var(--cream);
}

.account-content {
  padding: 18px;
}

.account-content h1 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 24px;
  line-height: 32px;
}

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

.account-quick-grid a {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  color: var(--ink);
  display: block;
}

.account-quick-grid span {
  font-size: 24px;
}

.account-quick-grid strong {
  display: block;
  margin-top: 6px;
  font-size: 16px;
}

.account-quick-grid small {
  display: block;
  margin-top: 4px;
  font-size: 12px;
  color: var(--ink-soft);
}

.account-tabs {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.account-tabs button {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--white);
  height: 36px;
  padding: 0 14px;
  font-size: 14px;
  color: var(--ink-soft);
}

.account-tabs .active {
  border-color: var(--brown);
  color: var(--brown);
}

.order-card,
.favorites-grid article,
.profile-card,
.address-card-grid article {
  border: 1px solid var(--line);
  border-radius: 14px;
  padding: 14px;
  margin-bottom: 10px;
}

.order-card header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.order-card header h3 {
  margin: 0;
  font-size: 14px;
}

.order-card header span {
  color: var(--ink-soft);
  font-size: 12px;
}

.order-card header b {
  margin-left: auto;
  font-size: 12px;
}

.order-card .ok {
  color: #2e9f64;
}

.order-card .warn {
  color: #e08a00;
}

.order-card .info {
  color: #4379d7;
}

.order-card .cancel {
  color: #888;
}

.order-card p {
  margin: 8px 0;
  font-size: 22px;
}

.order-card footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.order-card footer span {
  color: var(--ink-soft);
  font-size: 14px;
}

.order-card footer div {
  display: flex;
  gap: 8px;
}

.order-card footer a {
  height: 32px;
  line-height: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 0 10px;
  font-size: 12px;
  color: var(--ink);
}

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

.favorites-grid article div {
  height: 140px;
  border-radius: 10px;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 48px;
}

.favorites-grid h3 {
  margin: 10px 0 6px;
  font-size: 16px;
}

.favorites-grid p {
  margin: 0 0 8px;
  display: flex;
  justify-content: space-between;
}

.favorites-grid p span {
  color: var(--ink-soft);
}

.favorites-grid a {
  display: inline-block;
  height: 32px;
  line-height: 30px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--line);
  color: var(--ink);
}

.profile-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.profile-head h1 {
  margin: 0;
}

.profile-head button {
  border: 0;
  height: 36px;
  border-radius: 10px;
  padding: 0 14px;
  background: var(--brown);
  color: var(--white);
  font-size: 14px;
}

.profile-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.profile-avatar {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: var(--cream);
  display: grid;
  place-items: center;
  font-size: 42px;
}

.profile-card dl {
  margin: 0;
  display: grid;
  grid-template-columns: 100px 1fr;
  gap: 8px 12px;
}

.profile-card dt {
  color: var(--ink-soft);
  font-size: 14px;
  font-weight: 400;
}

.profile-card dd {
  margin: 0;
  font-size: 14px;
}

.address-card-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.address-card-grid h3 {
  margin: 0 0 8px;
  font-size: 16px;
}

.address-card-grid h3 span {
  color: var(--ink-soft);
  font-size: 14px;
}

.address-card-grid p {
  margin: 0 0 6px;
  color: var(--ink-soft);
  font-size: 14px;
}

.address-card-grid em,
.address-card-grid b {
  font-style: normal;
  font-size: 12px;
  margin-right: 8px;
}

.address-card-grid b {
  color: var(--brown);
}

.address-card-grid footer {
  margin-top: 8px;
  display: flex;
  gap: 10px;
}

.address-card-grid footer a {
  color: var(--brown);
  font-size: 12px;
}

.auth-page {
  background: var(--bg);
}

.auth-wrap {
  width: min(1406px, 100% - 40px);
  margin: 22px auto 70px;
}

.auth-card {
  width: 520px;
  max-width: 100%;
  margin: 0 auto;
  padding: 18px 18px 20px;
}

.auth-card h1 {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 52px;
  line-height: 72px;
  font-weight: 700;
}

.auth-card > p {
  margin: 0 0 12px;
  color: var(--ink-soft);
  font-size: 24px;
  line-height: 32px;
}

.auth-card form label {
  display: block;
  margin: 0 0 8px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 20px;
}

.auth-card form input[type="text"],
.auth-card form input[type="email"],
.auth-card form input[type="password"] {
  width: 100%;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 10px;
  margin-top: 4px;
  padding: 0 12px;
  outline: 0;
  background: var(--white);
  font-size: 14px;
  color: var(--ink);
}

.auth-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  line-height: 16px;
  margin: 4px 0 12px;
  color: var(--ink-soft);
}

.auth-row a {
  color: var(--ink-soft);
}

.auth-card button[type="submit"] {
  width: 100%;
  height: 44px;
  border: 0;
  border-radius: 12px;
  background: var(--brown);
  color: var(--white);
  font-size: 16px;
  line-height: 24px;
}

.auth-foot {
  margin-top: 10px;
  text-align: center;
  font-size: 14px;
  line-height: 20px;
}

.auth-foot a,
.auth-back {
  color: var(--brown);
}

.auth-back {
  display: block;
  text-align: center;
  margin-top: 6px;
}

@media (max-width: 1199.98px) {
  .hero-row {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .category-side {
    margin-left: 0;
  }

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

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

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

  .product-list-page .pl-filter-row {
    flex-wrap: wrap;
  }

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

  .product-list-page .product-card {
    width: 100%;
  }

  .product-list-page .action-row {
    grid-template-columns: 1fr 1fr;
  }

  .culture-page .culture-feature,
  .community-page .community-layout,
  .detail-page .detail-main,
  .cart-page .cart-layout,
  .checkout-page .checkout-layout,
  .account-layout {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .culture-page .culture-article-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
  }

  .favorites-grid,
  .address-card-grid {
    grid-template-columns: 1fr;
  }

  .checkout-products li {
    grid-template-columns: 1fr 120px 90px 60px;
  }
}

@media (max-width: 991.98px) {
  .navbar-row {
    flex-wrap: wrap;
    padding: 10px 0;
  }

  .main-nav {
    order: 3;
    width: 100%;
    justify-content: flex-start;
    overflow-x: auto;
  }

  .header-tools {
    width: 100%;
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .search-box {
    width: 100%;
  }

  .product-list-page .pl-input-wrap,
  .product-list-page .pl-price-input {
    width: 100%;
  }

  .community-search,
  .culture-search {
    margin-left: 0;
    width: 100%;
  }

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

  .checkout-products li {
    grid-template-columns: 1fr;
  }

  .footer-main {
    flex-direction: column;
    gap: 20px;
  }
}

@media (max-width: 767.98px) {
  .page-wrap {
    width: calc(100% - 24px);
  }

  .main-content {
    padding-top: 24px;
  }

  .hero-card {
    padding: 20px 20px 24px;
    min-height: auto;
  }

  .hero-card h1 {
    font-size: 28px;
    line-height: 34px;
  }

  .hero-card p {
    font-size: 16px;
    line-height: 24px;
  }

  .hero-visual {
    right: 26px;
    top: 74px;
    font-size: 72px;
  }

  .hero-actions {
    flex-direction: column;
  }

  .btn-main,
  .btn-ghost {
    width: 100%;
  }

  .category-grid,
  .product-grid {
    grid-template-columns: 1fr;
  }

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

  .culture-page .culture-article-grid {
    grid-template-columns: 1fr;
  }

  .community-page .community-head {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .detail-actions {
    flex-direction: column;
  }

  .btn-outline-main,
  .btn-solid-main {
    width: 100%;
  }

  .auth-wrap {
    width: calc(100% - 24px);
    margin: 16px auto 40px;
  }

  .auth-card {
    padding: 14px;
  }

  .auth-card h1 {
    font-size: 38px;
    line-height: 48px;
  }

  .auth-card > p {
    font-size: 16px;
    line-height: 24px;
  }

  .culture-box {
    padding: 24px 16px;
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }

  .culture-copy p {
    max-width: 100%;
  }

  .culture-art {
    width: 100%;
    height: auto;
    font-size: 72px;
    text-align: center;
  }

  .footer-nav-wrap {
    gap: 20px;
  }
}
