:root {
  color-scheme: light;
  --sage: #7d9180;
  --sage-deep: #52685a;
  --sage-soft: #dce5dc;
  --rose: #d8aaa9;
  --rose-soft: #f2dfdd;
  --cream: #fbf8f0;
  --paper: #fffdf8;
  --ink: #2d332e;
  --muted: #6f766d;
  --line: rgba(82, 104, 90, .18);
  --shadow: 0 18px 48px rgba(54, 69, 59, .14);
  --radius: 8px;
  --body-bg-layer: linear-gradient(180deg, rgba(251, 248, 240, .95), rgba(252, 246, 241, .9));
  --body-bg: var(--cream);
  --ambient-opacity: .55;
  --ambient-bg:
    radial-gradient(ellipse at 14% 12%, rgba(216, 170, 169, .38) 0 12%, transparent 34%),
    radial-gradient(ellipse at 82% 18%, rgba(125, 145, 128, .32) 0 13%, transparent 36%),
    radial-gradient(ellipse at 48% 88%, rgba(180, 194, 170, .32) 0 14%, transparent 34%);
  --topbar-bg: rgba(251, 248, 240, .82);
  --topbar-border: rgba(255, 255, 255, .42);
  --nav-link: #4f5b51;
  --body-copy: #596258;
  --surface-bg: rgba(255, 253, 248, .78);
  --soft-surface-bg: rgba(255, 253, 248, .68);
  --ghost-bg: rgba(255, 253, 248, .74);
  --button-bg: var(--sage-deep);
  --button-hover-bg: #435849;
  --button-text: var(--paper);
  --button-border: rgba(82, 104, 90, .24);
  --hero-visual-bg: #e8ded4;
  --filter-bg: rgba(255, 253, 248, .62);
  --filter-text: #596258;
  --chip-bg: rgba(220, 229, 220, .58);
  --tag-text: #687164;
  --card-shadow: 0 12px 34px rgba(54, 69, 59, .08);
  --contact-band-bg:
    linear-gradient(120deg, rgba(82, 104, 90, .92), rgba(125, 145, 128, .86)),
    var(--sage-deep);
  --modal-bg: rgba(39, 44, 39, .42);
  --dialog-bg: var(--paper);
  --contact-line-bg: rgba(220, 229, 220, .42);
  --float-bg: rgba(82, 104, 90, .94);
  --switch-bg: #e7e7e4;
  --switch-border: rgba(39, 39, 42, .12);
  --switch-icon: #a4a4aa;
  --switch-thumb-bg: #ffffff;
  --switch-thumb-shadow: 0 2px 8px rgba(0, 0, 0, .18);
  --switch-active-icon: #27272a;
  --switch-shadow: inset 0 1px 0 rgba(255, 255, 255, .75);
}

html[data-theme="dark"] {
  color-scheme: dark;
  --sage: #8fa18f;
  --sage-deep: #aac2a8;
  --sage-soft: #283328;
  --rose: #c99d9e;
  --rose-soft: #2c2428;
  --cream: #0f0f10;
  --paper: #f4f4f5;
  --ink: #f4f4f5;
  --muted: #a1a1aa;
  --line: rgba(255, 255, 255, .12);
  --shadow: 0 18px 52px rgba(0, 0, 0, .46);
  --body-bg-layer: linear-gradient(180deg, rgba(18, 18, 19, .98), rgba(10, 10, 11, .96));
  --body-bg: #0b0b0c;
  --ambient-opacity: .4;
  --ambient-bg:
    radial-gradient(ellipse at 14% 12%, rgba(87, 74, 76, .45) 0 12%, transparent 35%),
    radial-gradient(ellipse at 82% 18%, rgba(77, 91, 77, .36) 0 13%, transparent 36%),
    radial-gradient(ellipse at 48% 88%, rgba(43, 45, 50, .66) 0 14%, transparent 35%);
  --topbar-bg: rgba(18, 18, 19, .84);
  --topbar-border: rgba(255, 255, 255, .08);
  --nav-link: #d4d4d8;
  --body-copy: #c7c7ce;
  --surface-bg: rgba(24, 24, 27, .82);
  --soft-surface-bg: rgba(24, 24, 27, .72);
  --ghost-bg: rgba(39, 39, 42, .74);
  --button-bg: #2f4538;
  --button-hover-bg: #3d5a49;
  --button-text: #f4f4f5;
  --button-border: rgba(255, 255, 255, .12);
  --hero-visual-bg: #1f1f22;
  --filter-bg: rgba(24, 24, 27, .72);
  --filter-text: #d4d4d8;
  --chip-bg: rgba(63, 63, 70, .7);
  --tag-text: #d7ded4;
  --card-shadow: 0 14px 40px rgba(0, 0, 0, .34);
  --contact-band-bg:
    linear-gradient(120deg, rgba(32, 43, 36, .96), rgba(46, 55, 47, .92)),
    #151515;
  --modal-bg: rgba(0, 0, 0, .62);
  --dialog-bg: #18181b;
  --contact-line-bg: rgba(39, 39, 42, .78);
  --float-bg: rgba(39, 39, 42, .94);
  --switch-bg: #1f1f23;
  --switch-border: rgba(255, 255, 255, .1);
  --switch-icon: #787882;
  --switch-thumb-bg: #ffffff;
  --switch-thumb-shadow: 0 2px 10px rgba(0, 0, 0, .42);
  --switch-active-icon: #3f3f46;
  --switch-shadow: inset 0 1px 0 rgba(255, 255, 255, .05);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html::-webkit-scrollbar,
body::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

body {
  margin: 0;
  color: var(--ink);
  background: var(--body-bg-layer), var(--body-bg);
  font-family: "Microsoft YaHei", "PingFang SC", "Noto Sans SC", Arial, sans-serif;
  transition: color .24s ease, background .24s ease;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -2;
  opacity: var(--ambient-opacity);
  background-image: var(--ambient-bg);
  filter: blur(20px);
}

.theme-wave {
  position: fixed;
  left: var(--wave-x);
  top: var(--wave-y);
  z-index: 100;
  width: 24px;
  height: 24px;
  border-radius: 999px;
  pointer-events: none;
  background: var(--wave-color);
  opacity: .96;
}

.theme-wave.expand {
  transform: translate(-50%, -50%) scale(0);
  animation: themeWaveExpand .88s cubic-bezier(.3, 0, .2, 1) forwards;
}

.theme-wave.contract {
  transform: translate(-50%, -50%) scale(var(--wave-scale));
  animation: themeWaveContract .88s cubic-bezier(.3, 0, .2, 1) forwards;
}

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

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

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  border-bottom: 1px solid var(--topbar-border);
  background: var(--topbar-bg);
  backdrop-filter: blur(18px);
}

