:root {
  --paper: #0b0a09;
  --paper-light: #171411;
  --ink: #efe3d1;
  --ink-soft: #aa9a84;
  --forest: #745132;
  --forest-2: #ad8351;
  --tea: #8d633d;
  --gold: #c49a62;
  --line: rgba(196, 154, 98, 0.18);
  --white: #fff6e7;
  --danger: #e07768;
  --shadow: 0 18px 54px rgba(0, 0, 0, 0.48);
  --safe-bottom: env(safe-area-inset-bottom, 0px);
  color-scheme: dark;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background: var(--paper);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  background: var(--paper);
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  background:
    radial-gradient(circle at 8% 8%, rgba(196, 154, 98, 0.13), transparent 28%),
    radial-gradient(circle at 92% 34%, rgba(112, 76, 45, 0.12), transparent 30%),
    var(--paper);
  color: var(--ink);
  padding-bottom: calc(104px + var(--safe-bottom));
}

button,
input,
textarea {
  font: inherit;
}

button {
  color: inherit;
}

button,
a {
  -webkit-tap-highlight-color: transparent;
}

.paper-noise {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.34;
  background-image:
    repeating-linear-gradient(8deg, transparent 0 4px, rgba(196, 154, 98, 0.018) 5px 6px),
    repeating-linear-gradient(94deg, transparent 0 8px, rgba(255, 246, 231, 0.025) 9px 10px);
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 72px;
  padding: 12px 18px;
  padding-top: max(12px, env(safe-area-inset-top));
  background: rgba(11, 10, 9, 0.9);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(196, 154, 98, 0.14);
}

.brand {
  display: flex;
  gap: 10px;
  align-items: center;
  min-width: 0;
  color: inherit;
  text-decoration: none;
}

.brand-mark {
  display: block;
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 50%;
  border: 1px solid rgba(196, 154, 98, 0.7);
  background: #080706;
  box-shadow: 0 0 0 2px rgba(196, 154, 98, 0.08), 0 8px 20px rgba(0, 0, 0, 0.38);
}

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

.brand strong {
  letter-spacing: 0.13em;
  font-size: 15px;
}

.brand small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 10px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.icon-button,
.sheet-close {
  display: grid;
  place-items: center;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 98, 0.25);
  background: rgba(30, 26, 21, 0.78);
  cursor: pointer;
}

.icon-button {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  font-family: Georgia, serif;
  font-weight: 700;
}

.topbar-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 8px;
  align-items: center;
}

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

main {
  width: min(100%, 760px);
  margin: 0 auto;
}

.hero {
  position: relative;
  overflow: hidden;
  min-height: 322px;
  padding: 32px 20px 16px;
  border-bottom: 1px solid var(--line);
}

.hero::before {
  content: "";
  position: absolute;
  width: 210px;
  height: 210px;
  left: -120px;
  bottom: 30px;
  border: 24px solid rgba(196, 154, 98, 0.07);
  border-radius: 50%;
}

.hero-copy {
  position: relative;
  z-index: 2;
  max-width: 420px;
}

.eyebrow {
  color: var(--gold);
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.18em;
}

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

h1,
h2,
h3 {
  font-family: Georgia, "Times New Roman", serif;
}

h1 {
  max-width: 420px;
  margin: 8px 0 10px;
  font-size: clamp(34px, 9.5vw, 50px);
  line-height: 1.01;
  letter-spacing: -0.045em;
}

.hero-copy p {
  max-width: 390px;
  color: var(--ink-soft);
  line-height: 1.45;
  font-size: 13px;
}

.hero-scene {
  position: absolute;
  right: -24px;
  bottom: 48px;
  width: 220px;
  height: 150px;
  opacity: 0.78;
}

.barbell {
  position: absolute;
  z-index: 1;
  right: 24px;
  top: 24px;
  width: 126px;
  height: 8px;
  border: 1px solid rgba(196, 154, 98, 0.34);
  border-radius: 999px;
  background: rgba(196, 154, 98, 0.3);
  box-shadow: 0 0 16px rgba(196, 154, 98, 0.07);
  transform: rotate(-12deg);
  transform-origin: center;
}

.barbell::before,
.barbell::after {
  content: "";
  position: absolute;
  top: 50%;
  width: 18px;
  height: 52px;
  border: 3px solid rgba(196, 154, 98, 0.38);
  border-radius: 6px;
  background: rgba(67, 49, 34, 0.72);
  box-shadow: inset 0 0 0 4px rgba(196, 154, 98, 0.06);
  transform: translateY(-50%);
}

.barbell::before { left: -2px; }
.barbell::after { right: -2px; }

.barbell i {
  position: absolute;
  left: 50%;
  top: 50%;
  width: 48px;
  height: 12px;
  border: 1px solid rgba(196, 154, 98, 0.32);
  border-radius: 999px;
  background: repeating-linear-gradient(
    90deg,
    rgba(196, 154, 98, 0.24) 0 3px,
    rgba(80, 58, 39, 0.72) 3px 6px
  );
  transform: translate(-50%, -50%);
}

.teapot {
  position: absolute;
  z-index: 2;
  right: 129px;
  bottom: 7px;
  width: 62px;
  height: 40px;
  border: 2px solid rgba(196, 154, 98, 0.58);
  border-radius: 48% 48% 40% 40%;
  background: rgba(27, 23, 19, 0.86);
  box-shadow: 0 9px 18px rgba(0, 0, 0, 0.26);
}

.teapot::before {
  content: "";
  position: absolute;
  left: 15px;
  top: -11px;
  width: 28px;
  height: 10px;
  border: 2px solid rgba(196, 154, 98, 0.58);
  border-bottom: 0;
  border-radius: 50% 50% 0 0;
}

.teapot::after {
  content: "";
  position: absolute;
  right: -28px;
  top: 6px;
  width: 30px;
  height: 17px;
  border-top: 3px solid rgba(196, 154, 98, 0.58);
  border-radius: 0 85% 0 0;
  transform: rotate(13deg);
  transform-origin: left center;
}

.teapot i {
  position: absolute;
  left: -18px;
  top: 5px;
  width: 20px;
  height: 26px;
  border: 2px solid rgba(196, 154, 98, 0.58);
  border-right: 0;
  border-radius: 55% 0 0 55%;
}

.sun {
  position: absolute;
  right: 80px;
  top: 18px;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(196, 154, 98, 0.22);
}

.mountain {
  position: absolute;
  display: block;
  width: 150px;
  height: 100px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
}

.mountain-back {
  right: 0;
  bottom: 20px;
  background: rgba(112, 83, 55, 0.2);
}

