:root {
  color-scheme: light;
  --ink: #172722;
  --muted: #62716b;
  --paper: #f4f7f1;
  --white: #ffffff;
  --line: #dce5dc;
  --leaf: #2f6b4f;
  --deep: #123b34;
  --water: #2d7c8a;
  --rice: #f1d27d;
  --clay: #b85d3a;
  --shadow: 0 20px 46px rgba(18, 59, 52, 0.14);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

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

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

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

button,
input,
select {
  font: inherit;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  min-height: 76px;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(244, 247, 241, 0.92);
  border-bottom: 1px solid rgba(220, 229, 220, 0.9);
  backdrop-filter: blur(16px);
}

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

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  font-weight: 800;
  background: var(--deep);
  border-radius: 8px;
}

.brand strong,
.brand small {
  display: block;
}

.brand strong {
  font-size: 19px;
}

.brand small {
  margin-top: 3px;
  color: var(--muted);
  font-size: 12px;
}

.nav {
  display: flex;
  flex-wrap: wrap;
  gap: clamp(12px, 3vw, 32px);
  color: var(--muted);
  font-size: 15px;
}

.nav-focus {
  align-items: center;
  gap: 10px;
}

.nav-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 16px;
  color: var(--leaf);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 17px;
  font-weight: 900;
}

.nav-pill.hot {
  color: var(--white);
  background: var(--clay);
  border-color: var(--clay);
}

.nav-plain {
  padding: 10px 0;
}

.nav a:hover {
  color: var(--leaf);
}

.hero {
  position: relative;
  min-height: calc(100vh - 76px);
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.home-gate-page {
  min-height: 100vh;
  background: var(--deep);
}

.plain-home {
  background: var(--paper);
}

.plain-home-gate {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(18px, 4vw, 42px);
  align-content: center;
  width: min(980px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
}

.plain-home-button {
  display: grid;
  place-items: center;
  min-height: clamp(220px, 34vw, 360px);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  font-size: clamp(42px, 7vw, 76px);
  font-weight: 900;
  line-height: 1;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.plain-home-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(18, 59, 52, 0.22);
}

.plain-home-buy {
  background: var(--clay);
}

.plain-home-eco {
  background: var(--leaf);
}

.mini-app-page {
  min-height: 100vh;
  padding-bottom: 92px;
  background: #f7f2ea;
}

.mini-topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-columns: 64px 1fr auto;
  align-items: center;
  min-height: 54px;
  padding: 0 14px;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid #eadfd0;
  backdrop-filter: blur(14px);
}

.mini-topbar strong {
  text-align: center;
  font-size: 18px;
  color: #251f1a;
}

.mini-topbar a {
  color: #d62300;
  font-size: 14px;
  font-weight: 800;
}

.mini-topbar-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 8px;
  min-width: 0;
}

.mini-shop-shell {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 14px 12px 112px;
}

.mini-shop-head {
  display: grid;
  gap: 6px;
  padding: 10px 2px 14px;
}

.mini-shop-head h1 {
  margin: 0;
  color: #251f1a;
  font-size: 26px;
}

.mini-shop-head p {
  margin: 0;
  color: #74675b;
}

.install-shortcut-button {
  min-height: 34px;
  padding: 0 12px;
  color: #ffffff;
  background: #198f5f;
  border: 0;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  box-shadow: 0 10px 22px rgba(25, 143, 95, 0.22);
  white-space: nowrap;
}

.install-guide {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(18, 39, 34, 0.42);
}

.install-guide.is-open {
  display: flex;
}

.install-guide-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(520px, 100%);
  max-height: calc(100vh - 36px);
  overflow: auto;
  padding: 22px 18px;
  color: var(--ink);
  background: var(--white);
  border-radius: 8px;
  box-shadow: 0 18px 44px rgba(18, 59, 52, 0.22);
}

.install-guide-card h2 {
  margin: 0;
  padding-right: 42px;
  font-size: 24px;
}

.install-guide-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.install-request-copy {
  display: grid;
  gap: 6px;
  padding: 12px;
  background: #fff7eb;
  border: 1px solid #f2dec1;
  border-radius: 8px;
}

.install-request-copy strong {
  color: var(--ink);
}

.install-status-copy {
  padding: 10px 12px;
  color: var(--leaf);
  background: rgba(25, 143, 95, 0.1);
  border-radius: 8px;
}

.install-guide-card ol {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--ink);
  line-height: 1.65;
}

