:root {
  --deep-950: #002b4c;
  --deep-900: #003e67;
  --deep-800: #075b82;
  --cyan-500: #06999c;
  --cyan-600: #008a90;
  --cyan-100: #dff5f4;
  --orange-500: #ff612d;
  --orange-100: #fff0e8;
  --ink: #202b35;
  --muted: #7d8790;
  --line: #e8ecef;
  --canvas: #f5f7f8;
  --surface: #fff;
  --shop-hero-image: url("/static/assets/aquatic-hero.png");
  --app-width: 920px;
  --nav-height: 70px;
  --cart-height: 74px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: light;
}

body {
  margin: 0;
  min-width: 320px;
  min-height: 100vh;
  color: var(--ink);
  background: #dce8ed;
  font-family: Inter, "PingFang SC", "Microsoft YaHei UI", "Noto Sans SC", sans-serif;
  -webkit-font-smoothing: antialiased;
}

button,
input,
textarea,
select {
  font: inherit;
}

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

button {
  cursor: pointer;
}

button:disabled {
  cursor: not-allowed;
}

button:focus-visible,
a:focus-visible,
input:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(5, 165, 166, .2);
  outline-offset: 2px;
}

[hidden],
.legacy-compat {
  display: none !important;
}

.shop-app {
  position: relative;
  width: min(100%, var(--app-width));
  min-height: 100vh;
  margin: 0 auto;
  overflow: clip;
  background: var(--canvas);
  box-shadow: 0 0 70px rgba(0, 40, 65, .14);
}

#menuPage {
  min-height: 100vh;
  padding-bottom: 170px;
}

.ocean-head {
  position: relative;
  padding: calc(20px + env(safe-area-inset-top)) 30px 26px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 92% 18%, rgba(35, 180, 203, .25), transparent 24%),
    radial-gradient(circle at 3% 96%, rgba(1, 131, 159, .42), transparent 32%),
    linear-gradient(145deg, #003253, #004d75 56%, #006d8d);
}

.ocean-head::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(90deg, rgba(255,255,255,.025) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.02) 1px, transparent 1px);
  background-size: 36px 36px;
  mask-image: linear-gradient(to bottom, #000, transparent 80%);
}

.app-header {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  min-height: 62px;
}

.app-header h1 {
  margin: 0;
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 800;
  letter-spacing: .02em;
  white-space: nowrap;
}

.location-button,
.chat-button,
.head-tools button,
.fresh-hero button {
  border: 0;
  color: inherit;
}

.location-button {
  display: inline-flex;
  align-items: center;
  justify-self: start;
  min-width: 0;
  max-width: 240px;
  height: 46px;
  gap: 11px;
  padding: 0 17px;
  border: 1px solid rgba(180, 226, 238, .18);
  border-radius: 24px;
  background: rgba(0, 39, 68, .22);
  box-shadow: inset 0 1px rgba(255,255,255,.04);
}

.location-button span {
  overflow: hidden;
  font-size: 15px;
  font-weight: 700;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.location-button i {
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  border-right: 2px solid currentColor;
  border-bottom: 2px solid currentColor;
  transform: translateY(-3px) rotate(45deg);
}

.chat-button {
  display: grid;
  place-items: center;
  justify-self: end;
  width: 46px;
  height: 46px;
  padding: 0;
  background: transparent;
}

.chat-button svg {
  width: 32px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.chat-button circle {
  fill: currentColor;
  stroke: none;
}

.head-tools {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 2fr) minmax(0, 3fr);
  gap: 20px;
  margin-top: 18px;
}

.mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  height: 64px;
  padding: 4px;
  border-radius: 34px;
  background: rgba(44, 142, 180, .42);
}

.mode-tabs button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 30px;
  background: transparent;
  font-size: 16px;
  font-weight: 700;
  opacity: .88;
}

.mode-tabs button svg {
  width: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.mode-tabs button.is-active {
  border: 1px solid rgba(190, 229, 238, .4);
  background: rgba(0, 40, 68, .84);
  box-shadow: 0 7px 18px rgba(0, 26, 50, .22), inset 0 1px rgba(255,255,255,.12);
  opacity: 1;
}

.mode-tabs button:disabled {
  opacity: .3;
}

.search-trigger {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  height: 64px;
  gap: 12px;
  padding: 0 24px;
  border-radius: 34px;
  background: rgba(199, 222, 232, .44);
  font-size: 16px;
  font-weight: 500;
  text-align: left;
}

.search-trigger svg,
.search-panel svg {
  width: 27px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-width: 1.8;
}

.search-trigger span {
  color: rgba(239, 248, 251, .72);
}

.search-panel {
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  margin-top: 12px;
  padding: 0 17px;
  border: 1px solid rgba(199, 232, 239, .28);
  border-radius: 22px;
  color: #dff6fa;
  background: rgba(0, 39, 64, .72);
  backdrop-filter: blur(12px);
}

.search-panel svg {
  width: 21px;
}

.search-panel input {
  width: 100%;
  height: 46px;
  border: 0;
  outline: 0;
  color: #fff;
  background: transparent;
}

.search-panel input::placeholder {
  color: rgba(225, 242, 247, .55);
}

.search-panel button {
  border: 0;
  color: #96e4e1;
  background: transparent;
  font-size: 12px;
  font-weight: 700;
}

.fresh-hero {
  position: relative;
  z-index: 2;
  min-height: 0;
  aspect-ratio: 2.36 / 1;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(182, 233, 239, .22);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(0, 38, 65, .82), rgba(0, 52, 76, .27) 66%, transparent),
    var(--shop-hero-image) center 50% / cover;
  box-shadow: 0 22px 44px rgba(0, 33, 54, .28);
}

.fresh-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(255,255,255,.05), transparent 52%, rgba(0,25,45,.22));
}

.fresh-hero-copy {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: flex-start;
  width: 62%;
  height: 100%;
  min-height: 0;
  flex-direction: column;
  justify-content: center;
  padding: 34px 40px;
}

.fresh-hero-copy > span:first-child {
  display: none;
}

.fresh-hero h2 {
  margin: 0;
  font-size: clamp(34px, 5vw, 48px);
  line-height: 1.12;
  letter-spacing: -.03em;
  white-space: nowrap;
}

.fresh-hero p {
  margin: 14px 0 0;
  color: #e2f2f5;
  font-size: 18px;
}

.fresh-hero button {
  display: inline-flex;
  align-items: center;
  min-height: 43px;
  gap: 12px;
  margin-top: 26px;
  padding: 0 19px;
  border: 1px solid rgba(216, 245, 247, .45);
  border-radius: 22px;
  background: rgba(0, 49, 72, .42);
  backdrop-filter: blur(7px);
  font-size: 14px;
}

.fresh-hero button b {
  font-size: 23px;
  font-weight: 400;
  line-height: 1;
}

.service-facts {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-height: 40px;
  margin-top: 12px;
  color: rgba(226, 246, 249, .78);
  font-size: 11px;
}

