:root {
  --brand: #54c4cf;
  --brand-dark: #16324a;
  --brand-strong: #1f9daa;
  --pink: #dd5f93;
  --yellow: #fff3ad;
  --mint: #e6f7ef;
  --bg: #fbfdfc;
  --card: #ffffff;
  --text: #102a43;
  --muted: #6d7f8c;
  --line: #e8eff0;
  --shadow: 0 18px 42px rgba(25, 68, 83, 0.09);
}

* {
  box-sizing: border-box;
}

html {
  background: var(--bg);
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 12% 6%, rgba(84, 196, 207, 0.14), transparent 28%),
    radial-gradient(circle at 90% 16%, rgba(255, 243, 173, 0.22), transparent 26%),
    var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

button,
input {
  font: inherit;
}

button {
  border: 0;
  cursor: pointer;
}

.shell {
  width: min(100%, 1040px);
  min-height: 100vh;
  margin: 0 auto;
  padding: 26px 20px 96px;
}

.top {
  position: sticky;
  top: 0;
  z-index: 10;
  display: grid;
  grid-template-columns: minmax(270px, 1fr) minmax(260px, 360px);
  gap: 22px;
  align-items: center;
  margin: -26px -20px 24px;
  padding: calc(18px + env(safe-area-inset-top)) 20px 18px;
  background: rgba(251, 253, 252, 0.92);
  backdrop-filter: blur(18px);
}

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

.logo {
  width: 68px;
  height: 68px;
  flex: 0 0 auto;
  border: 4px solid #fff;
  border-radius: 999px;
  background: #fff;
  object-fit: cover;
  box-shadow: 0 10px 24px rgba(22, 50, 74, 0.12);
}

.store {
  flex: 1;
  min-width: 0;
}

.store h1 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 3.8vw, 34px);
  line-height: 1.05;
  font-weight: 950;
}

.store p {
  margin: 7px 0 0;
  color: var(--brand-dark);
  font-size: 15px;
  line-height: 1.35;
}

.au-badge {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 13px;
  font-weight: 900;
  box-shadow: 0 10px 26px rgba(25, 68, 83, 0.08);
  white-space: nowrap;
}

.search {
  display: flex;
  align-items: center;
  gap: 12px;
  height: 52px;
  padding: 0 18px;
  border: 1px solid #dfe9ec;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 10px 28px rgba(25, 68, 83, 0.06);
}

.search-icon {
  position: relative;
  width: 19px;
  height: 19px;
  border: 2px solid var(--brand-dark);
  border-radius: 999px;
  opacity: 0.8;
}

.search-icon::after {
  content: "";
  position: absolute;
  right: -7px;
  bottom: -5px;
  width: 8px;
  height: 2px;
  border-radius: 999px;
  background: var(--brand-dark);
  transform: rotate(45deg);
}

.search input {
  flex: 1;
  min-width: 0;
  border: 0;
  outline: none;
  background: transparent;
  color: var(--text);
  font-size: 16px;
}

.search input::placeholder {
  color: #8c9aa5;
}

.hero {
  position: relative;
  min-height: clamp(260px, 48vw, 490px);
  overflow: hidden;
  border-radius: 22px;
  background: linear-gradient(135deg, #e8f8fb, #fff 58%, #fff6ba);
  box-shadow: 0 28px 58px rgba(27, 92, 111, 0.14);
  isolation: isolate;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.82), rgba(255, 255, 255, 0.38) 48%, rgba(255, 255, 255, 0.04));
  z-index: -1;
}

.hero-exact {
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: none;
  box-shadow: none;
  isolation: auto;
}

.hero-exact::after {
  display: none;
}

.hero-exact-img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.hero-upload {
  min-height: 0;
  overflow: hidden;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(27, 92, 111, 0.08);
  isolation: auto;
}

.hero-upload::after {
  display: none;
}

.banner-upload-media {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 0;
  object-fit: contain;
  object-position: center;
}

.hero-carousel {
  margin: 0 0 20px;
  position: relative;
}

.hero-scroll {
  display: flex;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  border-radius: 22px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(27, 92, 111, 0.08);
  scrollbar-width: none;
}

.hero-scroll::-webkit-scrollbar {
  display: none;
}

.hero-slide {
  display: block;
  flex: 0 0 100%;
  min-width: 100%;
  overflow: hidden;
  border-radius: 22px;
  scroll-snap-align: start;
  background: #fff;
}