.nav {
  width: min(1160px, calc(100% - 32px));
  min-height: 68px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: grid;
  gap: 2px;
  min-width: 122px;
}

.brand strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 25px;
  font-weight: 500;
  letter-spacing: 0;
}

.brand span {
  color: var(--muted);
  font-size: 12px;
}

.links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: var(--nav-link);
  font-size: 14px;
}

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

.theme-switch {
  position: relative;
  width: 62px;
  min-width: 62px;
  height: 32px;
  padding: 3px;
  border: 1px solid var(--switch-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 2px;
  background: var(--switch-bg);
  box-shadow: var(--switch-shadow);
  overflow: hidden;
}

.theme-thumb {
  position: absolute;
  left: 3px;
  top: 50%;
  z-index: 2;
  width: 26px;
  height: 26px;
  border-radius: 999px;
  pointer-events: none;
  background: var(--switch-thumb-bg);
  box-shadow: var(--switch-thumb-shadow);
  transform: translate(0, -50%);
  transition: transform .34s cubic-bezier(.22, 1, .36, 1), box-shadow .2s ease;
}

.theme-switch[data-theme-control="dark"] .theme-thumb {
  transform: translate(28px, -50%);
}

.theme-switch-float {
  position: fixed;
  z-index: 101;
  margin: 0;
  pointer-events: none;
}

.theme-option {
  position: relative;
  z-index: 3;
  width: 26px;
  height: 26px;
  border: 0;
  border-radius: 999px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--switch-icon);
  background: transparent;
  cursor: pointer;
  transition: color .2s ease, background .2s ease, box-shadow .2s ease, opacity .2s ease;
}

.theme-option svg {
  width: 16px;
  height: 16px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.theme-option.active {
  color: var(--switch-active-icon);
}

.theme-option:not(.active) {
  opacity: .7;
}

.theme-switch.is-locked .theme-option {
  cursor: wait;
}

.theme-option:focus {
  outline: none;
}

.theme-option:focus-visible {
  outline: 2px solid rgba(125, 145, 128, .48);
  outline-offset: 2px;
}

.nav-cta,
.btn {
  min-height: 42px;
  border: 1px solid var(--button-border);
  border-radius: var(--radius);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 18px;
  font: inherit;
  color: var(--button-text);
  background: var(--button-bg);
  cursor: pointer;
  transition: transform .22s ease, box-shadow .22s ease, background .22s ease;
}

.nav-cta:hover,
.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(82, 104, 90, .22);
  background: var(--button-hover-bg);
}

.btn.ghost {
  color: var(--sage-deep);
  background: var(--ghost-bg);
}

.section {
  width: min(1160px, calc(100% - 32px));
  margin: 0 auto;
  padding: 74px 0;
}

.hero {
  width: min(1160px, calc(100% - 32px));
  min-height: calc(100svh - 68px);
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, .92fr) minmax(320px, 1.08fr);
  align-items: center;
  gap: clamp(28px, 5vw, 70px);
  padding: 42px 0 58px;
}

.eyebrow {
  display: inline-flex;
  width: fit-content;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border: 1px solid var(--line);
  border-radius: 999px;
  color: var(--sage-deep);
  background: var(--soft-surface-bg);
  font-size: 13px;
}

.eyebrow::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: var(--rose);
}

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

h1 {
  margin-top: 24px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(44px, 7vw, 86px);
  line-height: .98;
  font-weight: 500;
  letter-spacing: 0;
}

.hero-copy p {
  max-width: 560px;
  margin-top: 22px;
  color: var(--body-copy);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.9;
}

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

.hero-meta {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 38px;
  max-width: 580px;
}

.metric {
  min-height: 92px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--soft-surface-bg);
}

.metric strong {
  display: block;
  color: var(--sage-deep);
  font-size: 21px;
  font-weight: 600;
}

.metric span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.5;
}

.hero-visual {
  position: relative;
  min-height: 560px;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  background: var(--hero-visual-bg);
  isolation: isolate;
}

.hero-visual::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(30, 36, 31, .3), transparent 55%),
    linear-gradient(180deg, transparent 60%, rgba(40, 45, 38, .22));
  pointer-events: none;
}

.hero-img {
  position: absolute;
  inset: 0;
  background-image: url("https://images.unsplash.com/photo-1525310072745-f49212b5ac6d?auto=format&fit=crop&w=1400&q=85");
  background-size: cover;
  background-position: center;
  transform: scale(1.02);
  animation: floatImage 10s ease-in-out infinite alternate;
}

.hero-label {
  position: absolute;
  left: 22px;
  right: 22px;
  bottom: 22px;
  z-index: 2;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  color: white;
}

.hero-label strong {
  display: block;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  font-weight: 500;
}

.hero-label span {
  display: block;
  margin-top: 6px;
  color: rgba(255, 255, 255, .82);
  line-height: 1.5;
}

.photo-note {
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, .42);
  border-radius: 999px;
  color: rgba(255, 255, 255, .88);
  background: rgba(45, 51, 46, .25);
  backdrop-filter: blur(10px);
  font-size: 12px;
  white-space: nowrap;
}

.section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 28px;
}

.section-head h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(31px, 4vw, 48px);
  font-weight: 500;
  letter-spacing: 0;
}

.section-head p {
  max-width: 430px;
  color: var(--muted);
  line-height: 1.8;
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -8px 0 24px;
}

.filter {
  min-height: 38px;
  border: 1px solid var(--line);
  border-radius: 999px;
  padding: 0 15px;
  color: var(--filter-text);
  background: var(--filter-bg);
  cursor: pointer;
  transition: color .2s ease, background .2s ease, border-color .2s ease;
}