.mountain-front {
  right: 80px;
  bottom: 10px;
  background: rgba(196, 154, 98, 0.17);
}

.cup {
  position: absolute;
  right: 47px;
  bottom: 8px;
  width: 68px;
  height: 36px;
  border: 3px solid rgba(196, 154, 98, 0.68);
  border-top: 0;
  border-radius: 4px 4px 32px 32px;
  background: rgba(27, 23, 19, 0.92);
  box-shadow: 0 10px 18px rgba(0, 0, 0, 0.3);
}

.cup::before {
  content: "";
  position: absolute;
  left: 5px;
  right: 5px;
  top: -4px;
  height: 8px;
  border-radius: 50%;
  background: #93653b;
}

.cup::after {
  content: "";
  position: absolute;
  right: -22px;
  top: 6px;
  width: 24px;
  height: 18px;
  border: 3px solid rgba(196, 154, 98, 0.68);
  border-left: 0;
  border-radius: 0 15px 15px 0;
}

.cup i,
.cup i::before {
  position: absolute;
  content: "";
  width: 18px;
  height: 45px;
  border-left: 2px solid rgba(196, 154, 98, 0.28);
  border-radius: 50%;
}

.cup i {
  left: 20px;
  top: -50px;
  transform: rotate(12deg);
}

.cup i::before {
  left: 16px;
  top: 4px;
}

.hero-stats {
  position: absolute;
  z-index: 3;
  left: 20px;
  right: 20px;
  bottom: 14px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 7px;
}

.hero-stats span {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 44px;
  padding: 6px 7px;
  color: var(--ink-soft);
  border: 1px solid rgba(196, 154, 98, 0.16);
  border-radius: 12px;
  background: rgba(23, 20, 17, 0.78);
  backdrop-filter: blur(6px);
  font-size: 8px;
  line-height: 1.2;
}

.hero-stats b {
  color: var(--ink);
  font-size: 13px;
}

.catalog-section {
  padding: 16px 16px 36px;
}

.new-products {
  margin-bottom: 16px;
}

.new-products-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: baseline;
  margin: 0 2px 9px;
}

.new-products-heading h2 {
  margin: 0;
  font-size: 18px;
  line-height: 1.1;
}

.new-products-list {
  display: grid;
  grid-template-columns: repeat(3, minmax(230px, 1fr));
  gap: 8px;
  overflow-x: auto;
  margin-right: -16px;
  padding-right: 16px;
  scrollbar-width: none;
}

.new-products-list::-webkit-scrollbar {
  display: none;
}

.new-product-card {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  min-width: 230px;
  padding: 7px;
  color: var(--ink);
  border: 1px solid rgba(196, 154, 98, 0.2);
  border-radius: 15px;
  background: #211c17;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  text-align: left;
  cursor: pointer;
}

.new-product-card:active {
  transform: scale(0.985);
}

.new-product-card img {
  display: block;
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 11px;
  background: #14110f;
}

.new-product-copy,
.new-product-copy small,
.new-product-copy b,
.new-product-copy strong {
  display: block;
}

.new-product-copy {
  min-width: 0;
}

.new-product-copy small {
  margin-bottom: 4px;
  color: var(--gold);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.05em;
}

.new-product-copy b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 13px;
  line-height: 1.15;
}

.new-product-copy strong {
  margin-top: 6px;
  color: var(--white);
  font-size: 12px;
}

.search-wrap {
  position: relative;
  display: flex;
  align-items: center;
}

.search-wrap svg {
  position: absolute;
  left: 16px;
  width: 19px;
  height: 19px;
  fill: none;
  stroke: var(--ink-soft);
  stroke-width: 1.8;
}

.search-wrap input {
  width: 100%;
  height: 52px;
  padding: 0 46px;
  color: var(--ink);
  border: 1px solid rgba(196, 154, 98, 0.18);
  border-radius: 16px;
  outline: 0;
  background: rgba(28, 24, 20, 0.86);
  box-shadow: 0 8px 28px rgba(0, 0, 0, 0.2);
}

.search-wrap input:focus {
  border-color: rgba(196, 154, 98, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 154, 98, 0.08);
}

.search-wrap input::placeholder,
.field input::placeholder,
.field textarea::placeholder {
  color: #817360;
  opacity: 1;
}

.clear-search {
  position: absolute;
  right: 8px;
  display: none;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  background: transparent;
  font-size: 24px;
  cursor: pointer;
}

.search-wrap.has-value .clear-search {
  display: block;
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(6, max-content);
  grid-template-rows: repeat(2, max-content);
  grid-auto-flow: row;
  gap: 8px;
  overflow-x: auto;
  overflow-y: hidden;
  margin: 16px -16px 0;
  padding: 0 16px 7px;
  scrollbar-width: none;
}

.category-tabs::-webkit-scrollbar {
  display: none;
}

.category-tab {
  flex: 0 0 auto;
  padding: 10px 14px;
  color: var(--ink-soft);
  border: 1px solid rgba(196, 154, 98, 0.16);
  border-radius: 999px;
  background: rgba(28, 24, 20, 0.72);
  font-size: 12px;
  cursor: pointer;
}

.category-tab.active {
  color: var(--white);
  border-color: var(--gold);
  background: #5f4229;
}

.section-heading {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 12px;
  margin: 28px 2px 16px;
}

.section-heading h2,
.sheet-header h2,
.info-sheet h2,
.delivery-note h2 {
  margin: 5px 0 0;
  font-size: 27px;
  letter-spacing: -0.025em;
}

.result-count {
  padding-bottom: 4px;
  color: var(--ink-soft);
  font-size: 12px;
  white-space: nowrap;
}

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

.product-card {
  --accent: #9c7448;
  display: flex;
  min-width: 0;
  flex-direction: column;
  overflow: hidden;
  border: 1px solid rgba(196, 154, 98, 0.14);
  border-radius: 18px;
  background: rgba(25, 22, 18, 0.9);
  box-shadow: 0 9px 30px rgba(0, 0, 0, 0.2);
}