.kfc-shop-layout {
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.category-sidebar {
  position: sticky;
  top: 68px;
  display: grid;
  gap: 8px;
  max-height: calc(100vh - 164px);
  overflow: auto;
  padding: 6px;
  background: #fffaf3;
  border: 1px solid #eadfd0;
  border-radius: 8px;
}

.category-sidebar a {
  display: grid;
  place-items: center;
  min-height: 52px;
  padding: 8px 6px;
  color: #5e5147;
  background: transparent;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 900;
  text-align: center;
}

.category-sidebar a.is-active,
.category-sidebar a:hover {
  color: #ffffff;
  background: #d62300;
}

.mini-product-list {
  display: grid;
  gap: 16px;
}

.category-group {
  scroll-margin-top: 72px;
}

.category-group h2 {
  margin: 0 0 10px;
  color: #251f1a;
  font-size: 20px;
}

.mini-product-card {
  display: grid;
  grid-template-columns: 118px 1fr;
  gap: 14px;
  min-height: 138px;
  margin-bottom: 10px;
  padding: 12px;
  background: var(--white);
  border: 1px solid #eadfd0;
  border-radius: 8px;
  box-shadow: 0 10px 24px rgba(64, 39, 20, 0.06);
}

.mini-product-card img,
.mini-no-photo {
  width: 118px;
  height: 118px;
  border-radius: 8px;
  object-fit: cover;
}

.mini-product-info {
  display: grid;
  align-content: space-between;
  min-width: 0;
}

.mini-product-info h3 {
  margin: 2px 0 5px;
  color: #251f1a;
  font-size: 20px;
}

.mini-product-info p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: #74675b;
  font-size: 13px;
  line-height: 1.55;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.mini-weight-stock {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.mini-weight-stock span {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  min-height: 24px;
  padding: 0 7px;
  color: #5d4f45;
  background: #fff7eb;
  border: 1px solid #f2dec1;
  border-radius: 999px;
  font-size: 12px;
  line-height: 1;
  white-space: nowrap;
}

.mini-weight-stock b {
  color: #d62300;
  font-weight: 900;
}

.mini-weight-stock .is-empty {
  color: #9a918a;
  background: #f2f0ed;
  border-color: #e4ded7;
}

.mini-weight-stock .is-empty b {
  color: #9a918a;
}

.mini-product-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: 10px;
}

.mini-product-bottom span,
.mini-product-price {
  color: #d62300;
  font-size: 14px;
  font-weight: 900;
}

.mini-product-price {
  display: block;
  white-space: nowrap;
}

.mini-spec-button {
  min-height: 38px;
  padding: 0 16px;
  color: var(--white);
  background: #d62300;
  border: 0;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
}

.mini-cart-bar {
  position: fixed;
  left: 50%;
  bottom: 14px;
  z-index: 38;
  display: grid;
  grid-template-columns: 1fr 116px;
  width: min(720px, calc(100% - 24px));
  min-height: 58px;
  overflow: hidden;
  background: #251f1a;
  border-radius: 999px;
  box-shadow: 0 16px 38px rgba(64, 39, 20, 0.24);
  transform: translateX(-50%);
}

.mini-cart-summary {
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 8px 14px;
  color: #ffffff;
  text-align: left;
  background: transparent;
  border: 0;
}

.mini-cart-icon {
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  width: 42px;
  height: 42px;
  color: #d62300;
  background: #ffffff;
  border-radius: 999px;
  font-weight: 900;
}

.mini-cart-icon svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 2.4;
}

.mini-cart-summary strong,
.mini-cart-summary small {
  display: block;
}

.mini-cart-summary strong {
  font-size: 20px;
}

.mini-cart-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
}

.mini-cart-checkout {
  display: grid;
  place-items: center;
  color: #ffffff;
  background: #d62300;
  font-weight: 900;
}

.spec-sheet {
  position: fixed;
  inset: 0;
  z-index: 70;
  display: none;
  align-items: end;
  justify-content: center;
  background: rgba(18, 39, 34, 0.42);
}

.spec-sheet.is-open {
  display: flex;
}

.spec-card {
  position: relative;
  display: grid;
  gap: 14px;
  width: min(760px, 100%);
  max-height: 88vh;
  overflow: auto;
  padding: 18px 16px calc(18px + env(safe-area-inset-bottom));
  background: var(--white);
  border-radius: 8px 8px 0 0;
  box-shadow: 0 -18px 44px rgba(18, 59, 52, 0.2);
}

.sheet-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 22px;
}

.spec-content {
  display: grid;
  gap: 14px;
}

.spec-main {
  display: grid;
  grid-template-columns: 112px 1fr;
  gap: 14px;
  padding-right: 34px;
}

.spec-main img,
.spec-no-photo {
  width: 112px;
  height: 112px;
  border-radius: 8px;
  object-fit: cover;
}

.spec-main h2 {
  margin: 4px 0 10px;
  font-size: 24px;
}

.spec-main strong,
.spec-main span {
  display: block;
}

.spec-main strong {
  color: var(--clay);
  font-size: 25px;
}

.spec-main span {
  margin-top: 6px;
  color: var(--muted);
  font-weight: 800;
}

.spec-text {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

.spec-card label {
  display: grid;
  gap: 8px;
  font-weight: 900;
}

.spec-card select {
  width: 100%;
  height: 48px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.sheet-qty-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 12px 0;
  font-weight: 900;
}

.sheet-stock-hint {
  flex: 1 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
}

.sheet-stepper {
  display: grid;
  grid-template-columns: 44px 54px 44px;
  align-items: center;
  justify-items: center;
  gap: 8px;
}

.sheet-stepper button {
  width: 44px;
  height: 44px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 999px;
  font-size: 24px;
  font-weight: 900;
}

.sheet-stepper button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
}

