:root {
  color-scheme: light;
  --bg: #f5f6f3;
  --paper: #ffffff;
  --soft: #f0ede6;
  --ink: #17211d;
  --muted: #69736f;
  --line: #e2e5df;
  --green: #1f5c43;
  --green-dark: #143d2d;
  --gold: #c69a49;
  --red: #b8513f;
  --shadow: 0 18px 45px rgba(26, 39, 34, 0.1);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

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

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family:
    "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", system-ui, sans-serif;
  letter-spacing: 0;
}

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

button,
input,
textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 12px 16px;
  background: rgba(245, 246, 243, 0.9);
  border-bottom: 1px solid rgba(226, 229, 223, 0.86);
  backdrop-filter: blur(16px);
}

.telegram-sticky-wrap {
  display: none;
  position: sticky;
  top: var(--telegram-sticky-top, 66px);
  z-index: 4;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 6px 16px;
  background: rgba(245, 246, 243, 0.94);
  backdrop-filter: blur(16px);
}

.telegram-sticky-bar {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  min-height: 50px;
  padding: 6px 8px 6px 14px;
  border: 1px solid rgba(61, 107, 84, 0.2);
  border-radius: 16px;
  background: rgba(238, 242, 235, 0.98);
  box-shadow: 0 6px 18px rgba(35, 67, 52, 0.07);
}

.telegram-sticky-info {
  display: flex;
  flex: 1 1 auto;
  align-items: center;
  gap: 11px;
  min-width: 0;
}

.telegram-sticky-icon {
  flex: 0 0 auto;
  font-size: 20px;
  line-height: 1;
}

.telegram-sticky-label {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  white-space: nowrap;
}

.telegram-sticky-label strong {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 900;
}

.telegram-sticky-label a {
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 950;
  text-decoration: underline;
  text-decoration-color: rgba(61, 107, 84, 0.28);
  text-underline-offset: 3px;
}

.telegram-label-short {
  display: none;
}

.telegram-sticky-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 94px;
  min-height: 38px;
  padding: 0 16px;
  border-radius: 13px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 950;
  box-shadow: 0 8px 16px rgba(31, 92, 67, 0.15);
  transition: transform 0.16s ease, background 0.16s ease;
}

.telegram-sticky-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.telegram-sticky-button:focus-visible,
.telegram-sticky-label a:focus-visible {
  outline: 3px solid rgba(198, 154, 73, 0.48);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .telegram-sticky-wrap {
    display: block;
    padding: 5px 10px;
  }

  .telegram-sticky-bar {
    gap: 8px;
    min-height: 50px;
    padding: 5px 6px 5px 10px;
    border-radius: 14px;
  }

  .telegram-sticky-info {
    gap: 7px;
  }

  .telegram-sticky-label {
    display: grid;
    gap: 0;
    line-height: 1.15;
  }

  .telegram-sticky-label strong {
    font-size: 11px;
  }

  .telegram-sticky-label a {
    font-size: 14px;
  }

  .telegram-sticky-button {
    min-width: 86px;
    min-height: 38px;
    padding: 0 12px;
  }
}

@media (max-width: 350px) {
  .telegram-sticky-icon {
    display: none;
  }
}

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

.brand-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: var(--green-dark);
  color: #fff;
  font-size: 12px;
  font-weight: 900;
}

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

.brand strong {
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

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

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

.telegram-header-cta {
  display: inline-flex;
  flex: 0 1 300px;
  align-items: center;
  gap: 9px;
  width: clamp(260px, 26vw, 300px);
  height: 42px;
  padding: 4px 5px 4px 11px;
  border: 1px solid rgba(61, 107, 84, 0.2);
  border-radius: 15px;
  background: rgba(238, 242, 235, 0.96);
  box-shadow: 0 5px 14px rgba(35, 67, 52, 0.06);
}

.telegram-header-icon {
  flex: 0 0 auto;
  font-size: 18px;
  line-height: 1;
}

.telegram-header-copy {
  display: grid;
  flex: 1 1 auto;
  min-width: 0;
  line-height: 1.05;
}

.telegram-header-copy strong {
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 900;
}

.telegram-header-copy a {
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.telegram-header-button {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  min-width: 76px;
  height: 34px;
  padding: 0 11px;
  border-radius: 11px;
  background: var(--green);
  color: #fff;
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  transition: background 0.16s ease, transform 0.16s ease;
}

.telegram-header-button:hover {
  background: var(--green-dark);
  transform: translateY(-1px);
}

.telegram-header-button:focus-visible,
.telegram-header-copy a:focus-visible {
  outline: 3px solid rgba(198, 154, 73, 0.48);
  outline-offset: 2px;
}

@media (max-width: 860px) {
  .telegram-header-cta {
    display: none;
  }
}

.order-lookup-pill,
.cart-pill,
.cart-header button {
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.order-lookup-pill {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 0 13px;
  background: rgba(61, 107, 84, 0.1);
  color: var(--green-dark);
  text-decoration: none;
}

.cart-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 13px;
}

.cart-pill strong {
  display: grid;
  place-items: center;
  min-width: 22px;
  height: 22px;
  border-radius: 999px;
  background: #fff;
  color: var(--green);
}

main {
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 16px 16px 42px;
}

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

.eyebrow,
.section-heading p {
  margin: 0 0 5px;
  color: var(--gold);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero {
  display: grid;
  gap: 22px;
  padding: 26px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 24px;
  background:
    radial-gradient(circle at 88% 16%, rgba(198, 154, 73, 0.24), transparent 28%),
    linear-gradient(145deg, #fff 0%, #f4efe4 100%);
  box-shadow: var(--shadow);
}

.hero h1 {
  max-width: 11em;
  color: var(--green-dark);
  font-size: 34px;
  font-weight: 950;
  line-height: 1.12;
}

.hero-copy > p:last-of-type {
  margin-top: 13px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 18px;
}

.primary-link,
.secondary-link,
.primary-button,
.add-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  border-radius: 999px;
  font-weight: 950;
}

.primary-link,
.primary-button,
.add-button {
  border: 0;
  background: var(--green);
  color: #fff;
}

.secondary-link {
  border: 1px solid var(--line);
  background: #fff;
  color: var(--green-dark);
  padding: 0 18px;
}

.primary-link {
  padding: 0 20px;
}

.hero-board {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 10px;
}

.hero-tile {
  display: grid;
  place-items: center;
  min-height: 84px;
  border: 1px solid rgba(31, 92, 67, 0.12);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  color: var(--green-dark);
  font-size: 17px;
  font-weight: 950;
  box-shadow: 0 10px 25px rgba(26, 39, 34, 0.07);
}

.tile-large {
  grid-row: span 2;
  min-height: 178px;
  background: var(--green-dark);
  color: #fff;
  font-size: 26px;
}

.search-panel {
  margin-top: 18px;
  padding: 14px;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 10px 28px rgba(26, 39, 34, 0.05);
}

.search-panel label {
  display: block;
  margin-bottom: 9px;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
}

.search-panel label span {
  margin-left: 4px;
  color: var(--muted);
  font-size: 12px;
}

.search-panel input,
.checkout-form input,
.checkout-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  outline: none;
}

.search-panel input {
  min-height: 50px;
  padding: 0 14px;
  font-weight: 800;
}

.section-block,
.info-section {
  margin-top: 30px;
}

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

.section-heading h2 {
  color: var(--ink);
  font-size: 24px;
  line-height: 1.15;
}

.product-row,
.category-tabs {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding: 1px 1px 8px;
  scrollbar-width: none;
}

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

.category-tabs {
  margin-inline: -16px;
  padding-inline: 16px;
}

.tab-button {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
}

.tab-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fff;
}

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

.product-card {
  position: relative;
  min-width: 158px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 20px;
  background: var(--paper);
  box-shadow: 0 14px 34px rgba(26, 39, 34, 0.08);
}

.product-row .product-card {
  flex: 0 0 168px;
}

.badge-row {
  position: absolute;
  top: 10px;
  left: 10px;
  z-index: 2;
  display: flex;
  gap: 6px;
}

.badge {
  padding: 5px 8px;
  border-radius: 999px;
  background: var(--green-dark);
  color: #fff;
  font-size: 10px;
  font-weight: 950;
  line-height: 1;
}

.badge-new {
  background: var(--gold);
}

.product-art {
  position: relative;
  aspect-ratio: 1 / 1;
  display: block;
  padding: 14px;
  background: linear-gradient(135deg, #f7f5ef, var(--card-color));
}

.product-art img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.72);
}