.product-card[data-category="white"] { --accent: #c2a779; }
.product-card[data-category="sets"] { --accent: #a47a49; }
.product-card[data-category="green"] { --accent: #9f865c; }
.product-card[data-category="light-oolong"] { --accent: #b79059; }
.product-card[data-category="dark-oolong"] { --accent: #765236; }
.product-card[data-category="gaba"] { --accent: #c08b46; }
.product-card[data-category="red"] { --accent: #8f5234; }
.product-card[data-category="shu"] { --accent: #633c2a; }
.product-card[data-category="sheng"] { --accent: #a4814b; }

.product-open {
  display: block;
  flex: 1;
  width: 100%;
  padding: 0;
  text-align: left;
  border: 0;
  background: transparent;
  cursor: pointer;
}

.product-art {
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  height: 118px;
  background:
    radial-gradient(circle at 65% 25%, rgba(255, 246, 231, 0.18), transparent 28%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 68%, #1d1712), color-mix(in srgb, var(--accent) 28%, #16120f));
}

.product-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  background: #100e0c;
}

.product-card.has-image .tea-seal,
.product-card.has-image .steam {
  display: none;
}

.product-art::before,
.product-art::after {
  content: "";
  position: absolute;
  width: 115px;
  height: 115px;
  border: 1px solid rgba(255, 253, 247, 0.28);
  border-radius: 50%;
}

.product-art::before {
  left: -54px;
  bottom: -60px;
}

.product-art::after {
  right: -48px;
  top: -62px;
}

.product-category {
  position: absolute;
  left: 9px;
  top: 9px;
  z-index: 2;
  max-width: calc(100% - 18px);
  overflow: hidden;
  padding: 5px 7px;
  color: rgba(255, 253, 247, 0.96);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.54);
  backdrop-filter: blur(8px);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: 0.11em;
  text-overflow: ellipsis;
  white-space: nowrap;
  text-transform: uppercase;
}

.product-card.is-new .product-category {
  max-width: calc(100% - 92px);
}

.product-new-badge {
  position: absolute;
  right: 9px;
  top: 9px;
  z-index: 3;
  padding: 5px 7px;
  color: #251709;
  border: 1px solid rgba(255, 238, 190, 0.72);
  border-radius: 999px;
  background: linear-gradient(135deg, #f0c978, #b77a2f);
  box-shadow: 0 4px 14px rgba(30, 17, 5, 0.35);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1;
  white-space: nowrap;
}

.product-card.is-discounted .product-new-badge {
  color: #fff8eb;
  border-color: rgba(255, 226, 166, 0.7);
  background: linear-gradient(135deg, #b95f32, #7a301f);
}

.tea-seal {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  color: rgba(255, 253, 247, 0.94);
  border: 1px solid rgba(255, 253, 247, 0.55);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 27px;
  box-shadow: inset 0 0 0 5px rgba(255, 253, 247, 0.09);
}

.steam {
  position: absolute;
  width: 24px;
  height: 44px;
  border-left: 1px solid rgba(255, 253, 247, 0.3);
  border-radius: 50%;
}

.steam-one { right: 20px; bottom: -5px; transform: rotate(-32deg); }
.steam-two { right: 35px; bottom: -18px; transform: rotate(-24deg); }

.product-copy {
  padding: 12px 12px 7px;
}

.product-copy h3 {
  display: -webkit-box;
  overflow: hidden;
  min-height: 38px;
  margin: 0 0 6px;
  font-size: 16px;
  line-height: 1.16;
  letter-spacing: -0.018em;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-copy p {
  display: -webkit-box;
  overflow: hidden;
  margin: 0;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.product-footer {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 8px;
  padding: 7px 12px 12px;
}

.product-footer strong,
.product-footer small {
  display: block;
}

.product-price-row {
  display: grid;
  justify-items: start;
}

.product-old-price {
  margin-bottom: 1px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1;
  text-decoration-color: #b95f32;
  text-decoration-thickness: 1.5px;
}

.product-card.is-discounted .product-price {
  color: #c9934c;
}

.product-actions {
  display: flex;
  flex: 0 0 auto;
  gap: 6px;
}

.share-button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 98, 0.28);
  border-radius: 50%;
  background: rgba(196, 154, 98, 0.08);
  font-size: 18px;
  line-height: 1;
  cursor: pointer;
}

.product-footer strong {
  font-family: Georgia, serif;
  font-size: 17px;
}

.product-footer small {
  margin-top: 1px;
  color: var(--ink-soft);
  font-size: 9px;
}

.add-button {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 36px;
  height: 36px;
  color: var(--white);
  border: 0;
  border-radius: 50%;
  background: linear-gradient(145deg, #9b7044, #68472d);
  box-shadow: 0 7px 16px rgba(0, 0, 0, 0.28);
  font-size: 23px;
  line-height: 1;
  cursor: pointer;
}

.empty-state {
  padding: 55px 20px;
  text-align: center;
  color: var(--ink-soft);
}

.empty-state span {
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  margin: 0 auto 16px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 24px;
}

.empty-state h3 {
  margin-bottom: 6px;
  color: var(--ink);
}

.empty-state p {
  font-size: 13px;
}

.delivery-note {
  display: flex;
  gap: 18px;
  align-items: center;
  margin: 0 16px 24px;
  padding: 22px 18px;
  color: var(--white);
  border: 1px solid rgba(196, 154, 98, 0.2);
  border-radius: 20px;
  background:
    radial-gradient(circle at 105% -20%, rgba(196, 154, 98, 0.36), transparent 40%),
    #18130f;
}

.delivery-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  font-family: Georgia, serif;
  font-size: 24px;
}

.delivery-note h2 {
  font-size: 21px;
}

.delivery-note p {
  margin: 5px 0 0;
  color: rgba(255, 253, 247, 0.68);
  font-size: 11px;
  line-height: 1.45;
}

.cart-fab {
  position: fixed;
  z-index: 30;
  left: 14px;
  right: 14px;
  bottom: calc(12px + var(--safe-bottom));
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  width: calc(100% - 28px);
  max-width: 732px;
  min-height: 66px;
  margin: 0 auto;
  padding: 10px 16px 10px 10px;
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 20px;
  background: linear-gradient(135deg, #5d3f28, #8c633b);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
  cursor: pointer;
}

.cart-fab-icon {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin-right: 10px;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.1);
  font-family: Georgia, serif;
  font-size: 19px;
}

.cart-fab-copy {
  text-align: left;
}

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

.cart-fab-copy small {
  color: rgba(255, 253, 247, 0.64);
  font-size: 9px;
}

.cart-fab-copy strong {
  margin-top: 2px;
  font-size: 14px;
}

.cart-fab > b {
  font-family: Georgia, serif;
  font-size: 18px;
}

.sheet-backdrop {
  position: fixed;
  z-index: 50;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  backdrop-filter: blur(3px);
}

.bottom-sheet {
  position: fixed;
  z-index: 60;
  left: 0;
  right: 0;
  bottom: 0;
  overflow-y: auto;
  width: min(100%, 760px);
  max-height: min(88vh, 780px);
  margin: 0 auto;
  padding: 28px 18px calc(22px + var(--safe-bottom));
  border-radius: 26px 26px 0 0;
  background: var(--paper-light);
  box-shadow: var(--shadow);
  animation: sheet-in 220ms ease-out;
}

@keyframes sheet-in {
  from { transform: translateY(24px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.sheet-handle {
  position: absolute;
  top: 9px;
  left: 50%;
  width: 38px;
  height: 4px;
  border-radius: 999px;
  background: rgba(196, 154, 98, 0.24);
  transform: translateX(-50%);
}

.sheet-close {
  position: absolute;
  z-index: 2;
  right: 14px;
  top: 16px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
}

.sheet-header {
  padding-right: 45px;
  margin-bottom: 18px;
}

.sheet-header p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.45;
}

.sheet-product-art {
  --accent: #9c7448;
  position: relative;
  display: flex;
  align-items: end;
  overflow: hidden;
  min-height: 190px;
  margin: -28px -18px 20px;
  padding: 24px 22px;
  color: white;
  background:
    radial-gradient(circle at 75% 18%, rgba(255, 255, 255, 0.32), transparent 25%),
    linear-gradient(145deg, color-mix(in srgb, var(--accent) 75%, #211811), color-mix(in srgb, var(--accent) 36%, #120f0c));
}

.sheet-product-art::before {
  content: "茶";
  position: absolute;
  right: 20px;
  top: 35px;
  display: grid;
  place-items: center;
  width: 96px;
  height: 96px;
  border: 1px solid rgba(255, 255, 255, 0.48);
  border-radius: 50%;
  font-family: Georgia, serif;
  font-size: 43px;
  box-shadow: inset 0 0 0 8px rgba(255, 255, 255, 0.06);
}

.sheet-product-art > img {
  position: absolute;
  z-index: 0;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #100e0c;
  cursor: pointer;
  -webkit-user-drag: auto;
  -webkit-touch-callout: default;
  user-select: auto;
}

.sheet-product-art.has-image::before {
  display: none;
}

.sheet-product-art.has-image::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, transparent 42%, rgba(5, 4, 3, 0.72));
}

.sheet-product-art span {
  position: relative;
  z-index: 1;
  pointer-events: none;
  padding: 7px 10px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 999px;
  background: rgba(10, 9, 8, 0.54);
  backdrop-filter: blur(6px);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.sheet-product-title {
  margin-bottom: 8px;
  padding-right: 38px;
  font-size: 28px;
  line-height: 1.08;
}

.sheet-product-description {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.55;
}

.price-line {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin: 17px 0 19px;
}

.price-line strong {
  font-family: Georgia, serif;
  font-size: 25px;
}

.price-line span {
  color: var(--ink-soft);
  font-size: 11px;
}

.price-line del {
  color: var(--ink-soft);
  font-size: 13px;
  text-decoration-color: #b95f32;
  text-decoration-thickness: 1.5px;
}

.price-line em {
  padding: 4px 7px;
  color: #fff8eb;
  border-radius: 999px;
  background: linear-gradient(135deg, #b95f32, #7a301f);
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.05em;
}

.whole-price-note {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -9px 0 17px;
  padding: 10px 12px;
  border: 1px solid rgba(196, 154, 98, 0.2);
  border-radius: 12px;
  background: rgba(196, 154, 98, 0.08);
  font-size: 11px;
}

.whole-price-note span {
  color: var(--ink-soft);
  text-align: right;
}

.bundle-summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin: -9px 0 15px;
  padding: 12px;
  border: 1px solid rgba(196, 154, 98, 0.28);
  border-radius: 13px;
  background: rgba(196, 154, 98, 0.1);
  font-size: 12px;
}

.bundle-summary span {
  color: var(--ink-soft);
  font-size: 11px;
}

.bundle-contents {
  margin: 0 0 18px;
}

.bundle-contents > span {
  display: block;
  margin-bottom: 8px;
  font-size: 12px;
  font-weight: 750;
}

.bundle-contents ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.bundle-contents li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  min-width: 0;
  padding: 8px 9px;
  color: var(--ink);
  border: 1px solid rgba(196, 154, 98, 0.14);
  border-radius: 10px;
  background: rgba(33, 28, 23, 0.78);
  font-size: 10px;
  line-height: 1.3;
}

.bundle-contents li small {
  flex: 0 0 auto;
  color: var(--gold);
  font-size: 9px;
}

.grams-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 9px;
  font-size: 12px;
  font-weight: 700;
}

.grams-label small {
  color: var(--ink-soft);
  font-weight: 500;
}

.grams-options {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 6px;
  margin-bottom: 18px;
}

.grams-option {
  padding: 11px 4px;
  color: var(--ink);
  border: 1px solid rgba(196, 154, 98, 0.18);
  border-radius: 12px;
  background: #211c17;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.grams-option.active {
  color: var(--white);
  border-color: var(--gold);
  background: #6f4c30;
}

.grams-option.whole-option {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
}

.grams-option.whole-option small {
  color: var(--ink-soft);
  font-size: 10px;
  font-weight: 500;
}

.grams-option.whole-option.active small {
  color: rgba(255, 255, 255, 0.72);
}

.custom-grams {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 14px;
}

.custom-grams input,
.cart-grams-input,
.cart-quantity-input {
  width: 108px;
  min-height: 44px;
  padding: 8px 10px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--paper-light);
  font: inherit;
  font-size: 16px;
}

.custom-grams input:focus,
.cart-grams-input:focus,
.cart-quantity-input:focus {
  outline: 2px solid var(--gold);
  outline-offset: 2px;
}

.custom-grams input[aria-invalid="true"],
.cart-grams-input[aria-invalid="true"],
.cart-quantity-input[aria-invalid="true"] {
  border-color: var(--danger);
}

.grams-hint {
  margin: 8px 0 18px;
  color: var(--ink-soft);
  font-size: 14px;
}

.cart-weight {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
}

.cart-grams-input,
.cart-quantity-input {
  width: 86px;
}

.cart-weight-hint {
  margin: 5px 0 0;
  color: var(--ink-soft);
  font-size: 12px;
  line-height: 1.4;
}

.primary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 54px;
  padding: 0 18px;
  color: var(--white);
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, #6b482d, #9a7044);
  font-size: 14px;
  font-weight: 750;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.34);
  cursor: pointer;
}

.primary-button:disabled {
  cursor: not-allowed;
  opacity: 0.45;
  box-shadow: none;
}

.share-product-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  min-height: 46px;
  margin-top: 9px;
  color: #d9ba91;
  border: 1px solid rgba(154, 112, 68, 0.32);
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
}

.share-product-button span {
  font-size: 17px;
}

.secondary-button {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 48px;
  padding: 0 18px;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 98, 0.34);
  border-radius: 14px;
  background: transparent;
  font-size: 13px;
  font-weight: 750;
  cursor: pointer;
}

.cart-lines {
  display: flex;
  flex-direction: column;
  gap: 9px;
  max-height: 310px;
  overflow-y: auto;
}

.cart-line {
  display: grid;
  grid-template-columns: 44px minmax(0, 1fr) auto;
  gap: 11px;
  align-items: center;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 15px;
  background: #211c17;
}

.cart-line-seal {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--white);
  border-radius: 13px;
  background: var(--accent, var(--forest));
  font-family: Georgia, serif;
}

.cart-line h3 {
  overflow: hidden;
  margin: 0 0 5px;
  font-family: inherit;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-line-controls {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}

.cart-line select {
  padding: 5px 22px 5px 7px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-light);
  max-width: 100%;
  min-height: 44px;
  font-size: 14px;
}

.cart-line-fixed {
  padding: 5px 7px;
  color: var(--ink-soft);
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--paper-light);
  font-size: 10px;
}

.remove-line {
  padding: 2px 0;
  color: var(--danger);
  border: 0;
  background: transparent;
  min-height: 44px;
  font-size: 12px;
  cursor: pointer;
}

.cart-line-amount {
  font-family: Georgia, serif;
  font-size: 13px;
  white-space: nowrap;
}

.minimum-card {
  margin-top: 14px;
  padding: 12px;
  border: 1px solid rgba(196, 154, 98, 0.22);
  border-radius: 14px;
  background: rgba(196, 154, 98, 0.08);
}

.minimum-card.complete {
  border-color: rgba(196, 154, 98, 0.32);
  background: rgba(196, 154, 98, 0.12);
}

.minimum-row,
.cart-summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.minimum-row {
  font-size: 11px;
}

.progress {
  overflow: hidden;
  height: 5px;
  margin-top: 9px;
  border-radius: 999px;
  background: rgba(196, 154, 98, 0.12);
}

.progress i {
  display: block;
  width: 0;
  height: 100%;
  border-radius: inherit;
  background: var(--gold);
  transition: width 220ms ease;
}

.minimum-card.complete .progress i {
  background: var(--forest-2);
}

.gift-card {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(196, 154, 98, 0.18);
  border-radius: 14px;
  background: rgba(15, 13, 11, 0.78);
  opacity: 0.72;
  transition: opacity 180ms ease, border-color 180ms ease, background 180ms ease;
}

.gift-card.complete {
  border-color: rgba(196, 154, 98, 0.42);
  background:
    radial-gradient(circle at 95% 0, rgba(196, 154, 98, 0.18), transparent 42%),
    rgba(32, 27, 22, 0.94);
  opacity: 1;
}

.gift-card.selected {
  box-shadow: inset 0 0 0 1px rgba(196, 154, 98, 0.12);
}

.gift-heading {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}

.gift-heading span,
.gift-heading small,
.gift-heading b {
  display: block;
}

.gift-heading small {
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.16em;
}

.gift-heading b {
  overflow: hidden;
  max-width: 240px;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.gift-heading strong {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 14px;
  white-space: nowrap;
}

.gift-card.complete .gift-progress i {
  background: var(--forest-2);
}

.free-delivery-card {
  margin-top: 18px;
  padding: 13px;
  border: 1px solid rgba(196, 154, 98, 0.24);
  border-radius: 14px;
  background: rgba(196, 154, 98, 0.08);
}

.free-delivery-card.complete {
  border-color: rgba(92, 133, 92, 0.5);
  background: rgba(71, 105, 71, 0.16);
}

.free-delivery-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  font-size: 11px;
  font-weight: 700;
}

.free-delivery-row b {
  color: var(--gold);
  white-space: nowrap;
}

.free-delivery-card.complete .free-delivery-row b {
  color: #a7c59f;
}

.free-delivery-card.complete .free-delivery-progress i {
  background: var(--forest-2);
}

.free-delivery-card > small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 9px;
}

.gift-pickers {
  display: grid;
  gap: 8px;
  margin-top: 11px;
}

.gift-picker {
  display: block;
}

.gift-picker span {
  display: block;
  margin-bottom: 6px;
  color: var(--ink-soft);
  font-size: 9px;
}

.gift-picker select {
  width: 100%;
  min-height: 42px;
  padding: 0 34px 0 11px;
  color: var(--ink);
  border: 1px solid rgba(196, 154, 98, 0.24);
  border-radius: 11px;
  outline: none;
  background: #171411;
  font-size: 11px;
}

.gift-picker select:disabled {
  color: var(--ink-soft);
  opacity: 0.7;
}

.cart-summary {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--line);
  font-size: 14px;
}

.cart-summary b {
  font-family: Georgia, serif;
  font-size: 22px;
}

.delivery-disclaimer,
.secure-note {
  color: var(--ink-soft);
  text-align: center;
  font-size: 10px;
}

.delivery-disclaimer {
  margin: 3px 0 14px;
}

.field {
  display: block;
  margin-bottom: 13px;
}

.field > span,
.field-label,
.delivery-fieldset legend {
  display: block;
  margin: 0 0 7px;
  color: var(--ink-soft);
  font-size: 11px;
  font-weight: 700;
}

.field input,
.field textarea {
  width: 100%;
  padding: 14px;
  color: var(--ink);
  border: 1px solid var(--line);
  border-radius: 13px;
  outline: 0;
  background: #211c17;
}

.field textarea {
  resize: vertical;
}

.field input:focus,
.field textarea:focus {
  border-color: rgba(196, 154, 98, 0.55);
  box-shadow: 0 0 0 3px rgba(196, 154, 98, 0.08);
}

.autocomplete-field {
  position: relative;
}

.autocomplete-field.has-selection input:not([type="hidden"]),
.autocomplete-field.has-selection textarea {
  border-color: rgba(196, 154, 98, 0.58);
  box-shadow: inset 0 0 0 1px rgba(196, 154, 98, 0.13);
}

.field-hint {
  display: block;
  min-height: 14px;
  margin: 6px 2px 0;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.4;
}

.field-hint.selected {
  color: var(--gold);
}

.suggestion-list {
  position: absolute;
  z-index: 18;
  top: calc(100% - 12px);
  left: 0;
  right: 0;
  overflow-y: auto;
  max-height: 250px;
  padding: 5px;
  border: 1px solid rgba(196, 154, 98, 0.34);
  border-radius: 14px;
  background: rgba(27, 23, 19, 0.98);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.52);
  backdrop-filter: blur(14px);
  -webkit-overflow-scrolling: touch;
}

.suggestion-item {
  display: grid;
  width: 100%;
  gap: 3px;
  padding: 11px 10px;
  color: var(--ink);
  border: 0;
  border-bottom: 1px solid rgba(196, 154, 98, 0.12);
  border-radius: 9px;
  background: transparent;
  text-align: left;
  cursor: pointer;
}

.suggestion-item:last-child {
  border-bottom: 0;
}

.suggestion-item:active,
.suggestion-item:focus-visible {
  outline: 0;
  background: rgba(196, 154, 98, 0.12);
}

.suggestion-item strong {
  font-size: 12px;
  line-height: 1.35;
}

.suggestion-item span {
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.suggestion-item .suggestion-meta {
  color: var(--gold);
}

.suggestion-message {
  padding: 12px 10px;
  color: var(--ink-soft);
  font-size: 10px;
  line-height: 1.4;
}

.delivery-fieldset {
  margin: 0 0 13px;
  padding: 0;
  border: 0;
}

#deliveryOptions {
  display: grid;
  gap: 7px;
}

.delivery-option {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 11px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #211c17;
  cursor: pointer;
}

.delivery-option:has(input:checked) {
  border-color: rgba(196, 154, 98, 0.58);
  box-shadow: inset 0 0 0 1px rgba(196, 154, 98, 0.22);
}

.delivery-option input {
  width: 17px;
  height: 17px;
  accent-color: var(--gold);
}

.delivery-option b,
.delivery-option small {
  display: block;
}

.delivery-option b {
  font-size: 12px;
}

.delivery-option small {
  margin-top: 2px;
  color: var(--ink-soft);
  font-size: 9px;
}

.delivery-option-side {
  max-width: 96px;
  color: var(--ink-soft);
  font-size: 9px;
  font-weight: 700;
  text-align: right;
}

.checkout-summary {
  margin: 20px 0 13px;
  padding: 15px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.checkout-summary-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  align-items: center;
  margin-bottom: 9px;
}

.checkout-summary-row span {
  font-size: 12px;
  font-weight: 700;
}

.checkout-summary-row b {
  font-size: 13px;
}

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

.checkout-summary-total b {
  font-family: Georgia, serif;
  font-size: 22px;
}

.delivery-quote-status {
  display: block;
  margin-top: 9px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.45;
}

.delivery-quote-status.error {
  color: #d69779;
}

.pay-button {
  justify-content: space-between;
}

.pay-button b {
  font-family: Georgia, serif;
  font-size: 17px;
}

.secure-note {
  margin: 9px 0 0;
}

.orders-sheet-header {
  position: relative;
}

.orders-sheet-header h2 {
  margin-bottom: 7px;
}

.orders-refresh {
  margin-top: 12px;
  padding: 7px 10px;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 98, 0.24);
  border-radius: 10px;
  background: rgba(196, 154, 98, 0.07);
  font-size: 10px;
  font-weight: 750;
  cursor: pointer;
}