.filter.active {
  border-color: rgba(82, 104, 90, .55);
  color: var(--button-text);
  background: var(--button-bg);
}

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

.flower-card,
.product-card,
.service-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface-bg);
  box-shadow: var(--card-shadow);
  overflow: hidden;
}

.flower-card {
  min-height: 220px;
  padding: 18px;
  display: grid;
  align-content: space-between;
  position: relative;
  overflow: hidden;
}

.flower-card::before {
  content: "";
  position: absolute;
  width: 170px;
  height: 170px;
  right: -48px;
  top: -42px;
  border-radius: 48% 52% 44% 56%;
  background:
    radial-gradient(circle at 35% 35%, rgba(255, 255, 255, .8), transparent 16%),
    radial-gradient(circle at 40% 45%, var(--petal), transparent 45%),
    radial-gradient(circle at 58% 58%, rgba(125, 145, 128, .32), transparent 58%);
  filter: blur(.2px);
  opacity: .95;
}

.flower-card small {
  position: relative;
  width: fit-content;
  padding: 7px 10px;
  border-radius: 999px;
  color: var(--sage-deep);
  background: var(--chip-bg);
}

.flower-card h3 {
  position: relative;
  font-size: 22px;
  font-weight: 500;
}

.flower-card p {
  position: relative;
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.7;
  font-size: 14px;
}

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

.product-card {
  display: grid;
  grid-template-rows: 250px auto;
  transition: transform .24s ease, box-shadow .24s ease, opacity .2s ease;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow);
}

.product-card.hidden {
  display: none;
}

.product-media {
  position: relative;
  overflow: hidden;
  background: var(--rose-soft);
}

.product-media::after {
  content: attr(data-note);
  position: absolute;
  left: 12px;
  bottom: 12px;
  z-index: 2;
  padding: 7px 10px;
  border-radius: 999px;
  color: rgba(255, 255, 255, .9);
  background: rgba(45, 51, 46, .38);
  backdrop-filter: blur(8px);
  font-size: 12px;
}

.product-media img {
  transition: transform .5s ease;
}

.product-card:hover img {
  transform: scale(1.045);
}

.product-body {
  padding: 18px;
  display: grid;
  gap: 12px;
}

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

.product-title h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.35;
}

.price {
  color: var(--sage-deep);
  font-size: 18px;
  font-weight: 700;
  white-space: nowrap;
}

.product-body p {
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

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

.tag {
  padding: 6px 9px;
  border-radius: 999px;
  color: var(--tag-text);
  background: var(--chip-bg);
  font-size: 12px;
}

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

.service-card {
  min-height: 160px;
  padding: 20px;
}

.service-card strong {
  display: block;
  color: var(--sage-deep);
  font-size: 18px;
  font-weight: 600;
}

.service-card p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
  font-size: 14px;
}

.contact-band {
  margin-top: 30px;
  border: 1px solid rgba(82, 104, 90, .2);
  border-radius: var(--radius);
  padding: clamp(24px, 4vw, 42px);
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 24px;
  align-items: center;
  background: var(--contact-band-bg);
  color: var(--paper);
  box-shadow: var(--shadow);
}

.contact-band h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(30px, 4vw, 48px);
  font-weight: 500;
}

.contact-band p {
  margin-top: 12px;
  color: rgba(255, 253, 248, .78);
  line-height: 1.8;
}

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

.contact-actions .btn {
  border-color: rgba(255, 255, 255, .35);
  color: var(--sage-deep);
  background: var(--paper);
}

.contact-actions .btn.ghost {
  color: var(--paper);
  background: rgba(255, 255, 255, .12);
}

.footer {
  padding: 24px 0 36px;
  color: var(--muted);
  text-align: center;
  font-size: 13px;
}

.float-contact {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 30;
  min-width: 176px;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, .5);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 20px;
  color: white;
  background: var(--float-bg);
  box-shadow: 0 16px 34px rgba(54, 69, 59, .25);
  backdrop-filter: blur(12px);
}

.modal {
  position: fixed;
  inset: 0;
  z-index: 60;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 18px;
  background: var(--modal-bg);
}

.modal.open {
  display: flex;
}

.dialog {
  width: min(460px, 100%);
  border-radius: var(--radius);
  padding: 26px;
  background: var(--dialog-bg);
  box-shadow: 0 24px 90px rgba(0, 0, 0, .22);
}

.dialog h3 {
  font-size: 26px;
  font-weight: 500;
}

.dialog p {
  margin-top: 12px;
  color: var(--muted);
  line-height: 1.75;
}

.contact-line {
  margin: 18px 0;
  padding: 15px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--contact-line-bg);
}

.contact-line strong {
  display: block;
  font-size: 22px;
  color: var(--sage-deep);
}

.dialog-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .6s ease, transform .6s ease;
}

.reveal.in {
  opacity: 1;
  transform: translateY(0);
}

@keyframes floatImage {
  from {
    transform: scale(1.02) translate3d(0, 0, 0);
  }
  to {
    transform: scale(1.07) translate3d(-12px, -8px, 0);
  }
}

@keyframes themeWaveExpand {
  0% {
    opacity: .92;
    transform: translate(-50%, -50%) scale(0);
  }
  78% {
    opacity: .92;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(var(--wave-scale));
  }
}

@keyframes themeWaveContract {
  0% {
    opacity: .96;
    transform: translate(-50%, -50%) scale(var(--wave-scale));
  }
  82% {
    opacity: .96;
  }
  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0);
  }
}

@media (prefers-reduced-motion: reduce) {
  .theme-wave,
  .theme-thumb {
    animation: none;
    transition: none;
  }
}