.sheet-stepper b {
  font-size: 20px;
}

.sheet-submit {
  width: 100%;
  min-height: 52px;
  border-radius: 999px;
  font-size: 17px;
}

.home-gate {
  position: relative;
  display: grid;
  min-height: 100vh;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.home-gate-content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  gap: 24px;
  width: min(1120px, calc(100% - 40px));
  min-height: 100vh;
  margin: 0 auto;
  padding: clamp(44px, 8vw, 96px) 0;
}

.gate-brand {
  width: fit-content;
  color: var(--white);
}

.gate-brand small {
  color: rgba(255, 255, 255, 0.78);
}

.home-gate h1 {
  max-width: 1000px;
  margin: 0;
  font-size: clamp(40px, 8vw, 86px);
  line-height: 1.03;
  white-space: nowrap;
}

.gate-button-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(16px, 3vw, 28px);
  margin-top: clamp(14px, 4vw, 36px);
}

.gate-button {
  display: grid;
  align-content: center;
  gap: 14px;
  min-height: clamp(210px, 28vw, 320px);
  padding: clamp(24px, 4vw, 42px);
  color: var(--white);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.gate-button:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 58px rgba(18, 59, 52, 0.24);
}

.gate-button span {
  font-size: clamp(42px, 7vw, 78px);
  font-weight: 900;
  line-height: 1;
}

.gate-button small {
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 2vw, 22px);
  line-height: 1.55;
}

.gate-eco {
  background: linear-gradient(135deg, #16715d, #2d7c8a);
}

.gate-buy {
  background: linear-gradient(135deg, #c4532f, #e08b38);
}

.hero-photo {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(18, 59, 52, 0.92), rgba(18, 59, 52, 0.54) 58%, rgba(18, 59, 52, 0.24)),
    url("./assets/home-bg.jpg") center / cover,
    url("https://imagepphcloud.thepaper.cn/pph/image/339/107/706.jpg") center / cover;
}

.hero-copy {
  position: relative;
  width: min(980px, calc(100% - 40px));
  margin-left: clamp(20px, 7vw, 96px);
  padding: 84px 0 132px;
}

.eyebrow {
  margin: 0 0 12px;
  color: var(--clay);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero .eyebrow,
.supply-card .eyebrow {
  color: var(--rice);
}

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

.hero h1 {
  max-width: 960px;
  margin: 0;
  font-size: clamp(34px, 6vw, 76px);
  line-height: 1.06;
  overflow-wrap: normal;
  white-space: nowrap;
}

.hero p:not(.eyebrow) {
  max-width: 640px;
  margin: 24px 0 30px;
  color: rgba(255, 255, 255, 0.86);
  font-size: clamp(17px, 2vw, 22px);
  line-height: 1.78;
}

.clean-hero {
  min-height: 760px;
}

.home-choice-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  width: min(780px, 100%);
  margin-top: 30px;
}

.home-choice {
  display: grid;
  gap: 10px;
  min-height: 168px;
  padding: 22px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.13);
  border: 1px solid rgba(255, 255, 255, 0.32);
  border-radius: 8px;
  backdrop-filter: blur(10px);
}

.home-choice span {
  color: var(--rice);
  font-weight: 900;
}

.home-choice strong {
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.05;
}

.home-choice small {
  color: rgba(255, 255, 255, 0.82);
  font-size: 15px;
  line-height: 1.65;
}

.home-choice.buy {
  background: rgba(184, 93, 58, 0.86);
  border-color: rgba(255, 255, 255, 0.18);
}

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

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border: 1px solid transparent;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.button:hover,
.mini-button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--white);
  background: var(--clay);
  box-shadow: 0 16px 28px rgba(184, 93, 58, 0.28);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.12);
}

.button span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  margin-left: 8px;
  color: var(--deep);
  background: var(--rice);
  border-radius: 999px;
  font-size: 13px;
}

.supply-card {
  position: absolute;
  right: clamp(20px, 6vw, 86px);
  bottom: 34px;
  width: min(320px, calc(100% - 40px));
  padding: 20px;
  background: rgba(47, 107, 79, 0.78);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 8px;
  backdrop-filter: blur(14px);
}

.supply-card span,
.supply-card small {
  display: block;
  color: rgba(255, 255, 255, 0.82);
}

.supply-card strong {
  display: block;
  margin: 8px 0;
  font-size: 42px;
}

.stock-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 14px 0;
}

.stock-list b {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 10px;
  color: var(--deep);
  background: rgba(255, 255, 255, 0.86);
  border-radius: 8px;
  font-size: 14px;
}

.stock-list span {
  color: var(--clay);
  font-weight: 900;
}