.orders-refresh:disabled {
  opacity: 0.55;
  cursor: wait;
}

.orders-list {
  display: grid;
  gap: 11px;
}

.orders-state {
  padding: 30px 18px;
  color: var(--ink-soft);
  border: 1px dashed rgba(196, 154, 98, 0.22);
  border-radius: 15px;
  background: rgba(196, 154, 98, 0.04);
  font-size: 12px;
  line-height: 1.5;
  text-align: center;
}

.order-card {
  padding: 14px;
  border: 1px solid rgba(196, 154, 98, 0.2);
  border-radius: 16px;
  background: #211c17;
}

.order-card-top,
.order-total-row,
.order-line-history {
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

.order-card-top {
  align-items: flex-start;
  margin-bottom: 12px;
}

.order-number,
.order-date {
  display: block;
}

.order-number {
  margin-bottom: 4px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 17px;
}

.order-date {
  color: var(--ink-soft);
  font-size: 9px;
}

.order-status {
  flex: 0 0 auto;
  padding: 6px 8px;
  color: #e4c697;
  border: 1px solid rgba(196, 154, 98, 0.28);
  border-radius: 999px;
  background: rgba(196, 154, 98, 0.09);
  font-size: 9px;
  font-weight: 800;
}

.order-status.confirmed,
.order-status.shipped,
.order-status.completed {
  color: #b8d2ae;
  border-color: rgba(118, 153, 105, 0.36);
  background: rgba(83, 120, 71, 0.14);
}

.order-status.cancelled {
  color: #e1a397;
  border-color: rgba(224, 119, 104, 0.32);
  background: rgba(224, 119, 104, 0.1);
}

.order-lines-history {
  display: grid;
  gap: 7px;
  padding: 11px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.order-line-history {
  align-items: baseline;
  font-size: 11px;
}

.order-line-history span {
  min-width: 0;
  line-height: 1.35;
}

.order-line-history b {
  flex: 0 0 auto;
  font-size: 11px;
}

.order-gifts {
  margin: 10px 0 0;
  color: var(--gold);
  font-size: 10px;
  line-height: 1.45;
}

.order-delivery {
  margin: 10px 0 0;
  color: var(--ink-soft);
  font-size: 9px;
}

.order-total-row {
  align-items: center;
  margin-top: 12px;
  font-size: 12px;
}

.order-total-row b {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 20px;
}

.order-repeat {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
  color: var(--white);
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #5d3f28, #8c633b);
  font-size: 11px;
  font-weight: 750;
  cursor: pointer;
}

.info-sheet > p {
  color: var(--ink-soft);
  font-size: 13px;
  line-height: 1.6;
}

.info-points {
  display: grid;
  gap: 8px;
  margin-top: 20px;
}

.info-points div {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 13px;
  background: #211c17;
  font-size: 12px;
}

.info-points b {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  color: var(--white);
  border-radius: 50%;
  background: #704c30;
  font-size: 10px;
}

.success-sheet {
  padding-top: 34px;
  text-align: center;
}

.success-sheet h2 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.success-sheet p {
  max-width: 390px;
  margin: 0 auto 12px;
  color: var(--ink-soft);
  font-size: 14px;
  line-height: 1.5;
}

.success-sheet #successOrderNumber {
  color: var(--gold);
  font-weight: 800;
}

.success-sheet .primary-button {
  margin-top: 22px;
}

.success-sheet .secondary-button {
  margin-top: 9px;
}

.success-mark {
  display: grid;
  place-items: center;
  width: 72px;
  height: 72px;
  margin: 0 auto 18px;
  color: var(--white);
  border: 1px solid rgba(196, 154, 98, 0.6);
  border-radius: 50%;
  background: linear-gradient(145deg, #9b7044, #5f4229);
  box-shadow: 0 12px 34px rgba(0, 0, 0, 0.34);
  font-size: 34px;
  font-weight: 800;
}

.toast {
  position: fixed;
  z-index: 100;
  left: 50%;
  bottom: calc(96px + var(--safe-bottom));
  max-width: calc(100% - 32px);
  padding: 11px 16px;
  color: var(--white);
  border-radius: 999px;
  background: rgba(19, 16, 13, 0.98);
  box-shadow: var(--shadow);
  font-size: 11px;
  text-align: center;
  transform: translateX(-50%);
}

[hidden] {
  display: none !important;
}

body.sheet-open {
  overflow: hidden;
}

@media (min-width: 560px) {
  .hero {
    min-height: 340px;
    padding: 38px 36px 18px;
  }

  .hero-copy {
    max-width: 520px;
  }

  .hero-scene {
    right: 8px;
    bottom: 50px;
    width: 280px;
    height: 170px;
    opacity: 0.78;
    transform: scale(1);
  }

  .hero-stats {
    left: 36px;
    right: 36px;
  }

  .catalog-section {
    padding-right: 28px;
    padding-left: 28px;
  }

  .category-tabs {
    margin-right: -28px;
    margin-left: -28px;
    padding-right: 28px;
    padding-left: 28px;
  }

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

  .delivery-note {
    margin-right: 28px;
    margin-left: 28px;
  }

  .bottom-sheet {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    border-radius: 26px 26px 0 0;
  }

  @keyframes sheet-in {
    from { transform: translate(-50%, 24px); opacity: 0; }
    to { transform: translate(-50%, 0); opacity: 1; }
  }
}

@media (max-width: 380px) {
  .hero-scene {
    opacity: 0.65;
  }

  .product-art {
    height: 105px;
  }

  .grams-options {
    gap: 4px;
  }
}

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


/* Sold-out teas remain visible, with purchase controls disabled. */
.product-card.is-sold-out {
  filter: grayscale(1);
  border-color: rgba(180, 180, 180, 0.25);
  background: #222;
}

.product-card.is-sold-out .product-image {
  opacity: 0.65;
}

.product-card.is-sold-out .product-new-badge {
  top: auto;
  bottom: 10px;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  color: #f2f2f2;
  border-color: #777;
  background: #383838;
}

.product-card.is-sold-out .add-button,
#productSheetContent.is-sold-out #addCurrentProduct {
  color: #ccc;
  background: #444;
  box-shadow: none;
  cursor: not-allowed;
  opacity: 1;
}

#productSheetContent.is-sold-out .sheet-product-art {
  filter: grayscale(1);
}


