:root {
  --bg: #fff9f1;
  --surface: #fff;
  --ink: #2a1b14;
  --muted: #70594c;
  --brand: #db5e2e;
  --brand-strong: #ba3f11;
  --line: #f0dccf;
  --accent: #f7b35f;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 20% 0%, #ffe8ce 0%, transparent 40%),
    radial-gradient(circle at 100% 20%, #ffdcbc 0%, transparent 35%),
    var(--bg);
  font-family: "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
}

h1,
h2,
h3,
.logo {
  margin: 0;
  font-family: "STKaiti", "KaiTi", serif;
  letter-spacing: 0.02em;
}

a {
  color: inherit;
  text-decoration: none;
}

.top-banner {
  padding: 10px 16px;
  text-align: center;
  color: #fff;
  background: linear-gradient(90deg, #c3481b 0%, #e67135 100%);
  font-size: 14px;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 6vw;
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #eed8c5;
  background: rgba(255, 250, 245, 0.88);
}

.logo {
  font-size: 30px;
  color: var(--brand-strong);
}

.site-header nav {
  display: flex;
  gap: 22px;
  font-size: 15px;
}

.site-header nav a:hover {
  color: var(--brand);
}

main {
  padding: 32px 6vw 56px;
}

.hero {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
}

.hero-copy h1 {
  margin-top: 12px;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.12;
}

.hero-copy p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.badge {
  display: inline-block;
  margin: 0;
  padding: 6px 12px;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(90deg, #ce4f1f, #e47a3f);
  font-size: 13px;
}

.hero-gallery {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.hero-gallery img {
  width: 100%;
  border-radius: 18px;
  border: 1px solid var(--line);
  box-shadow: 0 14px 28px rgba(147, 77, 36, 0.16);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.btn-primary,
.btn-outline,
.btn-secondary,
.product-card button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 0;
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-primary,
.btn-secondary,
.product-card button {
  color: #fff;
  background: linear-gradient(90deg, var(--brand) 0%, #ef7c40 100%);
}

.btn-outline {
  color: var(--brand-strong);
  border: 1px solid #d78664;
  background: #fff6ef;
}

.btn-secondary {
  padding: 8px 14px;
}

.btn-primary:hover,
.btn-outline:hover,
.btn-secondary:hover,
.product-card button:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 20px rgba(190, 91, 45, 0.22);
}

.section-title {
  margin: 56px 0 18px;
}

.section-title h2 {
  font-size: clamp(26px, 4vw, 40px);
}

.section-title p {
  margin-top: 8px;
  color: var(--muted);
}

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

.cat-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--surface);
  box-shadow: 0 10px 20px rgba(150, 99, 61, 0.1);
}

.cat-card img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.cat-card h3 {
  margin-top: 10px;
  font-size: 23px;
}

.cat-card p {
  margin-top: 4px;
  color: var(--muted);
  font-size: 14px;
}

.flash-sale {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 18px;
  margin-top: 56px;
  padding: 24px;
  border: 1px solid #efccb3;
  border-radius: 20px;
  background: linear-gradient(135deg, #fff8ef 0%, #ffe5cf 100%);
}

.flash-sale img {
  width: 100%;
  border-radius: 16px;
}

.flash-sale h2 {
  margin: 12px 0;
  font-size: clamp(24px, 4vw, 36px);
}

.countdown {
  margin: 10px 0 18px;
  color: #6e2d10;
  font-size: 17px;
  font-weight: 700;
}

.products {
  margin-top: 16px;
}

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

.product-card {
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 20px rgba(140, 94, 60, 0.12);
}

.product-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 12px;
}

.product-card h3 {
  margin-top: 10px;
  font-size: 22px;
}

.product-card p {
  margin: 6px 0;
  color: var(--muted);
  font-size: 14px;
}

.price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 10px;
}

.price-row strong {
  color: #c73e0f;
  font-size: 24px;
}

.price-row span {
  color: #9a7968;
  text-decoration: line-through;
  font-size: 13px;
}

.product-card button {
  width: 100%;
}

.service-strip {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  margin-top: 44px;
  overflow: hidden;
  border: 1px solid #efd7c8;
  border-radius: 16px;
  background: #fff;
}

.service-strip div {
  padding: 16px 12px;
  text-align: center;
  color: #5f4739;
  font-weight: 600;
  border-right: 1px solid #f3e2d7;
}

.service-strip div:last-child {
  border-right: 0;
}

.store-info {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 18px;
  margin-top: 44px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
}

.store-copy p,
.store-copy li {
  color: var(--muted);
  line-height: 1.7;
}

.store-info img {
  width: 100%;
  border-radius: 14px;
}

.site-footer {
  margin-top: 34px;
  border-top: 1px solid #ebd8ca;
  padding: 16px 6vw 24px;
  color: #7f6254;
  font-size: 13px;
}

@media (max-width: 1000px) {
  .site-header nav {
    display: none;
  }

  .hero,
  .flash-sale,
  .store-info {
    grid-template-columns: 1fr;
  }

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

@media (max-width: 640px) {
  main {
    padding: 18px 4vw 42px;
  }

  .logo {
    font-size: 24px;
  }

  .top-banner {
    font-size: 12px;
  }

  .cat-grid,
  .product-grid,
  .service-strip {
    grid-template-columns: 1fr;
  }

  .service-strip div {
    border-right: 0;
    border-bottom: 1px solid #f3e2d7;
  }

  .service-strip div:last-child {
    border-bottom: 0;
  }
}
