:root {
  color-scheme: light;
  --ink: #142321;
  --muted: #5f716d;
  --paper: #fbfaf6;
  --surface: rgba(255, 255, 255, 0.78);
  --line: rgba(20, 35, 33, 0.12);
  --green: #1b7f68;
  --green-strong: #075b49;
  --deep: #06231f;
  --coral: #e4694b;
  --gold: #c7933a;
  --blue: #236d8f;
  --shadow: 0 22px 55px rgba(20, 35, 33, 0.16);
  --radius: 8px;
  --brand-bg: image-set(url("assets/brand-bg-hainan-dragon.webp") type("image/webp"), url("assets/brand-bg-hainan-dragon.jpg") type("image/jpeg"));
  --brand-bg-mobile: image-set(url("assets/brand-bg-hainan-dragon-mobile.webp") type("image/webp"), url("assets/brand-bg-hainan-dragon-mobile.jpg") type("image/jpeg"));
  --brand-texture:
    radial-gradient(circle at 14% 0%, rgba(27, 127, 104, 0.075), transparent 19rem),
    radial-gradient(circle at 92% 18%, rgba(199, 147, 58, 0.07), transparent 16rem),
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.035) 0 1px, transparent 1px 22px);
  --brand-panel:
    var(--brand-texture),
    linear-gradient(145deg, rgba(255, 255, 255, 0.86), rgba(244, 250, 246, 0.72));
  --brand-panel-strong:
    var(--brand-texture),
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(239, 248, 243, 0.8));
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  position: relative;
  background:
    radial-gradient(circle at 50% -12rem, rgba(27, 127, 104, 0.17), transparent 38rem),
    linear-gradient(180deg, #eef7f1 0, #f7f7ef 34rem, #fbfaf6 72rem),
    var(--paper);
  color: var(--ink);
  font-family:
    -apple-system, BlinkMacSystemFont, "SF Pro Display", "SF Pro Text", "PingFang SC",
    "Microsoft YaHei", sans-serif;
  letter-spacing: 0;
}

html[data-device="mobile"] {
  scroll-padding-top: 74px;
}

html[data-device="desktop"] {
  scroll-padding-top: 92px;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.66), rgba(251, 250, 246, 0.5)),
    repeating-linear-gradient(115deg, rgba(27, 127, 104, 0.045) 0 1px, transparent 1px 28px),
    radial-gradient(circle at 12% 18%, rgba(27, 127, 104, 0.13), transparent 28rem),
    radial-gradient(circle at 88% 10%, rgba(199, 147, 58, 0.11), transparent 24rem),
    radial-gradient(circle at 82% 82%, rgba(228, 105, 75, 0.08), transparent 26rem);
  pointer-events: none;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  opacity: 0.38;
  background: var(--brand-bg) center top / min(1500px, 112vw) auto no-repeat;
  pointer-events: none;
}

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

button {
  font: inherit;
}

.page-shell {
  max-width: 1360px;
  margin: 0 auto;
  padding: 18px clamp(14px, 3vw, 34px) 112px;
}

body.is-desktop-ui .page-shell {
  max-width: 1440px;
}

body.is-tablet-ui .page-shell {
  max-width: 980px;
}

body.is-mobile-ui {
  background:
    linear-gradient(180deg, #eef7f1 0, #f7f7ef 34rem, #fbfaf6 72rem),
    var(--paper);
}

body.is-mobile-ui::after {
  position: absolute;
  height: 1180px;
  min-height: 100vh;
  opacity: 0.42;
  background:
    linear-gradient(180deg, rgba(251, 250, 246, 0.04), rgba(251, 250, 246, 0.74) 72%, #fbfaf6 100%),
    var(--brand-bg-mobile) center top / 100% auto no-repeat;
}

.topbar {
  position: sticky;
  top: 12px;
  z-index: 30;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  min-height: 64px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.78), rgba(244, 250, 246, 0.62)),
    rgba(251, 250, 246, 0.76);
  box-shadow: 0 10px 35px rgba(20, 35, 33, 0.08);
  backdrop-filter: blur(24px) saturate(170%);
  transition: background 0.24s ease, box-shadow 0.24s ease, transform 0.24s ease;
}

body.scrolled .topbar {
  background: rgba(251, 250, 246, 0.88);
  box-shadow: 0 14px 38px rgba(20, 35, 33, 0.13);
}

body.is-mobile-ui .topbar {
  position: sticky;
  top: 8px;
  min-height: 56px;
  padding: 8px 10px;
  border-radius: 8px;
}

.brand {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
}

.brand-mark {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  border-radius: 8px;
  overflow: hidden;
  background: #0d6658;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.22);
}

.brand-mark img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.brand strong,
.brand small {
  display: block;
  white-space: nowrap;
}

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

.nav-pills {
  justify-self: center;
  display: flex;
  gap: 6px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.52);
}

body.is-tablet-ui .nav-pills a,
body.is-desktop-ui .nav-pills a {
  transition: background 0.18s ease, color 0.18s ease, transform 0.18s ease;
}

body.is-desktop-ui .nav-pills a:hover {
  transform: translateY(-1px);
}