/* Cart conversion helpers */
.cart-free-delivery-card {
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(196, 154, 98, 0.2);
  border-radius: 14px;
  background: rgba(196, 154, 98, 0.07);
}

.cart-free-delivery-card.complete {
  border-color: rgba(92, 133, 92, 0.5);
  background: rgba(71, 105, 71, 0.16);
}

.cart-free-delivery-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  font-size: 11px;
  font-weight: 700;
}

.cart-free-delivery-row b {
  color: var(--gold);
  white-space: nowrap;
}

.cart-free-delivery-card.complete .cart-free-delivery-row b {
  color: #a7c59f;
}

.cart-free-delivery-card.complete .cart-free-delivery-progress i {
  background: var(--forest-2);
}

.cart-free-delivery-card > small {
  display: block;
  margin-top: 8px;
  color: var(--ink-soft);
  font-size: 9px;
}

.starter-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  margin-top: 10px;
  padding: 13px;
  border: 1px solid rgba(196, 154, 98, 0.32);
  border-radius: 14px;
  background:
    radial-gradient(circle at 100% 0, rgba(196, 154, 98, 0.2), transparent 46%),
    #211c17;
}

.starter-suggestion[hidden] {
  display: none;
}

.starter-suggestion-copy small,
.starter-suggestion-copy strong,
.starter-suggestion-copy span {
  display: block;
}