.product-placeholder {
  display: grid;
  align-content: center;
  justify-items: center;
  gap: 10px;
  width: 100%;
  height: 100%;
  border-radius: 18px;
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.92) 0 18%, transparent 19%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.8), rgba(255, 255, 255, 0.44));
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--green-dark);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.72);
}

.product-placeholder span {
  display: grid;
  place-items: center;
  width: 74px;
  height: 74px;
  border-radius: 24px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.52)),
    var(--card-color);
  color: var(--green-dark);
  font-size: 34px;
  font-weight: 950;
  box-shadow: 0 16px 30px rgba(42, 67, 52, 0.14);
}

.product-placeholder small {
  color: rgba(35, 54, 43, 0.72);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
}

.product-placeholder-drinks span {
  color: #1f5c68;
}

.product-placeholder-snacks span {
  color: #9b6a1c;
}

.product-placeholder-canned span {
  color: #775f15;
}

.product-placeholder-noodles span {
  color: #8a3f23;
}

.product-placeholder-condiments span {
  color: #5a4b8f;
}

.product-body {
  padding: 13px;
}

.category-label {
  color: var(--muted);
  font-size: 11px;
  font-weight: 950;
}

.product-body h3 {
  margin-top: 6px;
  min-height: 44px;
  font-size: 16px;
  line-height: 1.35;
}

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

.product-meta strong {
  color: var(--green-dark);
  font-size: 16px;
}

.product-meta span {
  flex: 0 0 auto;
  padding: 4px 8px;
  border-radius: 999px;
  background: rgba(31, 92, 67, 0.1);
  color: var(--green-dark);
  font-size: 11px;
  font-weight: 950;
}