.nav-pills a {
  min-height: 36px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--muted);
  font-size: 14px;
}

.nav-pills a:hover {
  background: white;
  color: var(--ink);
}

.icon-btn {
  position: relative;
  display: inline-grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.icon-btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 10px 24px rgba(20, 35, 33, 0.12);
}

.icon-btn svg,
.primary-btn svg,
.ghost-btn svg,
.bag-preview svg,
.pay-grid svg,
.origin-list svg {
  width: 19px;
  height: 19px;
  stroke-width: 2;
}

.cart-dot {
  position: absolute;
  top: -3px;
  right: -3px;
  min-width: 20px;
  height: 20px;
  padding: 0 5px;
  border-radius: 999px;
  background: var(--coral);
  color: white;
  font-size: 12px;
  font-weight: 800;
  line-height: 20px;
  text-align: center;
}

.hero {
  position: relative;
  display: grid;
  min-height: min(760px, calc(100vh - 112px));
  margin-top: 18px;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
  isolation: isolate;
  background: var(--deep);
}

body.is-desktop-ui .hero {
  min-height: min(720px, calc(100vh - 98px));
}

body.is-tablet-ui .hero {
  min-height: 680px;
}

.hero-photo,
.hero picture {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-photo {
  object-fit: cover;
  transform: scale(1.03);
  filter: saturate(0.92) contrast(0.98);
  animation: heroBreath 16s ease-in-out infinite alternate;
  will-change: transform;
}

.hero-shade {
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(circle at 72% 42%, rgba(255, 214, 155, 0.16), transparent 18rem),
    linear-gradient(90deg, rgba(6, 31, 29, 0.88), rgba(6, 31, 29, 0.48) 48%, rgba(6, 31, 29, 0.18)),
    linear-gradient(0deg, rgba(6, 31, 29, 0.58), transparent 44%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  opacity: 0.52;
  background:
    linear-gradient(135deg, transparent 0 58%, rgba(255, 214, 155, 0.08) 58% 58.3%, transparent 58.3%),
    repeating-linear-gradient(112deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 24px);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  right: -10%;
  top: -8%;
  z-index: 1;
  width: min(720px, 68vw);
  aspect-ratio: 1;
  border: 1px solid rgba(255, 214, 155, 0.18);
  border-radius: 50%;
  background:
    radial-gradient(circle, transparent 0 44%, rgba(255, 214, 155, 0.1) 44.2% 44.7%, transparent 45%),
    conic-gradient(from 120deg, rgba(255, 214, 155, 0.16), transparent 18%, rgba(27, 127, 104, 0.18), transparent 55%, rgba(255, 214, 155, 0.12));
  opacity: 0.34;
  pointer-events: none;
}

@keyframes heroBreath {
  from {
    transform: scale(1.03);
  }

  to {
    transform: scale(1.075) translate3d(-0.8%, -0.4%, 0);
  }
}

.hero-copy {
  position: relative;
  z-index: 2;
  align-self: center;
  width: min(690px, 100%);
  padding: clamp(28px, 6vw, 84px);
  color: white;
}

.hero-signature {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 22px;
}

.hero-signature span {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
  min-height: 38px;
  padding: 8px 11px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.76);
  backdrop-filter: blur(18px);
}

.hero-signature b {
  color: #ffd69b;
  font-size: 17px;
}

.hero-rail {
  position: absolute;
  top: 84px;
  right: 24px;
  z-index: 2;
  display: flex;
  gap: 14px;
  align-items: center;
  color: rgba(255, 255, 255, 0.48);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 0.18em;
  writing-mode: vertical-rl;
}

.hero-rail i {
  display: block;
  width: 1px;
  height: 80px;
  background: linear-gradient(rgba(255, 255, 255, 0.42), transparent);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  margin: 0 0 12px;
  padding: 5px 11px;
  border: 1px solid rgba(228, 105, 75, 0.2);
  border-radius: 999px;
  background: rgba(228, 105, 75, 0.08);
  color: var(--coral);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
}

.hero .eyebrow {
  min-height: 34px;
  padding: 6px 12px;
  border: 1px solid rgba(255, 214, 155, 0.42);
  border-radius: 999px;
  background: rgba(6, 31, 29, 0.28);
  color: #ffd69b;
  font-size: clamp(15px, 2.1vw, 18px);
  font-weight: 900;
  backdrop-filter: blur(14px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  max-width: 12ch;
  margin-bottom: 18px;
  font-size: clamp(42px, 7vw, 88px);
  line-height: 0.96;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 0;
  font-size: clamp(28px, 4vw, 46px);
  line-height: 1.08;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 8px;
  font-size: 19px;
}

.hero-copy p:not(.eyebrow) {
  max-width: 590px;
  margin-bottom: 26px;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(16px, 1.7vw, 20px);
  line-height: 1.7;
}

.hero-actions,
.section-head,
.origin-list,
.sheet-head {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}

.primary-btn,
.ghost-btn,
.checkout-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  cursor: pointer;
  font-weight: 800;
  transition: transform 0.22s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.22s ease;
}

.primary-btn,
.checkout-btn {
  background: var(--green);
  color: white;
}

.primary-btn:hover,
.checkout-btn:hover,
.ghost-btn:hover {
  transform: translateY(-2px);
}

.primary-btn:disabled {
  cursor: wait;
  filter: grayscale(0.2) opacity(0.78);
  transform: none;
}

.ghost-btn {
  border: 1px solid rgba(255, 255, 255, 0.42);
  background: rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(18px);
}

.compact {
  min-height: 44px;
  padding: 0 15px;
}

.full {
  width: 100%;
}

.hero-panel {
  position: absolute;
  right: clamp(16px, 4vw, 48px);
  bottom: clamp(16px, 4vw, 48px);
  z-index: 2;
  width: min(420px, calc(100% - 32px));
  padding: 16px;
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 8px;
  background:
    repeating-linear-gradient(118deg, rgba(255, 255, 255, 0.055) 0 1px, transparent 1px 22px),
    rgba(255, 255, 255, 0.14);
  color: white;
  backdrop-filter: blur(22px) saturate(160%);
}

.hero-panel-list {
  display: grid;
  gap: 4px;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.hero-panel-list em {
  color: rgba(255, 255, 255, 0.66);
  font-style: normal;
  font-size: 12px;
  font-weight: 800;
}

.hero-panel-list b {
  color: rgba(255, 255, 255, 0.92);
  font-size: 14px;
  line-height: 1.5;
}

.hero-panel span {
  color: #ffd69b;
  font-size: 12px;
  font-weight: 800;
}

.hero-panel strong {
  display: block;
  margin: 7px 0;
  font-size: 20px;
}

.hero-panel p {
  margin: 0;
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.55;
}

.trust-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  margin: 18px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(20, 35, 33, 0.1);
}

.trust-strip div {
  position: relative;
  padding: 20px;
  background: var(--brand-panel);
  backdrop-filter: blur(20px) saturate(160%);
}

.trust-strip div::after,
.pathway-grid article::after,
.product-card::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.5), transparent 36%),
    linear-gradient(315deg, rgba(27, 127, 104, 0.05), transparent 42%);
  pointer-events: none;
}