.signal-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: var(--line);
  border-bottom: 1px solid var(--line);
}

.signal-strip div {
  padding: 28px clamp(18px, 4vw, 56px);
  background: var(--white);
}

.signal-strip strong,
.signal-strip span {
  display: block;
}

.signal-strip strong {
  color: var(--leaf);
  font-size: clamp(24px, 4vw, 38px);
}

.signal-strip span {
  margin-top: 8px;
  color: var(--muted);
}

.section,
.commerce-grid {
  padding: clamp(62px, 9vw, 108px) clamp(20px, 5vw, 72px);
}

.split {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) minmax(320px, 0.92fr);
  gap: clamp(28px, 6vw, 72px);
  align-items: center;
  background: var(--white);
}

.pond-image {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.pond-image img {
  width: 100%;
  min-height: 520px;
  object-fit: cover;
  background:
    linear-gradient(135deg, #edf2ea, #dfe9dc);
}

.section-copy h2,
.section-heading h2,
.order-panel h2,
.dashboard h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
}

.section-copy p,
.section-heading p,
.product-card p {
  color: var(--muted);
  line-height: 1.78;
}

.promise-list {
  display: grid;
  gap: 12px;
  margin-top: 24px;
}

.promise-list article {
  display: grid;
  grid-template-columns: 42px 1fr;
  gap: 14px;
  align-items: center;
  padding: 15px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.promise-list b {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(220px, 0.8fr) minmax(260px, 1.2fr);
  gap: 24px;
  align-items: end;
  margin-bottom: 28px;
}

.section-heading code {
  padding: 2px 6px;
  color: var(--deep);
  background: #e7eee5;
  border-radius: 6px;
}

.fold-section {
  display: block;
}

.fold-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
  padding: 18px 20px;
  list-style: none;
  color: var(--white);
  background: var(--leaf);
  border-radius: 8px;
  cursor: pointer;
}

.fold-summary::-webkit-details-marker {
  display: none;
}

.fold-summary span,
.fold-summary small,
.fold-summary strong,
.fold-summary b {
  display: block;
}

.fold-summary small {
  color: rgba(255, 255, 255, 0.72);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.fold-summary strong {
  margin-top: 4px;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
}

.fold-summary b {
  flex: 0 0 auto;
  padding: 8px 10px;
  color: var(--deep);
  background: var(--rice);
  border-radius: 8px;
  font-size: 13px;
}

.buy-summary {
  background: var(--clay);
}

.fold-content {
  display: block;
}

.media-section {
  background: #eef3eb;
}

.environment-section {
  background: #eef3eb;
}

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

.media-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 59, 52, 0.08);
}

.media-card img,
.media-card video,
.media-video-poster {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  background:
    repeating-linear-gradient(135deg, #edf2ea, #edf2ea 12px, #e2eadf 12px, #e2eadf 24px);
}

.media-card video {
  display: block;
}

.video-player-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: #101816;
}

.video-player-wrap video {
  width: 100%;
  height: 100%;
}

.video-error {
  display: grid;
  align-content: center;
  gap: 8px;
  width: 100%;
  aspect-ratio: 16 / 10;
  padding: 18px;
  color: var(--white);
  background: #172722;
}

.video-error strong,
.video-error p,
.video-error small {
  display: block;
  margin: 0;
  padding: 0;
  color: inherit;
}

.video-error p,
.video-error small {
  color: rgba(255, 255, 255, 0.76);
  line-height: 1.6;
}

.media-lightbox {
  position: fixed;
  inset: 0;
  z-index: 90;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: rgba(9, 18, 16, 0.88);
}

.media-lightbox.is-open {
  display: flex;
}

.media-lightbox img {
  max-width: min(1120px, 96vw);
  max-height: 90vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.36);
}

.media-lightbox-close {
  position: fixed;
  top: 18px;
  right: 18px;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.26);
  border-radius: 999px;
  font-size: 28px;
  cursor: pointer;
}

.media-video-poster {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 0;
  color: #fff;
  cursor: pointer;
  font: inherit;
  background-position: center;
  background-size: cover;
  position: relative;
}

.media-video-poster::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.18);
}

.media-card .media-video-poster span {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 84px;
  height: 84px;
  padding: 0;
  border-radius: 999px;
  background: rgba(207, 31, 46, 0.92);
  color: #fff;
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.24);
}

.media-card span {
  display: block;
  padding: 14px 16px 4px;
  color: var(--ink);
  font-weight: 800;
}

.media-card small {
  display: block;
  padding: 0 16px 14px;
  color: var(--muted);
}

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

.proof-card p {
  min-height: 70px;
  margin: 0;
  padding: 0 16px 10px;
  color: var(--muted);
  line-height: 1.65;
}

.compact-heading {
  margin-bottom: 22px;
}

.section-action {
  display: flex;
  justify-content: center;
  margin-top: 26px;
}

.small-action {
  justify-content: flex-start;
  margin-top: 18px;
}

.small-button {
  min-height: 38px;
  padding: 0 14px;
  font-size: 14px;
}

