:root {
  --sand-page: #e8dfd0;
  --sand-paper: #faf5ec;
  --sand-terra: #c4552d;
  --sand-pill: #f0d9b5;
  --sand-brown: #4a2f1b;
  --sand-line: #d9c7a8;
  --sand-cream: #fff7ea;
}

* { box-sizing: border-box; }

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

body.sand-body {
  margin: 0;
  background: var(--sand-page);
  color: var(--sand-brown);
  font-family: "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
  font-size: 16px;
  line-height: 1.7;
  overflow-x: hidden;
}

.sand-shell {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
  background: var(--sand-paper);
  min-height: 100vh;
  overflow-x: hidden;
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: var(--sand-terra);
}

/* ---------- Hero ---------- */
.sand-hero {
  padding: 28px 20px 12px;
  text-align: center;
}

.sand-tagline {
  margin: 0 0 10px;
  font-size: 15px;
  color: var(--sand-terra);
  font-weight: 500;
}

.sand-title {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--sand-brown);
}

.sand-spec-line {
  margin: 0 0 18px;
  font-size: 15px;
  color: var(--sand-brown);
  padding: 8px 12px;
  border: 1px dashed var(--sand-line);
  border-radius: 10px;
}

.sand-hero-photo {
  position: relative;
  border-radius: 18px;
  overflow: hidden;
  border: 1px solid var(--sand-line);
  background: var(--sand-cream);
}

.sand-hero-photo img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.sand-stamp {
  position: absolute;
  top: 14px;
  right: 14px;
  padding: 6px 12px;
  border: 2px solid var(--sand-terra);
  border-radius: 6px;
  background: var(--sand-cream);
  color: var(--sand-terra);
  font-size: 15px;
  font-weight: 700;
  transform: rotate(-6deg);
  line-height: 1.4;
}

/* ---------- Buttons ---------- */
.sand-cta-wrap {
  padding: 14px 20px;
}

.sand-cta,
.sand-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  padding: 12px 16px;
  border-radius: 14px;
  background: var(--sand-terra);
  color: var(--sand-cream);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
  text-align: center;
  border: none;
  cursor: pointer;
  line-height: 1.6;
}

.sand-cta:active,
.sand-submit:active {
  opacity: 0.9;
}

/* ---------- Uses ---------- */
.sand-uses,
.sand-specs,
.sand-gallery,
.sand-delivery,
.sand-order {
  padding: 24px 20px;
}

.sand-h2 {
  margin: 0 0 16px;
  font-family: "Noto Serif SC", "Songti SC", serif;
  font-size: 26px;
  line-height: 1.5;
  font-weight: 700;
  color: var(--sand-brown);
  text-align: center;
}

.sand-uses-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
}

.sand-use-card {
  margin: 0;
  padding: 12px;
  background: var(--sand-cream);
  border: 1px solid var(--sand-line);
  border-radius: 14px;
}

.sand-use-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 10px;
}

.sand-pill {
  display: inline-block;
  margin-top: 12px;
  padding: 8px 20px;
  border-radius: 100px;
  background: var(--sand-pill);
  color: var(--sand-brown);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
}

.pill-end {
  float: right;
  margin-right: 4px;
}

.pill-start {
  float: left;
  margin-left: 4px;
}

.sand-use-card::after {
  content: "";
  display: block;
  clear: both;
}

/* ---------- Feature ---------- */
.sand-feature {
  padding: 24px 20px;
  background: var(--sand-paper);
}

.sand-lead {
  margin: 0 0 16px;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.7;
  color: var(--sand-brown);
}

.sand-photo-wide {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  border-radius: 18px;
  border: 1px solid var(--sand-line);
  margin-bottom: 16px;
}

.sand-body-text {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
}

/* ---------- Specs ---------- */
.sand-spec-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.sand-spec-cell {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 84px;
  padding: 12px;
  background: var(--sand-cream);
  border: 1px solid var(--sand-line);
  border-radius: 14px;
  text-align: center;
}

.sand-spec-name {
  font-size: 14px;
  color: var(--sand-terra);
  font-weight: 500;
  line-height: 1.6;
}

.sand-spec-value {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.sand-spec-note {
  margin: 14px 0 0;
  font-size: 15px;
  line-height: 1.7;
  text-align: center;
}

/* ---------- Accent pills ---------- */
.sand-accents {
  padding: 8px 20px 24px;
  background: var(--sand-paper);
}

.sand-accent-pill {
  display: table;
  margin: 12px 0;
  padding: 12px 20px;
  border-radius: 100px;
  background: var(--sand-pill);
  color: var(--sand-brown);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.6;
  max-width: 100%;
}

.accent-right {
  margin-left: auto;
}

.accent-left {
  margin-right: auto;
}

/* ---------- Gallery ---------- */
.sand-strip {
  display: flex;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  gap: 12px;
  padding-bottom: 8px;
  -webkit-overflow-scrolling: touch;
}

.sand-strip-item {
  flex: 0 0 85%;
  scroll-snap-align: center;
  margin: 0;
  border: 1px solid var(--sand-line);
  border-radius: 16px;
  overflow: hidden;
  background: var(--sand-cream);
}

.sand-strip-item img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
}