.trust-strip strong {
  display: block;
  color: var(--green-strong);
  font-size: clamp(20px, 2.1vw, 28px);
  line-height: 1;
  overflow-wrap: anywhere;
}

.trust-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
}

.conversion-band {
  display: grid;
  grid-template-columns: 1.15fr 1fr 1fr;
  gap: 1px;
  margin-top: 18px;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 33, 0.13);
  border-radius: 8px;
  background: rgba(20, 35, 33, 0.12);
  box-shadow: 0 18px 44px rgba(20, 35, 33, 0.08);
}

.conversion-band article {
  display: grid;
  align-content: start;
  min-height: 188px;
  padding: clamp(18px, 3vw, 28px);
  background:
    radial-gradient(circle at 12% 0%, rgba(27, 127, 104, 0.12), transparent 16rem),
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.035) 0 1px, transparent 1px 24px),
    rgba(251, 250, 246, 0.82);
  backdrop-filter: blur(18px) saturate(150%);
}

.conversion-band span {
  width: max-content;
  margin-bottom: 18px;
  padding: 5px 9px;
  border: 1px solid rgba(27, 127, 104, 0.2);
  border-radius: 999px;
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 900;
}

.conversion-band h2 {
  max-width: 10ch;
  margin-bottom: 12px;
  font-size: clamp(24px, 3vw, 36px);
}

.conversion-band p {
  max-width: 42ch;
  margin: 0;
  color: var(--muted);
  line-height: 1.75;
}

.section {
  position: relative;
  isolation: isolate;
  padding: clamp(56px, 8vw, 98px) 0 0;
}

.section::before {
  content: "";
  position: absolute;
  top: clamp(28px, 5vw, 58px);
  left: 50%;
  z-index: -1;
  width: min(100vw, 1440px);
  height: calc(100% - clamp(28px, 5vw, 58px));
  border-radius: 8px;
  background:
    radial-gradient(circle at 8% 0%, rgba(27, 127, 104, 0.09), transparent 24rem),
    radial-gradient(circle at 100% 24%, rgba(199, 147, 58, 0.06), transparent 22rem),
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.026) 0 1px, transparent 1px 28px);
  transform: translateX(-50%);
  pointer-events: none;
}

.section-head {
  justify-content: space-between;
  margin-bottom: 24px;
}

.section-head h2 {
  max-width: 12ch;
}

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

.pathway-grid article {
  position: relative;
  display: grid;
  gap: 12px;
  min-height: 250px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel);
  box-shadow: 0 14px 36px rgba(20, 35, 33, 0.08);
  backdrop-filter: blur(18px) saturate(160%);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

body.is-desktop-ui .pathway-grid article:hover {
  border-color: rgba(27, 127, 104, 0.26);
  transform: translateY(-4px);
  box-shadow: 0 20px 46px rgba(20, 35, 33, 0.12);
}

.pathway-grid article > * {
  position: relative;
  z-index: 1;
}

.pathway-grid svg {
  width: 28px;
  height: 28px;
  color: var(--green);
}