.starter-suggestion-copy small {
  margin-bottom: 3px;
  color: var(--gold);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0.14em;
}

.starter-suggestion-copy strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 14px;
  line-height: 1.2;
}

.starter-suggestion-copy span {
  margin-top: 4px;
  color: var(--ink-soft);
  font-size: 9px;
  line-height: 1.35;
}

.starter-suggestion-action {
  display: grid;
  gap: 7px;
  justify-items: end;
}

.starter-suggestion-action b {
  color: var(--white);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 15px;
  white-space: nowrap;
}

.starter-suggestion-action button {
  min-height: 36px;
  padding: 0 12px;
  color: var(--white);
  border: 0;
  border-radius: 10px;
  background: linear-gradient(135deg, #6b482d, #9a7044);
  font-size: 10px;
  font-weight: 800;
  cursor: pointer;
}

/* Product reviews */
.product-reviews {
  margin-top: 20px;
  padding-top: 17px;
  border-top: 1px solid var(--line);
}

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

.product-reviews-heading span {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 18px;
  font-weight: 700;
}

.product-reviews-heading b {
  display: grid;
  place-items: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  color: var(--gold);
  border: 1px solid rgba(196, 154, 98, 0.24);
  border-radius: 999px;
  background: rgba(196, 154, 98, 0.08);
  font-size: 10px;
}

.product-reviews-empty {
  margin: 0;
  padding: 13px;
  color: var(--ink-soft);
  border: 1px solid rgba(196, 154, 98, 0.14);
  border-radius: 12px;
  background: rgba(33, 28, 23, 0.55);
  font-size: 11px;
  line-height: 1.45;
}

.product-review-list {
  display: grid;
  gap: 8px;
}

.product-review {
  padding: 12px;
  border: 1px solid rgba(196, 154, 98, 0.16);
  border-radius: 12px;
  background: rgba(33, 28, 23, 0.72);
}

.product-review > div {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 10px;
}

.product-review strong {
  font-size: 11px;
}

.product-review small {
  color: var(--ink-soft);
  font-size: 9px;
}

.product-review p {
  margin: 7px 0 0;
  color: var(--ink-soft);
  font-size: 11px;
  line-height: 1.5;
}

@media (max-width: 420px) {
  .starter-suggestion {
    grid-template-columns: 1fr;
  }

  .starter-suggestion-action {
    grid-template-columns: auto 1fr;
    align-items: center;
    justify-items: stretch;
  }

  .starter-suggestion-action button {
    width: 100%;
  }
}

/* Tea Bao personalised collections */
.tea-collections { padding: 25px 18px 10px; max-width: 1080px; margin: 0 auto; }
.tea-collections-heading h2 { margin: 6px 0 17px; font-size: clamp(23px, 5vw, 30px); letter-spacing: -.035em; }
.tea-collections-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.tea-collection-card { min-height: 128px; display: flex; flex-direction: column; align-items: flex-start; padding: 15px; text-align: left; border: 1px solid var(--line); border-radius: 15px; background: linear-gradient(135deg, #241d17, #11100e); cursor: pointer; transition: border-color .2s, transform .2s; }
.tea-collection-card:first-child { grid-column: 1 / -1; min-height: 105px; }
.tea-collection-card:active { transform: scale(.98); }
.tea-collection-card.active { border-color: var(--gold); background: linear-gradient(135deg, #332516, #17120d); }
.tea-collection-icon { color: var(--gold); font-family: Georgia,serif; font-size: 27px; height: 39px; }
.tea-collection-card strong { color: var(--ink); font-size: 15px; line-height: 1.2; }
.tea-collection-card small { color: var(--ink-soft); margin-top: 7px; font-size: 11px; line-height: 1.4; }
.tea-collections-note { color: var(--ink-soft); font-size: 11px; line-height: 1.4; margin: 10px 2px 0; }
@media (min-width: 700px) { .tea-collections-grid { grid-template-columns: repeat(5, 1fr); } .tea-collection-card:first-child { grid-column: auto; min-height: 145px; } }
@media (prefers-reduced-motion: reduce) { .tea-collection-card { transition: none; } }

/* Floating glass dock, styled for Tea Bao's black-and-gold theme */
.bottom-nav {
  position: fixed;
  z-index: 40;
  left: 50%;
  bottom: calc(10px + var(--safe-bottom));
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 6px;
  width: min(calc(100% - 22px), 700px);
  padding: 8px;
  overflow: hidden;
  isolation: isolate;
  border: 1px solid rgba(255, 236, 206, 0.28);
  border-radius: 28px;
  background: rgba(40, 33, 28, 0.77);
  box-shadow:
    0 15px 42px rgba(0, 0, 0, 0.40),
    0 2px 10px rgba(0, 0, 0, 0.20),
    inset 0 1px 0 rgba(255, 249, 231, 0.26),
    inset 0 -1px 0 rgba(196, 154, 98, 0.10);
  transform: translateX(-50%);
}
@supports ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
  .bottom-nav {
    background: linear-gradient(
      145deg,
      rgba(98, 87, 78, 0.42) 0%,
      rgba(36, 29, 25, 0.43) 48%,
      rgba(54, 43, 34, 0.48) 100%
    );
    -webkit-backdrop-filter: blur(28px) saturate(165%);
    backdrop-filter: blur(28px) saturate(165%);
  }
}
.bottom-nav::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  border-radius: inherit;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.12) 0%,
    rgba(255, 255, 255, 0.025) 38%,
    transparent 75%
  );
  pointer-events: none;
}
.bottom-nav::after {
  content: "";
  position: absolute;
  top: 1px;
  left: 12%;
  right: 12%;
  z-index: 0;
  height: 1px;
  background: linear-gradient(
    90deg, transparent, rgba(255, 245, 218, 0.38), transparent
  );
  pointer-events: none;
}
.bottom-nav-tab {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  min-height: 61px;
  padding: 6px 10px;
  border: 1px solid transparent;
  border-radius: 21px;
  background: transparent;
  color: rgba(239, 227, 209, 0.70);
  font-size: 12px;
  font-weight: 650;
  cursor: pointer;
  transition:
    color 180ms ease,
    background-color 180ms ease,
    box-shadow 180ms ease,
    transform 180ms ease;
}
.bottom-nav-tab svg {
  display: block;
  width: 26px;
  height: 26px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}
.bottom-nav-tab.is-active {
  color: #e4b975;
  border-color: rgba(225, 184, 118, 0.26);
  background: linear-gradient(
    155deg,
    rgba(236, 190, 119, 0.19),
    rgba(196, 154, 98, 0.09)
  );
  box-shadow:
    inset 0 1px 0 rgba(255, 239, 206, 0.20),
    0 4px 15px rgba(0, 0, 0, 0.12);
  text-shadow: 0 0 14px rgba(225, 184, 118, 0.16);
}
.bottom-nav-tab:active {
  transform: scale(0.97);
}
.bottom-nav-tab:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: -3px;
}
.bottom-nav-cart-icon {
  position: relative;
  display: block;
}
.bottom-nav-badge {
  position: absolute;
  top: -7px;
  right: -12px;
  display: grid;
  place-items: center;
  min-width: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 99px;
  background: linear-gradient(145deg, #e8bd7b, var(--gold));
  color: #21170f;
  font-size: 10px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.30);
}
.cart-sheet {
  position: relative;
  z-index: auto;
  left: auto;
  right: auto;
  bottom: auto;
  overflow: visible;
  width: min(100%, 760px);
  max-height: none;
  min-height: 45vh;
  margin: 0 auto;
  padding: 28px 18px 10px;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  animation: none;
  transform: none;
}
.cart-sheet .cart-lines {
  max-height: none;
  overflow: visible;
}
.cart-empty {
  margin: 20px 0;
  padding: 25px 18px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--paper-light);
  text-align: center;
}
.cart-empty-symbol {
  color: var(--gold);
  font-family: Georgia, serif;
  font-size: 34px;
}
.cart-empty h3 {
  margin: 8px 0;
  font-size: 18px;
}
.cart-empty p {
  margin: 0 0 17px;
  color: var(--ink-soft);
  font-size: 13px;
}
.cart-empty .secondary-button {
  width: 100%;
}
@media (min-width: 560px) {
  .cart-sheet {
    left: auto;
    right: auto;
    border-radius: 0;
    transform: none;
  }
}

/* Keep the anti-bot field outside the visible checkout form. */
.checkout-honeypot {
  position: absolute;
  left: -10000px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
}

/* Subtle crawlable link to the server-rendered tea catalogue */
.seo-store-links {max-width:760px;margin:4px auto 24px;padding:0 18px;text-align:center}
.seo-store-links a {color:var(--gold);font-size:12px;text-decoration:underline;text-decoration-color:rgba(196,154,98,.45);text-underline-offset:3px}