.stock-line {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.product-meta .stock-out {
  background: rgba(184, 81, 63, 0.12);
  color: var(--red);
}

.add-button {
  width: 100%;
  min-height: 42px;
  margin-top: 12px;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.product-actions .add-button {
  margin-top: 0;
}

.case-button {
  border: 1px solid rgba(61, 107, 84, 0.16);
  background: rgba(61, 107, 84, 0.1);
  color: var(--green-dark);
  box-shadow: none;
}

.add-button:disabled {
  background: #a9b1ac;
  cursor: not-allowed;
}

.empty-state {
  padding: 28px 0;
  color: var(--muted);
  text-align: center;
}

.steps-grid,
.benefit-grid {
  display: grid;
  gap: 12px;
}

.steps-grid article,
.benefit-grid article,
.manual-order-note {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: #fff;
  box-shadow: 0 10px 28px rgba(26, 39, 34, 0.05);
}

.steps-grid span {
  color: var(--gold);
  font-size: 13px;
  font-weight: 950;
}

.steps-grid h3,
.benefit-grid h3 {
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 17px;
}

.steps-grid p,
.benefit-grid p,
.manual-order-note p {
  margin-top: 8px;
  color: var(--muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.7;
}

.manual-order-note {
  margin-top: 12px;
  background: var(--green-dark);
  color: #fff;
}

.manual-order-note strong,
.manual-order-note span {
  display: block;
}

.manual-order-note strong {
  font-size: 19px;
}

.manual-order-note span {
  margin-top: 4px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.manual-order-note p {
  color: rgba(255, 255, 255, 0.82);
}

.site-footer {
  display: grid;
  gap: 18px;
  width: min(100%, 960px);
  margin: 0 auto;
  padding: 28px 16px 34px;
  border-top: 1px solid var(--line);
  color: var(--muted);
}

.site-footer strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.site-footer p {
  margin-top: 4px;
  font-size: 13px;
}

.site-footer nav {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 14px;
  font-size: 13px;
  font-weight: 850;
}

.cart-drawer {
  position: fixed;
  inset: 0;
  z-index: 10;
  display: none;
  background: rgba(23, 33, 29, 0.42);
}

.cart-drawer.is-open {
  display: block;
}

.cart-panel {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  max-height: 90svh;
  overflow: auto;
  padding: 18px 16px 24px;
  background: var(--paper);
  border-radius: 24px 24px 0 0;
  box-shadow: 0 -18px 50px rgba(0, 0, 0, 0.18);
}

.cart-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cart-header h2 {
  font-size: 22px;
}

.cart-header button {
  min-height: 36px;
  padding: 0 13px;
}

.cart-item {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  padding: 12px 0;
  border-bottom: 1px solid var(--line);
}

.cart-item strong {
  display: block;
  margin-bottom: 4px;
}

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

.qty-tools button {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--green-dark);
  font-weight: 950;
}

.cart-total {
  display: block;
  padding: 14px 0 4px;
  color: var(--green-dark);
}

.cart-total div,
.checkout-total-box {
  display: grid;
  gap: 7px;
  padding: 13px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(31, 92, 67, 0.07);
}

.cart-total span,
.checkout-total-box strong {
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
}

.cart-total small,
.checkout-total-box small {
  color: var(--red);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.5;
}

.line-total {
  margin-top: 5px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.checkout-form {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding-bottom: calc(12px + env(safe-area-inset-bottom));
}

.checkout-form h3,
.order-success h3 {
  font-size: 18px;
}

.checkout-form label {
  display: grid;
  gap: 7px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

.order-detail-box,
.payment-box {
  display: grid;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
}

.order-detail-head,
.order-detail-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.order-detail-head span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

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

.order-detail-item {
  padding-top: 9px;
  border-top: 1px solid rgba(226, 229, 223, 0.75);
}

.order-detail-item img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  object-fit: cover;
  background: #fff;
}

.order-detail-mark {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 12px;
  background: linear-gradient(145deg, #f8df97, #9f6e31);
  color: #15100a;
  font-size: 18px;
  font-weight: 950;
}

.order-detail-item div {
  flex: 1;
  min-width: 0;
}

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

.order-detail-item strong {
  font-size: 14px;
}

.order-detail-item span,
.order-detail-item em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.payment-box strong {
  color: var(--green-dark);
}

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

.payment-box p {
  font-size: 14px;
  font-weight: 950;
}

.checkout-form input,
.checkout-form textarea {
  padding: 12px;
}

.primary-button {
  width: 100%;
  min-height: 48px;
}

.primary-button:disabled {
  background: #a9b1ac;
}

.form-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.6;
}

.order-success {
  display: grid;
  gap: 12px;
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(31, 92, 67, 0.18);
  border-radius: 18px;
  background: rgba(31, 92, 67, 0.08);
}

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

.order-success p {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
}

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

.success-section {
  display: grid;
  gap: 6px;
  padding: 12px;
  border-radius: 14px;
  background: #fff;
}

.success-section strong {
  color: var(--green-dark);
}

.success-section ul {
  margin: 0;
  padding-left: 18px;
}

.success-section li,
.success-section small {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.6;
}

.success-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.success-actions .primary-button,
.success-actions .secondary-button {
  min-height: 42px;
  padding: 0 14px;
  border-radius: 999px;
  text-decoration: none;
}

.secondary-button {
  border: 1px solid rgba(61, 107, 84, 0.18);
  background: #fff;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: 1.06fr 0.94fr;
    align-items: center;
    padding: 34px;
  }

  .hero h1 {
    font-size: 46px;
  }

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

  .steps-grid,
  .benefit-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .site-footer {
    grid-template-columns: 0.8fr 1.2fr;
    align-items: start;
  }

  .site-footer nav {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .cart-panel {
    top: 0;
    left: auto;
    width: min(460px, 100%);
    max-height: 100svh;
    border-radius: 24px 0 0 24px;
  }
}

@media (max-width: 430px) {
  .topbar {
    gap: 8px;
  }

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

  .brand small {
    font-size: 10px;
  }

  .topbar-actions {
    gap: 6px;
  }

  .order-lookup-pill,
  .cart-pill {
    min-height: 38px;
    padding: 0 10px;
    font-size: 12px;
  }

  .cart-pill span {
    display: none;
  }
}

/* Premium black and gold storefront theme */
:root {
  color-scheme: dark;
  --bg: #080706;
  --paper: #15120d;
  --soft: #201a12;
  --ink: #fff7df;
  --muted: #b9aa86;
  --line: rgba(218, 181, 91, 0.24);
  --green: #caa45d;
  --green-dark: #f2d28b;
  --gold: #d9b765;
  --red: #e17864;
  --shadow: 0 22px 60px rgba(0, 0, 0, 0.45);
}

html {
  background:
    radial-gradient(circle at 18% -8%, rgba(218, 181, 91, 0.18), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(118, 77, 28, 0.18), transparent 32%),
    var(--bg);
}

body {
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 240px),
    var(--bg);
  color: var(--ink);
}

.topbar {
  background: rgba(8, 7, 6, 0.86);
  border-bottom-color: rgba(218, 181, 91, 0.22);
}

.brand-mark {
  background:
    linear-gradient(145deg, #f5d889, #9b6b2f);
  color: #15100a;
  box-shadow: 0 10px 28px rgba(218, 181, 91, 0.2);
}

.brand strong,
.section-heading h2,
.cart-header h2,
.checkout-form h3,
.order-success h3 {
  color: var(--ink);
}

.brand small,
.hero-copy > p:last-of-type,
.search-panel label span,
.category-label,
.stock-line,
.empty-state,
.steps-grid p,
.benefit-grid p,
.manual-order-note p,
.site-footer,
.order-detail-head span,
.order-detail-item span,
.order-detail-item em,
.payment-box p,
.payment-box small,
.form-note,
.order-success p,
.success-section li,
.success-section small {
  color: var(--muted);
}

.cart-pill,
.cart-header button,
.primary-link,
.primary-button,
.add-button,
.tab-button.is-active {
  background: linear-gradient(145deg, #e8c978, #a87532);
  color: #14100a;
  box-shadow: 0 12px 28px rgba(169, 117, 50, 0.23);
}

.cart-pill strong {
  background: rgba(20, 16, 10, 0.9);
  color: #f6dc94;
}

.hero {
  border-color: rgba(218, 181, 91, 0.28);
  background:
    radial-gradient(circle at 84% 18%, rgba(232, 201, 120, 0.22), transparent 28%),
    radial-gradient(circle at 12% 88%, rgba(138, 82, 33, 0.2), transparent 32%),
    linear-gradient(145deg, #17120d 0%, #0d0a08 100%);
  box-shadow: var(--shadow);
}

.hero h1 {
  color: #ffe7a3;
}

.secondary-link,
.tab-button,
.search-panel,
.steps-grid article,
.benefit-grid article,
.manual-order-note,
.site-footer,
.cart-panel,
.order-detail-box,
.payment-box,
.success-section {
  border-color: rgba(218, 181, 91, 0.24);
  background: rgba(21, 18, 13, 0.86);
}

.secondary-link,
.tab-button {
  color: #f2d28b;
}

.hero-tile {
  border-color: rgba(218, 181, 91, 0.22);
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  color: #f5d889;
  box-shadow: 0 14px 32px rgba(0, 0, 0, 0.28);
}

.tile-large {
  background:
    linear-gradient(145deg, rgba(232, 201, 120, 0.96), rgba(139, 91, 37, 0.96));
  color: #130f09;
}

.search-panel input,
.checkout-form input,
.checkout-form textarea {
  border-color: rgba(218, 181, 91, 0.3);
  background: #0d0b08;
  color: var(--ink);
}

.search-panel input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(185, 170, 134, 0.7);
}

.section-heading p,
.eyebrow {
  color: #e5c372;
}

.product-card {
  border-color: rgba(218, 181, 91, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018)),
    #15120d;
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.34);
}

.product-art {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 232, 164, 0.25), transparent 24%),
    linear-gradient(135deg, #21190f, rgba(218, 181, 91, 0.28));
}

.product-art img {
  background: rgba(255, 247, 223, 0.08);
}

.product-placeholder {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 232, 164, 0.2) 0 18%, transparent 19%),
    linear-gradient(145deg, rgba(255, 255, 255, 0.09), rgba(255, 255, 255, 0.03));
  border-color: rgba(218, 181, 91, 0.25);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09);
}