@media (max-width: 920px) {
  .links {
    display: none;
  }

  .hero {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-visual {
    min-height: 480px;
  }

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

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

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

  .contact-actions {
    justify-content: flex-start;
  }
}

@media (max-width: 640px) {
  .nav {
    width: min(100% - 24px, 1160px);
  }

  .section,
  .hero {
    width: min(100% - 24px, 1160px);
  }

  .nav-cta {
    min-width: 104px;
    padding: 0 12px;
  }

  .nav-actions {
    gap: 8px;
  }

  .theme-switch {
    min-width: 58px;
  }

  .hero {
    padding-top: 28px;
  }

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

  .hero-visual {
    min-height: 390px;
  }

  .hero-label {
    display: grid;
  }

  .photo-note {
    width: fit-content;
  }

  .section {
    padding: 54px 0;
  }

  .section-head {
    display: grid;
  }

  .grid,
  .products,
  .services {
    grid-template-columns: 1fr;
  }

  .product-card {
    grid-template-rows: 230px auto;
  }

  .float-contact {
    left: 14px;
    right: 14px;
  }
}

/* Editorial floral boutique refinement */
:root{--sage:#748676;--sage-deep:#405446;--sage-soft:#dfe7de;--rose:#c99591;--rose-soft:#f2ddda;--cream:#f5f2e9;--paper:#fffefa;--ink:#202721;--muted:#6f766f;--line:rgba(50,66,55,.14);--shadow:0 30px 80px rgba(50,61,52,.12);--radius:22px;--body-bg-layer:linear-gradient(180deg,rgba(248,246,239,.96),rgba(243,241,233,.98));--topbar-bg:rgba(248,246,239,.76);--surface-bg:rgba(255,254,250,.88);--soft-surface-bg:rgba(255,254,250,.64);--ghost-bg:rgba(255,254,250,.74);--card-shadow:0 20px 60px rgba(48,59,50,.08);--button-bg:#405446;--button-hover-bg:#2e4035;--contact-band-bg:linear-gradient(135deg,#34483b 0%,#526958 58%,#7f8f7b 100%)}
html[data-theme="dark"]{--sage:#91a592;--sage-deep:#b8ceb9;--sage-soft:#273329;--rose:#d3a5a1;--rose-soft:#34292a;--cream:#101310;--paper:#f5f5ef;--ink:#eff2ed;--muted:#aeb6ad;--line:rgba(235,240,233,.12);--body-bg-layer:linear-gradient(180deg,rgba(15,18,15,.98),rgba(10,12,10,.99));--topbar-bg:rgba(15,18,15,.78);--surface-bg:rgba(25,30,25,.88);--soft-surface-bg:rgba(25,30,25,.68);--ghost-bg:rgba(31,37,31,.76);--hero-visual-bg:#1c211d;--card-shadow:0 22px 66px rgba(0,0,0,.35);--button-bg:#3f5947;--button-hover-bg:#506e59;--contact-band-bg:linear-gradient(135deg,#1c291f 0%,#2e4034 58%,#445648 100%)}
body{min-width:320px;overflow-x:hidden;font-family:"PingFang SC","Microsoft YaHei","Noto Sans SC",sans-serif;letter-spacing:.01em}body::before{opacity:.42;background-image:radial-gradient(circle at 9% 8%,rgba(201,149,145,.2),transparent 24%),radial-gradient(circle at 91% 14%,rgba(116,134,118,.2),transparent 25%),radial-gradient(circle at 52% 82%,rgba(174,188,166,.15),transparent 30%);filter:blur(8px)}
.topbar{border-bottom-color:var(--line);backdrop-filter:blur(22px) saturate(140%)}.nav{width:min(1280px,calc(100% - 64px));min-height:82px}.brand{gap:6px}.brand strong{font-family:"Songti SC","STSong",serif;font-size:22px;font-weight:600;letter-spacing:.12em}.brand span{font-size:10px;letter-spacing:.24em;text-transform:uppercase}.links{gap:36px}.links a{position:relative;padding:30px 0;font-size:13px;letter-spacing:.12em}.links a::after{content:"";position:absolute;right:50%;bottom:21px;left:50%;height:1px;background:var(--sage-deep);transition:left .25s ease,right .25s ease}.links a:hover::after{right:0;left:0}
.nav-cta,.btn{min-height:48px;border-radius:999px;font-weight:600;letter-spacing:.06em;box-shadow:none}.nav-cta{min-width:116px}.btn.ghost{border-color:var(--line);background:var(--ghost-bg)}.hero,.section{width:min(1280px,calc(100% - 64px))}.hero{grid-template-columns:minmax(0,.86fr) minmax(520px,1.14fr);gap:clamp(44px,7vw,110px);min-height:calc(100vh - 82px);padding:clamp(72px,8vw,128px) 0 92px;align-items:center}.hero-copy{position:relative;z-index:2;max-width:620px}.eyebrow{display:flex;align-items:center;gap:14px;margin-bottom:28px;color:var(--sage-deep);font-size:11px;font-weight:700;letter-spacing:.24em}.eyebrow::before{content:"";width:38px;height:1px;background:currentColor}.hero h1{max-width:610px;margin:0;font-family:"Songti SC","STSong",serif;font-size:clamp(56px,6.4vw,96px);font-weight:500;line-height:1.08;letter-spacing:-.055em}.hero-copy>p{max-width:550px;margin:32px 0 0;font-size:16px;line-height:2}.hero-actions{margin-top:38px;gap:12px}.hero-actions .btn{min-width:138px}.hero-meta{margin-top:58px;border-top:1px solid var(--line);gap:0}.metric{min-height:94px;padding:22px 22px 0 0;border-right:1px solid var(--line)}.metric+.metric{padding-left:22px}.metric:last-child{border-right:0}.metric strong{font-family:"Songti SC","STSong",serif;font-size:17px;font-weight:600}.metric span{margin-top:8px;font-size:11px;line-height:1.65}
.hero-visual{min-height:min(690px,75vh);overflow:visible;border:0;border-radius:48% 48% 24px 24px/34% 34% 24px 24px;background:var(--hero-visual-bg);box-shadow:var(--shadow)}.hero-visual::before{content:"";position:absolute;inset:-20px 22px 22px -20px;z-index:-1;border:1px solid var(--line);border-radius:inherit}.hero-visual::after{inset:auto auto 42px -52px;width:112px;height:112px;border:1px solid rgba(255,255,255,.42);border-radius:50%;background:rgba(255,254,250,.78);backdrop-filter:blur(14px)}.hero-img{border-radius:inherit;filter:saturate(.82) contrast(.96)}.hero-label{right:24px;bottom:24px;left:24px;padding:20px 22px;border:1px solid rgba(255,255,255,.25);border-radius:18px;background:rgba(23,31,25,.62);color:#fff;backdrop-filter:blur(16px)}.hero-label strong{color:#fff;font-family:"Songti SC","STSong",serif;letter-spacing:.08em}.hero-label span,.photo-note{color:rgba(255,255,255,.74)}.photo-note{border-color:rgba(255,255,255,.22);background:rgba(255,255,255,.1)}
.section{padding:112px 0}.section+.section{border-top:1px solid var(--line)}.section-head{grid-template-columns:minmax(280px,.8fr) minmax(320px,.72fr);align-items:end;margin-bottom:48px}.section-head h2{font-family:"Songti SC","STSong",serif;font-size:clamp(42px,5vw,66px);font-weight:500;line-height:1.1;letter-spacing:-.045em}.section-head p{max-width:520px;justify-self:end;font-size:14px;line-height:1.9}.grid{gap:16px}.flower-card,.product-card,.service-card{border-color:var(--line);border-radius:var(--radius);background:var(--surface-bg);box-shadow:none}.flower-card{min-height:320px;padding:28px;overflow:hidden;transition:transform .35s ease,border-color .35s ease,box-shadow .35s ease}.flower-card:hover{transform:translateY(-8px);border-color:var(--petal);box-shadow:var(--card-shadow)}.flower-card::before{top:auto;right:-54px;bottom:-54px;width:190px;height:190px;border:1px solid var(--petal);border-radius:54% 46% 62% 38%;background:radial-gradient(circle at 40% 38%,rgba(255,255,255,.44),transparent 24%),radial-gradient(circle at 62% 55%,var(--petal),transparent 44%);opacity:.74;transform:rotate(-18deg)}.flower-card small{color:var(--sage-deep);font-size:10px;font-weight:700;letter-spacing:.2em}.flower-card h3{font-family:"Songti SC","STSong",serif;font-size:34px;font-weight:500}.flower-card p{max-width:80%;line-height:1.85}
.filters{width:fit-content;margin:0 0 34px;padding:5px;border:1px solid var(--line);border-radius:999px;background:var(--filter-bg)}.filter{min-height:38px;padding:0 18px;border:0;border-radius:999px;background:transparent;font-size:12px}.filter.active{background:var(--sage-deep);color:var(--button-text);box-shadow:0 6px 20px rgba(45,59,49,.18)}.products{grid-template-columns:repeat(12,minmax(0,1fr));gap:22px}.product-card{grid-column:span 4;grid-template-rows:360px auto;overflow:hidden;transition:transform .35s ease,box-shadow .35s ease}.product-card:nth-child(1),.product-card:nth-child(6){grid-column:span 8}.product-card:nth-child(1){grid-template-columns:1.25fr .75fr;grid-template-rows:480px}.product-card:nth-child(1) .product-body{display:flex;flex-direction:column;justify-content:flex-end}.product-card:hover{transform:translateY(-6px);box-shadow:var(--card-shadow)}.product-media{overflow:hidden}.product-media::after{background:linear-gradient(180deg,transparent 60%,rgba(22,30,24,.16))}.product-media img{filter:saturate(.82) contrast(.96);transition:transform .7s cubic-bezier(.2,.7,.2,1),filter .35s ease}.product-card:hover img{transform:scale(1.045);filter:saturate(.95) contrast(1)}.product-body{padding:25px}.product-title{align-items:flex-start}.product-title h3{font-family:"Songti SC","STSong",serif;font-size:22px;font-weight:600}.price{color:var(--sage-deep);font-family:"Songti SC","STSong",serif;font-size:17px;white-space:nowrap}.product-body p{line-height:1.8}.tag{border:1px solid var(--line);background:transparent;font-size:10px}
.services{gap:0;border-top:1px solid var(--line);border-bottom:1px solid var(--line)}.service-card{min-height:220px;padding:34px 28px;border:0;border-right:1px solid var(--line);border-radius:0;background:transparent}.service-card:last-child{border-right:0}.service-card::before{display:block;margin-bottom:46px;color:var(--sage-deep);font-family:Georgia,serif;font-size:12px;letter-spacing:.15em}.service-card:nth-child(1)::before{content:"01"}.service-card:nth-child(2)::before{content:"02"}.service-card:nth-child(3)::before{content:"03"}.service-card:nth-child(4)::before{content:"04"}.service-card strong{font-family:"Songti SC","STSong",serif;font-size:21px}.service-card p{margin-top:14px;line-height:1.8}.contact-band{margin-top:86px;padding:clamp(42px,6vw,76px);border:0;border-radius:32px;box-shadow:0 30px 80px rgba(35,49,39,.2)}.contact-band h2{font-family:"Songti SC","STSong",serif;font-size:clamp(36px,4vw,58px);font-weight:500}.contact-band p{max-width:680px;margin-top:15px;line-height:1.85}.contact-actions .btn{min-width:144px}.footer{width:min(1280px,calc(100% - 64px));padding:28px 0 100px;border-top:1px solid var(--line);font-size:11px;letter-spacing:.12em}.float-contact{right:24px;bottom:24px;min-height:50px;padding:0 22px;border:1px solid rgba(255,255,255,.16);border-radius:999px;box-shadow:0 12px 34px rgba(30,40,33,.24);backdrop-filter:blur(14px)}.modal{backdrop-filter:blur(10px)}.dialog{border-radius:26px;box-shadow:0 30px 100px rgba(0,0,0,.22)}.dialog h3{font-family:"Songti SC","STSong",serif;font-size:30px}.reveal{transform:translateY(24px);transition:opacity .75s ease,transform .75s cubic-bezier(.2,.7,.2,1)}
/* Keep every catalog item on the same visual grid. */
.products .product-card,
.products .product-card:nth-child(1),
.products .product-card:nth-child(6) {
  grid-column: span 4;
  grid-template-columns: minmax(0, 1fr);
  grid-template-rows: 360px auto;
}

.products .product-card:nth-child(1) .product-body {
  display: grid;
  justify-content: initial;
}

@media(max-width:1080px){.hero{grid-template-columns:minmax(0,.9fr) minmax(430px,1.1fr);gap:46px}.hero h1{font-size:clamp(52px,7vw,76px)}.product-card,.product-card:nth-child(1),.product-card:nth-child(6){grid-column:span 6;grid-template-columns:1fr;grid-template-rows:340px auto}}
@media(max-width:920px){.nav,.hero,.section,.footer{width:min(100% - 40px,760px)}.hero{grid-template-columns:1fr;padding-top:72px}.hero-copy{max-width:680px}.hero-visual{min-height:620px}.section{padding:88px 0}.service-card:nth-child(2){border-right:0}.service-card:nth-child(-n+2){border-bottom:1px solid var(--line)}}
@media(max-width:640px){.nav,.hero,.section,.footer{width:min(100% - 28px,600px)}.nav{min-height:72px}.brand span,.nav-cta{display:none}.hero{gap:48px;padding:52px 0 72px}.eyebrow{margin-bottom:22px;font-size:9px}.hero h1{font-size:clamp(48px,15vw,68px);letter-spacing:-.065em}.hero-copy>p{margin-top:24px;font-size:14px;line-height:1.9}.hero-actions{margin-top:30px}.hero-actions .btn{flex:1;min-width:0}.hero-meta{grid-template-columns:1fr;margin-top:42px}.metric,.metric+.metric{min-height:auto;padding:18px 0;border-right:0;border-bottom:1px solid var(--line)}.metric:last-child{border-bottom:0}.hero-visual{min-height:460px;border-radius:44% 44% 20px 20px/26% 26% 20px 20px}.hero-visual::before{inset:-10px 12px 12px -10px}.hero-visual::after{display:none}.hero-label{right:14px;bottom:14px;left:14px;padding:16px}.photo-note{display:none}.section{padding:72px 0}.section-head{grid-template-columns:1fr;gap:18px;margin-bottom:34px}.section-head h2{font-size:44px}.section-head p{justify-self:start}.flower-card{min-height:270px}.filters{width:100%;overflow-x:auto;justify-content:flex-start;scrollbar-width:none}.filter{flex:0 0 auto;padding:0 15px}.products{display:grid;grid-template-columns:1fr}.product-card,.product-card:nth-child(1),.product-card:nth-child(6){grid-column:1;grid-template-columns:1fr;grid-template-rows:290px auto}.services{grid-template-columns:1fr}.service-card,.service-card:nth-child(2){min-height:auto;padding:28px 6px;border-right:0;border-bottom:1px solid var(--line)}.service-card:last-child{border-bottom:0}.service-card::before{margin-bottom:24px}.contact-band{margin-top:58px;padding:34px 24px;border-radius:24px}.contact-actions{display:grid;grid-template-columns:1fr}.contact-actions .btn{width:100%}.footer{line-height:1.8}.float-contact{right:14px;bottom:14px;left:14px}}

/* Hero service summary alignment refinement */
.hero-copy h1 {
  width: 100%;
  text-align: center;
  letter-spacing: 0;
}

.hero-copy h1 span {
  display: block;
}

.hero-meta {
  border-top: 0;
}

.metric,
.metric + .metric {
  display: flex;
  min-height: 112px;
  padding: 24px 20px;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.metric span {
  max-width: 150px;
}

@media (max-width: 640px) {
  .metric,
  .metric + .metric {
    min-height: auto;
    padding: 20px 0;
  }
}

/* Mobile hero visual centering fix */
@media (max-width: 640px) {
  .hero,
  .hero-copy,
  .hero-visual {
    min-width: 0;
  }

  .hero-visual {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
    transform: none;
  }

  .hero-visual::before {
    display: none;
  }

  .hero-img {
    width: 100%;
    background-position: center center;
  }

  .hero-label {
    right: 16px;
    left: 16px;
    width: auto;
    max-width: none;
    box-sizing: border-box;
    text-align: left;
  }
}

/* Hero service card spacing */
.hero-meta {
  gap: 12px;
}

.metric,
.metric + .metric {
  padding-inline: 18px;
  border-right: 0;
}

@media (max-width: 640px) {
  .hero-meta {
    gap: 10px;
  }

  .metric,
  .metric + .metric {
    border-bottom: 0;
  }
}

/* Frosted glass floating order button */
.float-contact {
  right: auto;
  left: 50%;
  bottom: 24px;
  width: min(230px, calc(100vw - 28px));
  min-width: 0;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(39, 39, 42, .5);
  color: #fff;
  transform: translateX(-50%);
  box-shadow:
    0 12px 34px rgba(20, 26, 22, .18),
    inset 0 1px 0 rgba(255, 255, 255, .16);
  -webkit-backdrop-filter: blur(18px) saturate(145%);
  backdrop-filter: blur(18px) saturate(145%);
}

.float-contact:hover {
  background: rgba(39, 39, 42, .62);
  border-color: rgba(255, 255, 255, .38);
}

html[data-theme="light"] .float-contact {
  background: rgba(47, 64, 53, .5);
}

html[data-theme="light"] .float-contact:hover {
  background: rgba(47, 64, 53, .62);
}

/* Interactive hero service cards */
.metric {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  cursor: default;
  transition:
    transform .34s cubic-bezier(.2, .8, .2, 1),
    border-color .34s ease,
    background-color .34s ease,
    box-shadow .34s ease;
}

.metric::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(120deg, transparent 18%, rgba(255, 255, 255, .16) 48%, transparent 78%);
  opacity: 0;
  transform: translateX(-85%);
  transition: transform .6s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}

.metric::after {
  content: "";
  position: absolute;
  right: 22%;
  bottom: 0;
  left: 22%;
  height: 2px;
  border-radius: 999px 999px 0 0;
  background: var(--sage-deep);
  opacity: 0;
  transform: scaleX(.2);
  transition: transform .34s cubic-bezier(.2, .8, .2, 1), opacity .25s ease;
}

.metric strong,
.metric span {
  position: relative;
  transition: color .3s ease, transform .34s cubic-bezier(.2, .8, .2, 1);
}

@media (hover: hover) and (pointer: fine) {
  .metric:hover {
    z-index: 1;
    border-color: color-mix(in srgb, var(--sage-deep) 55%, transparent);
    background: color-mix(in srgb, var(--surface-bg) 84%, var(--sage-soft));
    box-shadow: 0 16px 34px rgba(35, 49, 39, .14);
    transform: translateY(-7px);
  }

  .metric:hover::before {
    opacity: 1;
    transform: translateX(85%);
  }

  .metric:hover::after {
    opacity: 1;
    transform: scaleX(1);
  }

  .metric:hover strong {
    transform: translateY(-2px);
  }

  .metric:hover span {
    color: var(--ink);
    transform: translateY(2px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .metric,
  .metric::before,
  .metric::after,
  .metric strong,
  .metric span {
    transition: none;
  }
}

/* WeChat QR code in the contact dialog */
.dialog {
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
}

.wechat-qr {
  width: min(230px, 78vw);
  margin: 20px auto 16px;
  padding: 10px 10px 12px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 14px 36px rgba(31, 40, 34, .1);
  text-align: center;
}

.wechat-qr img {
  width: 100%;
  height: auto;
  aspect-ratio: 1;
  object-fit: contain;
  border-radius: 10px;
}

.wechat-qr figcaption {
  margin-top: 9px;
  color: #526057;
  font-size: 12px;
  letter-spacing: .08em;
}

@media (max-width: 640px) {
  .dialog {
    padding: 22px 18px;
  }

  .wechat-qr {
    width: min(220px, 72vw);
  }
}

/* Dynamic catalog, flower list and order flow */
.overlay-open {
  overflow: hidden;
}

.cart-trigger {
  min-height: 46px;
  border: 1px solid var(--button-border);
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 0 9px 0 16px;
  color: var(--button-text);
  background: var(--button-bg);
  font: inherit;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .04em;
  cursor: pointer;
  transition: transform .22s ease, background .22s ease;
}

.cart-trigger:hover {
  transform: translateY(-2px);
  background: var(--button-hover-bg);
}

.cart-trigger svg,
.icon-button svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.cart-count {
  min-width: 28px;
  height: 28px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .16);
  font-variant-numeric: tabular-nums;
}

.product-media::after {
  content: "";
  inset: 0;
  padding: 0;
  border-radius: 0;
  background: linear-gradient(180deg, transparent 62%, rgba(22, 30, 24, .16));
  -webkit-backdrop-filter: none;
  backdrop-filter: none;
  pointer-events: none;
}

.product-body {
  align-content: start;
}

.product-actions {
  margin-top: auto;
  padding-top: 6px;
}

.product-add {
  width: 100%;
  min-height: 42px;
  font-size: 12px;
}

.product-loading,
.product-empty {
  grid-column: 1 / -1;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 42px;
  color: var(--muted);
  text-align: center;
}

.product-empty strong {
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
  font-weight: 500;
}

.product-empty p {
  max-width: 420px;
  line-height: 1.8;
}

.product-empty .btn {
  margin-top: 8px;
}

.loading-mark {
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-top-color: var(--sage-deep);
  border-radius: 50%;
  animation: catalogSpin .8s linear infinite;
}

.footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  text-align: left;
}

.footer a {
  color: var(--sage-deep);
  white-space: nowrap;
}

.drawer-backdrop {
  position: fixed;
  inset: 0;
  z-index: 70;
  opacity: 0;
  background: rgba(12, 16, 13, .42);
  backdrop-filter: blur(4px);
  transition: opacity .25s ease;
}

.drawer-backdrop.open {
  opacity: 1;
}

.cart-drawer {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 71;
  width: min(440px, 100%);
  height: 100dvh;
  display: grid;
  grid-template-rows: auto 1fr auto;
  color: var(--ink);
  background: var(--dialog-bg);
  box-shadow: -24px 0 80px rgba(0, 0, 0, .18);
  transform: translateX(105%);
  visibility: hidden;
  transition: transform .3s cubic-bezier(.2, .8, .2, 1), visibility .3s;
}

.cart-drawer.open {
  visibility: visible;
  transform: translateX(0);
}

.cart-head,
.dialog-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
}

.cart-head {
  min-height: 112px;
  padding: 26px 26px 22px;
  border-bottom: 1px solid var(--line);
}

.cart-head p,
.dialog-heading p {
  margin: 0 0 7px;
  color: var(--sage-deep);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: .2em;
}

.cart-head h2,
.dialog-heading h3 {
  margin: 0;
  font-family: "Songti SC", "STSong", serif;
  font-size: 30px;
  font-weight: 500;
}

.icon-button {
  width: 40px;
  min-width: 40px;
  height: 40px;
  border: 1px solid var(--line);
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--ink);
  background: transparent;
  cursor: pointer;
}

.icon-button:hover {
  background: var(--ghost-bg);
}

.cart-items {
  overflow-y: auto;
  padding: 8px 26px;
}

.cart-empty {
  min-height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--muted);
  text-align: center;
}

.cart-empty > span {
  color: var(--sage-deep);
  font-size: 30px;
}

.cart-empty strong {
  color: var(--ink);
  font-family: "Songti SC", "STSong", serif;
  font-size: 22px;
  font-weight: 500;
}

.cart-empty p {
  max-width: 260px;
  line-height: 1.7;
}

.cart-item {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 15px;
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item img {
  width: 86px;
  height: 104px;
  border-radius: 8px;
}

.cart-item-content {
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
}

.cart-item-top {
  display: grid;
  gap: 7px;
}

.cart-item-top strong {
  overflow-wrap: anywhere;
  font-family: "Songti SC", "STSong", serif;
  font-size: 17px;
  font-weight: 600;
}

.cart-item-top span {
  color: var(--sage-deep);
  font-size: 13px;
}

.quantity-controls {
  display: flex;
  align-items: center;
  gap: 4px;
}

.quantity-controls button {
  width: 30px;
  height: 30px;
  border: 1px solid var(--line);
  border-radius: 50%;
  color: var(--ink);
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.quantity-controls > span {
  width: 28px;
  text-align: center;
  font-variant-numeric: tabular-nums;
}

.quantity-controls .remove-item {
  width: auto;
  margin-left: auto;
  border: 0;
  border-radius: 0;
  color: var(--muted);
  font-size: 11px;
}

.cart-footer {
  padding: 20px 26px 26px;
  border-top: 1px solid var(--line);
}

.cart-total,
.checkout-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.cart-total strong,
.checkout-summary > strong {
  color: var(--sage-deep);
  font-family: "Songti SC", "STSong", serif;
  font-size: 24px;
  font-weight: 600;
}

.cart-footer > p {
  margin: 8px 0 18px;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.6;
}

.cart-checkout {
  width: 100%;
}

.cart-checkout:disabled,
.submit-order:disabled {
  opacity: .45;
  cursor: not-allowed;
  transform: none;
}

.text-button {
  width: 100%;
  margin-top: 14px;
  border: 0;
  color: var(--sage-deep);
  background: transparent;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}

.checkout-modal {
  z-index: 80;
}

.checkout-dialog {
  width: min(720px, 100%);
  max-height: calc(100dvh - 36px);
  overflow-y: auto;
  overscroll-behavior: contain;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 30px;
}

.checkout-dialog::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

.dialog-heading {
  margin-bottom: 24px;
}

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

.form-grid label {
  min-width: 0;
  display: grid;
  gap: 8px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.form-grid label > span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.form-grid input,
.form-grid select,
.form-grid textarea {
  width: 100%;
  min-height: 44px;
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 12px;
  color: var(--ink);
  background: var(--soft-surface-bg);
  font: inherit;
  font-size: 13px;
  letter-spacing: 0;
  outline: none;
}

.form-grid textarea {
  resize: vertical;
}

.form-grid input:focus,
.form-grid select:focus,
.form-grid textarea:focus {
  border-color: var(--sage-deep);
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--sage-deep) 12%, transparent);
}

.form-span {
  grid-column: 1 / -1;
}

.checkout-address {
  min-width: 0;
  margin: 0;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft-surface-bg);
}

.checkout-address legend {
  padding: 0 6px;
  color: var(--ink);
  font-size: 12px;
  font-weight: 600;
}

.checkout-address legend > span {
  margin-left: 6px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 400;
}

.checkout-address [hidden] {
  display: none !important;
}

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

.address-steps .form-span {
  grid-column: 1 / -1;
}

.input-with-suggestions {
  position: relative;
}

.address-suggestions {
  position: absolute;
  top: calc(100% + 6px);
  right: 0;
  left: 0;
  z-index: 5;
  display: grid;
  gap: 4px;
  max-height: 180px;
  overflow-y: auto;
  padding: 6px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--dialog-bg);
  box-shadow: 0 16px 36px rgba(20, 29, 23, .18);
}