.service-facts span {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.service-facts span + span::before {
  content: "";
  width: 3px;
  height: 3px;
  margin-right: 11px;
  border-radius: 50%;
  background: #62d8d7;
}

.service-facts b {
  color: #fff;
}

.catalog-shell {
  position: relative;
  z-index: 5;
  min-height: 720px;
  padding: 26px 30px 52px;
  background: #fff;
}

.category-rail {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  margin: 0 -6px;
  padding: 4px 6px 18px;
  overflow-x: auto;
  scrollbar-width: none;
}

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

.category-button {
  position: relative;
  display: grid;
  justify-items: center;
  flex: 1 0 96px;
  min-width: 92px;
  padding: 0 0 11px;
  border: 0;
  color: #3f474d;
  background: transparent;
  font-size: 13px;
  white-space: nowrap;
}

.category-button img {
  width: 74px;
  height: 74px;
  margin-bottom: 10px;
  border: 1px solid #e9eef1;
  border-radius: 50%;
  object-fit: cover;
  background: #f7fbfc;
  box-shadow: 0 8px 18px rgba(0, 57, 77, .09);
}

.category-button::after {
  content: "";
  position: absolute;
  right: 12px;
  bottom: 0;
  left: 12px;
  height: 3px;
  border-radius: 3px;
  background: transparent;
}

.category-button.is-active {
  color: var(--cyan-600);
  font-weight: 800;
}

.category-button.is-active img {
  border-color: rgba(5, 154, 157, .34);
  box-shadow: 0 8px 21px rgba(0, 131, 137, .16);
}

.category-button.is-active::after {
  background: var(--cyan-500);
}

.category-button span {
  display: block;
  width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.category-button span small {
  margin-left: 4px;
  color: #9aaeb5;
  font-size: 8px;
  font-weight: 800;
}

.category-button.is-active span small {
  color: var(--cyan-600);
}

.catalog-discovery {
  margin-top: 12px;
  padding: 13px;
  border: 1px solid #e4edef;
  border-radius: 15px;
  background: rgba(255, 255, 255, .96);
}

.catalog-discovery-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 10px;
}

.catalog-discovery-head div {
  display: grid;
  gap: 2px;
}

.catalog-discovery-head small {
  color: var(--cyan-600);
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .14em;
}

.catalog-discovery-head strong {
  color: #243f4b;
  font-size: 14px;
}

.catalog-discovery-head > span {
  color: #7c8b92;
  font-size: 10px;
  white-space: nowrap;
}

.subcategory-rail {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 1px 1px 5px;
  scrollbar-width: none;
}

.subcategory-rail::-webkit-scrollbar {
  display: none;
}

.subcategory-button {
  display: inline-flex;
  min-height: 34px;
  flex: 0 0 auto;
  align-items: center;
  gap: 6px;
  padding: 0 12px;
  border: 1px solid #dbe8ea;
  border-radius: 999px;
  color: #496570;
  background: #f7fbfb;
  font-size: 11px;
  font-weight: 750;
}

.subcategory-button em {
  min-width: 19px;
  padding: 2px 5px;
  border-radius: 999px;
  color: #789097;
  background: #e8f1f2;
  font-size: 9px;
  font-style: normal;
  text-align: center;
}

.subcategory-button.is-active {
  border-color: var(--cyan-600);
  color: #fff;
  background: linear-gradient(135deg, #079fa3, #007f92);
  box-shadow: 0 6px 14px rgba(0, 137, 145, .18);
}

.subcategory-button.is-active em {
  color: #fff;
  background: rgba(255, 255, 255, .18);
}

.sort-bar {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  min-height: 62px;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #e8ecee;
}

.sort-bar button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 0;
  color: #69727a;
  background: transparent;
  font-size: 14px;
}

.sort-bar button.is-active {
  color: #27333b;
  font-weight: 700;
}

.sort-bar button i {
  width: 7px;
  height: 7px;
  margin-top: -4px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
}

.sort-bar button span {
  color: #a8afb4;
  font-size: 11px;
}

.sort-bar svg {
  width: 20px;
  fill: none;
  stroke: currentColor;
  stroke-linejoin: round;
  stroke-width: 1.6;
}

.notice-panel {
  display: none;
  align-items: center;
  gap: 12px;
  margin-top: 14px;
  padding: 10px 13px;
  border-radius: 10px;
  color: #63727b;
  background: #f2f8f8;
  font-size: 11px;
}

.notice-panel strong {
  flex: 0 0 auto;
  color: var(--cyan-600);
}

.notice-panel p {
  overflow: hidden;
  margin: 0;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-section {
  margin-top: 14px;
}

.catalog-load-more {
  display: block;
  min-width: 220px;
  min-height: 42px;
  margin: 22px auto 0;
  padding: 0 22px;
  border: 1px solid #b9dadd;
  border-radius: 999px;
  color: #087f86;
  background: #fff;
  box-shadow: 0 7px 18px rgba(16, 89, 99, .08);
  font-size: 12px;
  font-weight: 850;
}

.catalog-load-more[hidden] {
  display: none;
}

.catalog-title {
  display: none;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}

.catalog-title small {
  display: block;
  color: var(--cyan-600);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .12em;
}

.catalog-title h2 {
  display: inline;
  margin: 0;
  font-size: 20px;
}

.catalog-title p {
  display: inline;
  margin: 0 0 0 8px;
  color: #9aa2a7;
  font-size: 11px;
}

.catalog-title > span {
  padding: 5px 9px;
  border-radius: 12px;
  color: #008b8e;
  background: #e5f6f4;
  font-size: 9px;
  font-weight: 800;
}

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

.product-card {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: 360px;
  flex-direction: column;
  overflow: hidden;
  padding: 12px;
  border: 1px solid #e7ebee;
  border-radius: 17px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(25, 58, 73, .09);
}

.product-card:hover {
  border-color: rgba(5, 158, 159, .3);
  box-shadow: 0 13px 30px rgba(20, 67, 83, .13);
  transform: translateY(-2px);
}

.product-image-wrap {
  position: relative;
  width: min(100%, 190px);
  aspect-ratio: 1;
  align-self: center;
  overflow: hidden;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: #e8f5f8;
}

.product-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.fresh-badge {
  position: absolute;
  top: 10px;
  left: 8px;
  z-index: 2;
  padding: 4px 7px;
  border-radius: 10px;
  color: #fff;
  background: var(--cyan-600);
  font-size: 8px;
  font-weight: 700;
}

.product-body {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  padding-top: 12px;
}

.product-name {
  display: -webkit-box;
  min-height: 42px;
  overflow: hidden;
  margin: 0;
  color: #263038;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.product-subline {
  overflow: hidden;
  margin: 5px 0 0;
  color: #969da2;
  font-size: 11px;
  line-height: 1.45;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-price-line {
  display: flex;
  align-items: baseline;
  gap: 3px;
  margin-top: 12px;
  color: var(--orange-500);
}

.product-price-line small {
  font-size: 12px;
}

.product-price-line strong {
  font-size: 20px;
  line-height: 1;
}

.product-price-line em {
  color: #777f84;
  font-size: 10px;
  font-style: normal;
}

.product-action {
  width: 100%;
  min-height: 40px;
  margin-top: auto;
  border: 0;
  border-radius: 21px;
  color: #fff;
  background: linear-gradient(135deg, #069da0, #00898e);
  box-shadow: 0 7px 15px rgba(0, 143, 147, .18);
  font-size: 13px;
  font-weight: 800;
}

.card-stepper {
  display: grid;
  grid-template-columns: 34px 1fr 34px;
  align-items: center;
  min-height: 40px;
  margin-top: auto;
}

.card-stepper button {
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid #96c8ca;
  border-radius: 50%;
  color: var(--cyan-600);
  background: #fff;
  font-size: 21px;
}

.card-stepper button:last-child {
  justify-self: end;
}

.card-stepper strong {
  color: #205060;
  font-size: 15px;
  text-align: center;
}

.empty-state {
  grid-column: 1 / -1;
  padding: 54px 18px;
  border: 1px dashed #dce5e8;
  border-radius: 16px;
  color: #84929a;
  background: #fafcfc;
  text-align: center;
}

.empty-state strong {
  display: block;
  color: #49616e;
  font-size: 14px;
}

.empty-state p {
  margin: 6px 0 0;
  font-size: 11px;
}

.cart-dock {
  position: fixed;
  right: 0;
  bottom: calc(var(--nav-height) + 10px + env(safe-area-inset-bottom));
  left: 0;
  z-index: 42;
  display: flex;
  width: min(calc(100vw - 28px), calc(var(--app-width) - 46px));
  margin: 0 auto;
  flex-direction: column;
  pointer-events: none;
}

.cart-panel {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  width: 100%;
  min-height: var(--cart-height);
  padding: 8px 9px 8px 10px;
  border: 1px solid rgba(224, 231, 234, .92);
  border-radius: 40px;
  background: rgba(255,255,255,.97);
  box-shadow: 0 13px 36px rgba(20, 49, 62, .22);
  backdrop-filter: blur(18px);
  pointer-events: auto;
}

.cart-toggle {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  align-items: center;
  min-width: 0;
  padding: 0;
  border: 0;
  color: inherit;
  background: transparent;
  text-align: left;
}

.cart-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  color: #fff;
  background: linear-gradient(145deg, #079ca0, #007e8c);
  box-shadow: 0 8px 18px rgba(0, 127, 136, .25);
}

.cart-icon svg {
  width: 31px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.cart-icon strong {
  position: absolute;
  top: -5px;
  right: -2px;
  display: grid;
  place-items: center;
  min-width: 23px;
  height: 23px;
  padding: 0 6px;
  border: 2px solid #fff;
  border-radius: 12px;
  color: #fff;
  background: var(--orange-500);
  font-size: 10px;
}

.cart-copy {
  min-width: 0;
  padding: 0 14px;
}

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

.cart-copy span {
  overflow: hidden;
  color: #5b646b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cart-copy strong {
  margin-top: 4px;
  color: #354049;
  font-size: 13px;
}

.cart-copy b {
  margin-left: 4px;
  color: var(--orange-500);
  font-size: 19px;
}

#checkoutBtn {
  align-self: stretch;
  min-width: 150px;
  border: 0;
  border-radius: 32px;
  color: #fff;
  background: linear-gradient(135deg, #ff763e, #ff5726);
  box-shadow: 0 8px 18px rgba(255, 91, 38, .22);
  font-size: 16px;
  font-weight: 800;
}

#checkoutBtn:disabled {
  background: #bdc7cb;
  box-shadow: none;
}

.cart-backdrop {
  position: fixed;
  z-index: 38;
  inset: 0;
  background: rgba(0, 28, 43, .22);
  backdrop-filter: blur(1px);
}

.cart-drawer {
  width: calc(100% - 18px);
  max-height: 0;
  margin: 0 auto -20px;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: 22px 22px 10px 10px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 0 0 rgba(20, 49, 62, 0);
  opacity: 0;
  pointer-events: none;
  transform: translateY(26px);
  transition: max-height .28s ease, opacity .2s ease, transform .28s ease,
    padding .28s ease, box-shadow .28s ease;
}

.cart-dock.is-open .cart-drawer {
  max-height: min(440px, 58vh);
  padding: 0 15px 30px;
  border-color: #e2e9eb;
  box-shadow: 0 -16px 42px rgba(17, 52, 65, .17);
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.cart-drawer header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 56px;
  gap: 12px;
  border-bottom: 1px solid #edf0f2;
}

.cart-drawer header > div:first-child {
  display: flex;
  align-items: baseline;
  gap: 9px;
}

.cart-drawer-head-actions {
  display: flex;
  align-items: center;
  gap: 4px;
}

.cart-drawer header strong {
  color: #26343c;
  font-size: 15px;
}

.cart-drawer header span {
  color: #919ba0;
  font-size: 10px;
}

.cart-drawer header button {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 0;
  color: #00a27f;
  background: transparent;
  font-size: 11px;
  font-weight: 800;
}

.cart-drawer header .cart-screenshot-button {
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(0, 162, 127, .22);
  border-radius: 999px;
  background: rgba(0, 162, 127, .08);
}

.cart-drawer header .cart-screenshot-button:disabled {
  cursor: wait;
  opacity: .58;
}

.cart-drawer header i {
  width: 8px;
  height: 8px;
  border-top: 2px solid currentColor;
  border-left: 2px solid currentColor;
  transform: translateY(2px) rotate(45deg);
}

.cart-drawer-items {
  max-height: min(340px, 44vh);
  overflow-y: auto;
  overscroll-behavior: contain;
}

.cart-drawer-item {
  display: grid;
  grid-template-columns: 52px minmax(0, 1fr) auto;
  align-items: center;
  gap: 11px;
  min-height: 76px;
  border-bottom: 1px solid #edf0f2;
}

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

.cart-drawer-item img {
  width: 46px;
  height: 46px;
  border-radius: 11px;
  object-fit: cover;
  background: #edf7f8;
}

.drawer-item-copy {
  min-width: 0;
}

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

.drawer-item-copy strong {
  overflow: hidden;
  color: #26343c;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.drawer-item-copy span {
  margin-top: 5px;
  color: #00a27f;
  font-size: 11px;
  font-weight: 800;
}

.drawer-stepper {
  display: grid;
  grid-template-columns: 30px 34px 30px;
  align-items: center;
  min-height: 40px;
  padding: 3px;
  border: 1px solid #dbe5e7;
  border-radius: 13px;
  background: #fff;
}

.drawer-stepper button {
  display: grid;
  place-items: center;
  width: 30px;
  height: 30px;
  border: 0;
  color: #00a88d;
  background: transparent;
  font-size: 19px;
}

.drawer-stepper strong {
  color: #26343c;
  font-size: 12px;
  text-align: center;
}

.subpage {
  display: none;
  min-height: 100vh;
  padding-bottom: calc(var(--nav-height) + 28px + env(safe-area-inset-bottom));
  background:
    linear-gradient(180deg, #e9f3f5 0, #f7f9fa 300px, #f5f7f8 100%);
}

.subpage.is-active {
  display: block;
}

.subpage-header {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 238px;
  padding: calc(40px + env(safe-area-inset-top)) 54px 66px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 90% 18%, rgba(54, 207, 216, .28), transparent 25%),
    radial-gradient(circle at 10% 120%, rgba(0, 170, 186, .42), transparent 40%),
    linear-gradient(145deg, #003253, #005478 58%, #007488);
}

.subpage-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255,255,255,.035) 1px, transparent 1px),
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, #000, transparent 86%);
  pointer-events: none;
}

.subpage-header > * {
  position: relative;
  z-index: 1;
}

.subpage-header small {
  display: block;
  margin-bottom: 7px;
  color: #71edf0;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: .18em;
}

.subpage-header h1 {
  margin: 0;
  font-size: clamp(31px, 5vw, 42px);
  letter-spacing: -.03em;
}

.subpage-header p {
  margin: 10px 0 0;
  color: rgba(255,255,255,.72);
  font-size: 13px;
}

.subpage-mark {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 26px;
  color: #d9ffff;
  background: rgba(255,255,255,.1);
  box-shadow: inset 0 1px rgba(255,255,255,.18), 0 18px 40px rgba(0, 28, 50, .18);
  transform: rotate(5deg);
  backdrop-filter: blur(12px);
}

.subpage-mark svg {
  width: 35px;
  height: 35px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
  transform: rotate(-5deg);
}

.subpage-body {
  position: relative;
  z-index: 2;
  width: min(100%, 820px);
  margin: -38px auto 0;
  padding: 0 28px 32px;
}

.orders-search {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 148px;
  align-items: end;
  gap: 12px;
  padding: 20px;
  border: 1px solid rgba(218, 231, 234, .95);
  border-radius: 24px;
  background: rgba(255,255,255,.98);
  box-shadow: 0 18px 46px rgba(0, 58, 78, .13);
}

.orders-search label,
.orders-search label > span {
  display: block;
}

.orders-search label > span {
  margin: 0 0 8px 3px;
  color: #53656d;
  font-size: 11px;
  font-weight: 800;
}

.orders-search label small {
  color: #9aa6aa;
  font-size: 9px;
  font-weight: 500;
}

.orders-search input {
  width: 100%;
  height: 48px;
  padding: 0 14px;
  border: 1px solid #dce7e9;
  border-radius: 14px;
  color: #263740;
  background: #f7fafb;
  font-size: 12px;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

.orders-search input:focus {
  border-color: rgba(0, 150, 153, .48);
  outline: 0;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(0, 153, 156, .09);
}

.orders-search button {
  height: 48px;
  border: 0;
  border-radius: 15px;
  color: #fff;
  background: linear-gradient(135deg, #08a7a2, #008991);
  box-shadow: 0 10px 22px rgba(0, 142, 146, .2);
  font-size: 12px;
  font-weight: 900;
}

.order-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 3px 16px;
}

.order-section-head small,
.order-section-head h2 {
  display: block;
  margin: 0;
}

.order-section-head small {
  margin-bottom: 3px;
  color: var(--cyan-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .16em;
}

.order-section-head h2 {
  font-size: 23px;
  letter-spacing: -.02em;
}

.order-section-head > span {
  padding: 7px 11px;
  border-radius: 999px;
  color: #64777f;
  background: #e8f0f1;
  font-size: 10px;
  font-weight: 700;
}

.order-page-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 13px;
}

.order-page-card {
  position: relative;
  min-height: 178px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid #e0e9eb;
  border-radius: 19px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(23, 65, 79, .06);
}

.order-page-card::after {
  content: "";
  position: absolute;
  right: -28px;
  bottom: -38px;
  width: 110px;
  height: 110px;
  border: 18px solid rgba(0, 154, 158, .035);
  border-radius: 50%;
  pointer-events: none;
}

.order-page-card.is-success {
  border-color: rgba(5, 159, 161, .38);
  background: linear-gradient(145deg, #fff, #effbf9);
}

.order-page-card .lookup-order-head small {
  font-size: 9px;
}

.order-page-card .lookup-order-head strong {
  color: #24363f;
  font-size: 13px;
}

.order-page-card p {
  min-height: 46px;
  margin-top: 13px;
  color: #718088;
  font-size: 10px;
}

.order-page-card .lookup-order-total {
  position: relative;
  z-index: 1;
  margin-top: 12px;
  font-size: 21px;
}

.page-empty {
  grid-column: 1 / -1;
  display: grid;
  place-items: center;
  min-height: 250px;
  padding: 30px;
  border: 1px dashed #cfdee1;
  border-radius: 22px;
  color: #85939a;
  background: rgba(255,255,255,.7);
  text-align: center;
}

.page-empty span {
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  margin-bottom: 14px;
  border-radius: 20px;
  color: var(--cyan-600);
  background: var(--cyan-100);
  font-size: 18px;
  font-weight: 900;
}

.page-empty strong {
  color: #42545d;
  font-size: 14px;
}

.page-empty p {
  margin: 7px 0 0;
  font-size: 10px;
}

.profile-header {
  min-height: 224px;
}

.profile-header::after {
  content: "我的水族";
  position: absolute;
  right: 45px;
  bottom: 45px;
  color: rgba(255,255,255,.07);
  font-size: 62px;
  font-weight: 900;
  letter-spacing: -.08em;
  white-space: nowrap;
}

.profile-body {
  width: min(100%, 760px);
}

.profile-card {
  position: relative;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  min-height: 148px;
  padding: 25px;
  overflow: hidden;
  border: 1px solid rgba(214, 230, 232, .94);
  border-radius: 26px;
  background:
    radial-gradient(circle at 95% 5%, rgba(63, 216, 208, .12), transparent 34%),
    #fff;
  box-shadow: 0 18px 46px rgba(0, 58, 78, .13);
}

.profile-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -52px;
  width: 150px;
  height: 150px;
  border: 26px solid rgba(0, 154, 158, .035);
  border-radius: 50%;
}

.profile-avatar {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  width: 82px;
  height: 82px;
  border-radius: 28px;
  color: #fff;
  background:
    radial-gradient(circle at 30% 24%, rgba(255,255,255,.38), transparent 25%),
    linear-gradient(145deg, #0db9ae, #007e90);
  box-shadow: 0 13px 25px rgba(0, 133, 142, .23);
  font-size: 30px;
  font-weight: 900;
}

.profile-copy {
  position: relative;
  z-index: 1;
  min-width: 0;
}

.profile-copy small,
.profile-copy h2,
.profile-copy p {
  display: block;
  margin: 0;
}

.profile-copy small {
  margin-bottom: 5px;
  color: var(--cyan-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .12em;
}

.profile-copy h2 {
  overflow: hidden;
  color: #22343d;
  font-size: 24px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-copy p {
  margin-top: 7px;
  overflow: hidden;
  color: #89969c;
  font-size: 10px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-mode {
  position: relative;
  z-index: 1;
  align-self: start;
  padding: 7px 11px;
  border-radius: 999px;
  color: #087f84;
  background: #e3f7f5;
  font-size: 9px;
  font-weight: 900;
}

.profile-menu {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid #e0e9eb;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 8px 26px rgba(23, 65, 79, .06);
}

.profile-menu > h2 {
  margin: 0 0 12px;
  color: #2e414a;
  font-size: 15px;
}

.profile-menu > button {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 13px;
  width: 100%;
  min-height: 72px;
  padding: 10px 5px;
  border: 0;
  border-top: 1px solid #edf1f2;
  color: inherit;
  background: transparent;
  text-align: left;
}

.profile-menu > button:first-of-type {
  border-top: 0;
}

.profile-menu > button:hover {
  color: var(--cyan-600);
}

.menu-icon {
  display: grid;
  place-items: center;
  width: 46px;
  height: 46px;
  border-radius: 16px;
  color: var(--cyan-600);
  background: #e8f7f6;
}

.profile-menu button:nth-of-type(2) .menu-icon {
  color: #006891;
  background: #e8f2f8;
}

.profile-menu button:nth-of-type(3) .menu-icon {
  color: #e96939;
  background: #fff0e9;
}

.menu-icon svg {
  width: 23px;
  height: 23px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.profile-menu button > span:nth-child(2) {
  min-width: 0;
}

.profile-menu button strong,
.profile-menu button small {
  display: block;
}

.profile-menu button strong {
  color: #31444d;
  font-size: 13px;
}

.profile-menu button small {
  margin-top: 5px;
  overflow: hidden;
  color: #929da2;
  font-size: 9px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.profile-menu button > b {
  padding-right: 6px;
  color: #a6b0b4;
  font-size: 24px;
  font-weight: 400;
}

.bottom-tabbar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 35;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  width: min(100vw, var(--app-width));
  min-height: calc(var(--nav-height) + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 8px 12px env(safe-area-inset-bottom);
  border-top: 1px solid #edf0f2;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -7px 22px rgba(30, 62, 75, .06);
  backdrop-filter: blur(16px);
}

.bottom-tabbar button {
  display: grid;
  place-items: center;
  gap: 2px;
  border: 0;
  color: #a2a7aa;
  background: transparent;
}

.bottom-tabbar svg {
  width: 25px;
  height: 25px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.7;
}

.bottom-tabbar button:first-child svg {
  fill: currentColor;
  stroke: none;
}

.bottom-tabbar strong {
  font-size: 11px;
  font-weight: 500;
}

.bottom-tabbar button.is-active {
  color: var(--cyan-600);
}

.bottom-tabbar button.is-active strong {
  font-weight: 800;
}

.detail-page {
  display: none;
  min-height: 100vh;
  padding-bottom: 100px;
  background: #fff;
}

.detail-page.is-active {
  display: block;
}

.back-button {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: max(18px, calc((100vw - var(--app-width)) / 2 + 18px));
  z-index: 20;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(255,255,255,.48);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 44, 67, .45);
  box-shadow: 0 6px 18px rgba(0, 27, 43, .2);
  backdrop-filter: blur(9px);
  font-size: 31px;
}

.detail-hero {
  display: grid;
  place-items: center;
  height: min(510px, 66vw);
  min-height: 330px;
  background:
    linear-gradient(180deg, rgba(0, 38, 65, .02), rgba(0, 38, 65, .42)),
    var(--shop-hero-image) center / cover;
}

.fish-orb {
  display: grid;
  place-items: center;
  width: 150px;
  height: 150px;
  border: 1px solid rgba(255,255,255,.5);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 101, 124, .38);
  backdrop-filter: blur(8px);
  font-size: 48px;
  font-weight: 800;
}

.detail-content {
  padding: 30px;
}

.detail-category {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 12px;
  color: var(--cyan-600);
  background: var(--cyan-100);
  font-size: 10px;
  font-weight: 800;
}

.detail-content h1 {
  margin: 12px 0 8px;
  font-size: 30px;
}

.detail-content > p {
  margin: 0;
  color: #849099;
  font-size: 13px;
  line-height: 1.7;
}

.option-block {
  margin-top: 28px;
}

.option-block h2 {
  margin: 0 0 12px;
  font-size: 15px;
}

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

.option-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 54px;
  padding: 0 14px;
  border: 1px solid #e1e7e9;
  border-radius: 12px;
  color: #52616a;
  background: #fff;
}

.option-card.is-selected {
  border-color: var(--cyan-500);
  color: #087f84;
  background: #eefafa;
  box-shadow: 0 0 0 2px rgba(5, 159, 161, .08);
}

.option-card span {
  color: var(--orange-500);
  font-size: 12px;
}

.quantity-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 24px;
  padding: 18px 0;
  border-top: 1px solid #edf0f2;
  border-bottom: 1px solid #edf0f2;
}

.quantity-row > div:first-child strong,
.quantity-row > div:first-child span {
  display: block;
}

.quantity-row > div:first-child strong {
  font-size: 13px;
}

.quantity-row > div:first-child span {
  margin-top: 4px;
  color: #909ba1;
  font-size: 10px;
}

.stepper {
  display: flex;
  align-items: center;
  gap: 14px;
}

.stepper button {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border: 1px solid #9ac9ca;
  border-radius: 50%;
  color: var(--cyan-600);
  background: #fff;
  font-size: 20px;
}

.detail-bar {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 45;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: min(100vw, var(--app-width));
  min-height: calc(82px + env(safe-area-inset-bottom));
  margin: 0 auto;
  padding: 12px 22px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid #e8ecef;
  background: rgba(255,255,255,.97);
  box-shadow: 0 -10px 28px rgba(23, 54, 66, .1);
  backdrop-filter: blur(16px);
}

.detail-bar small,
.detail-bar strong {
  display: block;
}

.detail-bar small {
  color: #8e989e;
  font-size: 10px;
}

.detail-bar strong {
  margin-top: 3px;
  color: var(--orange-500);
  font-size: 22px;
}

.detail-bar button {
  min-width: 230px;
  height: 52px;
  border: 0;
  border-radius: 27px;
  color: #fff;
  background: linear-gradient(135deg, #079da0, #00898f);
  font-size: 15px;
  font-weight: 800;
}

.is-detail-route .cart-dock,
.is-detail-route .bottom-tabbar {
  display: none;
}

.is-subpage-route .cart-dock {
  display: none;
}

dialog {
  width: min(540px, calc(100vw - 24px));
  max-height: min(820px, calc(100dvh - 24px));
  overflow: auto;
  padding: 0;
  border: 1px solid #dfe7e9;
  border-radius: 22px;
  box-shadow: 0 26px 80px rgba(0, 29, 46, .32);
}

dialog::backdrop {
  background: rgba(0, 26, 44, .68);
  backdrop-filter: blur(6px);
}

.dialog-card {
  padding: 20px;
  background: #fff;
}

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

.dialog-head small {
  display: block;
  margin-bottom: 3px;
  color: var(--cyan-600);
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .12em;
}

.dialog-head h2 {
  margin: 0;
  font-size: 21px;
}

.dialog-head > button {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 0;
  border-radius: 50%;
  color: #718087;
  background: #f0f4f5;
  font-size: 21px;
}

.cart-screenshot-dialog {
  width: min(620px, calc(100vw - 24px));
}

.cart-screenshot-card {
  display: grid;
  gap: 14px;
}

.cart-screenshot-card .dialog-head {
  margin-bottom: 0;
}

.cart-screenshot-status {
  margin: 0;
  color: #718087;
  font-size: 11px;
  text-align: center;
}

.cart-screenshot-preview-wrap {
  display: grid;
  place-items: start center;
  max-height: min(62vh, 720px);
  overflow: auto;
  padding: 12px;
  border: 1px solid #e0e9e9;
  border-radius: 14px;
  background: #edf3f2;
}

.cart-screenshot-preview-wrap img {
  display: block;
  width: min(100%, 420px);
  height: auto;
  border-radius: 8px;
  box-shadow: 0 12px 30px rgba(21, 51, 58, .18);
}

.cart-screenshot-preview-wrap img:not([src]) {
  display: none;
}

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

.cart-screenshot-actions > button {
  min-height: 46px;
  border: 1px solid #cfe1df;
  border-radius: 12px;
  color: #087e6a;
  background: #eef8f6;
  font-weight: 800;
}

.cart-screenshot-actions > button[hidden] + button {
  grid-column: 1 / -1;
}

.cart-screenshot-actions > .primary-submit {
  border: 0;
  color: #fff;
  background: linear-gradient(135deg, #00a27f, #008a72);
}

.checkout-card,
.lookup-form {
  display: grid;
  gap: 12px;
}

.checkout-card label,
.lookup-form label {
  display: grid;
  gap: 6px;
  color: #63747d;
  font-size: 10px;
  font-weight: 700;
}

.checkout-card input,
.checkout-card textarea,
.lookup-form input {
  width: 100%;
  min-height: 43px;
  padding: 10px 12px;
  border: 1px solid #dce5e8;
  border-radius: 11px;
  outline: 0;
  color: #26353d;
  background: #fbfcfc;
}

.checkout-card textarea {
  min-height: 76px;
  resize: vertical;
}

.checkout-card input:focus,
.checkout-card textarea:focus,
.lookup-form input:focus {
  border-color: var(--cyan-500);
  box-shadow: 0 0 0 3px rgba(4, 158, 160, .09);
}

.checkout-items {
  display: grid;
  gap: 8px;
  max-height: 190px;
  overflow: auto;
  padding: 11px;
  border-radius: 12px;
  background: #f3f7f8;
}

.checkout-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.checkout-item-copy {
  min-width: 0;
}

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

.checkout-item-copy strong {
  overflow: hidden;
  color: #344952;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.checkout-item-copy span {
  margin-top: 3px;
  color: #89969c;
  font-size: 9px;
}

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

.checkout-item-actions button {
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border: 1px solid #b6d5d6;
  border-radius: 50%;
  color: var(--cyan-600);
  background: #fff;
}

.checkout-coupons {
  margin: 0;
  padding: 10px;
  border: 1px solid #dce7e9;
  border-radius: 12px;
}

.checkout-coupons legend {
  padding: 0 5px;
  color: #6c7c84;
  font-size: 10px;
  font-weight: 700;
}

#checkoutCouponList {
  display: grid;
  gap: 6px;
}

.coupon-option {
  display: flex !important;
  grid-template-columns: none !important;
  align-items: center;
  gap: 8px !important;
  padding: 8px;
  border-radius: 8px;
  background: #fff6f0;
}

.coupon-option input {
  width: auto;
  min-height: auto;
  accent-color: var(--orange-500);
}

.coupon-option span,
.coupon-option strong,
.coupon-option small {
  display: block;
}

.coupon-option small {
  margin-top: 2px;
  color: #987666;
  font-size: 8px;
}

.quote-box {
  display: grid;
  gap: 7px;
  padding: 12px;
  border-radius: 12px;
  background: #f3f7f8;
}

.quote-box > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #65777f;
  font-size: 10px;
}

.quote-box .quote-total {
  margin-top: 3px;
  padding-top: 9px;
  border-top: 1px solid #dce6e8;
  color: #34464f;
  font-size: 12px;
  font-weight: 800;
}

.quote-total strong {
  color: var(--orange-500);
  font-size: 20px;
}

.quote-error {
  margin: 2px 0 0;
  padding: 8px 9px;
  border-radius: 8px;
  color: #a64231;
  background: #fff0e9;
  font-size: 9px;
  line-height: 1.5;
}

.primary-submit,
.lookup-form button,
.store-orders-button {
  height: 48px;
  border: 0;
  border-radius: 24px;
  color: #fff;
  background: linear-gradient(135deg, #079da0, #00898f);
  box-shadow: 0 8px 18px rgba(0, 144, 148, .2);
  font-weight: 800;
}

.primary-submit:disabled {
  box-shadow: none;
  opacity: .45;
}

.lookup-results {
  display: grid;
  gap: 9px;
  margin-top: 16px;
}

.lookup-order {
  padding: 13px;
  border: 1px solid #dce6e8;
  border-radius: 12px;
  background: #fbfcfc;
}

.lookup-order.is-success {
  border-color: rgba(5, 159, 161, .34);
  background: #f1fbfa;
}

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

.lookup-order-head small,
.lookup-order-head strong {
  display: block;
}

.lookup-order-head small {
  margin-bottom: 3px;
  color: #87949a;
  font-size: 8px;
}

.lookup-order-head strong {
  font-size: 12px;
}

.order-status {
  padding: 4px 7px;
  border-radius: 11px;
  color: #087f84;
  background: #e3f7f5;
  font-size: 8px;
  font-weight: 800;
}

.order-status.status-cancelled {
  color: #a24a39;
  background: #ffede7;
}

.order-status.status-completed {
  color: #5d737b;
  background: #eaf0f2;
}

.lookup-order p {
  margin: 8px 0 0;
  color: #728189;
  font-size: 9px;
  line-height: 1.6;
}

.lookup-order-total {
  margin-top: 8px;
  color: var(--orange-500);
  font-size: 16px;
  font-weight: 800;
}

.lookup-empty {
  padding: 28px 14px;
  border: 1px dashed #d6e1e4;
  border-radius: 12px;
  color: #7b8990;
  background: #f9fbfb;
  font-size: 10px;
  text-align: center;
}

.lookup-empty.is-error {
  border-color: #efcec4;
  color: #a64231;
  background: #fff7f4;
}

.store-card dl {
  display: grid;
  gap: 10px;
  margin: 0 0 18px;
}

.store-card dl > div {
  display: grid;
  grid-template-columns: 80px minmax(0, 1fr);
  gap: 12px;
  padding: 12px;
  border-radius: 10px;
  background: #f5f8f9;
}

.store-card dt {
  color: #87949a;
  font-size: 10px;
}

.store-card dd {
  margin: 0;
  color: #34464f;
  font-size: 11px;
  font-weight: 700;
  text-align: right;
}

.store-card a {
  color: var(--cyan-600);
  text-decoration: none;
}

.store-orders-button {
  width: 100%;
}

.toast {
  position: fixed;
  top: calc(16px + env(safe-area-inset-top));
  left: 50%;
  z-index: 100;
  width: min(420px, calc(100vw - 28px));
  padding: 12px 15px;
  border: 1px solid rgba(148, 222, 220, .28);
  border-radius: 12px;
  color: #edffff;
  background: rgba(0, 57, 73, .95);
  box-shadow: 0 14px 38px rgba(0, 27, 43, .26);
  font-size: 11px;
  text-align: center;
  transform: translateX(-50%);
  backdrop-filter: blur(12px);
}

.toast[data-type="error"] {
  border-color: rgba(255, 195, 177, .35);
  background: rgba(135, 48, 37, .96);
}

/* Restrained subpages: conventional ordering UI, no decorative template effects. */
.subpage {
  padding-bottom: calc(var(--nav-height) + 20px + env(safe-area-inset-bottom));
  background: #f5f6f7;
}

.subpage-header {
  min-height: 0;
  overflow: hidden;
  color: #fff;
  background: linear-gradient(115deg, #003a5a, #006176);
}

.subpage-header::before,
.profile-header::after,
.order-page-card::after,
.profile-card::after {
  display: none;
}

.orders-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: calc(72px + env(safe-area-inset-top));
  padding: env(safe-area-inset-top) 22px 0;
}

.orders-header h1 {
  grid-column: 2;
  margin: 0;
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .02em;
}

.subpage-mark {
  grid-column: 3;
  justify-self: end;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 0;
  color: rgba(255,255,255,.86);
  background: transparent;
  box-shadow: none;
  transform: none;
  backdrop-filter: none;
}

.subpage-mark svg {
  width: 25px;
  height: 25px;
  transform: none;
}

.subpage-body {
  width: min(100%, 720px);
  margin: 0 auto;
  padding: 18px 18px 32px;
}

.orders-search {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  padding: 0 0 12px;
  overflow: hidden;
  border: 1px solid #e1e5e7;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.orders-search label {
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  align-items: center;
  margin: 0 14px;
  border-bottom: 1px solid #edf0f1;
}

.orders-search label > span {
  display: block;
  margin: 0;
  color: #202c34;
  font-size: 13px;
  font-weight: 700;
}

.orders-search label small {
  color: #899399;
  font-size: 10px;
}

.orders-search input {
  height: 54px;
  padding: 0 8px 0 14px;
  border: 0;
  border-left: 1px solid #edf0f1;
  border-radius: 0;
  color: #28363e;
  background: transparent;
  font-size: 13px;
}

.orders-search input:focus {
  border-color: #edf0f1;
  outline: 0;
  background: #fafcfc;
  box-shadow: none;
}

.orders-search button {
  width: calc(100% - 28px);
  height: 44px;
  margin: 12px 14px 0;
  border: 0;
  border-radius: 8px;
  color: #fff;
  background: #008d94;
  box-shadow: none;
  font-size: 13px;
  font-weight: 800;
}

.order-status-filters {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  align-items: center;
  gap: 0;
  margin: 14px 0 10px;
  padding: 2px 0;
  border-bottom: 1px solid #e5e8e9;
  background: #fff;
}

.order-status-filters button {
  position: relative;
  height: 40px;
  border: 0;
  color: #3b464c;
  background: transparent;
  font-size: 12px;
}

.order-status-filters button + button::before {
  content: "";
  position: absolute;
  top: 13px;
  bottom: 13px;
  left: 0;
  width: 1px;
  background: #e1e5e7;
}

.order-status-filters button.is-active {
  margin: 3px 8px;
  height: 34px;
  border-radius: 18px;
  color: #fff;
  background: #008d94;
  font-weight: 800;
}

.order-status-filters button.is-active::before,
.order-status-filters button.is-active + button::before {
  display: none;
}

.order-section-head {
  align-items: center;
  margin: 16px 2px 10px;
}

.order-section-head h2 {
  margin: 0;
  color: #29373f;
  font-size: 15px;
}

.order-section-head > span {
  padding: 0;
  color: #7d898e;
  background: transparent;
  font-size: 11px;
  font-weight: 500;
}

.order-page-list {
  grid-template-columns: 1fr;
  gap: 10px;
}

.lookup-order.order-page-card {
  min-height: 0;
  padding: 14px;
  overflow: visible;
  border: 1px solid #e0e4e6;
  border-radius: 12px;
  background: #fff;
  box-shadow: none;
}

.lookup-order.order-page-card.is-success {
  border-color: rgba(0, 141, 148, .45);
  background: #fff;
}

.order-card-top {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  gap: 12px;
  padding-bottom: 11px;
  border-bottom: 1px solid #edf0f1;
}

.order-number {
  display: flex;
  align-items: baseline;
  min-width: 0;
  gap: 8px;
}

.order-number small {
  flex: 0 0 auto;
  color: #1f2d35;
  font-size: 11px;
  font-weight: 800;
}

.order-number strong {
  overflow: hidden;
  color: #26343b;
  font-size: 12px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-card-top time {
  color: #838e93;
  font-size: 10px;
  white-space: nowrap;
}

.order-status {
  padding: 5px 9px;
  border-radius: 13px;
  font-size: 10px;
}

.order-card-body {
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding-top: 13px;
}

.order-bag-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 10px;
  color: #008b92;
  background: #eef7f7;
}

.order-bag-icon svg {
  width: 28px;
  height: 28px;
  fill: none;
  stroke: currentColor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.order-summary {
  min-width: 0;
}

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

.order-summary strong {
  color: #243139;
  font-size: 13px;
}

.order-summary p {
  min-height: 0;
  margin: 5px 0 8px;
  overflow: hidden;
  color: #7c878c;
  font-size: 10px;
  line-height: 1.35;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-summary small {
  color: #929b9f;
  font-size: 9px;
}

.order-summary b {
  margin-top: 3px;
  overflow: hidden;
  color: #087e84;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-amount {
  align-self: end;
  padding-bottom: 1px;
  text-align: right;
  white-space: nowrap;
}

.order-amount small,
.order-amount strong {
  display: block;
}

.order-amount small {
  margin-bottom: 4px;
  color: #899398;
  font-size: 9px;
}

.order-amount strong {
  color: var(--orange-500);
  font-size: 18px;
}

.page-empty {
  min-height: 210px;
  padding: 28px;
  border: 1px dashed #d5dcdf;
  border-radius: 10px;
  background: #fff;
}

.page-empty.is-compact {
  min-height: 160px;
}

.page-empty span {
  width: 46px;
  height: 46px;
  margin-bottom: 12px;
  border-radius: 10px;
  font-size: 14px;
}

.profile-page,
.profile-body {
  background: #fff;
}

.profile-header {
  display: flex;
  align-items: center;
  min-height: calc(218px + env(safe-area-inset-top));
  padding: calc(42px + env(safe-area-inset-top)) 38px 34px;
}

.profile-card {
  display: grid;
  grid-template-columns: 78px minmax(0, 1fr);
  align-items: center;
  gap: 20px;
  min-height: 0;
  padding: 0;
  overflow: visible;
  border: 0;
  border-radius: 0;
  color: #fff;
  background: transparent;
  box-shadow: none;
}

.profile-avatar {
  width: 78px;
  height: 78px;
  border: 3px solid rgba(255,255,255,.9);
  border-radius: 50%;
  color: #008993;
  background: #fff;
  box-shadow: none;
  font-size: 27px;
}

.profile-copy {
  padding: 0;
}

.profile-copy h2 {
  color: #fff;
  font-size: 22px;
}

.profile-copy p {
  max-width: none;
  margin-top: 7px;
  color: rgba(255,255,255,.68);
  font-size: 11px;
}

.profile-mode {
  position: static;
  display: inline-block;
  margin-top: 10px;
  padding: 5px 10px;
  color: #fff;
  background: rgba(0, 174, 181, .55);
  font-size: 10px;
}

.profile-body {
  width: 100%;
  margin: 0;
  padding: 0 24px 30px;
}

.profile-menu {
  margin: 0;
  padding: 16px 0;
  border: 0;
  border-radius: 0;
  background: #fff;
  box-shadow: none;
}

.profile-menu > h2 {
  display: none;
}

.profile-menu > button {
  grid-template-columns: 50px minmax(0, 1fr) auto;
  gap: 14px;
  min-height: 88px;
  padding: 12px 8px;
  border-top: 1px solid #e9edef;
}

.profile-menu > button:first-of-type {
  border-top: 0;
}

.menu-icon,
.profile-menu button:nth-of-type(2) .menu-icon,
.profile-menu button:nth-of-type(3) .menu-icon {
  width: 48px;
  height: 48px;
  border-radius: 0;
  color: #26353d;
  background: transparent;
}

.menu-icon svg {
  width: 26px;
  height: 26px;
  stroke-width: 1.8;
}

.profile-menu button strong {
  font-size: 15px;
}

.profile-menu button small {
  margin-top: 6px;
  color: #7e898e;
  font-size: 11px;
}

.profile-menu button > b {
  color: #8d989d;
  font-size: 25px;
}

/* Storefront catalog controls */
.head-tools > .search-panel-inline {
  height: 64px;
  margin-top: 0;
  padding: 0 20px;
  border-radius: 34px;
  background: rgba(199, 222, 232, .22);
  transition: border-color .2s ease, background .2s ease, box-shadow .2s ease;
}

.head-tools > .search-panel-inline:focus-within {
  border-color: rgba(180, 239, 241, .68);
  background: rgba(0, 42, 69, .66);
  box-shadow: 0 0 0 4px rgba(93, 215, 216, .1);
}

.head-tools.is-search-hidden {
  grid-template-columns: minmax(280px, 420px);
  justify-content: center;
}

.search-panel-inline input {
  height: 100%;
  min-width: 0;
}

.search-panel-inline input::-webkit-search-cancel-button {
  display: none;
}

.search-panel-inline button {
  min-height: 30px;
  padding: 0 0 0 10px;
  border-left: 1px solid rgba(211, 239, 244, .22);
}

.recommend-swiper {
  position: relative;
  z-index: 2;
  margin-top: 26px;
  overflow: hidden;
  border: 1px solid rgba(182, 233, 239, .22);
  border-radius: 28px;
  background: var(--deep-950);
  box-shadow: 0 22px 44px rgba(0, 33, 54, .28);
  isolation: isolate;
}

.recommend-track {
  display: flex;
  width: 100%;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  overscroll-behavior-inline: contain;
  touch-action: pan-x pan-y;
  -webkit-overflow-scrolling: touch;
}

.recommend-track::-webkit-scrollbar {
  display: none;
}

.recommend-swiper .recommend-slide.fresh-hero {
  width: 100%;
  min-width: 100%;
  flex: 0 0 100%;
  min-height: 270px;
  margin: 0;
  border: 0;
  border-radius: 0;
  background:
    linear-gradient(90deg, rgba(0, 38, 65, .9), rgba(0, 52, 76, .34) 66%, rgba(0, 32, 54, .08)),
    var(--recommend-slide-image, none) center 50% / cover no-repeat;
  background-color: #0b4058;
  box-shadow: none;
  scroll-snap-align: start;
  scroll-snap-stop: always;
}

.recommend-slide .fresh-hero-copy {
  padding-right: 76px;
  padding-bottom: 50px;
  padding-left: 76px;
}

.recommend-slide h2 {
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
}

.recommend-nav {
  position: absolute;
  top: 50%;
  z-index: 5;
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  padding: 0 0 3px;
  border: 1px solid rgba(226, 248, 250, .42);
  border-radius: 50%;
  color: #fff;
  background: rgba(0, 38, 62, .5);
  box-shadow: 0 8px 22px rgba(0, 28, 47, .2);
  backdrop-filter: blur(9px);
  font-size: 31px;
  font-weight: 300;
  line-height: 1;
  transform: translateY(-50%);
  transition: background .2s ease, transform .2s ease;
}

.recommend-nav:hover {
  background: rgba(0, 50, 76, .82);
  transform: translateY(-50%) scale(1.04);
}

.recommend-prev {
  left: 15px;
}

.recommend-next {
  right: 15px;
}

.recommend-dots {
  position: absolute;
  right: 0;
  bottom: 17px;
  left: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  pointer-events: none;
}

.recommend-dots button {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(255, 255, 255, .48);
  box-shadow: 0 1px 4px rgba(0, 30, 48, .22);
  pointer-events: auto;
  transition: width .2s ease, background .2s ease;
}

.recommend-dots button.is-active {
  width: 24px;
  background: #fff;
}

.sort-bar button {
  position: relative;
}

.sort-bar.is-price-hidden {
  grid-template-columns: repeat(3, 1fr);
}

.sort-bar button.is-active,
.sort-bar #filterToggle.is-active,
.sort-bar #filterToggle[aria-expanded="true"] {
  color: var(--cyan-600);
}

.sort-bar button.is-active::after {
  content: "";
  position: absolute;
  right: 28%;
  bottom: -1px;
  left: 28%;
  height: 2px;
  border-radius: 2px 2px 0 0;
  background: var(--cyan-500);
}

.sort-bar button [data-sort-arrow] {
  color: inherit;
  font-size: 12px;
  font-weight: 800;
}

#filterCount {
  display: inline-grid;
  place-items: center;
  min-width: 19px;
  height: 19px;
  padding: 0 5px;
  border-radius: 10px;
  color: #fff;
  background: var(--cyan-600);
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  line-height: 1;
}

.empty-state button {
  min-height: 36px;
  margin-top: 16px;
  padding: 0 18px;
  border: 1px solid #b9d9da;
  border-radius: 18px;
  color: var(--cyan-600);
  background: #fff;
  font-size: 12px;
  font-weight: 800;
}

body.is-filter-open {
  overflow: hidden;
}

.filter-backdrop {
  position: fixed;
  z-index: 78;
  top: 0;
  right: max(0px, calc((100vw - var(--app-width)) / 2));
  bottom: 0;
  left: max(0px, calc((100vw - var(--app-width)) / 2));
  background: rgba(0, 30, 47, .34);
  backdrop-filter: blur(2px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .28s ease;
}

.filter-backdrop.is-open {
  opacity: 1;
  pointer-events: auto;
}

.filter-drawer {
  position: fixed;
  z-index: 79;
  top: 0;
  right: max(0px, calc((100vw - var(--app-width)) / 2));
  width: min(410px, 100vw);
  height: 100vh;
  height: 100dvh;
  overflow: hidden;
  border-left: 1px solid #e1e9eb;
  border-radius: 24px 0 0 24px;
  background: #fff;
  box-shadow: -24px 0 55px rgba(0, 38, 57, .2);
  opacity: .96;
  pointer-events: none;
  transform: translateX(calc(100% + 28px));
  transition: transform .32s cubic-bezier(.22, .8, .24, 1), opacity .22s ease;
}

.filter-drawer.is-open {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(0);
}

.filter-form {
  display: flex;
  height: 100%;
  min-height: 0;
  flex-direction: column;
}

.filter-drawer-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 94px;
  flex: 0 0 auto;
  gap: 20px;
  padding: calc(18px + env(safe-area-inset-top)) 24px 18px;
  border-bottom: 1px solid #e9eef0;
  background: rgba(255, 255, 255, .96);
}

.filter-drawer-head small {
  color: var(--cyan-600);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: .18em;
}

.filter-drawer-head h2 {
  margin: 5px 0 0;
  color: #173a48;
  font-size: 22px;
}

.filter-drawer-head button {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex: 0 0 auto;
  padding: 0 0 3px;
  border: 0;
  border-radius: 50%;
  color: #55707b;
  background: #f0f5f6;
  font-size: 27px;
  font-weight: 300;
  line-height: 1;
}

.filter-drawer-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 2px 24px 26px;
  overflow-y: auto;
  overscroll-behavior: contain;
}

.filter-section {
  padding: 24px 0;
  border-bottom: 1px solid #edf1f2;
}

.filter-section:last-child {
  border-bottom: 0;
}

.filter-section-title {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.filter-section-title h3 {
  margin: 0;
  color: #213b46;
  font-size: 15px;
}

.filter-section-title > span {
  color: #8b989e;
  font-size: 10px;
}

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

.filter-category-option {
  position: relative;
  cursor: pointer;
}

.filter-category-option input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}

.filter-category-option span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 0 10px;
  border: 1px solid #dce5e7;
  border-radius: 12px;
  color: #5d6f78;
  background: #f9fbfb;
  font-size: 12px;
  font-weight: 700;
  transition: border-color .18s ease, color .18s ease, background .18s ease;
}

.filter-category-option input:checked + span {
  border-color: rgba(0, 143, 146, .45);
  color: var(--cyan-600);
  background: #e9f8f7;
  box-shadow: inset 0 0 0 1px rgba(0, 143, 146, .08);
}

.filter-category-option input:focus-visible + span {
  outline: 3px solid rgba(5, 165, 166, .2);
  outline-offset: 2px;
}

.price-range-fields {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
  align-items: end;
  gap: 9px;
}

.price-range-fields label {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.price-range-fields label span {
  color: #74848b;
  font-size: 10px;
  font-weight: 700;
}

.price-range-fields > i {
  padding-bottom: 13px;
  color: #aab4b8;
  font-style: normal;
}

.price-range-fields input {
  width: 100%;
  height: 44px;
  min-width: 0;
  padding: 0 12px;
  border: 1px solid #d9e3e5;
  border-radius: 11px;
  outline: 0;
  color: #263e48;
  background: #fbfcfc;
  font-size: 13px;
  transition: border-color .18s ease, box-shadow .18s ease;
}

.price-range-fields input:focus {
  border-color: rgba(0, 145, 148, .58);
  box-shadow: 0 0 0 3px rgba(0, 145, 148, .09);
}

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

.price-quick-list button {
  min-height: 36px;
  padding: 0 9px;
  border: 1px solid #e0e7e9;
  border-radius: 10px;
  color: #6c7b82;
  background: #fff;
  font-size: 11px;
  font-weight: 700;
}

.price-quick-list button.is-active {
  border-color: #89cccc;
  color: var(--cyan-600);
  background: #eefafa;
}

.filter-switch {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 63px;
  gap: 18px;
  cursor: pointer;
}

.filter-switch + .filter-switch {
  border-top: 1px solid #f0f3f4;
}

.filter-switch > span {
  display: grid;
  gap: 4px;
}

.filter-switch strong {
  color: #304751;
  font-size: 13px;
}

.filter-switch small {
  color: #8a979c;
  font-size: 10px;
}

.filter-switch input {
  position: relative;
  width: 44px;
  height: 25px;
  flex: 0 0 auto;
  margin: 0;
  border: 0;
  border-radius: 14px;
  -webkit-appearance: none;
  appearance: none;
  background: #ccd5d8;
  cursor: pointer;
  transition: background .2s ease;
}

.filter-switch input::after {
  content: "";
  position: absolute;
  top: 3px;
  left: 3px;
  width: 19px;
  height: 19px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 2px 6px rgba(29, 56, 67, .22);
  transition: transform .2s ease;
}

.filter-switch input:checked {
  background: var(--cyan-500);
}

.filter-switch input:checked::after {
  transform: translateX(19px);
}

.filter-drawer-foot {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: center;
  flex: 0 0 auto;
  gap: 9px;
  padding: 14px 18px calc(14px + env(safe-area-inset-bottom));
  border-top: 1px solid #e5ebed;
  background: rgba(255, 255, 255, .98);
  box-shadow: 0 -10px 28px rgba(20, 48, 60, .06);
}

.filter-drawer-foot > div {
  display: grid;
  min-width: 0;
  gap: 3px;
}

.filter-drawer-foot strong {
  overflow: hidden;
  color: #31505c;
  font-size: 11px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.filter-drawer-foot span {
  color: #98a3a8;
  font-size: 9px;
}

.filter-drawer-foot > button {
  min-height: 44px;
  padding: 0 16px;
  border-radius: 12px;
  font-size: 12px;
  font-weight: 800;
}

.filter-reset {
  border: 1px solid #dbe4e6;
  color: #60737c;
  background: #fff;
}

.filter-apply {
  border: 1px solid var(--cyan-600);
  color: #fff;
  background: linear-gradient(135deg, #08a7a8, #00888d);
  box-shadow: 0 8px 18px rgba(0, 139, 143, .18);
}

.desktop-store-header {
  display: none;
}

@media (min-width: 1180px) {
  :root {
    --app-width: 100%;
    --nav-height: 0px;
  }

  body {
    background: #f3f7fa;
  }

  .shop-app {
    width: 100%;
    overflow: visible;
    background: #f3f7fa;
    box-shadow: none;
  }

  .desktop-store-header {
    position: sticky;
    top: 0;
    z-index: 60;
    display: grid;
    grid-template-columns: minmax(190px, auto) minmax(160px, 220px) minmax(280px, 1fr) auto;
    align-items: center;
    min-height: 78px;
    gap: 18px;
    padding: 0 36px;
    color: #fff;
    background: linear-gradient(110deg, #002b4c, #003e67 64%, #002d50);
    box-shadow: 0 7px 26px rgba(0, 36, 65, .16);
  }

  .desktop-brand,
  .desktop-location,
  .desktop-primary-nav button {
    border: 0;
    color: inherit;
    background: transparent;
  }

  .desktop-brand {
    display: flex;
    align-items: center;
    min-width: 0;
    gap: 11px;
    padding: 0;
    text-align: left;
  }

  .desktop-brand-mark {
    display: grid;
    place-items: center;
    width: 45px;
    height: 45px;
    flex: 0 0 auto;
    border-radius: 16px;
    color: #eaffff;
    background: linear-gradient(145deg, #12bfca, #007894);
    box-shadow: inset 0 1px rgba(255,255,255,.24), 0 7px 16px rgba(0, 19, 39, .24);
  }

  .desktop-brand-mark svg {
    width: 34px;
    height: 34px;
    fill: currentColor;
  }

  .desktop-brand > span:last-child {
    display: grid;
    min-width: 0;
  }

  .desktop-brand strong {
    overflow: hidden;
    font-size: 19px;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-brand small {
    margin-top: 2px;
    color: rgba(213, 241, 247, .58);
    font-size: 8px;
    letter-spacing: .13em;
  }

  .desktop-location {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr) auto;
    align-items: center;
    min-width: 0;
    height: 42px;
    gap: 8px;
    padding: 0 13px;
    border: 1px solid rgba(187, 227, 238, .16);
    border-radius: 22px;
    background: rgba(255,255,255,.1);
  }

  .desktop-location svg {
    width: 19px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
  }

  .desktop-location span {
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .desktop-location i {
    width: 7px;
    height: 7px;
    border-right: 1.5px solid currentColor;
    border-bottom: 1.5px solid currentColor;
    transform: translateY(-2px) rotate(45deg);
  }

  .desktop-search {
    display: grid;
    grid-template-columns: auto minmax(0, 1fr);
    align-items: center;
    min-width: 0;
    height: 43px;
    gap: 10px;
    padding: 0 17px;
    border: 1px solid rgba(255,255,255,.28);
    border-radius: 23px;
    color: #57717d;
    background: rgba(255,255,255,.98);
    box-shadow: inset 0 1px 2px rgba(0, 45, 65, .05);
  }

  .desktop-search:focus-within {
    border-color: #34c0c2;
    box-shadow: 0 0 0 4px rgba(52, 192, 194, .13);
  }

  .desktop-search svg {
    width: 21px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-width: 1.8;
  }

  .desktop-search input {
    width: 100%;
    height: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    color: #243b47;
    background: transparent;
    font-size: 13px;
  }

  .desktop-primary-nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    height: 100%;
    gap: 3px;
  }

  .desktop-primary-nav button {
    position: relative;
    min-height: 43px;
    padding: 0 14px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    white-space: nowrap;
  }

  .desktop-primary-nav button:not(.desktop-cart-button):hover,
  .desktop-primary-nav button:not(.desktop-cart-button).is-active {
    color: #65e6e3;
    background: rgba(255,255,255,.055);
  }

  .desktop-primary-nav button.is-active::after {
    content: "";
    position: absolute;
    right: 14px;
    bottom: 1px;
    left: 14px;
    height: 3px;
    border-radius: 3px;
    background: #22c7ca;
  }

  .desktop-primary-nav .desktop-cart-button {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-left: 4px;
    padding: 0 13px;
    border: 1px solid rgba(29, 207, 206, .38);
    color: #eaffff;
    background: rgba(0, 149, 158, .25);
  }

  .desktop-cart-button svg {
    width: 22px;
    fill: none;
    stroke: currentColor;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 1.7;
  }

  .desktop-cart-button strong {
    display: grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 5px;
    border-radius: 10px;
    color: #fff;
    background: var(--orange-500);
    font-size: 9px;
  }

  #menuPage {
    padding-bottom: 72px;
  }

  .ocean-head {
    padding: 24px 36px 18px;
    overflow: visible;
    color: #fff;
    background: #f3f7fa;
  }

  .ocean-head::before,
  .ocean-head > .app-header,
  .head-tools > .search-panel-inline,
  .service-facts {
    display: none;
  }

  .head-tools {
    position: absolute;
    z-index: 8;
    top: 42px;
    right: 68px;
    display: block;
    margin: 0;
  }

  .mode-tabs {
    grid-template-columns: 1fr 1fr;
    width: 196px;
    height: 43px;
    padding: 3px;
    border: 1px solid rgba(199, 236, 241, .24);
    border-radius: 23px;
    background: rgba(0, 43, 66, .58);
    backdrop-filter: blur(10px);
  }

  .mode-tabs button {
    gap: 5px;
    border-radius: 20px;
    font-size: 12px;
  }

  .mode-tabs button svg {
    width: 18px;
  }

  .recommend-swiper {
    width: 100%;
    margin-top: 0;
    border-radius: 20px;
    box-shadow: 0 14px 34px rgba(0, 44, 68, .18);
  }

  .recommend-swiper .recommend-slide.fresh-hero {
    min-height: clamp(350px, 28vw, 430px);
    aspect-ratio: auto;
  }

  .recommend-slide .fresh-hero-copy {
    width: 48%;
    padding: 54px 52px;
  }

  .recommend-slide h2 {
    font-size: clamp(44px, 4.1vw, 62px);
  }

  .recommend-slide p {
    font-size: 20px;
  }

  .recommend-slide .fresh-hero button {
    min-height: 44px;
    padding: 0 22px;
    border: 0;
    color: #fff;
    background: linear-gradient(135deg, #08a6ab, #007f92);
    font-size: 14px;
    font-weight: 800;
  }

  .catalog-shell {
    min-height: 720px;
    margin: 0 36px;
    padding: 0 0 60px;
    background: transparent;
  }

  .category-rail {
    justify-content: space-around;
    gap: 12px;
    margin: 0;
    padding: 15px 22px 12px;
    overflow: visible;
    border: 1px solid #e5ecef;
    border-radius: 17px;
    background: rgba(255,255,255,.98);
    box-shadow: 0 8px 26px rgba(22, 58, 78, .07);
  }

  .category-button {
    flex: 0 1 132px;
    min-width: 98px;
    font-size: 12px;
  }

  .category-button img {
    width: 64px;
    height: 64px;
    margin-bottom: 8px;
    box-shadow: 0 5px 15px rgba(0, 57, 77, .08);
  }

  .catalog-discovery {
    display: grid;
    grid-template-columns: 190px minmax(0, 1fr);
    align-items: center;
    gap: 18px;
    margin-top: 14px;
    padding: 14px 18px;
  }

  .catalog-discovery-head {
    display: grid;
    gap: 3px;
    margin: 0;
  }

  .catalog-discovery-head > span {
    white-space: normal;
  }

  .subcategory-rail {
    padding-bottom: 1px;
  }

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

  .catalog-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 26px;
  }

  .catalog-title {
    display: flex;
    margin: 0;
  }

  .catalog-title h2 {
    font-size: 23px;
  }

  .catalog-title p {
    font-size: 12px;
  }

  .catalog-title > span {
    display: none;
  }

  .sort-bar {
    display: flex;
    justify-content: flex-end;
    min-height: 46px;
    border: 0;
  }

  .sort-bar button {
    min-width: 88px;
    padding: 0 15px;
    border-radius: 10px;
    font-size: 12px;
  }

  .sort-bar button.is-active {
    border: 1px solid rgba(0, 144, 150, .55);
    color: var(--cyan-600);
    background: #fff;
  }

  .sort-bar #filterToggle {
    margin-left: 8px;
    border: 1px solid #e1e8eb;
    background: #fff;
  }

  .notice-panel {
    margin: 0 0 14px;
  }

  .product-section {
    margin-top: 0;
  }

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

  .product-card {
    min-height: 405px;
    padding: 15px;
    border-radius: 16px;
  }

  .product-image-wrap {
    width: min(100%, 220px);
  }

  .product-name {
    min-height: 26px;
    font-size: 15px;
    -webkit-line-clamp: 1;
  }

  .product-subline {
    font-size: 11px;
  }

  .product-action {
    min-height: 36px;
    border-radius: 8px;
    box-shadow: none;
  }

  .bottom-tabbar {
    display: none;
  }

  .cart-backdrop {
    z-index: 61;
    background: transparent;
    backdrop-filter: none;
  }

  .cart-dock {
    top: 75px;
    right: 24px;
    bottom: auto;
    left: auto;
    z-index: 62;
    display: none;
    width: 410px;
    margin: 0;
  }

  .cart-dock.is-open {
    display: flex;
  }

  .cart-drawer {
    width: 100%;
    margin: 0 0 -13px;
    border-radius: 15px 15px 0 0;
  }

  .cart-dock.is-open .cart-drawer {
    max-height: min(560px, calc(100vh - 190px));
    padding: 0 18px 26px;
    border-color: #e0e7ea;
    box-shadow: 0 16px 45px rgba(19, 46, 60, .2);
  }

  .cart-drawer-items {
    max-height: min(410px, calc(100vh - 320px));
  }

  .cart-drawer-item {
    grid-template-columns: 64px minmax(0, 1fr) auto;
    min-height: 90px;
  }

  .cart-drawer-item img {
    width: 58px;
    height: 58px;
    border-radius: 50%;
  }

  .cart-panel {
    min-height: 82px;
    border-radius: 0 0 15px 15px;
    box-shadow: 0 18px 45px rgba(19, 46, 60, .2);
  }

  .cart-icon {
    width: 52px;
    height: 52px;
  }

  #checkoutBtn {
    min-width: 128px;
    border-radius: 9px;
  }

  .filter-drawer {
    width: 430px;
  }

  .subpage {
    min-height: calc(100vh - 78px);
    padding-bottom: 50px;
  }

  .subpage-body {
    width: min(1180px, calc(100% - 72px));
    padding: 28px 0 58px;
  }

  .orders-header {
    min-height: 118px;
    padding: 0 40px;
  }

  .orders-header h1 {
    font-size: 28px;
  }

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

  .profile-header {
    min-height: 240px;
  }

  .profile-body {
    width: min(980px, calc(100% - 72px));
    margin: 0 auto;
    padding: 30px 0 60px;
  }
}

@media (max-width: 680px) {
  .subpage-body {
    margin: 0 auto;
    padding: 14px 12px 26px;
  }

  .orders-search label {
    grid-template-columns: 108px minmax(0, 1fr);
    margin: 0 12px;
  }

  .orders-search label > span {
    font-size: 12px;
  }

  .order-section-head {
    margin: 14px 2px 9px;
  }

  .order-section-head h2 {
    font-size: 14px;
  }

  .order-card-top {
    gap: 8px;
  }

  .order-number {
    gap: 5px;
  }

  .order-number strong {
    font-size: 11px;
  }

  .order-card-top time {
    font-size: 9px;
  }

  .order-card-body {
    grid-template-columns: 48px minmax(0, 1fr) auto;
    gap: 10px;
  }

  .order-bag-icon {
    width: 48px;
    height: 48px;
  }

  .profile-header {
    min-height: calc(202px + env(safe-area-inset-top));
    padding: calc(38px + env(safe-area-inset-top)) 28px 30px;
  }

  .profile-card {
    grid-template-columns: 72px minmax(0, 1fr);
    gap: 17px;
  }

  .profile-avatar {
    width: 72px;
    height: 72px;
    font-size: 24px;
  }

  .profile-copy h2 {
    font-size: 20px;
  }

  .profile-copy p {
    max-width: 270px;
  }

  .profile-body {
    padding: 0 18px 28px;
  }

  .profile-menu > button {
    min-height: 82px;
  }

  .profile-menu button strong {
    font-size: 14px;
  }

  .ocean-head {
    padding: calc(15px + env(safe-area-inset-top)) 16px 20px;
  }

  .app-header {
    grid-template-columns: minmax(0, 1fr) auto 42px;
    gap: 8px;
    min-height: 54px;
  }

  .app-header h1 {
    font-size: 22px;
  }

  .location-button {
    max-width: 152px;
    height: 40px;
    padding: 0 12px;
  }

  .location-button span {
    font-size: 12px;
  }

  .chat-button {
    width: 40px;
    height: 40px;
  }

  .chat-button svg {
    width: 28px;
  }

  .head-tools {
    gap: 12px;
    margin-top: 13px;
  }

  .mode-tabs,
  .search-trigger,
  .head-tools > .search-panel-inline {
    height: 52px;
  }

  .mode-tabs button,
  .search-trigger {
    font-size: 12px;
  }

  .mode-tabs button {
    gap: 5px;
  }

  .mode-tabs button svg {
    width: 18px;
  }

  .search-trigger {
    gap: 8px;
    padding: 0 15px;
  }

  .search-trigger svg {
    width: 21px;
  }

  .head-tools > .search-panel-inline {
    gap: 7px;
    padding: 0 13px;
    border-radius: 27px;
  }

  .search-panel-inline svg {
    width: 19px;
  }

  .search-panel-inline input {
    font-size: 12px;
  }

  .search-panel-inline button {
    padding-left: 7px;
    font-size: 10px;
  }

  .fresh-hero {
    min-height: 0;
    aspect-ratio: 2.45 / 1;
    margin-top: 19px;
    border-radius: 22px;
  }

  .fresh-hero-copy {
    width: 72%;
    height: 100%;
    min-height: 0;
    padding: 25px 22px;
  }

  .fresh-hero h2 {
    font-size: 32px;
  }

  .fresh-hero p {
    margin-top: 9px;
    font-size: 14px;
  }

  .fresh-hero button {
    min-height: 37px;
    margin-top: 18px;
    padding: 0 15px;
    font-size: 11px;
  }

  .recommend-swiper {
    margin-top: 19px;
    border-radius: 22px;
  }

  .recommend-swiper .recommend-slide.fresh-hero {
    min-height: clamp(220px, 60vw, 250px);
    aspect-ratio: auto;
  }

  .recommend-slide .fresh-hero-copy {
    width: 78%;
    padding: 20px 22px 34px;
  }

  .recommend-slide h2 {
    overflow: visible;
    font-size: clamp(27px, 8vw, 32px);
    text-overflow: clip;
    white-space: normal;
  }

  .recommend-slide p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
  }

  .recommend-nav {
    display: none;
  }

  .recommend-dots {
    bottom: 13px;
  }

  .service-facts {
    min-height: 28px;
    gap: 8px;
    margin-top: 8px;
    font-size: 8px;
  }

  .service-facts span + span::before {
    margin-right: 3px;
  }

  .catalog-shell {
    padding: 20px 12px 42px;
  }

  .category-rail {
    gap: 8px;
    margin-inline: -4px;
    padding: 4px 4px 10px;
  }

  .category-button {
    flex-basis: 68px;
    min-width: 68px;
    font-size: 10px;
  }

  .category-button img {
    width: 54px;
    height: 54px;
    margin-bottom: 7px;
  }

  .category-button::after {
    right: 8px;
    left: 8px;
  }

  .sort-bar {
    min-height: 51px;
  }

  .sort-bar button {
    font-size: 11px;
  }

  .sort-bar svg {
    width: 17px;
  }

  .sort-bar button.is-active::after {
    right: 21%;
    left: 21%;
  }

  #filterCount {
    position: absolute;
    top: 6px;
    right: 7px;
    min-width: 16px;
    height: 16px;
    padding-inline: 4px;
    font-size: 8px;
  }

  .filter-backdrop {
    right: 0;
    left: 0;
  }

  .filter-drawer {
    right: 0;
    width: min(400px, calc(100vw - 10px));
    border-radius: 20px 0 0 20px;
  }

  .filter-drawer-head {
    min-height: 82px;
    padding: calc(14px + env(safe-area-inset-top)) 18px 14px;
  }

  .filter-drawer-head h2 {
    font-size: 19px;
  }

  .filter-drawer-head button {
    width: 38px;
    height: 38px;
  }

  .filter-drawer-body {
    padding: 0 18px 22px;
  }

  .filter-section {
    padding: 20px 0;
  }

  .filter-drawer-foot {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    padding: 11px 14px calc(11px + env(safe-area-inset-bottom));
  }

  .filter-drawer-foot > div {
    grid-column: 1 / -1;
  }

  .filter-drawer-foot > button {
    width: 100%;
  }

  .catalog-title {
    margin-bottom: 11px;
  }

  .product-section {
    margin-top: 10px;
  }

  .catalog-title h2 {
    font-size: 17px;
  }

  .catalog-title p {
    display: none;
  }

  .product-grid {
    gap: 8px;
  }

  .product-card {
    min-height: 258px;
    padding: 7px;
    border-radius: 13px;
    box-shadow: 0 6px 16px rgba(25, 58, 73, .08);
  }

  .fresh-badge {
    top: 6px;
    left: 4px;
    padding: 3px 5px;
    font-size: 6px;
  }

  .product-image-wrap {
    width: min(100%, 108px);
  }

  .product-body {
    padding-top: 8px;
  }

  .product-name {
    min-height: 34px;
    font-size: 11px;
    line-height: 1.45;
  }

  .product-subline {
    margin-top: 3px;
    font-size: 8px;
  }

  .product-price-line {
    margin-top: 8px;
  }

  .product-price-line small {
    font-size: 9px;
  }

  .product-price-line strong {
    font-size: 17px;
  }

  .product-price-line em {
    font-size: 7px;
  }

  .product-action {
    min-height: 34px;
    font-size: 10px;
  }

  .card-stepper {
    grid-template-columns: 29px 1fr 29px;
    min-height: 34px;
  }

  .card-stepper button {
    width: 27px;
    height: 27px;
    font-size: 17px;
  }

  .card-stepper strong {
    font-size: 12px;
  }

  .cart-dock {
    width: calc(100vw - 20px);
  }

  .cart-panel {
    width: 100%;
    min-height: 68px;
    padding: 7px 8px;
  }

  .cart-icon {
    width: 52px;
    height: 52px;
  }

  .cart-copy {
    padding: 0 9px;
  }

  .cart-copy span {
    font-size: 9px;
  }

  .cart-copy strong {
    font-size: 10px;
  }

  .cart-copy b {
    font-size: 16px;
  }

  #checkoutBtn {
    min-width: 106px;
    font-size: 14px;
  }

  .cart-drawer-item {
    grid-template-columns: 45px minmax(0, 1fr) auto;
    min-height: 69px;
    gap: 8px;
  }

  .cart-drawer-item img {
    width: 41px;
    height: 41px;
  }

  .drawer-stepper {
    grid-template-columns: 27px 28px 27px;
    min-height: 37px;
  }

  .drawer-stepper button {
    width: 27px;
    height: 27px;
  }

  .bottom-tabbar strong {
    font-size: 10px;
  }

  .bottom-tabbar svg {
    width: 23px;
    height: 23px;
  }

  .detail-content {
    padding: 24px 18px;
  }

  .detail-content h1 {
    font-size: 25px;
  }

  .detail-bar button {
    min-width: 170px;
  }
}

@media (max-width: 380px) {
  .ocean-head {
    padding-inline: 12px;
  }

  .location-button {
    max-width: 126px;
  }

  .mode-tabs button svg {
    display: none;
  }

  .search-trigger {
    padding-inline: 11px;
  }

  .fresh-hero-copy {
    width: 76%;
    padding-inline: 18px;
  }

  .fresh-hero h2 {
    font-size: 30px;
  }

  .catalog-shell {
    padding-inline: 8px;
  }

  .product-grid {
    gap: 6px;
  }

  .product-card {
    min-height: 264px;
    padding: 6px;
  }

  .product-action {
    font-size: 9px;
  }
}

/* V2 customer account, cloud cart and address book */
.cart-sync-status {
  display: inline-flex;
  align-items: center;
  min-height: 22px;
  padding: 0 8px;
  border-radius: 999px;
  color: #557177;
  background: #eef4f3;
  font-size: 10px;
  font-style: normal;
  font-weight: 800;
  white-space: nowrap;
}

.cart-sync-status.is-cloud { color: #087b68; background: #e4f6f1; }
.cart-sync-status.is-busy { color: #9a6b18; background: #fff4d9; }
.cart-sync-status.is-error { color: #b34848; background: #fdeaea; }

.account-gate {
  display: grid;
  justify-items: center;
  gap: 10px;
  margin: 10px 0 24px;
  padding: 34px 22px;
  border: 1px solid #e3eceb;
  border-radius: 20px;
  background: #fff;
  text-align: center;
  box-shadow: 0 12px 30px rgba(26, 67, 72, .06);
}

.account-gate[hidden],
.profile-account-panel[hidden],
#ordersAccountContent[hidden] { display: none; }

.account-gate-icon {
  display: grid;
  place-items: center;
  width: 62px;
  height: 62px;
  border-radius: 22px;
  color: #fff;
  background: linear-gradient(135deg, #00a27f, #087d75);
  font-size: 25px;
  font-weight: 900;
  box-shadow: 0 12px 24px rgba(0, 145, 119, .2);
}

.account-gate h2, .account-gate p { margin: 0; }
.account-gate h2 { color: #263d43; font-size: 20px; }
.account-gate p {
  max-width: 430px;
  color: #77898d;
  font-size: 13px;
  line-height: 1.7;
}
.account-gate .primary-submit { width: min(280px, 100%); margin-top: 8px; }

.account-section-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 14px;
}
.account-section-toolbar > div { display: grid; gap: 3px; }
.account-section-toolbar strong { color: #294149; font-size: 16px; }
.account-section-toolbar span { color: #87969a; font-size: 11px; }
.account-section-toolbar > button,
.load-more-button,
.checkout-addresses > button {
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid #cfe3df;
  border-radius: 999px;
  color: #087d6b;
  background: #eff9f6;
  font-weight: 800;
}

.account-card {
  padding: 18px;
  border: 1px solid #e1eae9;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(23, 64, 70, .05);
}
.profile-account-panel { display: grid; gap: 16px; margin-bottom: 18px; }
.compact-form { display: grid; gap: 12px; }
.compact-form label,
.account-dialog-card label {
  display: grid;
  gap: 7px;
  color: #40565c;
  font-size: 12px;
  font-weight: 800;
}
.compact-form input,
.account-dialog-card input,
.account-dialog-card textarea {
  width: 100%;
  min-height: 46px;
  padding: 10px 12px;
  border: 1px solid #d8e3e2;
  border-radius: 12px;
  color: #243b40;
  background: #fbfdfd;
  outline: none;
  box-sizing: border-box;
}
.account-dialog-card textarea { min-height: 88px; resize: vertical; }
.compact-form input:focus,
.account-dialog-card input:focus,
.account-dialog-card textarea:focus {
  border-color: #19a68a;
  box-shadow: 0 0 0 3px rgba(25, 166, 138, .11);
}

.address-list, .checkout-address-list { display: grid; gap: 10px; }
.address-empty {
  padding: 24px 12px;
  border: 1px dashed #cadbd8;
  border-radius: 14px;
  color: #7a8c90;
  background: #f8fbfa;
  text-align: center;
  font-size: 12px;
}
.address-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  padding: 14px;
  border: 1px solid #dfe9e7;
  border-radius: 14px;
  background: #fbfdfd;
}
.address-card.is-default,
.checkout-address-option:has(input:checked) {
  border-color: rgba(0, 155, 125, .42);
  background: #f0faf7;
}
.address-card-copy { display: grid; gap: 5px; min-width: 0; }
.address-card-copy > div {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}
.address-card-copy strong { color: #2d454b; font-size: 14px; }
.address-card-copy span, .address-card-copy p {
  margin: 0;
  color: #718388;
  font-size: 12px;
  line-height: 1.55;
  overflow-wrap: anywhere;
}
.address-label, .address-default-badge {
  display: inline-flex;
  padding: 2px 7px;
  border-radius: 999px;
  color: #087c6b;
  background: #e5f5f1;
  font-size: 9px;
  font-style: normal;
  font-weight: 900;
}
.address-card-actions {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px;
  max-width: 145px;
}
.address-card-actions button {
  min-height: 30px;
  padding: 0 9px;
  border: 1px solid #dbe6e4;
  border-radius: 9px;
  color: #5f767b;
  background: #fff;
  font-size: 10px;
  font-weight: 800;
}
.address-card-actions button[data-address-action="delete"] { color: #b44e4e; }
.logout-button {
  min-height: 46px;
  border: 1px solid #f0cccc;
  border-radius: 14px;
  color: #b14949;
  background: #fff7f7;
  font-weight: 800;
}

.account-dialog { width: min(520px, calc(100vw - 24px)); }
.account-dialog-card { display: grid; gap: 13px; }
.auth-tabs {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 4px;
  padding: 4px;
  border-radius: 13px;
  background: #edf4f3;
}
.auth-tabs button {
  min-height: 40px;
  border: 0;
  border-radius: 10px;
  color: #6a7d81;
  background: transparent;
  font-weight: 800;
}
.auth-tabs button.is-active {
  color: #087e6b;
  background: #fff;
  box-shadow: 0 4px 12px rgba(29, 71, 76, .08);
}
.form-hint, .form-error {
  margin: 0;
  padding: 10px 12px;
  border-radius: 10px;
  font-size: 11px;
  line-height: 1.55;
}
.form-hint { color: #647a7f; background: #f2f7f6; }
.form-error { color: #a83e3e; background: #fff0f0; }
.inline-check {
  display: flex !important;
  align-items: center;
  grid-template-columns: none !important;
}
.inline-check input { width: 18px; min-height: 18px; margin: 0; }

.checkout-account {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 11px 13px;
  border-radius: 12px;
  color: #496269;
  background: #eef7f5;
  font-size: 11px;
}
.checkout-account strong { color: #087e6b; }
.checkout-addresses {
  display: grid;
  gap: 10px;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
}
.checkout-addresses legend {
  margin-bottom: 8px;
  color: #40565c;
  font-size: 12px;
  font-weight: 800;
}
.checkout-address-option {
  display: grid !important;
  grid-template-columns: 20px minmax(0, 1fr) !important;
  align-items: start;
  gap: 10px !important;
  padding: 12px;
  border: 1px solid #dfe9e7;
  border-radius: 12px;
  background: #fbfdfd;
  cursor: pointer;
}
.checkout-address-option input { width: 17px; min-height: 17px; margin: 3px 0 0; }
.checkout-address-option .address-card-copy { gap: 3px; }
.cart-drawer-item.is-unavailable,
.checkout-item.is-unavailable { border-color: #efcaca; background: #fff7f7; }
.unavailable-badge { color: #b34242; font-size: 10px; font-weight: 900; }
.load-more-button { display: block; min-width: 180px; margin: 16px auto 0; }
.load-more-button[hidden] { display: none; }
.order-page-card[data-order-no] { cursor: pointer; }
.order-detail-dialog { width: min(620px, calc(100vw - 24px)); }
.order-detail-content {
  display: grid;
  gap: 14px;
  max-height: min(70vh, 720px);
  overflow: auto;
}
.order-detail-summary, .order-detail-items, .order-detail-address {
  padding: 14px;
  border: 1px solid #e0e9e8;
  border-radius: 14px;
  background: #fafcfc;
}
.order-detail-summary, .order-detail-address { display: grid; gap: 6px; }
.order-detail-summary div, .order-detail-item {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}
.order-detail-items { display: grid; gap: 10px; }
.order-detail-item + .order-detail-item {
  padding-top: 10px;
  border-top: 1px solid #e7eeee;
}

@media (max-width: 560px) {
  .address-card { grid-template-columns: 1fr; }
  .address-card-actions { justify-content: flex-start; max-width: none; }
  .account-section-toolbar { align-items: flex-start; }
  .cart-drawer header > div:first-child { flex-wrap: wrap; }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}
