:root {
  --cream: #faf7f2;
  --cream2: #f4efe6;
  --white: #ffffff;
  --border: #e8e0d0;
  --border2: #d4c9b5;
  --text: #2c2416;
  --text2: #6b5e4a;
  --text3: #a8977e;
  --accent: #e8a020;
  --accent2: #f0b535;
  --accent-light: #fef3dc;
  --green: #2d7a45;
  --green-light: #ebf5ef;
  --red: #b93a32;
  --radius: 16px;
  --shadow: 0 2px 16px rgba(44, 36, 22, 0.07);
  --shadow-lg: 0 8px 40px rgba(44, 36, 22, 0.12);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  min-width: 320px;
  min-height: 100vh;
  background: var(--cream);
  color: var(--text);
  font-family:
    -apple-system, BlinkMacSystemFont, "PingFang SC", "Hiragino Sans GB",
    "Microsoft YaHei", sans-serif;
  font-size: 15px;
  line-height: 1.6;
}

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

button,
input {
  font: inherit;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 80;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 clamp(18px, 4vw, 40px);
  border-bottom: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.94);
  backdrop-filter: blur(16px);
}

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

.brand-icon {
  width: 36px;
  height: 36px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font-size: 13px;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(232, 160, 32, 0.3);
}

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

.brand small {
  display: block;
  margin-top: -3px;
  color: var(--text3);
  font-size: 11px;
}

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

.status,
.ghost-btn,
.gold-btn {
  min-height: 36px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 100px;
  padding: 0 16px;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
}

.status {
  gap: 7px;
  color: var(--green);
  background: var(--green-light);
  border: 1px solid #b8dfc4;
}

.status::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
}

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

.gold-btn {
  color: #fff;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 4px 14px rgba(232, 160, 32, 0.28);
}

.announcement {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 12px;
  align-items: start;
  padding: 12px clamp(18px, 8vw, 100px);
  color: var(--red);
  background: #fff7e8;
  border-bottom: 1px solid #f0dca9;
}

.announcement span {
  padding: 4px 8px;
  border-radius: 8px;
  color: #b07912;
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

.trust-row {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1px;
  padding: 14px clamp(18px, 8vw, 100px);
  background: var(--white);
  border-bottom: 1px solid var(--border);
}

.trust-row div {
  display: grid;
  justify-items: center;
  gap: 2px;
}

.trust-row strong {
  font-size: 13px;
}

.trust-row span {
  color: var(--text2);
  font-size: 12px;
}

main {
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px 56px;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 330px;
  gap: 50px;
  align-items: center;
  min-height: 390px;
  padding: 54px 0 34px;
}

.hero-tag {
  width: fit-content;
  margin-bottom: 20px;
  padding: 8px 14px;
  border: 1px solid #f0d48a;
  border-radius: 100px;
  color: #76520f;
  background: var(--accent-light);
  font-size: 13px;
  font-weight: 800;
}

h1,
h2,
h3,
p,
button {
  overflow-wrap: anywhere;
}

h1 {
  font-size: clamp(42px, 7vw, 66px);
  line-height: 1.1;
  letter-spacing: 0;
}

h1 em {
  color: var(--accent);
  font-style: normal;
}

.hero-desc {
  max-width: 540px;
  margin-top: 18px;
  color: var(--text2);
  font-size: 17px;
}

.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  margin-top: 32px;
}