.product-placeholder span {
  background:
    linear-gradient(145deg, #f8df97, #9f6e31);
  color: #15100a;
  box-shadow: 0 18px 36px rgba(0, 0, 0, 0.34);
}

.product-placeholder small,
.product-placeholder-drinks span,
.product-placeholder-snacks span,
.product-placeholder-canned span,
.product-placeholder-noodles span,
.product-placeholder-condiments span {
  color: #f8df97;
}

.product-placeholder span {
  color: #15100a;
}

.product-body h3,
.product-meta strong,
.steps-grid h3,
.benefit-grid h3,
.payment-box strong,
.success-section strong,
.site-footer strong,
.checkout-form label,
.cart-total,
.qty-tools button,
.payment-box p {
  color: #ffe7a3;
}

.product-meta span {
  background: rgba(218, 181, 91, 0.13);
  color: #f2d28b;
}

.product-meta .stock-out {
  background: rgba(225, 120, 100, 0.16);
  color: var(--red);
}

.badge {
  background: #090806;
  color: #ffe7a3;
  border: 1px solid rgba(218, 181, 91, 0.42);
}

.badge-new {
  background: linear-gradient(145deg, #e8c978, #a87532);
  color: #15100a;
  border: 0;
}

.add-button:disabled,
.primary-button:disabled {
  background: #4a4336;
  color: #938568;
}

.manual-order-note {
  background:
    linear-gradient(145deg, rgba(232, 201, 120, 0.18), rgba(255, 255, 255, 0.035)),
    #15120d;
}

.manual-order-note strong {
  color: #ffe7a3;
}

.manual-order-note span {
  color: #d9b765;
}

.cart-drawer {
  background: rgba(0, 0, 0, 0.62);
}

.cart-panel {
  background:
    radial-gradient(circle at 100% 0%, rgba(218, 181, 91, 0.14), transparent 34%),
    #0d0b08;
}

.cart-item,
.order-detail-item {
  border-bottom-color: rgba(218, 181, 91, 0.18);
  border-top-color: rgba(218, 181, 91, 0.18);
}

.qty-tools button {
  border-color: rgba(218, 181, 91, 0.28);
  background: #15120d;
}

.order-success {
  border-color: rgba(218, 181, 91, 0.28);
  background: rgba(218, 181, 91, 0.08);
}

/* Premium Asian lifestyle commerce theme: MUJI x Pinkoi x Apple */
:root {
  color-scheme: light;
  --bg: #f7f4ee;
  --paper: #fffdf8;
  --soft: #efe8dc;
  --ink: #26231f;
  --muted: #7b756b;
  --line: rgba(56, 50, 42, 0.11);
  --green: #3d6b54;
  --green-dark: #254c3a;
  --gold: #b8894d;
  --red: #b85d4e;
  --shadow: 0 18px 45px rgba(58, 50, 38, 0.1);
  --radius: 22px;
}

html {
  background:
    radial-gradient(circle at 15% 0%, rgba(184, 137, 77, 0.14), transparent 30%),
    linear-gradient(180deg, #fbfaf6 0%, var(--bg) 48%, #f2eee6 100%);
}

body {
  background: transparent;
  color: var(--ink);
  -webkit-font-smoothing: antialiased;
}

.topbar {
  width: min(100%, 1120px);
  padding: 14px 18px;
  background: rgba(251, 250, 246, 0.84);
  border-bottom-color: rgba(56, 50, 42, 0.08);
  backdrop-filter: blur(22px);
}

.brand-mark {
  width: 44px;
  height: 44px;
  border-radius: 16px;
  background: #2d5140;
  color: #fffaf0;
  box-shadow: 0 12px 26px rgba(45, 81, 64, 0.18);
}

.brand strong,
.section-heading h2,
.cart-header h2,
.checkout-form h3,
.order-success h3 {
  color: var(--ink);
}

.brand small,
.hero-copy > p:last-of-type,
.search-panel label span,
.category-label,
.stock-line,
.empty-state,
.steps-grid p,
.benefit-grid p,
.manual-order-note p,
.site-footer,
.order-detail-head span,
.order-detail-item span,
.order-detail-item em,
.payment-box p,
.payment-box small,
.form-note,
.order-success p,
.success-section li,
.success-section small {
  color: var(--muted);
}

.cart-pill,
.cart-header button,
.primary-link,
.primary-button,
.add-button,
.tab-button.is-active {
  background: #2f624b;
  color: #fffaf0;
  box-shadow: 0 12px 26px rgba(47, 98, 75, 0.18);
}

.cart-pill strong {
  background: #fffaf0;
  color: #2f624b;
}

main {
  width: min(100%, 1120px);
  padding: 18px 18px 54px;
}

.eyebrow,
.section-heading p {
  color: var(--gold);
  font-size: 12px;
  letter-spacing: 0;
}

.hero {
  grid-template-columns: 1fr;
  align-items: stretch;
  gap: 24px;
  padding: 22px;
  border: 1px solid rgba(56, 50, 42, 0.09);
  border-radius: 32px;
  background:
    linear-gradient(135deg, rgba(255, 253, 248, 0.96), rgba(241, 233, 219, 0.82));
  box-shadow: 0 24px 70px rgba(58, 50, 38, 0.12);
}

.hero-copy {
  display: grid;
  align-content: center;
  padding: 8px 2px 2px;
}

.hero h1 {
  max-width: 10.5em;
  color: #223a2f;
  font-size: clamp(34px, 8vw, 64px);
  font-weight: 950;
  line-height: 1.08;
}

.hero-copy > p:last-of-type {
  max-width: 36em;
  margin-top: 16px;
  font-size: 15px;
  line-height: 1.9;
}

.hero-media {
  position: relative;
  min-height: 280px;
  overflow: hidden;
  border-radius: 28px;
  background: #ebe1d3;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.72);
}

.hero-media::after {
  position: absolute;
  inset: 0;
  content: "";
  background:
    linear-gradient(90deg, rgba(247, 244, 238, 0.18), transparent 42%),
    linear-gradient(180deg, transparent 70%, rgba(38, 35, 31, 0.08));
  pointer-events: none;
}

.hero-media img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.hero-actions {
  margin-top: 22px;
}

.primary-link,
.secondary-link,
.primary-button,
.add-button {
  min-height: 48px;
  border-radius: 16px;
}

.primary-link {
  padding: 0 22px;
}

.secondary-link,
.tab-button {
  border-color: rgba(56, 50, 42, 0.12);
  background: rgba(255, 253, 248, 0.8);
  color: var(--green-dark);
}

.search-panel,
.steps-grid article,
.benefit-grid article,
.manual-order-note,
.cart-panel,
.order-detail-box,
.payment-box,
.success-section {
  border-color: rgba(56, 50, 42, 0.1);
  background: rgba(255, 253, 248, 0.86);
  box-shadow: 0 14px 35px rgba(58, 50, 38, 0.07);
}

.search-panel {
  margin-top: 22px;
  padding: 16px;
  border-radius: 22px;
}

.search-panel label {
  color: var(--green-dark);
}

.search-panel input,
.checkout-form input,
.checkout-form textarea {
  border-color: rgba(56, 50, 42, 0.12);
  background: #fffdf8;
  color: var(--ink);
}

.search-panel input::placeholder,
.checkout-form textarea::placeholder {
  color: rgba(123, 117, 107, 0.72);
}

.section-block,
.info-section {
  margin-top: 38px;
}

.section-heading {
  margin-bottom: 16px;
}

.section-heading h2 {
  font-size: 26px;
}

.product-row,
.category-tabs {
  gap: 14px;
}

.tab-button {
  min-height: 44px;
  border-radius: 16px;
}

.product-grid {
  gap: 16px;
}

.product-card {
  min-width: 166px;
  border: 1px solid rgba(56, 50, 42, 0.1);
  border-radius: 26px;
  background: rgba(255, 253, 248, 0.92);
  box-shadow: 0 16px 38px rgba(58, 50, 38, 0.08);
}

.product-row .product-card {
  flex-basis: 178px;
}

.product-art {
  padding: 16px;
  background:
    radial-gradient(circle at 74% 18%, rgba(255, 255, 255, 0.74), transparent 24%),
    linear-gradient(135deg, #f5efe4, color-mix(in srgb, var(--card-color), #fff 58%));
}

.product-art img {
  background: rgba(255, 253, 248, 0.68);
}

.product-placeholder {
  background:
    radial-gradient(circle at 72% 22%, rgba(255, 255, 255, 0.9) 0 18%, transparent 19%),
    linear-gradient(145deg, rgba(255, 253, 248, 0.82), rgba(255, 253, 248, 0.46));
  border-color: rgba(255, 255, 255, 0.78);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.86);
}

.product-placeholder span {
  background:
    linear-gradient(145deg, rgba(255, 253, 248, 0.96), rgba(255, 253, 248, 0.58)),
    color-mix(in srgb, var(--card-color), #fff 35%);
  color: #2f4b3c;
  box-shadow: 0 16px 30px rgba(58, 50, 38, 0.12);
}

.product-placeholder small,
.product-placeholder-drinks span,
.product-placeholder-snacks span,
.product-placeholder-canned span,
.product-placeholder-noodles span,
.product-placeholder-condiments span {
  color: #4d6558;
}

.product-body {
  padding: 15px;
}

.product-body h3,
.product-meta strong,
.steps-grid h3,
.benefit-grid h3,
.payment-box strong,
.success-section strong,
.site-footer strong,
.checkout-form label,
.cart-total,
.qty-tools button,
.payment-box p {
  color: var(--ink);
}

.product-body h3 {
  min-height: 48px;
  font-size: 16px;
}

.product-meta span {
  background: rgba(61, 107, 84, 0.1);
  color: var(--green-dark);
}

.product-meta .stock-out {
  background: rgba(184, 93, 78, 0.11);
  color: var(--red);
}

.badge {
  background: #2f624b;
  color: #fffaf0;
  border: 0;
}

.badge-new {
  background: #c88d5b;
  color: #fffaf0;
}

.add-button {
  min-height: 44px;
}

.add-button:disabled,
.primary-button:disabled {
  background: #bec4bd;
  color: #fff;
}

.steps-grid article,
.benefit-grid article {
  border-radius: 24px;
}

.manual-order-note {
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(61, 107, 84, 0.12), rgba(184, 137, 77, 0.1)),
    rgba(255, 253, 248, 0.9);
}

.manual-order-note strong {
  color: var(--green-dark);
}

.manual-order-note span {
  color: var(--gold);
}

.cart-drawer {
  background: rgba(38, 35, 31, 0.34);
  backdrop-filter: blur(8px);
}

.cart-panel {
  background: #fffdf8;
}

.cart-item,
.order-detail-item {
  border-color: rgba(56, 50, 42, 0.1);
}

.qty-tools button {
  border-color: rgba(56, 50, 42, 0.12);
  background: #fffdf8;
  color: var(--green-dark);
}

.order-detail-mark {
  background: #e9ddca;
  color: var(--green-dark);
}

.order-success {
  border-color: rgba(61, 107, 84, 0.14);
  background: rgba(61, 107, 84, 0.08);
}

.site-footer {
  width: min(100%, 1120px);
  border-top-color: rgba(56, 50, 42, 0.1);
}

@media (min-width: 720px) {
  .hero {
    grid-template-columns: minmax(0, 0.92fr) minmax(0, 1.08fr);
    padding: 28px;
  }

  .hero-media,
  .hero-media img {
    min-height: 430px;
  }

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

/* Homepage structure requested by owner */
.hero {
  grid-template-columns: 1fr !important;
  gap: 20px;
}

.hero-copy {
  max-width: 680px;
  margin: 0 auto;
  padding: 18px 4px 0;
  text-align: center;
}

.hero-subtitle {
  margin-top: 4px;
  color: var(--green-dark);
  font-size: 16px;
  font-weight: 950;
}

.hero h1 {
  max-width: none;
  margin: 18px auto 0;
}

.hero-actions {
  justify-content: center;
}

.hero-media {
  min-height: 250px;
}

.hero-media img {
  min-height: 250px;
}

.search-panel,
.section-block,
.info-section {
  padding-top: 26px;
  border-top: 1px solid rgba(56, 50, 42, 0.1);
}

.search-panel {
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  border-right: 0;
  border-bottom: 0;
  border-left: 0;
}

.search-panel input {
  box-shadow: 0 12px 30px rgba(58, 50, 38, 0.07);
}

.category-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  margin-inline: 0;
  padding: 0;
  overflow: visible;
}

.tab-button {
  display: grid;
  gap: 8px;
  justify-items: center;
  min-height: 104px;
  padding: 14px 10px;
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 14px 34px rgba(58, 50, 38, 0.07);
}

.tab-button span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 16px;
  background: #f1eadf;
  font-size: 24px;
}

.tab-button strong {
  color: var(--ink);
  font-size: 15px;
}

.tab-button.is-active span {
  background: rgba(255, 250, 240, 0.2);
}

.tab-button.is-active strong {
  color: #fffaf0;
}

.product-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  overflow: visible;
  padding: 0;
}

.product-row .product-card {
  min-width: 0;
  flex-basis: auto;
}

.all-products-section {
  margin-top: 42px;
}

.benefit-grid article {
  text-align: center;
}

.benefit-icon {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  margin: 0 auto 10px;
  border-radius: 18px;
  background: #f1eadf;
  font-size: 27px;
}

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

.steps-grid article {
  text-align: center;
}

.steps-grid span {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin: 0 auto 8px;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf0;
  font-size: 17px;
}

@media (min-width: 720px) {
  .hero-copy {
    padding-top: 28px;
  }

  .hero-media,
  .hero-media img {
    min-height: 440px;
  }

  .category-tabs,
  .product-row,
  .steps-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

html,
body {
  touch-action: manipulation;
  -webkit-text-size-adjust: 100%;
}

button,
a,
input,
select,
textarea,
.cart-drawer,
.cart-panel,
.cart-item,
.quantity-control,
.quantity-btn,
.quick-add-button,
.qty-tools button,
.purchase-type button {
  touch-action: manipulation;
  -webkit-tap-highlight-color: transparent;
}

.purchase-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 7px;
  margin-top: 9px;
}

.purchase-type span {
  flex: 0 0 100%;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
}

.purchase-type button {
  min-height: 32px;
  padding: 0 10px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fffdf8;
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.purchase-type button.is-active {
  background: var(--green);
  color: #fffaf0;
}

.purchase-type button:disabled:not(.is-active) {
  background: #ece7dd;
  color: #9a9284;
}

.quantity-label {
  margin-top: 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 850;
  line-height: 1.45;
}

.qty-tools span {
  min-width: 38px;
  color: var(--green-dark);
  font-size: 13px;
  font-weight: 950;
  text-align: center;
}

.product-actions {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 12px;
}

.product-actions .add-button {
  margin-top: 0;
}

.product-actions .case-button {
  border: 1px solid rgba(61, 107, 84, 0.18);
  background: rgba(61, 107, 84, 0.08);
  color: var(--green-dark);
  box-shadow: none;
}

.product-actions .case-button:disabled {
  background: #ece7dd;
  color: #9a9284;
}

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

.product-purchase-actions .add-button {
  min-width: 0;
  min-height: 52px;
  padding: 0 8px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.2;
  white-space: normal;
}

.product-purchase-actions .add-button span,
.product-purchase-actions .add-button small {
  display: block;
}

.product-purchase-actions .add-button small {
  margin-top: 3px;
  font-size: 10px;
  font-weight: 850;
  opacity: 0.86;
}

.product-purchase-actions .unit-button {
  border: 1px solid var(--green);
  background: var(--green);
  color: #fffaf0;
}

.product-card.has-case-options {
  padding-bottom: 0;
}

@media (max-width: 390px) {
  .product-purchase-actions {
    gap: 6px;
  }

  .product-purchase-actions .add-button {
    padding: 0 6px;
    font-size: 11px;
  }
}

.all-products-section {
  scroll-margin-top: 88px;
}

.quick-add-button {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 3;
  display: grid;
  place-items: center;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 999px;
  background: var(--green);
  color: #fffaf0;
  font-size: 28px;
  font-weight: 950;
  line-height: 1;
  box-shadow: 0 14px 28px rgba(47, 98, 75, 0.28);
  transition:
    transform 0.16s ease,
    box-shadow 0.16s ease,
    background 0.16s ease;
}

.quick-add-button:active,
.quick-add-button.is-added {
  transform: scale(0.9);
  box-shadow: 0 8px 18px rgba(47, 98, 75, 0.2);
}

.quick-add-button.is-added {
  background: var(--green-dark);
  font-size: 22px;
}

.quick-add-button:disabled {
  background: #bec4bd;
  color: #fff;
  box-shadow: none;
}

.product-card {
  padding-bottom: 54px;
}

.product-body {
  padding-bottom: 10px;
}

.shop-toast {
  position: fixed;
  left: 50%;
  bottom: calc(22px + env(safe-area-inset-bottom));
  z-index: 30;
  min-width: 136px;
  padding: 12px 16px;
  border-radius: 999px;
  background: rgba(37, 76, 58, 0.94);
  color: #fffaf0;
  font-size: 14px;
  font-weight: 950;
  text-align: center;
  box-shadow: 0 16px 35px rgba(37, 76, 58, 0.24);
  opacity: 0;
  transform: translate(-50%, 14px);
  pointer-events: none;
  transition:
    opacity 0.18s ease,
    transform 0.18s ease;
}

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

.category-section {
  position: sticky;
  top: var(--sticky-category-top, 66px);
  z-index: 3;
  margin-inline: -16px;
  padding: 12px 16px 14px;
  background: rgba(245, 246, 243, 0.94);
  border-top: 1px solid rgba(56, 50, 42, 0.08);
  border-bottom: 1px solid rgba(56, 50, 42, 0.08);
  backdrop-filter: blur(16px);
}

.category-section .section-heading {
  margin-bottom: 10px;
}

.category-tabs {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 10px;
  margin-inline: 0;
  padding: 0 2px 2px;
  overflow-x: auto !important;
  overflow-y: hidden;
  white-space: nowrap;
  scrollbar-width: none;
  -webkit-overflow-scrolling: touch;
}

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

.tab-button {
  display: inline-flex !important;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 42px;
  min-width: max-content;
  padding: 0 15px;
  border-radius: 999px;
  box-shadow: none;
}

.tab-button span {
  width: auto;
  height: auto;
  border-radius: 0;
  background: transparent;
  font-size: 17px;
}

.tab-button strong {
  color: inherit;
  font-size: 14px;
}

.tab-button.is-active {
  border-color: var(--green);
  background: var(--green);
  color: #fffaf0;
}

.tab-button.is-active span,
.tab-button.is-active strong {
  color: #fffaf0;
  background: transparent;
}

.all-products-section {
  scroll-margin-top: var(--product-scroll-margin, 142px);
}

@media (max-width: 767px) {
  main {
    padding-top: 12px;
  }

  .hero {
    position: relative;
    min-height: auto;
    gap: 14px;
    padding: 18px 16px 16px;
    border-radius: 24px;
  }

  .hero::before,
  .hero::after,
  .hero-copy::before,
  .hero-copy::after {
    display: none;
    content: none;
  }

  .hero-copy {
    position: relative;
    z-index: 2;
    max-width: 100%;
    padding: 0;
    text-align: center;
  }

  .eyebrow {
    margin-bottom: 4px;
    font-size: 10px;
  }

  .hero-subtitle {
    margin-top: 2px;
    font-size: 13px;
    line-height: 1.35;
  }

  .hero h1 {
    max-width: 11em;
    margin: 10px auto 0;
    font-size: clamp(24px, 6.8vw, 28px);
    line-height: 1.18;
    text-align: center;
  }

  .hero-copy > p:last-of-type {
    max-width: 22em;
    margin: 10px auto 0;
    font-size: 13px;
    line-height: 1.58;
    text-align: center;
  }

  .hero-actions {
    justify-content: center;
    margin-top: 14px;
  }

  .primary-link {
    min-height: 46px;
    padding: 0 28px;
    border-radius: 999px;
    font-size: 15px;
  }

  .hero-media {
    position: relative;
    width: min(100%, 238px);
    margin: 0 auto;
    min-height: 0;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 20px;
  }

  .hero-media::after {
    position: absolute;
    inset: 0;
    display: block;
    content: "";
    background:
      linear-gradient(180deg, rgba(255, 253, 248, 0.22), rgba(255, 253, 248, 0.08)),
      rgba(255, 253, 248, 0.12);
    pointer-events: none;
  }

  .hero-media img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    opacity: 0.86;
  }

  .product-art {
    aspect-ratio: 1 / 1;
    padding: 10px;
  }

  .product-art img {
    width: 100%;
    height: 100%;
    object-fit: contain;
  }

  .product-body h3 {
    min-height: 40px;
    font-size: 15px;
    line-height: 1.34;
  }

  .product-meta {
    margin-top: 8px;
  }
}

.order-lookup-form,
.order-lookup-result {
  display: grid;
  gap: 12px;
  padding: 16px;
  border: 1px solid rgba(56, 50, 42, 0.1);
  border-radius: 24px;
  background: rgba(255, 253, 248, 0.88);
  box-shadow: 0 14px 35px rgba(58, 50, 38, 0.07);
}

.order-lookup-form label {
  display: grid;
  gap: 7px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 950;
}

.order-lookup-form input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(56, 50, 42, 0.12);
  border-radius: 16px;
  background: #fffdf8;
  color: var(--ink);
  padding: 0 14px;
  outline: none;
}