.hero-slide .banner-upload-media {
  width: 100%;
  height: auto;
  border-radius: 22px;
  object-fit: contain;
}

.hero-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 10px;
}

.hero-dots button {
  width: 8px;
  height: 8px;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(20, 79, 96, 0.22);
  transition: width 0.2s ease, background 0.2s ease;
}

.hero-dots button.active {
  width: 22px;
  background: #4fc4c9;
}

.life-video-section {
  margin-top: 20px;
}

.life-video-title {
  margin-top: 30px;
  margin-bottom: 14px;
}

.life-video-card {
  position: relative;
  overflow: hidden;
  margin: 0 42px;
  aspect-ratio: 16 / 9;
  border-radius: 22px;
  background: #f7fbfb;
  box-shadow: 0 18px 42px rgba(27, 92, 111, 0.08);
}

.life-video-card video {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #f7fbfb;
}

.life-video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(8, 34, 49, 0.02), rgba(8, 34, 49, 0.18));
  transition: opacity 0.2s ease;
}

.life-video-play span {
  width: 64px;
  height: 64px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 14px 36px rgba(13, 49, 72, 0.18);
  position: relative;
}

.life-video-play span::after {
  content: "";
  position: absolute;
  left: 26px;
  top: 20px;
  width: 0;
  height: 0;
  border-top: 12px solid transparent;
  border-bottom: 12px solid transparent;
  border-left: 18px solid var(--brand-dark);
}

.life-video-play.playing {
  opacity: 0;
  pointer-events: none;
}

.hero-bg,
.banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  z-index: -2;
}

.hero-generated .hero-bg {
  filter: saturate(1.02);
}

.hero-logo-watermark {
  position: absolute;
  right: 8%;
  bottom: 10%;
  width: min(260px, 46vw);
  height: auto;
  border-radius: 999px;
  opacity: 0.18;
  z-index: -1;
}

.banner-copy {
  position: relative;
  max-width: 62%;
  padding: clamp(26px, 6vw, 72px) clamp(22px, 6vw, 66px);
}

.banner-copy span {
  display: inline-block;
  margin-bottom: 10px;
  color: #579ab1;
  font-size: clamp(16px, 2.6vw, 25px);
  font-family: "Segoe Script", "Snell Roundhand", cursive;
}

.banner-copy h2 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(34px, 6.2vw, 64px);
  line-height: 1.08;
  font-weight: 950;
}

.banner-copy p {
  margin: 14px 0 0;
  color: var(--brand-dark);
  font-size: clamp(18px, 3vw, 32px);
  font-weight: 900;
  line-height: 1.2;
}

.hero-pills {
  position: absolute;
  left: clamp(20px, 3.6vw, 42px);
  right: clamp(20px, 3.6vw, 42px);
  bottom: clamp(18px, 3.2vw, 32px);
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.3vw, 14px);
}

.hero-pills b {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(8px, 1.4vw, 16px);
  min-height: clamp(58px, 7vw, 82px);
  padding: 12px clamp(10px, 2vw, 22px);
  border: 1px solid rgba(224, 196, 147, 0.62);
  border-radius: clamp(20px, 3vw, 32px);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 251, 242, 0.88)),
    radial-gradient(circle at 50% 0%, rgba(255, 255, 255, 0.95), transparent 54%);
  color: var(--brand-dark);
  font-size: clamp(14px, 1.8vw, 20px);
  line-height: 1.2;
  text-align: center;
  font-weight: 950;
  box-shadow:
    0 18px 32px rgba(55, 74, 78, 0.13),
    inset 0 1px 0 rgba(255, 255, 255, 0.96),
    inset 0 -1px 0 rgba(224, 196, 147, 0.22);
  backdrop-filter: blur(16px);
  overflow: hidden;
}

.hero-pills b::before {
  content: "□";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(36px, 5vw, 50px);
  height: clamp(36px, 5vw, 50px);
  flex: 0 0 clamp(36px, 5vw, 50px);
  border: 1.8px solid rgba(22, 50, 74, 0.9);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.5);
  color: var(--brand-dark);
  font-size: clamp(18px, 2.8vw, 28px);
  font-weight: 500;
  letter-spacing: 0;
}

.hero-pills b:nth-child(1)::before {
  content: "◇";
}

.hero-pills b:nth-child(2)::before {
  content: "+";
}

.hero-pills b:nth-child(3)::before {
  content: "✓";
}