.pathway-grid strong {
  font-size: 20px;
}

.pathway-grid p {
  margin: 0;
  color: var(--muted);
  line-height: 1.7;
}

.pathway-grid a {
  align-self: end;
  justify-self: start;
  padding: 9px 13px;
  border: 1px solid rgba(27, 127, 104, 0.24);
  border-radius: 999px;
  color: var(--green-strong);
  font-weight: 850;
}

.segmented {
  display: inline-flex;
  gap: 4px;
  padding: 4px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
}

.segmented button {
  min-height: 38px;
  min-width: 64px;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  font-weight: 700;
}

.segmented button.active {
  background: var(--ink);
  color: white;
}

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

body.is-desktop-ui .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

body.is-tablet-ui .product-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

body.is-mobile-ui .product-card {
  min-height: auto;
}

body.is-mobile-ui .product-art {
  min-height: 196px;
}

.product-card {
  position: relative;
  display: grid;
  min-height: 430px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel-strong);
  box-shadow: 0 12px 35px rgba(20, 35, 33, 0.08);
  cursor: pointer;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.product-card > * {
  position: relative;
  z-index: 1;
}

.product-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 18px 42px rgba(20, 35, 33, 0.13);
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.56s ease, transform 0.56s cubic-bezier(0.2, 0.85, 0.2, 1);
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.product-card.reveal {
  transition: opacity 0.46s ease, transform 0.46s cubic-bezier(0.2, 0.85, 0.2, 1), box-shadow 0.22s ease;
}

.product-card.sold-out {
  opacity: 0.72;
}

.product-card.sold-out .product-art::before {
  content: "暂时缺货";
  position: absolute;
  inset: 0;
  z-index: 3;
  display: grid;
  place-items: center;
  background: rgba(20, 35, 33, 0.38);
  color: white;
  font-size: 22px;
  font-weight: 900;
  backdrop-filter: blur(2px);
}

.product-art {
  position: relative;
  min-height: 210px;
  background:
    linear-gradient(135deg, rgba(27, 127, 104, 0.06), rgba(228, 105, 75, 0.16)),
    var(--image);
  background-size: cover;
  background-position: center;
  transition: filter 0.35s ease;
}

body.is-desktop-ui .product-card:hover .product-art {
  filter: saturate(1.04) contrast(1.02);
}

.product-art::after {
  content: "";
  position: absolute;
  inset: auto 12px 12px;
  height: 42px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.22);
  filter: blur(8px);
}

.watermark {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 999px;
  background: rgba(6, 31, 29, 0.48);
  color: rgba(255, 255, 255, 0.92);
  font-size: 12px;
  font-weight: 900;
  backdrop-filter: blur(12px);
}

.product-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  padding: 7px 10px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 800;
  backdrop-filter: blur(12px);
}

.product-body {
  display: grid;
  gap: 14px;
  padding: 16px;
}

.product-title {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  align-items: flex-start;
}

.product-title h3 {
  margin: 0;
  line-height: 1.25;
}

.product-proof {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-top: -2px;
}

.product-proof span {
  padding: 5px 8px;
  border: 1px solid rgba(27, 127, 104, 0.16);
  border-radius: 999px;
  background: rgba(27, 127, 104, 0.055);
  color: var(--green-strong);
  font-size: 12px;
  font-weight: 850;
}

.price {
  color: var(--coral);
  font-size: 20px;
  font-weight: 900;
  white-space: nowrap;
}

.product-card p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

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

.spec-options button {
  display: grid;
  gap: 2px;
  min-height: 58px;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--muted);
  cursor: pointer;
  text-align: center;
}

.spec-options button.active {
  border-color: rgba(27, 127, 104, 0.46);
  background: rgba(27, 127, 104, 0.1);
  color: var(--green-strong);
  box-shadow: inset 0 0 0 1px rgba(27, 127, 104, 0.12);
}

.spec-options span {
  font-size: 13px;
  font-weight: 800;
}

.spec-options strong {
  color: var(--coral);
  font-size: 14px;
}

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

.product-meta span {
  padding: 6px 9px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--muted);
  font-size: 12px;
}

.product-meta .stock-empty {
  border-color: rgba(228, 105, 75, 0.28);
  background: rgba(228, 105, 75, 0.08);
  color: var(--coral);
  font-weight: 850;
}

.add-btn {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  border: 0;
  border-radius: 8px;
  background: var(--ink);
  color: white;
  cursor: pointer;
  font-weight: 800;
}

.detail-hint {
  display: block;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.45;
}

.add-btn:disabled,
.detail-buybar button:disabled {
  cursor: not-allowed;
  background: #8a9692;
  color: rgba(255, 255, 255, 0.88);
  transform: none;
}

.product-detail {
  position: fixed;
  z-index: 80;
  top: 18px;
  right: 18px;
  bottom: 18px;
  display: grid;
  grid-template-rows: minmax(250px, 38vh) auto 1fr auto;
  width: min(560px, calc(100% - 36px));
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(251, 250, 246, 0.96);
  box-shadow: 0 28px 70px rgba(20, 35, 33, 0.24);
  transform: translateX(calc(100% + 36px));
  transition: transform 0.36s cubic-bezier(0.2, 0.9, 0.2, 1);
  backdrop-filter: blur(26px) saturate(170%);
}