/* ---------- Delivery ---------- */
.sand-perks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.sand-perk {
  padding: 18px;
  background: var(--sand-cream);
  border: 1px solid var(--sand-line);
  border-radius: 14px;
  text-align: center;
}

.sand-perk-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  margin-bottom: 8px;
  border-radius: 50%;
  background: var(--sand-pill);
  font-size: 26px;
}

.sand-perk-title {
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 700;
}

.sand-perk p {
  margin: 0;
  font-size: 15px;
  line-height: 1.7;
}

/* ---------- Price ---------- */
.sand-price-box {
  margin: 8px 20px 0;
  padding: 24px 16px;
  text-align: center;
  background: var(--sand-cream);
  border: 2px solid var(--sand-terra);
  border-radius: 16px;
}

.sand-price-tag {
  display: inline-block;
  margin: 0 0 8px;
  padding: 4px 14px;
  background: var(--sand-terra);
  color: var(--sand-cream);
  border-radius: 6px;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
}

.sand-price {
  margin: 0;
  font-family: "Noto Serif SC", serif;
  font-size: 40px;
  font-weight: 700;
  line-height: 1.4;
  color: var(--sand-terra);
  white-space: nowrap;
}

.sand-price-note {
  margin: 8px 0 0;
  font-size: 15px;
}

/* ---------- Order form ---------- */
.sand-order-sub {
  margin: -8px 0 18px;
  text-align: center;
  font-size: 15px;
}

.sand-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.sand-field {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.sand-field-label {
  font-size: 15px;
  font-weight: 700;
}

.sand-field input {
  width: 100%;
  min-height: 56px;
  padding: 12px 16px;
  border: 1px solid var(--sand-line);
  border-radius: 14px;
  background: #ffffff;
  color: var(--sand-brown);
  font-family: "Noto Sans SC", sans-serif;
  font-size: 16px;
  outline: none;
}

.sand-field input:focus {
  border-color: var(--sand-terra);
}

.sand-field input::placeholder {
  color: #9a8470;
}

.sand-consent {
  margin: 14px 0 0;
  font-size: 14px;
  text-align: center;
  line-height: 1.7;
}

/* ---------- Footer ---------- */
.sand-footer {
  padding: 28px 20px 36px;
  background: var(--sand-brown);
  color: var(--sand-cream);
  text-align: center;
  font-size: 14px;
  line-height: 1.8;
}

.sand-footer a {
  color: var(--sand-pill);
}

.sand-foot-name {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  font-weight: 700;
}

.sand-foot-info {
  margin: 0 0 4px;
}

.sand-foot-links {
  margin: 14px 0;
}

.sand-copy,
.sand-cookie {
  margin: 4px 0;
  font-size: 13px;
  opacity: 0.9;
}

/* ---------- Thank you & policy pages ---------- */
.sand-page-head {
  padding: 28px 20px 16px;
  text-align: center;
}

.sand-page-head h1 {
  margin: 0 0 12px;
  font-family: "Noto Serif SC", serif;
  font-size: 28px;
  line-height: 1.5;
  font-weight: 700;
}

.sand-thanks {
  padding: 24px 20px;
  text-align: center;
}

.sand-thanks p {
  font-size: 16px;
  line-height: 1.8;
  margin: 0 0 14px;
}

.sand-back {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 58px;
  margin-top: 12px;
  border-radius: 14px;
  background: var(--sand-terra);
  color: var(--sand-cream);
  font-size: 17px;
  font-weight: 700;
  text-decoration: none;
}

.sand-doc {
  padding: 8px 20px 24px;
}

.sand-doc section {
  margin-bottom: 22px;
}

.sand-doc h2 {
  margin: 0 0 8px;
  font-family: "Noto Serif SC", serif;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 700;
  color: var(--sand-terra);
}

.sand-doc p {
  margin: 0 0 8px;
  font-size: 16px;
  line-height: 1.8;
}

.sand-doc .sand-date {
  font-size: 14px;
  opacity: 0.85;
  text-align: center;
}

.sand-doc .sand-back {
  margin-top: 16px;
}

@media (max-width: 340px) {
  .sand-title { font-size: 24px; }
  .sand-price { font-size: 34px; }
  .sand-spec-grid { grid-template-columns: 1fr; }
}

@media (min-width: 481px) {
  .sand-shell {
    box-shadow: 0 0 40px rgba(74, 47, 27, 0.12);
  }
}