.hero-pills b::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 7px;
  width: 9px;
  height: 9px;
  border: 1px solid rgba(224, 196, 147, 0.9);
  border-radius: 2px;
  background: rgba(255, 255, 255, 0.82);
  transform: translateX(-50%) rotate(45deg);
  pointer-events: none;
}

.hero-pills b + b {
  border-left: 1px solid rgba(224, 196, 147, 0.62);
}

.section-title {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin: 34px 42px 18px;
}

.section-title h3 {
  margin: 0;
  color: var(--brand-dark);
  font-size: clamp(24px, 4vw, 34px);
  font-weight: 950;
}

.section-title h3::after {
  content: "";
  display: inline-block;
  width: 30px;
  height: 15px;
  margin-left: 8px;
  border: 2px solid rgba(129, 165, 129, 0.45);
  border-left: 0;
  border-radius: 0 999px 999px 0;
  transform: rotate(-20deg);
}

.section-title button {
  padding: 0;
  background: transparent;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 800;
  opacity: 0.78;
}

.quick {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  padding: 0 42px;
}

.quick button {
  min-height: 90px;
  display: grid;
  grid-template-columns: 54px 1fr;
  align-items: center;
  gap: 14px;
  padding: 18px;
  border: 1px solid rgba(232, 239, 240, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.88);
  color: var(--brand-dark);
  font-size: 17px;
  font-weight: 900;
  text-align: left;
  box-shadow: var(--shadow);
}