.stat-card {
  min-width: 106px;
  padding: 14px 16px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.stat-num {
  font-size: 23px;
  font-weight: 800;
  line-height: 1.1;
}

.stat-label {
  margin-top: 7px;
  color: var(--text3);
  font-size: 12px;
}

.hero-right {
  width: min(30vw, 280px);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border: 3px solid #efd286;
  border-radius: 50%;
  background: radial-gradient(circle, #fff9ec 0 58%, #fffaf2 59% 100%);
  color: var(--accent);
  font-size: 54px;
  font-weight: 900;
  transform: rotate(-9deg);
}

.tabs {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  padding-bottom: 22px;
  border-bottom: 1px solid var(--border);
}

.tab-btn {
  min-height: 38px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid var(--border2);
  border-radius: 100px;
  padding: 0 18px;
  background: var(--white);
  color: var(--text2);
  cursor: pointer;
  font-weight: 800;
}

.tab-btn.active {
  color: #fff;
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  box-shadow: 0 5px 16px rgba(232, 160, 32, 0.24);
}

.tab-btn span {
  min-width: 23px;
  height: 21px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.08);
  font-size: 12px;
}

.category-title {
  margin: 34px 0 16px;
}

.category-title h2 {
  font-size: 29px;
}

.category-title p {
  margin-top: 6px;
  color: var(--text2);
}

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

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

.product-card {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  transition:
    transform 0.15s ease,
    box-shadow 0.15s ease,
    border-color 0.15s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: #f5d48a;
  box-shadow: var(--shadow-lg);
}

.product-img-wrap {
  height: 148px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(135deg, rgba(232, 160, 32, 0.14), rgba(255, 255, 255, 0.72)),
    var(--cream2);
  color: #a97511;
  font-size: 32px;
  font-weight: 900;
}

.product-logo {
  display: flex;
  gap: 16px;
  align-items: center;
  justify-content: center;
  color: #111;
  background: #fff;
  font-size: 34px;
  letter-spacing: 0;
}

.brand-symbol {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  position: relative;
  display: inline-block;
}

.chatgpt .brand-symbol {
  border: 5px solid #111;
  border-radius: 50%;
}

.chatgpt .brand-symbol::before,
.chatgpt .brand-symbol::after {
  content: "";
  position: absolute;
  inset: 7px;
  border: 5px solid #111;
  border-radius: 40%;
  transform: rotate(35deg);
}

.chatgpt .brand-symbol::after {
  transform: rotate(-35deg);
}

.claude {
  font-family: Georgia, "Times New Roman", serif;
}

.claude .brand-symbol::before {
  content: "*";
  position: absolute;
  inset: -8px 0 0 0;
  color: #d66f4f;
  font-size: 76px;
  line-height: 48px;
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 400;
}

.gemini .brand-symbol::before {
  content: "";
  position: absolute;
  inset: 5px;
  background: linear-gradient(135deg, #7b8cff, #37d7ff 45%, #6d55ff);
  clip-path: polygon(50% 0, 66% 34%, 100% 50%, 66% 66%, 50% 100%, 34% 66%, 0 50%, 34% 34%);
}

.product-body {
  padding: 15px 16px 16px;
}

.product-tag {
  display: inline-flex;
  min-height: 24px;
  align-items: center;
  border-radius: 100px;
  padding: 0 10px;
  color: #8a5b06;
  background: var(--accent-light);
  font-size: 12px;
  font-weight: 800;
}

.product-tag.green {
  color: var(--green);
  background: var(--green-light);
}

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

.product-card p {
  min-height: 70px;
  color: var(--text2);
  font-size: 13px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 16px;
}

.product-footer strong {
  font-size: 20px;
}

.product-footer small {
  margin-left: 4px;
  color: var(--text3);
  font-size: 12px;
}

.buy-btn {
  min-height: 34px;
  border: 0;
  border-radius: 100px;
  padding: 0 16px;
  color: #fff;
  background: var(--accent);
  cursor: pointer;
  font-size: 13px;
  font-weight: 800;
}

.site-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  padding: 22px clamp(18px, 4vw, 40px);
  border-top: 1px solid var(--border);
  background: rgba(250, 247, 242, 0.94);
  color: var(--text3);
  font-size: 13px;
}

.brand.mini strong {
  font-size: 16px;
}

.modal-mask,
.notice-mask {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(44, 36, 22, 0.56);
  backdrop-filter: blur(6px);
}

.modal-mask.show,
.notice-mask.show {
  display: flex;
}

.notice-modal,
.order-modal,
.pay-modal {
  width: min(480px, 100%);
  position: relative;
  border: 1px solid var(--border);
  border-radius: 20px;
  background: var(--white);
  box-shadow: var(--shadow-lg);
}

.notice-modal {
  padding: 32px;
}

.notice-title-row,
.modal-head {
  display: flex;
  gap: 14px;
  align-items: center;
}

.notice-icon,
.modal-img {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #f0d48a;
  border-radius: 12px;
  color: #9c6a11;
  background: var(--accent-light);
  font-weight: 900;
}

.notice-title-row h2,
.modal-head h2,
.pay-modal h2 {
  font-size: 22px;
}

.notice-title-row p,
.modal-head p,
.pay-desc,
.modal-foot {
  color: var(--text3);
  font-size: 13px;
}

.notice-copy {
  margin: 18px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  color: var(--red);
  background: #fffaf2;
}

.notice-btn,
.pay-btn {
  width: 100%;
  min-height: 48px;
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent2));
  color: #fff;
  cursor: pointer;
  font-weight: 800;
}