.address-suggestion {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 0 10px;
  border: 0;
  border-radius: 5px;
  color: var(--ink);
  background: transparent;
  font: inherit;
  font-size: 13px;
  text-align: left;
  cursor: pointer;
}

.address-suggestion:hover,
.address-suggestion:focus-visible {
  outline: none;
  background: var(--soft-surface-bg);
}

.address-suggestion small {
  color: var(--sage-deep);
  font-size: 10px;
}

.address-status {
  margin: 10px 2px 0 !important;
  color: var(--muted);
  font-size: 11px;
  line-height: 1.55;
}

.address-status[data-state="ready"] {
  color: var(--sage-deep);
}

.address-status[data-state="invalid"] {
  color: #b54f4f;
}

.address-steps input:disabled,
.address-steps select:disabled {
  cursor: not-allowed;
  opacity: .55;
}

.form-error {
  min-height: 24px;
  margin: 12px 0 0 !important;
  color: #b54f4f !important;
  font-size: 12px;
}

.checkout-summary {
  margin-top: 8px;
  padding: 18px 0;
  border-top: 1px solid var(--line);
}

.submit-order {
  width: 100%;
}

.form-note {
  margin: 12px 0 0 !important;
  font-size: 11px;
  text-align: center;
}

.order-success {
  padding: 18px 0 4px;
  text-align: center;
}