.quick button i {
  width: 54px;
  height: 54px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: linear-gradient(135deg, #e0f6fb, #fff);
  color: var(--brand-strong);
  font-style: normal;
  font-size: 18px;
  font-weight: 950;
}

.quick button:nth-child(2n) i {
  background: linear-gradient(135deg, #fff0c8, #fff);
  color: #d89b23;
}

.quick button:nth-child(3n) i {
  background: linear-gradient(135deg, #e6f7ef, #fff);
  color: #6aae85;
}

.quick button:nth-child(4n) i {
  background: linear-gradient(135deg, #ffe8f2, #fff);
  color: var(--pink);
}

.quick button.active {
  border-color: rgba(84, 196, 207, 0.44);
  background: #eafafb;
}

.notice {
  margin: 22px 42px 0;
  padding: 14px 18px;
  border: 1px solid rgba(232, 239, 240, 0.8);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.8);
  color: #5f727d;
  font-size: 14px;
  line-height: 1.55;
}

.products-title {
  margin-top: 34px;
  padding-top: 24px;
  border-top: 1px solid rgba(174, 190, 184, 0.42);
}

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

.card {
  overflow: hidden;
  border: 1px solid rgba(232, 239, 240, 0.86);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.product-link,
.product-name-link {
  color: inherit;
  text-decoration: none;
}

.image-wrap {
  display: grid;
  place-items: center;
  padding: 24px 18px 12px;
  background: linear-gradient(180deg, #fff, #fbfdfd);
}

.card img {
  width: 100%;
  max-width: 300px;
  aspect-ratio: 1 / 1;
  display: block;
  object-fit: contain;
}

.body {
  padding: 0 22px 22px;
}

.brand {
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

.name {
  min-height: 48px;
  margin-top: 7px;
  display: -webkit-box;
  overflow: hidden;
  color: var(--brand-dark);
  font-size: clamp(16px, 2.2vw, 22px);
  font-weight: 950;
  line-height: 1.28;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin-top: 14px;
}

.price {
  color: var(--brand-dark);
  font-size: clamp(22px, 3.2vw, 31px);
  font-weight: 950;
}

.stock {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: 0 10px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.stock.good {
  background: #e7f8f1;
  color: #2b8a58;
}

.stock.low {
  background: #fff6d8;
  color: #ad7410;
}

.stock.empty {
  background: #f2f4f6;
  color: #7d8790;
}

.card-foot {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 16px;
}

.tag {
  min-width: 0;
  max-width: 100%;
  padding: 7px 10px;
  overflow: hidden;
  border-radius: 999px;
  background: #edf9fa;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.card button {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
  margin-left: auto;
  border: 1px solid #dfe9ec;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 28px;
  font-weight: 500;
  line-height: 1;
  box-shadow: 0 10px 24px rgba(25, 68, 83, 0.08);
}

.detail-shell {
  padding-bottom: 110px;
}

.detail-top {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.detail-top button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 999px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 14px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.detail-logo {
  width: 42px;
  height: 42px;
  border: 3px solid #fff;
  border-radius: 999px;
  object-fit: cover;
  box-shadow: 0 8px 20px rgba(22, 50, 74, 0.1);
}

.detail-top span {
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
}

.detail-card {
  display: grid;
  grid-template-columns: minmax(240px, 0.86fr) 1fr;
  gap: 30px;
  padding: clamp(18px, 4vw, 38px);
  border: 1px solid rgba(232, 239, 240, 0.86);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(246, 253, 252, 0.9)),
    radial-gradient(circle at 84% 10%, rgba(84, 196, 207, 0.18), transparent 32%);
  box-shadow: var(--shadow);
}

.detail-media {
  display: grid;
  place-items: center;
  min-height: 320px;
  border-radius: 18px;
  background: #fff;
}

.detail-media img {
  width: min(360px, 100%);
  aspect-ratio: 1 / 1;
  object-fit: contain;
}

.detail-info h1 {
  margin: 10px 0 0;
  color: var(--brand-dark);
  font-size: clamp(26px, 5vw, 42px);
  line-height: 1.15;
  font-weight: 950;
}

.detail-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 20px;
}

.detail-meta strong {
  color: var(--pink);
  font-size: clamp(28px, 5vw, 42px);
  line-height: 1;
}

.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.detail-tags span {
  padding: 8px 12px;
  border-radius: 999px;
  background: #edf9fa;
  color: var(--brand-strong);
  font-size: 13px;
  font-weight: 900;
}

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

.detail-actions button {
  min-height: 48px;
  border-radius: 12px;
  background: var(--brand);
  color: #fff;
  font-weight: 950;
}

.detail-actions .ghost {
  background: #fff;
  color: var(--brand-dark);
  box-shadow: inset 0 0 0 1px #dfe9ec;
}

.detail-copy,
.home-return-card {
  margin-top: 18px;
  padding: 22px;
  border: 1px solid rgba(232, 239, 240, 0.86);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.94);
  box-shadow: var(--shadow);
}

.detail-copy h2 {
  margin: 0 0 12px;
  color: var(--brand-dark);
  font-size: 22px;
}

.detail-copy p {
  margin: 8px 0;
  color: #3d5664;
  font-size: 15px;
  line-height: 1.65;
}

.home-return-card {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 16px;
  align-items: center;
  background:
    radial-gradient(circle at 12% 20%, rgba(120, 222, 213, 0.18), transparent 32%),
    linear-gradient(135deg, #f5fcfd, #fffaf0);
}

.home-return-card b {
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
}

.home-return-card p {
  margin: 6px 0 0;
  color: #53666e;
  font-size: 14px;
  line-height: 1.55;
}

.home-return-card button {
  min-height: 48px;
  padding: 0 22px;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--brand), #91dba8);
  color: #fff;
  font-size: 15px;
  font-weight: 950;
  box-shadow: 0 14px 28px rgba(44, 180, 190, 0.22);
}

.more {
  display: block;
  width: min(360px, calc(100% - 76px));
  height: 48px;
  margin: 24px auto 0;
  border-radius: 14px;
  background: #fff;
  color: var(--brand-dark);
  font-size: 15px;
  font-weight: 900;
  box-shadow: var(--shadow);
}

.empty {
  grid-column: 1 / -1;
  padding: 46px 20px;
  border-radius: 16px;
  background: #fff;
  color: var(--muted);
  text-align: center;
}

.bottom {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 12;
  width: min(520px, 100%);
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px calc(10px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(14px);
}

.bottom div {
  flex: 1;
  min-width: 0;
}

.bottom span {
  display: block;
  color: var(--muted);
  font-size: 11px;
}

.bottom strong {
  display: block;
  margin-top: 2px;
  font-size: 16px;
}

.bottom button {
  height: 44px;
  padding: 0 18px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 800;
}

.cart-mask {
  position: fixed;
  inset: 0;
  z-index: 20;
  background: rgba(20, 36, 42, 0.42);
}

.cart-panel {
  position: fixed;
  left: 50%;
  bottom: 0;
  z-index: 21;
  width: min(520px, 100%);
  max-height: 86vh;
  transform: translateX(-50%);
  display: flex;
  flex-direction: column;
  border-radius: 16px 16px 0 0;
  background: #fff;
  box-shadow: 0 -18px 48px rgba(24, 78, 86, 0.24);
}

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

.cart-head h3 {
  margin: 0;
  font-size: 19px;
}

.cart-head p {
  margin: 3px 0 0;
  color: var(--muted);
  font-size: 12px;
}

.cart-head button {
  height: 34px;
  padding: 0 12px;
  border-radius: 8px;
  background: #edf8f9;
  color: var(--brand-strong);
  font-weight: 800;
}

.cart-list {
  overflow: auto;
  padding: 8px 14px;
}

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

.cart-line img {
  width: 62px;
  height: 62px;
  border-radius: 8px;
  object-fit: contain;
  background: #f7fbfb;
}

.cart-info {
  min-width: 0;
}

.cart-info strong {
  display: -webkit-box;
  overflow: hidden;
  font-size: 13px;
  line-height: 1.35;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.cart-info span {
  display: block;
  margin-top: 4px;
  color: var(--pink);
  font-size: 13px;
  font-weight: 900;
}

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

.qty button {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: #eefafb;
  color: var(--brand-strong);
  font-weight: 900;
}

.qty em {
  min-width: 20px;
  font-style: normal;
  text-align: center;
  font-weight: 800;
}

.qty .remove {
  width: auto;
  margin-left: auto;
  padding: 0 8px;
  background: #fff1f6;
  color: var(--pink);
}

.empty-cart {
  padding: 30px 12px;
  color: var(--muted);
  text-align: center;
}

.checkout {
  padding: 12px 14px calc(12px + env(safe-area-inset-bottom));
  border-top: 1px solid var(--line);
}

.total {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 10px;
}

.total span {
  color: var(--muted);
  font-size: 13px;
}

.total strong {
  color: var(--pink);
  font-size: 24px;
}

.pay-box {
  display: grid;
  grid-template-columns: 88px 1fr;
  gap: 12px;
  align-items: center;
  padding: 10px;
  border-radius: 8px;
  background: #f4fbfb;
}

.qr-thumb {
  position: relative;
  width: 88px;
  height: 88px;
  padding: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #fff;
}

.qr-thumb img {
  width: 88px;
  height: 88px;
  object-fit: cover;
}

.qr-thumb span {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 3px 0;
  background: rgba(33, 48, 57, 0.72);
  color: #fff;
  font-size: 10px;
  text-align: center;
}

.pay-box b {
  display: block;
  font-size: 15px;
}

.pay-box p {
  margin: 4px 0 0;
  color: #53666e;
  font-size: 12px;
  line-height: 1.45;
}

.copy-wechat {
  height: 32px;
  margin-top: 8px;
  padding: 0 10px;
  border-radius: 8px;
  background: #e7f8f9;
  color: var(--brand-strong);
  font-size: 12px;
  font-weight: 800;
}

.primary-pay {
  width: 100%;
  height: 46px;
  margin-top: 12px;
  border-radius: 8px;
  background: var(--brand);
  color: #fff;
  font-weight: 900;
}

.primary-pay:disabled {
  opacity: 0.5;
}

.qr-mask {
  position: fixed;
  inset: 0;
  z-index: 30;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(20, 36, 42, 0.72);
}

.qr-preview {
  width: min(360px, 100%);
  padding: 18px;
  border-radius: 14px;
  background: #fff;
  text-align: center;
}

.qr-preview button {
  display: block;
  height: 34px;
  margin-left: auto;
  padding: 0 12px;
  border-radius: 8px;
  background: #edf8f9;
  color: var(--brand-strong);
  font-weight: 800;
}

.qr-preview img {
  width: min(280px, 82vw);
  height: min(280px, 82vw);
  margin-top: 10px;
  object-fit: contain;
  border-radius: 10px;
  background: #f7fbfb;
}

.qr-preview strong {
  display: block;
  margin-top: 14px;
  font-size: 18px;
}

.qr-preview p {
  margin: 8px 0 0;
  color: #53666e;
  font-size: 14px;
  line-height: 1.5;
}

.qr-preview .qr-steps {
  padding: 10px;
  border-radius: 8px;
  background: #f4fbfb;
  color: #213039;
  font-weight: 700;
}

.share-mask {
  position: fixed;
  inset: 0;
  z-index: 45;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(9, 28, 37, 0.58);
}

.share-modal {
  width: min(430px, 94vw);
  max-height: 90vh;
  overflow: auto;
  padding: 18px;
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 28px 70px rgba(13, 44, 58, 0.25);
}

.share-close {
  min-height: 38px;
  margin-left: auto;
  display: block;
  padding: 0 18px;
  border: 0;
  border-radius: 999px;
  background: #eafbfc;
  color: var(--brand-strong);
  font-weight: 900;
}

.share-modal img {
  width: 100%;
  margin-top: 12px;
  display: block;
  border-radius: 18px;
  background: #f7fcfb;
  box-shadow: inset 0 0 0 1px rgba(210, 228, 231, 0.86);
}

.share-modal strong {
  margin-top: 14px;
  display: block;
  color: var(--brand-dark);
  font-size: 18px;
  font-weight: 950;
}

.share-modal p {
  margin-top: 8px;
  color: #5d737f;
  font-size: 14px;
  line-height: 1.55;
}

.share-modal small {
  display: block;
  margin-top: 10px;
  overflow-wrap: anywhere;
  color: var(--brand-strong);
  font-size: 12px;
}

@media (max-width: 720px) {
  .life-video-section {
    margin-top: 14px;
  }

  .life-video-title {
    margin-top: 24px;
  }

  .life-video-card {
    margin: 0;
    border-radius: 18px;
  }

  .shell {
    padding: 12px 14px 88px;
  }

  .top {
    display: block;
    margin: -12px -14px 14px;
    padding: calc(10px + env(safe-area-inset-top)) 14px 12px;
  }

  .logo {
    width: 58px;
    height: 58px;
  }

  .store h1 {
    font-size: 30px;
  }

  .store p {
    font-size: 14px;
  }

  .au-badge {
    display: none;
  }

  .search {
    height: 50px;
    margin-top: 14px;
    border-radius: 14px;
  }

  .hero {
    min-height: 390px;
    border-radius: 18px;
  }

  .hero-exact {
    min-height: 0;
    aspect-ratio: auto;
  }

  .hero::after {
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.78) 0%, rgba(255, 255, 255, 0.34) 46%, rgba(255, 255, 255, 0.18) 100%),
      linear-gradient(90deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.08));
  }

  .hero-bg,
  .banner-media {
    object-position: 58% center;
  }

  .banner-copy {
    max-width: 100%;
    padding: 34px 26px 0;
  }

  .banner-copy h2 {
    font-size: 38px;
  }

  .banner-copy p {
    font-size: 23px;
  }

  .hero-pills {
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    left: 14px;
    right: 14px;
    bottom: 16px;
    width: auto;
  }

  .hero-pills b {
    min-height: 58px;
    padding: 8px 5px 10px;
    border-radius: 18px;
    gap: 4px;
    font-size: 12.5px;
    justify-content: center;
    flex-direction: column;
  }

  .hero-pills b::before {
    width: 28px;
    height: 28px;
    flex-basis: 28px;
    font-size: 16px;
    border-width: 1.4px;
  }

  .hero-pills b::after {
    bottom: 5px;
    width: 6px;
    height: 6px;
  }

  .section-title {
    margin: 28px 4px 14px;
  }

  .section-title h3 {
    font-size: 26px;
  }

  .quick {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    padding: 0;
  }

  .quick button {
    min-height: 76px;
    grid-template-columns: 44px 1fr;
    gap: 10px;
    padding: 14px;
    border-radius: 12px;
    font-size: 15px;
  }

  .quick button i {
    width: 44px;
    height: 44px;
  }

  .notice {
    margin: 16px 0 0;
  }

  .products-title {
    margin-top: 28px;
  }

  .grid {
    gap: 12px;
    padding: 0;
  }

  .card {
    border-radius: 14px;
  }

  .image-wrap {
    padding: 14px 10px 8px;
  }

  .body {
    padding: 0 12px 14px;
  }

  .name {
    min-height: 42px;
    font-size: 15px;
  }

  .price {
    font-size: 22px;
  }

  .stock {
    min-height: 24px;
    padding: 0 8px;
    font-size: 11px;
  }

  .card-foot {
    margin-top: 12px;
  }

  .tag {
    max-width: calc(100% - 50px);
  }

  .card button {
    width: 42px;
    height: 42px;
    font-size: 24px;
  }

  .detail-shell {
    padding: 14px 14px 96px;
  }

  .detail-top {
    margin-bottom: 14px;
  }

  .detail-card {
    grid-template-columns: 1fr;
    gap: 18px;
    padding: 16px;
    border-radius: 18px;
  }

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

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

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

  .detail-copy,
  .home-return-card {
    padding: 16px;
    border-radius: 16px;
  }

  .home-return-card {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .home-return-card button {
    width: 100%;
  }
}