.notice-btn.waiting {
  color: var(--text3);
  background: var(--cream2);
  cursor: not-allowed;
}

.order-modal,
.pay-modal {
  padding: 26px;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: var(--white);
  color: var(--text2);
  cursor: pointer;
  font-size: 20px;
}

.price-band {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid #f1d99f;
  border-radius: 12px;
  background: #fff8e8;
}

.price-big {
  color: var(--accent);
  font-size: 28px;
  font-weight: 900;
}

.price-note {
  color: var(--text3);
  font-size: 12px;
}

.form-label {
  display: block;
  margin: 12px 0 7px;
  color: var(--text2);
  font-size: 13px;
  font-weight: 800;
}

.form-input {
  width: 100%;
  height: 46px;
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  outline: 0;
}

.form-input:focus {
  border-color: var(--accent);
}

.check-row {
  display: flex;
  gap: 10px;
  margin: 14px 0;
  color: var(--text2);
  font-size: 13px;
}

.check-row input {
  margin-top: 4px;
}

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

.modal-total span {
  color: var(--text3);
}

.modal-total strong {
  color: var(--accent);
  font-size: 24px;
}

.modal-foot {
  margin-top: 10px;
  text-align: center;
}

.pay-desc {
  margin-top: 6px;
}

.pay-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin: 18px 0 14px;
}

.pay-tab {
  min-height: 40px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: var(--white);
  cursor: pointer;
  color: var(--text2);
  font-weight: 800;
}

.pay-tab.active {
  border-color: #f0d48a;
  color: #8a5b06;
  background: var(--accent-light);
}

.qr-box {
  display: grid;
  place-items: center;
  padding: 16px;
  border: 1px dashed var(--border2);
  border-radius: 14px;
  background: #fffaf2;
}

.pay-qr {
  width: 210px;
  max-width: 100%;
  max-height: 320px;
  display: block;
  border-radius: 12px;
  object-fit: contain;
  background: #fff;
}

.pay-summary {
  display: grid;
  gap: 7px;
  margin: 16px 0;
  padding: 12px;
  border-radius: 10px;
  background: var(--cream2);
  color: var(--text2);
  font-size: 13px;
}

.pay-summary span {
  color: var(--text);
  font-weight: 800;
}

.pickup-note {
  margin-top: 10px;
  color: var(--red);
  text-align: center;
  font-size: 13px;
  font-weight: 800;
}

.is-hidden {
  display: none !important;
}

@media (max-width: 820px) {
  .site-header {
    height: auto;
    min-height: 64px;
    align-items: flex-start;
    padding-top: 12px;
    padding-bottom: 12px;
  }

  .brand small,
  .status,
  .ghost-btn {
    display: none;
  }

  .announcement {
    grid-template-columns: 1fr;
    padding: 12px 20px;
  }

  .trust-row {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 14px 20px;
  }

  .hero {
    grid-template-columns: 1fr;
    padding-top: 40px;
  }

  .hero-right {
    width: min(70vw, 230px);
  }

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

  .product-card p {
    min-height: auto;
  }

  .site-footer {
    display: grid;
  }
}