.order-lookup-result {
  margin-top: 12px;
}

.lookup-order-card {
  display: grid;
  gap: 12px;
}

.lookup-order-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.lookup-order-head strong {
  color: var(--green-dark);
  font-size: 16px;
}

.lookup-order-head span {
  flex: 0 0 auto;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(61, 107, 84, 0.12);
  color: var(--green-dark);
  font-size: 12px;
  font-weight: 950;
}

.lookup-order-card dl {
  display: grid;
  gap: 10px;
  margin: 0;
}

.order-progress {
  display: grid;
  gap: 0;
  margin: 4px 0 2px;
  padding: 0;
  list-style: none;
}

.order-progress li {
  position: relative;
  display: grid;
  grid-template-columns: 24px 1fr;
  gap: 8px;
  min-height: 34px;
  color: #9a9387;
  font-size: 13px;
  font-weight: 900;
}

.order-progress li::after {
  position: absolute;
  top: 18px;
  bottom: -4px;
  left: 7px;
  width: 2px;
  background: rgba(56, 50, 42, 0.12);
  content: "";
}

.order-progress li:last-child::after {
  display: none;
}

.order-progress li span {
  position: relative;
  z-index: 1;
  width: 16px;
  height: 16px;
  margin-top: 1px;
  border: 2px solid rgba(56, 50, 42, 0.2);
  border-radius: 999px;
  background: #fffdf8;
}