body.is-desktop-ui .product-detail {
  width: min(620px, calc(100% - 36px));
}

.detail-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 10px 14px;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
}

.detail-gallery button {
  overflow: hidden;
  height: 68px;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  background: white;
  cursor: pointer;
}

.detail-gallery button.active {
  border-color: var(--green);
}

.detail-gallery img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-detail.open {
  transform: translateX(0);
}

.detail-hero {
  position: relative;
  min-height: 250px;
  background: var(--image);
  background-size: cover;
  background-position: center;
}

.detail-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(6, 31, 29, 0.08), rgba(6, 31, 29, 0.42));
  pointer-events: none;
}

.detail-back {
  position: absolute;
  z-index: 2;
  top: 14px;
  left: 14px;
  display: grid;
  width: 44px;
  height: 44px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.76);
  color: var(--ink);
  cursor: pointer;
  backdrop-filter: blur(16px);
}

.detail-back svg,
.ghost-dark-btn svg {
  width: 19px;
  height: 19px;
}

.detail-body {
  display: grid;
  gap: 14px;
  min-height: 0;
  overflow-y: auto;
  padding: 18px;
}

.detail-body > .product-badge {
  position: static;
  justify-self: start;
}

.detail-title {
  display: flex;
  gap: 14px;
  justify-content: space-between;
  align-items: flex-start;
}

.detail-title h2 {
  font-size: clamp(30px, 5vw, 46px);
}

.detail-title > strong {
  color: var(--coral);
  font-size: 30px;
  white-space: nowrap;
}

.detail-desc {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

.detail-tabs {
  display: grid;
  gap: 10px;
}

.detail-tabs article {
  display: grid;
  grid-template-columns: 32px 1fr;
  gap: 4px 10px;
  align-items: start;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}

.detail-tabs svg {
  grid-row: span 2;
  width: 22px;
  height: 22px;
  color: var(--green);
}

.detail-tabs span {
  font-weight: 900;
}

.detail-tabs p {
  margin: 0;
  color: var(--muted);
  line-height: 1.55;
}

.detail-buybar {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 10px;
  padding: 12px 18px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(18px);
}

.ghost-dark-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  color: var(--ink);
  cursor: pointer;
  font-weight: 850;
}

.origin-section {
  display: grid;
  grid-template-columns: 0.95fr 1.2fr;
  gap: clamp(22px, 5vw, 64px);
  align-items: center;
}

.origin-copy p:not(.eyebrow) {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.8;
}

.origin-list {
  align-items: stretch;
}

.origin-list span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background:
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.045) 0 1px, transparent 1px 18px),
    rgba(255, 255, 255, 0.84);
  color: var(--green-strong);
  font-weight: 750;
}

.process-steps {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-top: 18px;
}

.customer-panel {
  display: grid;
  grid-template-columns: minmax(280px, 0.72fr) minmax(320px, 1.28fr);
  gap: 14px;
  align-items: start;
}

.customer-form,
.customer-result,
.service-flow article {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel);
  box-shadow: 0 12px 35px rgba(20, 35, 33, 0.06);
  backdrop-filter: blur(16px);
}

.customer-form {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.customer-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 850;
}

.customer-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.customer-form input:focus {
  border-color: rgba(27, 127, 104, 0.58);
  box-shadow: 0 0 0 4px rgba(27, 127, 104, 0.1);
}

.customer-result {
  min-height: 206px;
  padding: 20px;
}

.customer-result > strong,
.customer-result > span {
  display: block;
}

.customer-result > span {
  margin-top: 8px;
  color: var(--muted);
  line-height: 1.7;
}

.customer-result.pending {
  border-color: rgba(35, 109, 143, 0.28);
  background: rgba(35, 109, 143, 0.08);
}

.customer-result.warning {
  border-color: rgba(199, 147, 58, 0.4);
  background: rgba(199, 147, 58, 0.12);
}

.customer-order-card {
  display: grid;
  gap: 14px;
}

.customer-order-head {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 12px;
  border-bottom: 1px solid var(--line);
}

.customer-order-head span {
  color: var(--muted);
  font-weight: 850;
}

.customer-order-head strong {
  overflow-wrap: anywhere;
}

.order-progress {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
}

.order-progress span {
  display: grid;
  gap: 6px;
  justify-items: center;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  text-align: center;
}

.order-progress i {
  display: block;
  width: 22px;
  height: 22px;
  border: 2px solid rgba(20, 35, 33, 0.16);
  border-radius: 999px;
  background: white;
}

.order-progress .done {
  color: var(--green-strong);
}

.order-progress .done i {
  border-color: var(--green);
  background: var(--green);
  box-shadow: inset 0 0 0 5px white;
}

.customer-order-lines {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 33, 0.1);
  border-radius: 8px;
  background: rgba(20, 35, 33, 0.1);
}

.customer-order-lines span {
  display: grid;
  grid-template-columns: 76px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: rgba(255, 255, 255, 0.9);
}