.embedded-strip {
  margin: 24px 0;
  border: 1px solid var(--line);
  border-radius: 8px;
  overflow: hidden;
}

.page-promise {
  margin-top: 18px;
}

.page-intro p {
  color: var(--muted);
  line-height: 1.85;
}

.media-grid-wide {
  margin-top: 24px;
}

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

.product-card {
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 14px 30px rgba(18, 59, 52, 0.08);
}

.product-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  background: #dce8e2;
}

.no-photo {
  display: grid;
  place-items: center;
  width: 100%;
  height: 220px;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, #edf2ea, #edf2ea 12px, #e2eadf 12px, #e2eadf 24px);
  font-weight: 800;
}

.product-body {
  padding: 18px;
}

.tag-row,
.price-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.tag-row {
  margin-bottom: 12px;
  color: var(--muted);
  font-size: 13px;
}

.tag-row span:first-child {
  color: var(--water);
  font-weight: 800;
}

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

.product-card p {
  min-height: 78px;
  margin: 0 0 16px;
}

.product-card .market-note {
  display: none;
  min-height: 54px;
  margin-top: -4px;
  color: #6b6242;
  font-size: 13px;
  line-height: 1.6;
}

.price-line {
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.price-line strong {
  color: var(--clay);
  font-size: 21px;
}

.product-actions {
  display: flex;
  padding-top: 14px;
  border-top: 1px solid var(--line);
}

.mini-button {
  min-width: 96px;
  min-height: 36px;
  color: var(--white);
  background: var(--leaf);
  border: 0;
  border-radius: 8px;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.18s ease;
}

.mini-button.as-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 14px;
}

.danger-button {
  background: var(--clay);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(320px, 1fr) minmax(320px, 0.86fr);
  gap: clamp(22px, 5vw, 56px);
  align-items: start;
}

.product-detail-media,
.product-detail-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 59, 52, 0.08);
}

.product-detail-media {
  overflow: hidden;
}

.product-detail-media img,
.detail-no-photo {
  width: 100%;
  min-height: min(620px, 72vh);
  object-fit: cover;
}

.product-detail-card {
  display: grid;
  gap: 18px;
  padding: clamp(20px, 3vw, 32px);
}

.product-detail-card h1 {
  margin: 0;
  font-size: clamp(36px, 6vw, 64px);
  line-height: 1.05;
}

.product-detail-text,
.detail-notes p {
  margin: 0;
  color: var(--muted);
  line-height: 1.8;
}

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

.detail-price-grid div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.detail-price-grid span,
.detail-price-grid strong {
  display: block;
}

.detail-price-grid span {
  color: var(--muted);
  font-size: 13px;
}

.detail-price-grid strong {
  margin-top: 6px;
  color: var(--clay);
  font-size: 28px;
}

.detail-notes {
  display: grid;
  gap: 8px;
  padding: 16px;
  background: #eef3eb;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.product-buy-form {
  display: grid;
  gap: 14px;
}

.product-buy-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.product-buy-form input,
.product-buy-form select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.mini-button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
  transform: none;
}

.cart-panel {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 40;
  display: grid;
  grid-template-rows: auto 1fr auto;
  width: min(420px, 100vw);
  height: 100vh;
  padding: 22px;
  background: var(--white);
  border-left: 1px solid var(--line);
  box-shadow: -20px 0 46px rgba(18, 59, 52, 0.18);
  transform: translateX(104%);
  transition: transform 0.22s ease;
}

.option-modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: end;
  justify-content: center;
  padding: 20px;
  background: rgba(18, 39, 34, 0.46);
}

.option-modal.is-open {
  display: flex;
}