.order-progress li.is-done,
.order-progress li.is-current {
  color: var(--green-dark);
}

.order-progress li.is-done::after {
  background: rgba(61, 107, 84, 0.45);
}

.order-progress li.is-done span,
.order-progress li.is-current span {
  border-color: var(--green-dark);
  background: var(--green-dark);
}

.order-progress li.is-current strong {
  font-size: 14px;
}

.order-progress.is-cancelled {
  display: grid;
  gap: 4px;
  padding: 12px;
  border-radius: 16px;
  background: rgba(56, 50, 42, 0.08);
  color: var(--ink);
}

.order-progress.is-cancelled p {
  margin: 0;
  color: var(--muted);
  font-size: 13px;
}

.lookup-order-card dl div {
  display: grid;
  gap: 3px;
  padding-top: 10px;
  border-top: 1px solid rgba(56, 50, 42, 0.1);
}

.lookup-order-card dt {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.lookup-order-card dd {
  margin: 0;
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.55;
}

.success-order-id {
  color: var(--green-dark);
  font-size: 20px;
  font-weight: 950;
  letter-spacing: 0.02em;
}

@media (min-width: 720px) {
  .order-lookup-form {
    grid-template-columns: 1fr 1fr auto;
    align-items: end;
  }

  .order-lookup-form .form-note {
    grid-column: 1 / -1;
  }
}

/* Shopping flow and payment guidance */
.shopping-flow-section {
  margin-top: 30px;
  scroll-margin-top: calc(var(--sticky-offset, 110px) + 16px);
}

.shopping-flow-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.shopping-flow-card {
  display: grid;
  align-content: start;
  gap: 10px;
  min-width: 0;
  padding: 20px;
  border: 1px solid rgba(61, 107, 84, 0.18);
  border-radius: 22px;
  background: rgba(255, 253, 248, 0.9);
  box-shadow: 0 14px 35px rgba(58, 50, 38, 0.07);
}

.shopping-flow-card-head,
.payment-guide-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.shopping-flow-number {
  color: var(--green-dark);
  font-size: 29px;
  font-weight: 950;
  letter-spacing: -0.04em;
  line-height: 1;
}

.shopping-flow-icon,
.payment-guide-icon {
  display: grid;
  flex: 0 0 auto;
  place-items: center;
  width: 42px;
  height: 42px;
  border-radius: 14px;
  background: rgba(61, 107, 84, 0.12);
  color: var(--green-dark);
}

.shopping-flow-icon svg,
.payment-guide-icon svg,
.payment-button-icon svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

.shopping-flow-card h3 {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 18px;
  line-height: 1.35;
}

.shopping-flow-card p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.7;
  overflow-wrap: anywhere;
}