.customer-order-lines em {
  color: var(--muted);
  font-style: normal;
  font-weight: 850;
}

.customer-order-lines b {
  overflow-wrap: anywhere;
}

.service-flow {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-top: 14px;
}

.service-flow article {
  display: grid;
  gap: 8px;
  min-height: 142px;
  padding: 18px;
}

.service-flow b {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.service-flow span {
  font-weight: 900;
}

.service-flow p {
  margin: 0;
  color: var(--muted);
  line-height: 1.6;
}

.process-steps article {
  display: grid;
  grid-template-columns: 36px 1fr;
  gap: 4px 10px;
  min-height: 96px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel);
  backdrop-filter: blur(14px);
}

.process-steps b {
  grid-row: span 2;
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  border-radius: 999px;
  background: var(--ink);
  color: white;
}

.process-steps span {
  font-weight: 900;
}

.process-steps p {
  margin: 0;
  color: var(--muted);
  line-height: 1.5;
}

.origin-photo-wrap {
  overflow: hidden;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.origin-photo-wrap picture {
  display: block;
}

.origin-photo-wrap img {
  display: block;
  width: 100%;
  aspect-ratio: 1.22;
  object-fit: cover;
}

.seo-copy {
  display: grid;
  gap: 12px;
  padding: 22px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel);
  box-shadow: 0 12px 35px rgba(20, 35, 33, 0.06);
  backdrop-filter: blur(16px);
}

.seo-copy p {
  max-width: 980px;
  margin: 0;
  color: var(--muted);
  font-size: 16px;
  line-height: 1.85;
}

.seo-product-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.seo-product-links a {
  padding: 8px 11px;
  border: 1px solid rgba(27, 127, 104, 0.22);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.72);
  color: var(--green-strong);
  font-size: 13px;
  font-weight: 850;
}

.product-seo-page {
  width: min(1120px, calc(100% - 28px));
  margin: 0 auto;
  padding: 28px 0 80px;
}

.product-seo-hero {
  display: grid;
  grid-template-columns: minmax(280px, 0.9fr) minmax(320px, 1.1fr);
  gap: clamp(20px, 5vw, 56px);
  align-items: center;
  margin-top: 18px;
  padding: clamp(18px, 4vw, 42px);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: var(--shadow);
  backdrop-filter: blur(20px);
}

.product-seo-hero img {
  display: block;
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  object-fit: cover;
}

.product-seo-hero h1 {
  color: var(--ink);
}

.product-seo-hero p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.75;
}

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

.pay-grid article {
  min-height: 230px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(242, 249, 245, 0.7)),
    rgba(255, 255, 255, 0.74);
  backdrop-filter: blur(16px);
}

.pay-grid svg {
  width: 28px;
  height: 28px;
  color: var(--green);
  margin-bottom: 18px;
}

.pay-grid p {
  color: var(--muted);
  line-height: 1.65;
}

.pay-steps {
  margin-top: 14px;
  padding: 18px 18px 18px 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: 0 12px 35px rgba(20, 35, 33, 0.06);
}

.pay-steps li {
  margin: 6px 0;
}

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

.contact-grid article {
  display: grid;
  gap: 8px;
  min-height: 150px;
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.84), rgba(242, 249, 245, 0.68)),
    rgba(255, 255, 255, 0.82);
  box-shadow: 0 12px 35px rgba(20, 35, 33, 0.06);
}

.contact-grid svg {
  width: 26px;
  height: 26px;
  color: var(--green);
}

.contact-grid strong {
  font-size: 18px;
}

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

.bottom-bar {
  position: fixed;
  z-index: 45;
  left: 50%;
  bottom: calc(12px + env(safe-area-inset-bottom));
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  width: min(520px, calc(100% - 24px));
  min-height: 68px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 18px 55px rgba(20, 35, 33, 0.18);
  transform: translateX(-50%);
  backdrop-filter: blur(26px) saturate(175%);
}

body.is-desktop-ui .bottom-bar {
  width: min(560px, calc(100% - 32px));
}

body.is-mobile-ui .bottom-bar {
  min-height: 64px;
  bottom: calc(8px + env(safe-area-inset-bottom));
}

.bag-preview {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  border: 0;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.bag-preview span {
  display: grid;
  line-height: 1.2;
}

.bag-preview small {
  color: var(--muted);
}

.checkout-btn {
  min-width: 128px;
}

.sheet-backdrop {
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(8, 19, 18, 0.32);
  backdrop-filter: blur(5px);
}

.sheet {
  position: fixed;
  z-index: 70;
  left: 50%;
  bottom: 0;
  display: grid;
  gap: 18px;
  width: min(560px, 100%);
  max-height: min(84vh, 760px);
  padding: 10px 18px calc(18px + env(safe-area-inset-bottom));
  overflow-y: auto;
  border: 1px solid var(--line);
  border-bottom: 0;
  border-radius: 8px 8px 0 0;
  background:
    radial-gradient(circle at 16% 0%, rgba(27, 127, 104, 0.08), transparent 18rem),
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.03) 0 1px, transparent 1px 22px),
    rgba(251, 250, 246, 0.94);
  box-shadow: 0 -24px 55px rgba(20, 35, 33, 0.18);
  transform: translate(-50%, 110%);
  transition: transform 0.34s cubic-bezier(0.2, 0.9, 0.2, 1);
  backdrop-filter: blur(26px) saturate(170%);
}