.option-card {
  display: grid;
  gap: 16px;
  width: min(460px, 100%);
  padding: 20px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.option-card label,
.order-query {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.option-card input,
.option-card select,
.order-query input {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.cart-panel.is-open {
  transform: translateX(0);
}

.cart-head,
.cart-foot,
.cart-item,
.checkout-line {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.cart-head h2 {
  margin: 0;
  font-size: 34px;
}

.icon-button {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
  font-size: 24px;
  cursor: pointer;
}

.cart-items {
  display: grid;
  align-content: start;
  gap: 12px;
  overflow: auto;
  padding: 22px 0;
}

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

.cart-item strong,
.cart-item span {
  display: block;
}

.cart-item span,
.empty-cart,
.checkout-line span,
.checkout-total small,
.ledger-note {
  color: var(--muted);
  line-height: 1.65;
}

.qty-control {
  display: grid;
  grid-template-columns: 38px 42px 38px;
  align-items: center;
  justify-items: center;
  gap: 6px;
}

.qty-control button {
  width: 38px;
  height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--paper);
  cursor: pointer;
  font-size: 20px;
  font-weight: 900;
}

.qty-control b {
  font-size: 18px;
}

.qty-control small {
  grid-column: 1 / -1;
  color: var(--muted);
  font-size: 11px;
}

.cart-foot {
  align-items: stretch;
  flex-direction: column;
  padding-top: 16px;
  border-top: 1px solid var(--line);
}

.cart-foot strong {
  color: var(--clay);
  font-size: 32px;
}

.floating-cart {
  position: fixed;
  right: 20px;
  bottom: 20px;
  z-index: 30;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  color: var(--white);
  background: var(--deep);
  border: 0;
  border-radius: 8px;
  box-shadow: var(--shadow);
  cursor: pointer;
  font-weight: 800;
}

.floating-cart span {
  display: inline-grid;
  place-items: center;
  min-width: 24px;
  height: 24px;
  color: var(--deep);
  background: var(--rice);
  border-radius: 999px;
}

.page-shell {
  padding: clamp(42px, 7vw, 86px) clamp(20px, 5vw, 72px);
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(320px, 0.85fr) minmax(340px, 1.15fr);
  gap: clamp(20px, 4vw, 42px);
  align-items: start;
}

.checkout-summary,
.checkout-form-card,
.ledger-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 59, 52, 0.08);
  padding: clamp(20px, 3vw, 30px);
}

.checkout-summary h1,
.ledger-card h1,
.checkout-form-card h2 {
  margin: 0;
  font-size: clamp(30px, 5vw, 54px);
  line-height: 1.08;
}

.checkout-items {
  display: grid;
  gap: 12px;
  margin: 24px 0;
}

.checkout-line {
  align-items: flex-start;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-line span {
  display: block;
  margin-top: 5px;
  font-size: 13px;
}

.checkout-line small {
  display: block;
  margin-top: 6px;
  color: var(--muted);
}

.checkout-line b {
  white-space: nowrap;
  color: var(--clay);
}

.checkout-total {
  display: grid;
  gap: 8px;
  padding: 18px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-total strong {
  color: var(--clay);
  font-size: 36px;
}

.status-pill {
  display: inline-flex;
  margin-top: 18px;
  padding: 8px 12px;
  color: #6b4b00;
  background: rgba(241, 210, 125, 0.45);
  border: 1px solid rgba(184, 93, 58, 0.2);
  border-radius: 8px;
  font-weight: 900;
}

.checkout-form,
.service-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.checkout-form label,
.service-form label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea,
.service-form input,
.service-form select,
.service-form textarea {
  width: 100%;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.checkout-form input,
.checkout-form select,
.service-form input,
.service-form select {
  height: 46px;
}

.checkout-form textarea,
.service-form textarea {
  padding-top: 12px;
  resize: vertical;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--leaf);
  font-weight: 800;
}

.service-request-card p,
.service-request-card small {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.service-reply {
  display: grid;
  gap: 6px;
  margin-top: 10px;
  padding: 12px;
  background: rgba(25, 143, 95, 0.08);
  border: 1px solid rgba(25, 143, 95, 0.18);
  border-radius: 8px;
}

.service-reply strong {
  color: var(--leaf);
}

.pay-qr-section {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pay-qr-section h3 {
  margin: 0;
  font-size: 22px;
}

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

.pay-qr-card {
  display: grid;
  gap: 10px;
  justify-items: center;
  padding: 14px;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.pay-qr-card img,
.qr-placeholder {
  width: min(180px, 100%);
  aspect-ratio: 1;
  border-radius: 8px;
}

.pay-qr-card img {
  object-fit: contain;
  border: 1px solid var(--line);
}

.qr-placeholder {
  display: grid;
  place-items: center;
  padding: 14px;
  color: var(--muted);
  background: repeating-linear-gradient(135deg, #edf2ea, #edf2ea 10px, #e2eadf 10px, #e2eadf 20px);
  font-weight: 800;
}

.pay-qr-card span {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.ledger-page {
  background: #eef3eb;
}

.ledger-summary {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 24px 0;
}

.ledger-summary div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ledger-summary strong,
.ledger-summary span {
  display: block;
}

.ledger-summary strong {
  color: var(--leaf);
  font-size: 24px;
}

.ledger-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-query {
  grid-template-columns: minmax(220px, 360px) auto;
  align-items: end;
  margin: 24px 0;
}

.customer-order-list {
  display: grid;
  gap: 16px;
}

.customer-order-card {
  display: grid;
  gap: 14px;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.customer-order-card b {
  color: var(--clay);
}

.customer-order-lines {
  display: grid;
  gap: 8px;
}

.customer-order-lines p {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 10px;
  background: var(--paper);
  border-radius: 8px;
}

.order-payment-box {
  display: grid;
  grid-template-columns: 1fr minmax(120px, 180px);
  gap: 12px;
  align-items: center;
  padding: 14px;
  background: #fff7eb;
  border: 1px solid #f2dec1;
  border-radius: 8px;
}

.order-payment-control {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: end;
}

.order-payment-control label {
  display: grid;
  flex: 1 1 180px;
  gap: 6px;
  font-weight: 800;
}

.order-payment-control select {
  width: 100%;
  height: 42px;
  padding: 0 10px;
  color: var(--ink);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-payment-box strong,
.order-payment-box p,
.order-payment-box small {
  margin: 0;
}

.order-payment-box p,
.order-payment-box small {
  color: var(--muted);
  line-height: 1.6;
}

.order-payment-box > p {
  grid-column: 1 / -1;
}

.order-payment-box img,
.order-payment-box .qr-placeholder {
  grid-column: 2;
  grid-row: 1 / span 2;
  width: 100%;
  aspect-ratio: 1;
  object-fit: contain;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-payment-box small {
  grid-column: 1 / -1;
}

table {
  width: 100%;
  min-width: 1080px;
  border-collapse: collapse;
  background: var(--white);
}

th,
td {
  padding: 13px 12px;
  text-align: left;
  border-bottom: 1px solid var(--line);
  vertical-align: top;
}

th {
  color: var(--deep);
  background: var(--paper);
  font-size: 13px;
}

td small {
  color: var(--muted);
}

.login-shell {
  display: grid;
  place-items: center;
  min-height: 100vh;
  padding: 24px;
  background:
    linear-gradient(90deg, rgba(18, 59, 52, 0.9), rgba(18, 59, 52, 0.55)),
    url("./assets/home-bg.jpg") center / cover;
}

.login-card {
  display: grid;
  gap: 16px;
  width: min(420px, 100%);
  padding: 28px;
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.login-card h1,
.admin-section h1,
.admin-section h2 {
  margin: 0;
}

.login-card label,
.admin-grid label,
.media-admin-row label {
  display: grid;
  gap: 8px;
  font-weight: 800;
}

.login-card input,
.admin-grid input,
.admin-grid textarea,
.admin-table-wrap input,
.admin-table-wrap textarea,
.admin-table-wrap select,
.media-admin-row input,
.media-admin-row select {
  width: 100%;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.admin-shell {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 26px;
  padding: clamp(34px, 5vw, 72px);
}

.admin-module-nav {
  position: sticky;
  top: 86px;
  display: grid;
  align-self: start;
  gap: 8px;
  padding: 14px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 59, 52, 0.08);
}

.admin-module-nav strong {
  color: var(--ink);
  font-size: 16px;
}

.admin-module-nav a {
  min-height: 38px;
  padding: 9px 10px;
  color: var(--muted);
  background: var(--paper);
  border-radius: 8px;
  font-weight: 800;
}

.admin-module-nav a:hover {
  color: var(--white);
  background: var(--leaf);
}

.admin-section {
  display: grid;
  gap: 18px;
  grid-column: 2;
  scroll-margin-top: 86px;
  padding: clamp(20px, 3vw, 30px);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 59, 52, 0.08);
}

.admin-title-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.preview-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.frontend-preview-frame {
  overflow: hidden;
  width: min(420px, 100%);
  height: 720px;
  margin: 0 auto;
  background: #f7f2ea;
  border: 10px solid #222;
  border-radius: 28px;
  box-shadow: 0 20px 44px rgba(18, 59, 52, 0.16);
}

.frontend-preview-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff;
}

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

.wide-field {
  grid-column: 1 / -1;
}

.admin-module-title {
  grid-column: 1 / -1;
  margin: 10px 0 0;
  padding-top: 14px;
  color: var(--leaf);
  border-top: 1px solid var(--line);
}

.admin-module-title:first-child {
  margin-top: 0;
  padding-top: 0;
  border-top: 0;
}

.admin-table-wrap {
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.media-admin-list {
  display: grid;
  gap: 12px;
}

.media-admin-row {
  display: grid;
  grid-template-columns: 120px 1fr 1.4fr 160px auto;
  gap: 12px;
  align-items: end;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.link-button {
  padding: 0;
  color: var(--muted);
  background: transparent;
  border: 0;
  cursor: pointer;
}

.button.ghost-dark {
  color: var(--leaf);
  background: var(--paper);
  border-color: var(--line);
}

.commerce-grid {
  display: grid;
  grid-template-columns: minmax(320px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 4vw, 42px);
  background: #e9f0e7;
}

.order-panel,
.dashboard {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: 0 16px 34px rgba(18, 59, 52, 0.08);
  padding: clamp(20px, 3vw, 28px);
}

.order-form {
  display: grid;
  gap: 15px;
  margin-top: 22px;
}

.order-form label {
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-weight: 800;
}

.order-form input,
.order-form select {
  width: 100%;
  height: 46px;
  padding: 0 12px;
  color: var(--ink);
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

fieldset {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

legend {
  padding: 0 6px;
  color: var(--muted);
  font-weight: 800;
}

fieldset label {
  display: inline-flex;
  grid-template-columns: auto;
  align-items: center;
  gap: 7px;
  color: var(--ink);
  font-weight: 700;
}

fieldset input {
  width: auto;
  height: auto;
}

.estimate {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 4px 16px;
  align-items: center;
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.estimate span {
  color: var(--muted);
}

.estimate strong {
  color: var(--clay);
  font-size: 30px;
}

.estimate small {
  grid-column: 1 / -1;
  color: var(--muted);
}

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

.ledger-summary div {
  padding: 16px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.ledger-summary strong,
.ledger-summary span {
  display: block;
}

.ledger-summary strong {
  color: var(--leaf);
  font-size: 24px;
}

.ledger-summary span {
  margin-top: 6px;
  color: var(--muted);
  font-size: 13px;
}

.order-list {
  display: grid;
  gap: 10px;
}

.order-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
}

.order-item strong,
.order-item b,
.order-item span {
  display: block;
}

.order-item span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 13px;
}

.order-item b {
  color: var(--clay);
  text-align: right;
}

.footer {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 24px clamp(20px, 5vw, 72px);
  color: var(--muted);
  background: var(--white);
  border-top: 1px solid var(--line);
}

@media (max-width: 980px) {
  .signal-strip,
  .product-grid,
  .media-grid,
  .proof-grid,
  .gate-button-grid,
  .plain-home-gate,
  .home-choice-grid,
  .admin-grid,
  .ledger-summary,
  .commerce-grid,
  .split,
  .section-heading,
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr 1fr;
  }

  .commerce-grid,
  .split,
  .section-heading,
  .product-detail,
  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .admin-shell {
    grid-template-columns: 1fr;
    padding-bottom: 112px;
  }

  .admin-module-nav {
    position: fixed;
    left: 10px;
    right: 10px;
    bottom: 10px;
    top: auto;
    z-index: 70;
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding: 10px;
    border-radius: 999px;
    box-shadow: 0 18px 42px rgba(18, 59, 52, 0.2);
  }

  .admin-module-nav strong {
    flex: 0 0 auto;
    align-self: center;
    padding-left: 6px;
    white-space: nowrap;
  }

  .admin-module-nav a {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    white-space: nowrap;
  }

  .admin-section {
    grid-column: 1;
    scroll-margin-top: 96px;
  }

  .pond-image img {
    min-height: 360px;
  }
}

@media (max-width: 680px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

  .nav {
    width: 100%;
    justify-content: space-between;
  }

  .hero {
    min-height: 760px;
  }

  .hero-copy {
    width: calc(100% - 40px);
    margin: 0 20px;
    padding-top: 68px;
  }

  .supply-card {
    left: 20px;
    right: 20px;
  }

  .signal-strip,
  .product-grid,
  .media-grid,
  .proof-grid,
  .home-choice-grid,
  .admin-grid,
  .ledger-summary,
  .pay-qr-grid,
  .stock-list {
    grid-template-columns: 1fr;
  }

  .media-admin-row {
    grid-template-columns: 1fr;
  }

  .order-query {
    grid-template-columns: 1fr;
  }

  .fold-summary {
    align-items: flex-start;
    flex-direction: column;
  }

  .detail-price-grid {
    grid-template-columns: 1fr;
  }

  .admin-title-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .hero h1 {
    font-size: clamp(27px, 8.5vw, 38px);
  }

  .home-gate h1 {
    white-space: normal;
    font-size: clamp(34px, 10vw, 48px);
  }

  .gate-button {
    min-height: 180px;
  }

  .nav-pill {
    flex: 1;
    font-size: 16px;
  }

  .order-item {
    grid-template-columns: 1fr;
  }

  .order-item b {
    text-align: left;
  }

  .order-payment-box {
    grid-template-columns: 1fr;
  }

  .order-payment-box img,
  .order-payment-box .qr-placeholder {
    grid-column: auto;
    grid-row: auto;
    width: min(220px, 100%);
    justify-self: center;
  }

  .footer {
    flex-direction: column;
  }

  .plain-home-gate {
    grid-template-columns: 1fr;
    align-content: center;
    width: min(420px, calc(100% - 32px));
  }

  .plain-home-button {
    min-height: clamp(150px, 32vh, 220px);
    font-size: clamp(44px, 15vw, 62px);
    white-space: nowrap;
  }
}

@media (max-width: 520px) {
  .mini-shop-shell {
    padding: 10px 8px 104px;
  }

  .kfc-shop-layout {
    grid-template-columns: 76px minmax(0, 1fr);
    gap: 8px;
  }

  .category-sidebar {
    top: 62px;
    padding: 5px;
  }

  .category-sidebar a {
    min-height: 48px;
    padding: 7px 4px;
    font-size: 13px;
  }

  .mini-product-card {
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .mini-product-card img,
  .mini-no-photo {
    width: 92px;
    height: 98px;
  }

  .mini-product-info h3 {
    font-size: 18px;
  }

  .mini-product-bottom {
    align-items: flex-end;
    flex-direction: column;
  }

  .mini-spec-button {
    width: 100%;
  }

  .mini-cart-bar {
    grid-template-columns: 1fr 102px;
    width: calc(100% - 18px);
    min-height: 56px;
  }

  .mini-cart-checkout {
    font-size: 15px;
  }
}