.shopping-flow-telegram {
  width: fit-content;
  max-width: 100%;
  color: var(--green-dark);
  font-size: 18px;
  font-weight: 950;
  overflow-wrap: anywhere;
  text-decoration: underline;
  text-decoration-color: rgba(61, 107, 84, 0.35);
  text-underline-offset: 4px;
}

.payment-guide-card {
  gap: 14px;
  padding: 16px;
  border-color: rgba(61, 107, 84, 0.24);
  background: rgba(255, 253, 248, 0.96);
  box-shadow: 0 14px 32px rgba(58, 50, 38, 0.07);
}

.payment-guide-heading {
  justify-content: flex-start;
}

.payment-guide-heading strong {
  color: var(--green-dark);
  font-size: 18px;
  line-height: 1.35;
}

.payment-warning {
  display: grid;
  gap: 5px;
  margin: 0;
  padding: 12px 13px;
  border: 1px solid rgba(198, 154, 73, 0.3);
  border-radius: 14px;
  background: rgba(249, 232, 184, 0.48);
  color: var(--ink) !important;
  font-size: 13px !important;
  font-weight: 750 !important;
  line-height: 1.65 !important;
}

.payment-warning b {
  color: #72551c;
  font-size: 14px;
  font-weight: 950;
}

.payment-contact {
  display: grid;
  gap: 3px;
}

.payment-contact span {
  color: var(--muted);
  font-size: 12px;
  font-weight: 900;
}

.payment-contact a {
  width: fit-content;
  max-width: 100%;
  color: var(--green-dark);
  font-size: 22px;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.payment-contact-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 50px;
  padding: 10px 18px;
  border-radius: 15px;
  background: var(--green-dark);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 12px 24px rgba(20, 61, 45, 0.18);
}

.payment-button-icon {
  display: inline-grid;
  place-items: center;
}

.payment-button-icon svg {
  width: 19px;
  height: 19px;
}

.payment-guide-section {
  display: grid;
  gap: 8px;
  padding-top: 13px;
  border-top: 1px solid rgba(56, 50, 42, 0.1);
}

.payment-guide-section h4 {
  margin: 0;
  color: var(--green-dark);
  font-size: 14px;
  font-weight: 950;
}

.payment-guide-section ol,
.payment-guide-section ul {
  display: grid;
  gap: 7px;
  margin: 0;
  padding-left: 22px;
  color: var(--muted);
  font-size: 13px;
  line-height: 1.55;
}

.payment-reminders ul {
  padding-left: 0;
  list-style: none;
}

.payment-reminders li {
  position: relative;
  padding-left: 16px;
}

.payment-reminders li::before {
  position: absolute;
  top: 0;
  left: 0;
  color: var(--green-dark);
  font-weight: 950;
  content: "・";
}

.payment-guide-card > small {
  display: block;
  padding-top: 12px;
  border-top: 1px solid rgba(56, 50, 42, 0.1);
  color: var(--muted);
  font-size: 12px;
  font-weight: 800;
  line-height: 1.6;
}

@media (min-width: 720px) {
  .shopping-flow-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  .shopping-flow-card {
    min-height: 238px;
  }
}

@media (max-width: 430px) {
  .shopping-flow-card,
  .payment-guide-card {
    padding: 15px;
    border-radius: 18px;
  }

  .shopping-flow-number {
    font-size: 26px;
  }

  .payment-contact a {
    font-size: 20px;
  }
}

/* Mobile storefront compression and persistent cart entry (Telegram in-app browser) */
.mobile-order-guide,
.mobile-cart-dock,
.cart-order-guide {
  display: none;
}