body.is-desktop-ui .sheet {
  right: 24px;
  left: auto;
  bottom: 24px;
  max-height: calc(100vh - 48px);
  border: 1px solid var(--line);
  border-radius: 8px;
  transform: translateX(calc(100% + 48px));
}

body.is-desktop-ui .sheet.open {
  transform: translateX(0);
}

body.is-mobile-ui .sheet {
  width: 100%;
  max-height: 88vh;
}

.sheet.open {
  transform: translate(-50%, 0);
}

.sheet-handle {
  justify-self: center;
  width: 42px;
  height: 5px;
  border-radius: 999px;
  background: rgba(20, 35, 33, 0.2);
}

.sheet-head {
  justify-content: space-between;
}

.sheet-head h2 {
  font-size: 30px;
}

.cart-items {
  display: grid;
  gap: 10px;
}

.cart-empty {
  padding: 22px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  color: var(--muted);
  text-align: center;
}

.cart-row {
  display: grid;
  grid-template-columns: 52px 1fr auto;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel-strong);
}

.cart-thumb {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  background: var(--image);
  background-size: cover;
  background-position: center;
}

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

.cart-row small {
  color: var(--muted);
}

.qty {
  display: inline-flex;
  gap: 8px;
  align-items: center;
}

.qty button {
  display: grid;
  width: 32px;
  height: 32px;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: white;
  cursor: pointer;
}

.sheet-total {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 10px;
  border-top: 1px solid var(--line);
  font-size: 18px;
}

.sheet-total strong {
  color: var(--coral);
  font-size: 26px;
}

.pay-route {
  display: grid;
  grid-template-columns: 58px 1fr;
  gap: 14px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(27, 127, 104, 0.24);
  border-radius: 8px;
  background: rgba(27, 127, 104, 0.08);
}

.route-icon {
  display: grid;
  width: 58px;
  height: 58px;
  place-items: center;
  border-radius: 8px;
  background: var(--green);
  color: white;
}

.pay-route strong,
.pay-route span {
  display: block;
}

.pay-route span {
  margin-top: 4px;
  color: var(--muted);
  line-height: 1.55;
}

.pay-sheet .pay-steps {
  display: grid;
  gap: 10px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  line-height: 1.7;
}

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

.payment-methods button {
  display: grid;
  grid-template-columns: 34px 1fr;
  gap: 10px;
  align-items: center;
  min-height: 78px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--brand-panel-strong);
  color: var(--ink);
  cursor: pointer;
  text-align: left;
}

.payment-methods button.active {
  border-color: rgba(27, 127, 104, 0.5);
  background: rgba(27, 127, 104, 0.08);
  box-shadow: inset 0 0 0 1px rgba(27, 127, 104, 0.16);
}

.payment-methods svg {
  width: 24px;
  height: 24px;
  color: var(--green);
}

.payment-methods strong,
.payment-methods small {
  display: block;
}

.payment-methods small {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.checkout-form {
  display: grid;
  gap: 10px;
}

.checkout-form label {
  display: grid;
  gap: 6px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 750;
}

.checkout-form input,
.checkout-form select,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.96), rgba(248, 252, 249, 0.9));
  color: var(--ink);
  font: inherit;
  font-size: 15px;
  outline: none;
}

.checkout-form input,
.checkout-form select {
  min-height: 46px;
  padding: 0 12px;
}

.address-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.checkout-form textarea {
  min-height: 82px;
  padding: 11px 12px;
  resize: vertical;
}

.checkout-form input:focus,
.checkout-form textarea:focus {
  border-color: rgba(27, 127, 104, 0.58);
  box-shadow: 0 0 0 4px rgba(27, 127, 104, 0.1);
}

.pay-result {
  display: grid;
  gap: 4px;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid var(--line);
  background: var(--brand-panel);
}

.pay-result strong,
.pay-result span {
  display: block;
}

.pay-result span {
  color: var(--muted);
  line-height: 1.55;
}

.pay-result.pending {
  border-color: rgba(35, 109, 143, 0.28);
  background: rgba(35, 109, 143, 0.08);
}

.pay-result.warning {
  border-color: rgba(199, 147, 58, 0.4);
  background: rgba(199, 147, 58, 0.12);
}

.pay-result.success {
  border-color: rgba(27, 127, 104, 0.36);
  background: rgba(27, 127, 104, 0.1);
}

.manual-payment {
  gap: 14px;
  padding: 16px;
  text-align: center;
}

.manual-pay-head {
  display: grid;
  gap: 10px;
}

.manual-pay-head strong {
  color: var(--ink);
  font-size: 18px;
}

.manual-pay-head b {
  color: var(--ink);
  font-weight: 850;
}

.receipt-lines {
  display: grid;
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(20, 35, 33, 0.1);
  border-radius: 8px;
  background: rgba(20, 35, 33, 0.1);
  text-align: left;
}