.order-success[hidden] {
  display: none;
}

.success-mark {
  width: 58px;
  height: 58px;
  margin: 0 auto 20px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--button-text);
  background: var(--sage-deep);
  font-size: 25px;
}

.order-success .dialog-actions {
  justify-content: center;
  margin-top: 22px;
}

.toast {
  position: fixed;
  left: 50%;
  bottom: 28px;
  z-index: 100;
  max-width: calc(100% - 32px);
  padding: 12px 18px;
  border: 1px solid rgba(255, 255, 255, .18);
  border-radius: 999px;
  opacity: 0;
  color: #fff;
  background: rgba(30, 38, 32, .9);
  box-shadow: 0 16px 42px rgba(0, 0, 0, .18);
  font-size: 12px;
  pointer-events: none;
  transform: translate(-50%, 14px);
  transition: opacity .22s ease, transform .22s ease;
}

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

@keyframes catalogSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 920px) {
  .cart-trigger-label {
    display: none;
  }

  .cart-trigger {
    padding-left: 12px;
  }
}

@media (max-width: 640px) {
  .nav {
    gap: 10px;
  }

  .brand {
    min-width: 0;
  }

  .brand strong {
    font-size: 18px;
    letter-spacing: .08em;
  }

  .hero-meta {
    display: none;
  }

  .theme-switch {
    min-width: 58px;
  }

  .cart-trigger {
    width: 46px;
    min-width: 46px;
    padding: 0;
    justify-content: center;
  }

  .cart-trigger svg {
    width: 17px;
  }

  .cart-count {
    position: absolute;
    top: 7px;
    right: 6px;
    min-width: 15px;
    height: 15px;
    padding: 0 3px;
    font-size: 8px;
    background: var(--rose);
  }

  .nav-actions {
    position: relative;
  }

  .product-body {
    min-height: 250px;
  }

  .footer {
    width: min(100% - 28px, 600px);
    align-items: flex-start;
    flex-direction: column;
    padding-bottom: 108px;
  }

  .cart-head,
  .cart-items,
  .cart-footer {
    padding-right: 18px;
    padding-left: 18px;
  }

  .checkout-dialog {
    padding: 24px 18px;
  }

  .form-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .form-span {
    grid-column: 1;
  }

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

  .address-steps .form-span {
    grid-column: 1;
  }

  .checkout-modal {
    align-items: flex-end;
    padding: 0;
  }

  .checkout-dialog {
    width: 100%;
    max-height: 94dvh;
    border-radius: 22px 22px 0 0;
  }

  .toast {
    bottom: 82px;
    width: max-content;
    text-align: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loading-mark {
    animation-duration: 1.8s;
  }

  .cart-drawer,
  .drawer-backdrop,
  .toast {
    transition: none;
  }
}