@media (max-width: 767px) {
  body {
    padding-bottom: calc(82px + env(safe-area-inset-bottom));
    overflow-x: hidden;
  }

  .topbar {
    min-height: 60px;
    padding: calc(7px + env(safe-area-inset-top)) 10px 7px;
    gap: 8px;
  }

  .brand {
    flex: 1 1 auto;
    gap: 8px;
  }

  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
  }

  .brand strong {
    font-size: 14px;
    white-space: nowrap;
  }

  .brand small {
    margin-top: 2px;
    font-size: 10px;
    white-space: nowrap;
  }

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

  .order-lookup-pill {
    min-height: 38px;
    padding: 0 10px;
    font-size: 11px;
  }

  .cart-pill {
    min-width: 104px;
    min-height: 44px;
    justify-content: center;
    gap: 5px;
    padding: 0 9px;
    border-radius: 999px;
    background: var(--green);
    color: #fff;
  }

  .cart-pill > span {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    color: #fff;
    font-size: 12px;
    font-weight: 900;
    white-space: nowrap;
  }

  .cart-pill > span > span {
    display: inline;
  }

  .cart-pill strong {
    min-width: 23px;
    height: 23px;
    background: #fff;
    color: var(--green-dark);
  }

  .telegram-sticky-wrap {
    padding: 4px 10px;
  }

  .telegram-sticky-bar {
    min-height: 44px;
    padding: 3px 5px 3px 10px;
  }

  .telegram-sticky-icon {
    font-size: 17px;
  }

  .telegram-sticky-label strong {
    font-size: 10px;
  }

  .telegram-sticky-label a {
    font-size: 13px;
  }

  .telegram-sticky-button {
    min-width: 78px;
    min-height: 36px;
    padding: 0 10px;
    font-size: 12px;
  }

  main {
    padding: 6px 10px 30px;
  }

  .hero,
  section[aria-labelledby="best-title"],
  section[aria-labelledby="new-title"],
  .shopping-flow-section {
    display: none;
  }

  .search-panel {
    margin-top: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
  }

  .search-panel label {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
  }

  .search-panel input {
    min-height: 42px;
    padding: 0 12px;
    border-radius: 12px;
    font-size: 13px;
  }

  .category-section {
    top: var(--sticky-category-top, 108px);
    margin: 7px -10px 0;
    padding: 7px 10px 8px;
  }

  .category-section .section-heading {
    margin-bottom: 6px;
  }

  .category-section .section-heading p {
    display: none;
  }

  .category-section .section-heading h2 {
    font-size: 18px;
  }

  .category-tabs {
    gap: 7px;
    padding-bottom: 1px;
  }

  .tab-button {
    min-height: 38px;
    padding: 0 12px;
  }

  .tab-button span {
    font-size: 14px;
  }

  .tab-button strong {
    font-size: 12px;
  }

  .mobile-order-guide {
    display: flex;
    gap: 5px;
    margin-top: 9px;
    padding: 9px 11px;
    border: 1px solid rgba(198, 154, 73, 0.2);
    border-radius: 12px;
    background: #f5efdf;
    color: #514a3d;
    font-size: 11px;
    line-height: 1.45;
  }

  .mobile-order-guide strong {
    flex: 0 0 auto;
    color: var(--green-dark);
  }

  .all-products-section {
    margin-top: 12px;
    scroll-margin-top: var(--product-scroll-margin, 154px);
  }

  .all-products-section .section-heading {
    margin-bottom: 9px;
  }

  .all-products-section .section-heading p {
    display: none;
  }

  .all-products-section .section-heading h2 {
    font-size: 20px;
  }

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

  .product-card {
    min-width: 0;
    border-radius: 15px;
    padding-bottom: 46px;
  }

  .product-card.has-case-options {
    padding-bottom: 0;
  }

  .product-art {
    padding: 7px;
  }

  .product-art img,
  .product-placeholder {
    border-radius: 12px;
  }

  .product-body {
    padding: 9px;
  }

  .category-label {
    font-size: 10px;
  }

  .product-body h3 {
    display: -webkit-box;
    min-height: 48px;
    margin-top: 4px;
    overflow: hidden;
    font-size: 13px;
    line-height: 1.25;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
  }

  .product-meta {
    display: block;
    margin-top: 6px;
  }

  .product-meta strong {
    font-size: 15px;
  }

  .product-meta span {
    display: inline-block;
    margin-top: 4px;
    padding: 3px 6px;
    font-size: 10px;
  }

  .stock-line {
    font-size: 11px;
  }

  .quick-add-button {
    right: 8px;
    bottom: 8px;
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .product-purchase-actions {
    gap: 5px;
    margin-top: 8px;
  }

  .product-purchase-actions .add-button {
    min-height: 50px;
    padding: 0 4px;
    font-size: 10px;
  }

  .product-purchase-actions .add-button small {
    font-size: 9px;
  }

  .mobile-cart-dock {
    position: fixed;
    right: 9px;
    bottom: 8px;
    left: 9px;
    z-index: 8;
    display: flex;
    align-items: center;
    gap: 10px;
    min-height: 62px;
    padding: 8px 8px 8px 13px;
    padding-bottom: calc(8px + env(safe-area-inset-bottom));
    border: 1px solid rgba(61, 107, 84, 0.2);
    border-radius: 17px;
    background: rgba(255, 253, 248, 0.97);
    box-shadow: 0 12px 35px rgba(35, 67, 52, 0.2);
    backdrop-filter: blur(14px);
  }

  .mobile-cart-dock[hidden],
  body.cart-is-open .mobile-cart-dock {
    display: none;
  }

  .mobile-cart-dock-summary {
    display: grid;
    flex: 1 1 auto;
    min-width: 0;
    gap: 2px;
  }

  .mobile-cart-dock-summary small {
    color: var(--muted);
    font-size: 11px;
    font-weight: 850;
  }

  .mobile-cart-dock-summary strong {
    color: var(--green-dark);
    font-size: 16px;
  }

  .mobile-cart-dock > button {
    flex: 0 0 auto;
    min-width: 140px;
    min-height: 46px;
    border: 0;
    border-radius: 13px;
    background: var(--green);
    color: #fffaf0;
    font-size: 14px;
    font-weight: 950;
  }

  .cart-drawer {
    overflow: hidden;
  }

  .cart-panel {
    inset: 0;
    width: 100%;
    max-width: none;
    max-height: 100dvh;
    padding: calc(12px + env(safe-area-inset-top)) 12px calc(24px + env(safe-area-inset-bottom));
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0;
  }

  .cart-header {
    position: sticky;
    top: calc(-12px - env(safe-area-inset-top));
    z-index: 4;
    margin: calc(-12px - env(safe-area-inset-top)) -12px 0;
    padding: calc(12px + env(safe-area-inset-top)) 12px 10px;
    background: rgba(255, 253, 248, 0.97);
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(14px);
  }

  .cart-header h2 {
    font-size: 20px;
  }

  .cart-header button {
    min-height: 40px;
  }

  .cart-order-guide {
    display: block;
    margin: 10px 0 4px;
    padding: 9px 11px;
    border-radius: 12px;
    background: #f5efdf;
    color: #514a3d;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.5;
  }

  .cart-item {
    grid-template-columns: minmax(0, 1fr);
    gap: 10px;
    padding: 13px 0;
  }

  .cart-item > div,
  .cart-item strong,
  .cart-item p {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .cart-item strong {
    font-size: 15px;
    line-height: 1.4;
  }

  .cart-item .form-note,
  .quantity-label,
  .line-total {
    font-size: 12px;
    line-height: 1.5;
  }

  .purchase-type {
    gap: 6px;
  }

  .purchase-type button {
    min-height: 38px;
  }

  .qty-tools {
    justify-content: flex-start;
    gap: 10px;
  }

  .qty-tools button {
    width: 44px;
    height: 44px;
  }

  .qty-tools span {
    min-width: 52px;
  }

  .cart-total {
    padding-top: 10px;
  }

  .checkout-form {
    gap: 11px;
    margin-top: 14px;
  }

  .checkout-form input,
  .checkout-form textarea {
    width: 100%;
    min-height: 48px;
    font-size: 16px;
  }

  .checkout-form textarea {
    padding: 12px;
  }

  .order-detail-box,
  .payment-guide-card {
    padding: 11px;
    border-radius: 14px;
  }

  .payment-guide-section,
  .payment-guide-card > small {
    display: none;
  }

  .payment-warning {
    font-size: 12px;
  }

  .payment-contact-button {
    min-height: 44px;
  }

  .checkout-form > .primary-button {
    position: sticky;
    bottom: calc(8px + env(safe-area-inset-bottom));
    z-index: 3;
    width: 100%;
    min-height: 50px;
    box-shadow: 0 10px 28px rgba(47, 98, 75, 0.28);
  }
}

@media (max-width: 370px) {
  .topbar {
    gap: 5px;
    padding-right: 7px;
    padding-left: 7px;
  }

  .brand {
    gap: 5px;
  }

  .brand-mark {
    width: 34px;
    height: 34px;
    border-radius: 11px;
    font-size: 12px;
  }

  .brand small {
    display: none;
  }

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

  .order-lookup-pill {
    min-height: 36px;
    padding: 0 6px;
    font-size: 9px;
  }

  .topbar-actions {
    gap: 4px;
  }

  .cart-pill {
    min-width: 96px;
    min-height: 42px;
    padding: 0 7px;
  }

  .cart-pill > span {
    font-size: 11px;
  }

  .product-body {
    padding: 8px;
  }

  .product-purchase-actions .add-button {
    font-size: 9px;
  }

  .mobile-cart-dock > button {
    min-width: 128px;
    font-size: 13px;
  }
}