.receipt-lines span {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 10px;
  padding: 10px 12px;
  background: var(--brand-panel-strong);
}

.receipt-lines em {
  color: var(--muted);
  font-style: normal;
  font-weight: 800;
}

.receipt-lines b {
  overflow-wrap: anywhere;
}

.receipt-total {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  min-height: 48px;
  padding: 0 14px;
  border-radius: 8px;
  background: var(--ink);
  color: white !important;
  font-weight: 850;
}

.receipt-total b {
  color: #ffd69b;
  font-size: 22px;
}

.manual-payment img {
  display: block;
  width: min(100%, 280px);
  aspect-ratio: 1;
  margin: 0 auto;
  padding: 10px;
  border: 1px solid rgba(22, 48, 43, 0.12);
  border-radius: 8px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 18px 42px rgba(20, 35, 33, 0.1);
}

.qr-frame {
  display: grid;
  gap: 8px;
  width: min(100%, 320px);
  margin: 0 auto;
  padding: 14px;
  border-radius: 8px;
  background:
    repeating-linear-gradient(118deg, rgba(7, 91, 73, 0.04) 0 1px, transparent 1px 20px),
    linear-gradient(135deg, rgba(27, 127, 104, 0.12), rgba(228, 105, 75, 0.12)),
    #fff;
  box-shadow: 0 18px 42px rgba(20, 35, 33, 0.12);
}

.qr-brand {
  justify-self: center;
  padding: 6px 12px;
  border-radius: 999px;
  background: var(--ink);
  color: white !important;
  font-weight: 900;
}

.qr-frame img {
  box-shadow: none;
}

.qr-frame small {
  color: var(--muted);
  font-weight: 800;
}

.manual-payment p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.7;
}

.toast {
  position: fixed;
  z-index: 90;
  left: 50%;
  bottom: calc(94px + env(safe-area-inset-bottom));
  max-width: min(360px, calc(100% - 32px));
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(20, 35, 33, 0.92);
  color: white;
  box-shadow: 0 16px 38px rgba(20, 35, 33, 0.18);
  opacity: 0;
  transform: translate(-50%, 16px);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.toast.show {
  opacity: 1;
  transform: translate(-50%, 0);
}

@media (max-width: 1040px) {
  .product-grid,
  .pay-grid,
  .contact-grid,
  .pathway-grid,
  .service-flow {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .origin-section {
    grid-template-columns: 1fr;
  }

  .customer-panel {
    grid-template-columns: 1fr;
  }

  .product-seo-hero {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .page-shell {
    padding: 10px 10px 132px;
  }

  .topbar {
    top: 8px;
    grid-template-columns: 1fr auto;
  }

  .nav-pills {
    display: none;
  }

  .brand strong {
    max-width: 46vw;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .hero {
    min-height: 860px;
  }

  .hero-photo {
    animation: none;
    transform: none;
    will-change: auto;
  }

  .hero-shade {
    background:
      linear-gradient(180deg, rgba(6, 31, 29, 0.28), rgba(6, 31, 29, 0.84) 72%),
      linear-gradient(90deg, rgba(6, 31, 29, 0.42), transparent);
  }

  .hero-copy {
    align-self: end;
    padding: 26px 18px 300px;
  }

  .hero-signature {
    display: grid;
    grid-template-columns: 1fr;
    margin-top: 16px;
  }

  .hero-signature span {
    min-height: 34px;
  }

  .hero-rail {
    display: none;
  }

  h1 {
    max-width: 12ch;
    font-size: clamp(40px, 12vw, 56px);
    line-height: 1.06;
  }

  .hero-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .hero-panel {
    right: 12px;
    bottom: 116px;
    width: calc(100% - 24px);
  }

  .hero-panel-list {
    display: none;
  }

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

  .conversion-band {
    grid-template-columns: 1fr;
  }

  .conversion-band article {
    min-height: auto;
  }

  .product-grid,
  .pay-grid,
  .contact-grid,
  .pathway-grid,
  .process-steps,
  .service-flow {
    grid-template-columns: 1fr;
  }

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

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

  .reveal,
  .product-card.reveal {
    opacity: 1;
    transform: none;
    transition: box-shadow 0.18s ease;
  }

  .section-head {
    align-items: flex-start;
  }

  .segmented {
    width: 100%;
  }

  .segmented button {
    flex: 1;
  }

  .bottom-bar {
    grid-template-columns: 1fr auto;
    border-radius: 8px;
  }

  .product-detail {
    top: auto;
    right: 0;
    bottom: 0;
    left: 0;
    grid-template-rows: minmax(230px, 32vh) auto minmax(0, 1fr) auto;
    width: 100%;
    max-height: 92vh;
    border-right: 0;
    border-bottom: 0;
    border-left: 0;
    border-radius: 8px 8px 0 0;
    transform: translateY(110%);
  }

  .product-detail.open {
    transform: translateY(0);
  }

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

  .detail-buybar .ghost-dark-btn {
    grid-column: 1 / -1;
  }

  .checkout-btn {
    min-width: 112px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
  }
}
