:root {
  /* Minime MJ palette: coral, CTA coral, chocolate, ivory, blush and soft gold.
     Each can be changed in Shop content & settings → Brand. */
  --accent: #ff6658;
  --cta: #cc4439;
  --accent-strong: var(--cta);
  --blush: #f6afa5;
  --accent-soft: color-mix(in srgb, var(--blush) 38%, #fff);
  --bg: #fff9f6;
  --surface: #fffdfc;
  --text: #44261b;
  --muted: color-mix(in srgb, var(--text) 62%, #fff);
  --line: color-mix(in srgb, var(--blush) 32%, #fff);
  --honey: #f4c86a;
  --radius: 18px;
  --shadow: 0 6px 24px rgba(120, 60, 40, 0.08);
  --display: "Baloo 2", "Nunito", system-ui, sans-serif;
  --body: "Nunito", system-ui, -apple-system, "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--body);
  color: var(--text);
  background: var(--bg);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }
.wrap { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Announcement + header */
.announce {
  background: var(--announce-bg, var(--accent));
  color: var(--announce-text, #fff);
  text-align: center;
  font-size: 13px;
  letter-spacing: 0.04em;
  padding: 9px 16px;
  font-weight: 600;
}
.header {
  position: sticky; top: env(safe-area-inset-top, 0px); z-index: 30;
  background: color-mix(in srgb, var(--bg) 92%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.header-row {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  min-height: 72px;
}
.logo {
  font-family: var(--display);
  font-size: 28px;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: -0.01em;
  display: flex; align-items: center; gap: 8px;
}
.logo img { height: 44px; width: auto; }
/* The logo already carries the shop name. A JPG logo gets its white background removed in app.js. */
.logo.full img { height: 92px; width: auto; object-fit: contain; margin: 8px 0 4px; transition: height .2s; }
.header.scrolled .logo.full img { height: 56px; margin: 4px 0 2px; }
@media (max-width: 700px) { .logo.full img { height: 64px; margin: 2px 0; } }
.icons { display: flex; gap: 6px; justify-content: flex-end; }
.icon-btn {
  background: none; border: 0; padding: 8px; border-radius: 999px;
  color: var(--text); position: relative; display: inline-flex;
}
.icon-btn:hover { background: var(--accent-soft); }
.icon-btn svg { width: 22px; height: 22px; }
.badge {
  position: absolute; top: 2px; right: 0;
  background: var(--accent); color: #fff;
  font-size: 11px; font-weight: 700;
  min-width: 18px; height: 18px; border-radius: 9px;
  display: grid; place-items: center; padding: 0 4px;
}
.badge[hidden] { display: none; }
.menu-toggle { display: none; }
.nav { display: flex; justify-content: center; gap: 28px; padding: 0 0 14px; font-weight: 600; font-size: 15px; }
.nav > a, .nav .dd > button {
  background: none; border: 0; padding: 4px 0; color: var(--text);
  border-bottom: 2px solid transparent;
}
.nav > a:hover, .nav .dd > button:hover, .nav a.active { color: var(--accent); border-color: var(--accent); }
.dd { position: relative; }
.dd-menu {
  position: absolute; top: 100%; left: 50%; transform: translateX(-50%);
  background: var(--surface); border: 1px solid var(--line); border-radius: 14px;
  box-shadow: var(--shadow); padding: 8px; min-width: 220px;
  display: none; flex-direction: column;
}
.dd:hover .dd-menu, .dd:focus-within .dd-menu { display: flex; }
.dd-menu a { padding: 8px 12px; border-radius: 8px; font-weight: 500; }
.dd-menu a:hover { background: var(--accent-soft); color: var(--accent); }

/* Hero */
.hero {
  margin: 28px auto 0;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  min-height: 420px;
  display: grid; align-items: center;
  background:
    radial-gradient(circle at 80% 20%, #fff 0 8%, transparent 9%),
    radial-gradient(circle at 70% 70%, color-mix(in srgb, var(--accent) 20%, #fff) 0 18%, transparent 19%),
    radial-gradient(circle at 92% 55%, color-mix(in srgb, var(--honey) 35%, #fff) 0 11%, transparent 12%),
    linear-gradient(120deg, var(--accent-soft), #fdf1ea);
  background-size: cover; background-position: center;
}
.hero.has-img::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(255,250,247,.92), rgba(255,250,247,.2)); }
.hero-inner { position: relative; padding: 48px; max-width: 560px; }
.hero h1 { font-family: var(--display); font-size: clamp(34px, 5vw, 56px); line-height: 1.05; margin: 0 0 14px; font-weight: 600; letter-spacing: -0.02em; }
.hero p { font-size: 18px; color: var(--muted); margin: 0 0 26px; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--accent-strong); color: #fff; border: 0;
  padding: 13px 26px; border-radius: 999px; font-weight: 700; font-size: 15px;
  transition: transform .15s, box-shadow .15s;
}
.btn:hover { transform: translateY(-1px); box-shadow: 0 6px 18px color-mix(in srgb, var(--accent) 35%, transparent); }
.btn.ghost { background: transparent; color: var(--accent-strong); border: 1.5px solid var(--accent); }
.btn.block { width: 100%; }
.btn[disabled] { opacity: .45; pointer-events: none; }

/* Membership */
.member {
  margin: 36px auto 0;
  background: var(--surface);
  border: 1px dashed color-mix(in srgb, var(--accent) 45%, transparent);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex; gap: 28px; align-items: center; justify-content: space-between; flex-wrap: wrap;
}
.member h2 { font-family: var(--display); margin: 0 0 8px; font-size: 26px; font-weight: 600; }
.member ul { margin: 0; padding: 0; list-style: none; display: flex; flex-wrap: wrap; gap: 6px 22px; color: var(--muted); }
.member li::before { content: "♡ "; color: var(--accent); }
.member small { color: var(--muted); display: block; margin-top: 8px; }

/* Product sections */
.section { margin: 56px auto 0; }
.section-head { display: flex; align-items: end; justify-content: space-between; gap: 16px; margin-bottom: 18px; }
.section-head h2 { font-family: var(--display); font-size: clamp(22px, 3vw, 30px); margin: 0; font-weight: 600; letter-spacing: -0.01em; }
.view-all { font-weight: 700; color: var(--accent); white-space: nowrap; }
.view-all::after { content: " →"; }
.grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.carousel-wrap { position: relative; }
.carousel {
  display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 60px) / 4);
  gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px;
}
.carousel::-webkit-scrollbar { display: none; }
.carousel > * { scroll-snap-align: start; }
.car-nav { display: flex; gap: 8px; align-items: center; }
.car-nav button {
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid var(--line); background: var(--surface);
  display: grid; place-items: center; color: var(--text);
}
.car-nav button:hover { border-color: var(--accent); color: var(--accent); }
.car-count { font-size: 13px; color: var(--muted); min-width: 40px; text-align: center; }

.card { position: relative; display: flex; flex-direction: column; }
.card .thumb {
  aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; position: relative;
  background: var(--accent-soft);
}
.card .thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.card:hover .thumb img, .card:hover .ph { transform: scale(1.04); }
.ph {
  width: 100%; height: 100%; display: grid; place-items: center; font-size: 64px;
  transition: transform .4s;
}
.tag {
  position: absolute; top: 12px; left: 12px; background: var(--surface); color: var(--accent);
  font-size: 12px; font-weight: 800; padding: 4px 10px; border-radius: 999px; letter-spacing: .03em;
}
.tag.sold { background: var(--text); color: #fff; }
.tag.low { background: #fff4e5; color: #9a5b00; }
.pill.out { opacity: .4; text-decoration: line-through; cursor: not-allowed; }
.stock-note { margin: -6px 0 14px; font-size: 14px; font-weight: 700; color: var(--muted); min-height: 1em; }
.stock-note.low { color: #9a5b00; }
.card h3 { font-size: 15px; font-weight: 600; margin: 12px 0 2px; }
.price { font-weight: 800; color: var(--accent); }
.price s { color: var(--muted); font-weight: 500; margin-left: 6px; font-size: 14px; }
.quick-add {
  position: absolute; right: 10px; bottom: 10px; width: 40px; height: 40px; border-radius: 50%;
  border: 0; background: var(--surface); color: var(--accent); box-shadow: var(--shadow);
  display: grid; place-items: center; font-size: 22px; font-weight: 700;
  opacity: 0; transform: translateY(6px); transition: .2s;
}
.card:hover .quick-add, .quick-add:focus { opacity: 1; transform: none; }

/* Info blocks */
.info { margin: 72px auto 0; display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.info-card { background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 24px; }
.info-card h3 { font-family: var(--display); font-weight: 600; margin: 0 0 12px; font-size: 20px; }
.chips { display: flex; flex-wrap: wrap; gap: 8px; }
.chip { border: 1px solid var(--line); border-radius: 999px; padding: 6px 12px; font-size: 13px; font-weight: 600; background: var(--bg); }
a.chip:hover { border-color: var(--accent); color: var(--accent); }
.info-card ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 8px; }
.info-card ul a:hover { color: var(--accent); }

.mission { margin: 56px auto 0; text-align: center; max-width: 760px; }
.mission h2 { font-family: var(--display); font-weight: 600; font-size: 28px; margin: 0 0 12px; }
.mission p { color: var(--muted); font-size: 17px; margin: 6px 0; }

.footer { margin-top: 72px; border-top: 1px solid var(--line); padding: 28px 0 40px; font-size: 14px; color: var(--muted); }
.footer .wrap { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer nav { display: flex; gap: 18px; flex-wrap: wrap; }
.footer a:hover { color: var(--accent); }

/* Collection + product pages */
.page-head { text-align: center; margin: 44px auto 28px; }
.page-head h1 { font-family: var(--display); font-weight: 600; font-size: clamp(30px, 4vw, 44px); margin: 0 0 6px; }
.page-head p { color: var(--muted); margin: 0; }
.toolbar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 18px; color: var(--muted); font-size: 14px; gap: 12px; flex-wrap: wrap; }
select, input, textarea {
  font: inherit; color: var(--text); background: var(--surface);
  border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px;
}
select:focus, input:focus, textarea:focus { outline: 2px solid color-mix(in srgb, var(--accent) 40%, transparent); border-color: var(--accent); }

.product { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; margin-top: 36px; }
.product .thumb { aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--accent-soft); }
.product .thumb img { width: 100%; height: 100%; object-fit: cover; }
.gallery { display: grid; gap: 10px; align-content: start; }
.gallery .zoom { position: relative; aspect-ratio: 4 / 5; border-radius: 24px; overflow: hidden; background: var(--accent-soft); cursor: zoom-in; }
.gallery .zoom img, .gallery .zoom .ph { width: 100%; height: 100%; object-fit: cover; transition: transform .15s ease-out; }
.gnav { position: absolute; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border: 0; border-radius: 50%; background: rgba(255,255,255,.88); color: var(--ink, #222); display: grid; place-items: center; cursor: pointer; box-shadow: 0 2px 10px rgba(0,0,0,.15); z-index: 1; }
.gnav.prev { left: 12px; } .gnav.next { right: 12px; }
.gnav:hover { background: #fff; }
.gcount { position: absolute; bottom: 12px; right: 12px; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; padding: 3px 9px; border-radius: 999px; z-index: 1; }
.gthumbs { display: flex; gap: 8px; overflow-x: auto; }
.gthumbs button { flex: 0 0 64px; height: 80px; padding: 0; border: 2px solid transparent; border-radius: 10px; overflow: hidden; cursor: pointer; background: none; }
.gthumbs button.on { border-color: var(--accent); }
.gthumbs img { width: 100%; height: 100%; object-fit: cover; }
.product .ph { font-size: 140px; }
.crumbs { font-size: 13px; color: var(--muted); margin-bottom: 10px; }
.crumbs a:hover { color: var(--accent); }
.product h1 { font-family: var(--display); font-weight: 600; font-size: 36px; margin: 0 0 8px; line-height: 1.15; }
.product .price { font-size: 22px; }
.opt { margin: 22px 0; }
.opt label { display: block; font-weight: 700; font-size: 14px; margin-bottom: 8px; }
.pills { display: flex; flex-wrap: wrap; gap: 8px; }
.pill { border: 1.5px solid var(--line); background: var(--surface); border-radius: 999px; padding: 8px 16px; font-weight: 600; }
.pill.on { border-color: var(--accent); background: var(--accent-soft); color: var(--accent); }
.qty { display: inline-flex; align-items: center; border: 1.5px solid var(--line); border-radius: 999px; overflow: hidden; background: var(--surface); }
.qty button { border: 0; background: none; width: 40px; height: 40px; font-size: 18px; }
.qty span { min-width: 30px; text-align: center; font-weight: 700; }
.desc { color: var(--muted); margin-top: 26px; border-top: 1px solid var(--line); padding-top: 18px; }

.prose { max-width: 720px; margin: 0 auto; background: var(--surface); border: 1px solid var(--line); border-radius: var(--radius); padding: 32px; }
.prose p { margin: 0 0 14px; }

/* Drawer */
.scrim { position: fixed; inset: 0; background: rgba(40, 20, 25, .35); opacity: 0; pointer-events: none; transition: .25s; z-index: 50; }
.scrim.on { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed; top: 0; right: 0; height: 100%; width: min(420px, 100%);
  background: var(--bg); z-index: 60; transform: translateX(100%); transition: transform .3s ease;
  display: flex; flex-direction: column; box-shadow: -10px 0 40px rgba(0,0,0,.1);
}
.drawer.on { transform: none; }
.drawer-head { display: flex; justify-content: space-between; align-items: center; padding: 20px 22px; border-bottom: 1px solid var(--line); }
.drawer-head h2 { font-family: var(--display); font-weight: 600; margin: 0; font-size: 22px; }
.drawer-body { flex: 1; overflow-y: auto; padding: 12px 22px; }
.drawer-foot { padding: 18px 22px; border-top: 1px solid var(--line); display: grid; gap: 10px; }
.line { display: grid; grid-template-columns: 64px 1fr auto; gap: 12px; padding: 12px 0; border-bottom: 1px solid var(--line); align-items: center; }
.line .mini { width: 64px; height: 76px; border-radius: 12px; overflow: hidden; background: var(--accent-soft); }
.line .mini img { width: 100%; height: 100%; object-fit: cover; }
.line .mini .ph { font-size: 30px; }
.line h4 { margin: 0; font-size: 14px; }
.line small { color: var(--muted); }
.line .qty button { width: 30px; height: 30px; font-size: 15px; }
.remove { background: none; border: 0; color: var(--muted); font-size: 12px; text-decoration: underline; padding: 0; margin-top: 4px; }
.total { display: flex; justify-content: space-between; font-weight: 800; font-size: 17px; }
.ship-note { font-size: 13px; color: var(--muted); }
.empty { text-align: center; color: var(--muted); padding: 40px 0; }

.tng-btn { background: #1a5bd6; }
.tng-btn:hover { box-shadow: 0 6px 18px rgba(26, 91, 214, .35); }
.tng { display: grid; gap: 14px; justify-items: center; text-align: center; padding: 8px 0 16px; }
.tng-amount { display: grid; }
.tng-amount small { color: var(--muted); }
.tng-amount strong { font-size: 30px; color: var(--accent); }
.tng-qr { width: min(300px, 100%); border-radius: 16px; border: 1px solid var(--line); background: #fff; padding: 10px; }
.tng-name { font-weight: 700; }
.tng-steps { text-align: left; margin: 0; padding-left: 20px; display: grid; gap: 8px; font-size: 14px; }

.fpx { display: grid; gap: 12px; padding: 8px 0 16px; }
.fpx .tng-amount { justify-items: center; text-align: center; }
.fpx label { display: grid; gap: 4px; font-size: 13px; font-weight: 700; color: var(--muted); }
.fpx input { font-size: 16px; }
.fpx-err { color: #b42318; font-size: 14px; margin: 0; }

/* Search */
.search-panel { position: fixed; inset: 0 0 auto 0; background: var(--bg); z-index: 60; padding: 22px 0 28px; transform: translateY(-100%); transition: transform .3s; box-shadow: var(--shadow); }
.search-panel.on { transform: none; }
.search-panel input { width: 100%; font-size: 18px; padding: 14px 18px; border-radius: 999px; }
.search-results { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 18px; max-height: 60vh; overflow-y: auto; }
.search-results .card h3 { font-size: 13px; }

.toast {
  position: fixed; left: 50%; bottom: 24px; transform: translate(-50%, 30px); opacity: 0;
  background: var(--text); color: #fff; padding: 12px 20px; border-radius: 999px; font-weight: 600; font-size: 14px;
  transition: .25s; z-index: 80; pointer-events: none;
}
.toast.on { opacity: 1; transform: translate(-50%, 0); }

.wa-float {
  position: fixed; right: 20px; bottom: 20px; z-index: 40; width: 54px; height: 54px; border-radius: 50%;
  background: #25d366; color: #fff; display: grid; place-items: center; box-shadow: 0 8px 20px rgba(37,211,102,.4);
}
.wa-float svg { width: 28px; height: 28px; }

/* Responsive */
@media (max-width: 900px) {
  .grid { grid-template-columns: repeat(2, 1fr); gap: 14px; }
  .carousel { grid-auto-columns: calc((100% - 14px) / 2); gap: 14px; }
  .info { grid-template-columns: 1fr; }
  .product { grid-template-columns: 1fr; gap: 24px; }
  .search-results { grid-template-columns: repeat(3, 1fr); }
  .menu-toggle { display: inline-flex; }
  .header-row { height: 62px; }
  .logo { font-size: 23px; justify-self: center; }
  .nav { display: none; flex-direction: column; gap: 0; padding: 0 0 12px; }
  .nav.open { display: flex; }
  .nav > a, .nav .dd > button { padding: 10px 0; border: 0; text-align: left; width: 100%; }
  .dd-menu { position: static; transform: none; display: flex; box-shadow: none; border: 0; padding: 0 0 0 12px; background: none; }
  .hero { min-height: 340px; border-radius: 20px; margin-top: 16px; }
  .hero-inner { padding: 28px; }
  .quick-add { opacity: 1; transform: none; width: 34px; height: 34px; font-size: 18px; }
}
@media (max-width: 520px) {
  .wrap { padding: 0 16px; }
  .member { padding: 20px; }
  .search-results { grid-template-columns: repeat(2, 1fr); }
}

/* My account */
.acct { max-width: 420px; margin-bottom: 60px; }
.acct-tabs { display: flex; gap: 6px; margin-bottom: 18px; background: var(--accent-soft); padding: 5px; border-radius: 999px; }
.acct-tabs a { flex: 1; text-align: center; padding: 9px; border-radius: 999px; font-weight: 700; }
.acct-tabs a.on { background: #fff; color: var(--accent); box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.acct-form { display: grid; gap: 14px; }
.acct-form label { display: grid; gap: 6px; font-weight: 700; font-size: 14px; }
.acct-form label small { font-weight: 400; color: var(--muted); }
.acct-via { display: grid; gap: 8px; }
.acct-via label { display: flex; gap: 8px; align-items: center; font-weight: 500; }
.acct-err { color: #b42318; margin: 0; font-size: 14px; }
.acct-links { text-align: center; margin: 4px 0 0; font-size: 14px; }
.acct-links a { color: var(--accent); font-weight: 700; }
.acct-h { font-family: var(--display); font-weight: 600; font-size: 24px; margin: 0 0 12px; text-align: center; }
.acct-note { color: var(--muted); text-align: center; margin: 0 0 14px; }
.acct-card { text-align: center; display: grid; gap: 12px; }
.acct-card h2 { font-family: var(--display); font-weight: 600; margin: 0; }
.acct-card p { color: var(--muted); margin: 0; }
.acct-member { background: var(--accent-soft); border-radius: 16px; padding: 14px 16px; display: grid; gap: 6px; text-align: left; }
.acct-member span { color: var(--muted); font-size: 14px; }
.acct-member ul { margin: 4px 0 6px; padding-left: 18px; font-size: 14px; }
.acct-check { display: flex !important; gap: 10px; align-items: flex-start; font-weight: 600 !important; }
.acct-check input { margin-top: 3px; }
.acct-check small { display: block; font-weight: 400; color: var(--muted); }
.member-btns { display: flex; flex-wrap: wrap; gap: 8px; }
/* Voucher in the cart */
.drawer-foot .sub { display: flex; justify-content: space-between; color: var(--muted); margin-bottom: 6px; }
.vchr { display: flex; gap: 8px; margin: 8px 0 10px; }
.vchr input { flex: 1; text-transform: uppercase; }
.vchr .btn { padding: 10px 16px; }
.vchr-on { display: flex; justify-content: space-between; align-items: center; gap: 8px; background: var(--accent-soft); border-radius: 12px; padding: 8px 12px; margin: 8px 0 10px; font-size: 14px; }
.vchr-on small { color: var(--muted); }
.vchr-err { color: #b42318; font-size: 13px; margin: -4px 0 10px; }
/* My orders */
.acct-orders { text-align: left; display: grid; gap: 8px; }
.acct-orders h3 { margin: 6px 0 0; font-family: var(--display); font-weight: 600; font-size: 20px; }
.order { border: 1px solid var(--line, #eee); border-radius: 14px; background: #fff; }
.order summary { list-style: none; cursor: pointer; display: flex; justify-content: space-between; gap: 10px; padding: 10px 14px; }
.order summary::-webkit-details-marker { display: none; }
.order summary span { display: grid; gap: 2px; }
.order summary span:last-child { text-align: right; }
.order summary small { color: var(--muted); font-size: 12px; }
.order ul { list-style: none; margin: 0; padding: 0 14px 10px; display: grid; gap: 6px; font-size: 14px; }
.order li { display: flex; justify-content: space-between; gap: 10px; border-top: 1px dashed var(--line, #eee); padding-top: 6px; }
.order li small { color: var(--muted); }
.st { font-weight: 700; }
.st-paid, .st-completed { color: #1f7a4d !important; } .st-shipped { color: #1d5fa8 !important; } .st-cancelled { color: #b42318 !important; } .st-awaiting_payment { color: #a15c00 !important; }
.order-receipt { display: block; margin: 0 14px 12px; padding: 8px 12px; border-radius: 10px; background: var(--accent-soft); color: var(--accent); font-weight: 700; font-size: 14px; text-align: center; }

/* ---- Warm & cosy touches from the MiniMe MJ hang tag ---- */
body {
  background:
    radial-gradient(circle at 6% 10%, color-mix(in srgb, var(--accent-soft) 45%, transparent) 0 90px, transparent 260px),
    radial-gradient(circle at 96% 40%, color-mix(in srgb, var(--honey) 10%, transparent) 0 110px, transparent 300px),
    radial-gradient(circle at 4% 85%, color-mix(in srgb, var(--accent-soft) 35%, transparent) 0 100px, transparent 280px),
    var(--bg);
  background-attachment: fixed;
}
.header { background: color-mix(in srgb, var(--bg) 88%, transparent); backdrop-filter: blur(8px); }

.deco-heart, .deco-star { position: absolute; pointer-events: none; }
.deco-heart { fill: var(--accent); opacity: .5; }
.deco-star { fill: var(--honey); opacity: .8; }
.deco-heart.inline { position: static; width: .7em; height: .7em; opacity: 1; vertical-align: .05em; margin-right: .3em; }

.hero { background-image: radial-gradient(circle at 76% 26%, rgba(255, 255, 255, .85) 0 10.5%, transparent 11%), radial-gradient(circle at 70% 88%, color-mix(in srgb, var(--blush) 70%, #fff) 0 27%, transparent 27.5%), radial-gradient(circle at 97% 62%, color-mix(in srgb, var(--honey) 80%, #fff) 0 24%, transparent 24.5%), radial-gradient(circle at 88% 95%, color-mix(in srgb, var(--blush) 85%, #fff) 0 16%, transparent 16.5%), linear-gradient(135deg, color-mix(in srgb, var(--blush) 22%, #fff), color-mix(in srgb, var(--blush) 14%, var(--bg))); box-shadow: 0 10px 40px color-mix(in srgb, var(--accent) 10%, transparent); }
.hero .h1 { width: 30px; top: 16%; left: 58%; transform: rotate(-12deg); }
.hero .h2 { width: 18px; top: 66%; left: 48%; transform: rotate(14deg); opacity: .35; }
.hero .s1 { width: 20px; top: 22%; left: 46%; }
.hero .s2 { width: 14px; top: 74%; left: 64%; opacity: .6; }
.deco-clouds { position: absolute; left: 0; right: 0; bottom: -1px; width: 100%; height: 70px; fill: color-mix(in srgb, var(--accent-soft) 85%, #fff); opacity: .9; }
.hello { font-family: "Dancing Script", var(--display); color: var(--accent-strong); font-size: 22px; font-weight: 700; margin-bottom: 6px; }
.hello .deco-heart { fill: var(--accent); }

.member { position: relative; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); background: linear-gradient(135deg, #fffdfb, #fdf0ea); box-shadow: 0 6px 24px color-mix(in srgb, var(--accent) 8%, transparent); }
.member .m1 { width: 22px; top: 14px; right: 22px; transform: rotate(10deg); }
.member .m2 { width: 16px; bottom: 18px; right: 56px; }

.section-head { padding-bottom: 10px; border-bottom: 1.5px dashed color-mix(in srgb, var(--accent) 35%, transparent); margin-bottom: 20px; }
.section-head h2 .deco-heart { fill: var(--accent); }

.card { background: var(--surface); border-radius: 22px; padding: 8px 8px 14px; box-shadow: 0 2px 10px rgba(120, 60, 40, .05); transition: transform .2s, box-shadow .2s; }
.card:hover { transform: translateY(-3px); box-shadow: 0 12px 28px color-mix(in srgb, var(--accent) 14%, transparent); }
.card .thumb { border-radius: 16px; background: var(--accent-soft); }
.card h3, .card .price { padding: 0 6px; }
.tag { background: #fff; color: var(--accent-strong); box-shadow: 0 2px 8px rgba(120, 60, 40, .12); }
.quick-add { background: var(--accent-strong); color: #fff; }

.pill { border-color: transparent; background: var(--accent-soft); color: var(--text); font-weight: 700; }
.pill.on { background: var(--accent-strong); border-color: var(--accent-strong); color: #fff; }

.info-card { border: 1.5px dashed color-mix(in srgb, var(--accent) 30%, transparent); background: color-mix(in srgb, var(--surface) 85%, transparent); }
.chip { background: var(--accent-soft); border-color: transparent; }
.mission h2::before, .mission h2::after { content: " ♡ "; color: var(--accent); font-size: .7em; vertical-align: .15em; }

.thanks { margin-top: 64px; }
.thanks-box { position: relative; max-width: 560px; margin: 0 auto; text-align: center; padding: 26px 20px 18px; border: 1.5px dashed color-mix(in srgb, var(--accent) 45%, transparent); border-radius: 24px; background: var(--surface); }
.thanks-box .script { font-family: "Dancing Script", var(--display); font-size: 40px; font-weight: 700; color: var(--accent); line-height: 1; }
.thanks-box p { margin: 6px 0 0; color: var(--muted); }
.thanks-box .t1 { width: 18px; left: 22px; top: 50%; }
.thanks-box .t2 { width: 14px; right: 28px; top: 28px; }
.rainbow { display: block; width: 90px; margin: 10px auto 0; fill: none; stroke-width: 9; stroke-linecap: round; }
.footer { margin-top: 32px; background: color-mix(in srgb, var(--accent-soft) 55%, var(--bg)); border-top: 0; border-radius: 28px 28px 0 0; }
@media (max-width: 700px) {
  .hero .h1, .hero .s1 { display: none; }
  .hello { font-size: 18px; }
  .thanks-box .script { font-size: 32px; }
}
/* Delivery in the cart */
.ship-pick { display: flex; align-items: center; justify-content: space-between; gap: 10px; margin: 6px 0 8px; font-weight: 700; font-size: 14px; }
.ship-pick select { flex: 1; max-width: 210px; padding: 8px 10px; }
.ship-hint { margin: -2px 0 8px; font-size: 13px; color: var(--accent-strong); }
.deliv h3 { font-family: var(--display); font-size: 20px; margin: 4px 0 6px; }
.deliv textarea { width: 100%; resize: vertical; }
.deliv .row2 { display: grid; grid-template-columns: 120px 1fr; gap: 10px; }
.deliv input[readonly] { background: var(--accent-soft); }
.desc { white-space: pre-line; }
/* My account: points and edit forms */
.pts { display: grid; gap: 6px; margin: 6px 0; }
.pts-num b { font-family: var(--display); font-size: 28px; color: var(--accent-strong); }
.pts-bar { height: 10px; border-radius: 999px; background: #fff; overflow: hidden; }
.pts-bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--honey), var(--accent)); border-radius: 999px; }
.pts-rewards { display: grid; gap: 4px; font-size: 14px; }
.acct-edit { text-align: left; border: 1.5px dashed color-mix(in srgb, var(--accent) 30%, transparent); border-radius: 14px; padding: 10px 14px; background: var(--surface); }
.acct-edit summary { cursor: pointer; font-weight: 700; }
.acct-edit .acct-form { margin-top: 12px; }

/* Payment receipt upload (Touch 'n Go / DuitNow) */
.slip-pick { display: block; width: 100%; box-sizing: border-box; margin: 14px 0 6px; border: 1.5px dashed color-mix(in srgb, var(--accent) 55%, transparent); border-radius: 16px; background: var(--surface); padding: 14px 16px; cursor: pointer; text-align: left; }
.slip-pick:hover { background: var(--accent-soft); }
.slip-empty, .slip-done { display: flex; align-items: center; gap: 12px; }
.slip-empty b, .slip-done b { display: block; }
.slip-empty small, .slip-done small { display: block; color: var(--muted); font-size: 13px; word-break: break-all; }
.slip-done img { width: 52px; height: 52px; object-fit: cover; border-radius: 10px; flex: none; }
.order-done { text-align: center; padding: 24px 8px; }
.order-done h3 { font-family: var(--display); font-size: 24px; margin: 8px 0 4px; }
.done-tick { width: 64px; height: 64px; margin: 0 auto; border-radius: 50%; display: grid; place-items: center; background: var(--accent-soft); color: var(--cta); font-size: 32px; font-weight: 800; }

/* Banner slide show: photos are shown whole (object-fit: contain) over a soft blurred copy of themselves */
.hero.has-slides { grid-template-columns: minmax(0, 1fr) minmax(0, 1.2fr); align-items: stretch; }
.hero.has-slides .hero-inner { grid-column: 1; grid-row: 1; align-self: center; }
.hero-show { grid-column: 2; grid-row: 1; position: relative; margin: 16px; min-height: 388px; border-radius: 22px; overflow: hidden; background: color-mix(in srgb, var(--blush) 25%, #fff); outline: none; }
.hs-slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; }
.hs-slide.on { opacity: 1; }
.hs-blur { position: absolute; inset: -20px; background-size: cover; background-position: center; filter: blur(18px) saturate(1.1); opacity: .45; }
.hs-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: contain; }
.hs-nav { position: absolute; top: 50%; transform: translateY(-50%); z-index: 2; width: 38px; height: 38px; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .85); color: var(--text); font-size: 26px; line-height: 1; display: grid; place-items: center; box-shadow: 0 2px 10px rgba(0, 0, 0, .12); cursor: pointer; }
.hs-nav:hover { background: #fff; color: var(--cta); }
.hs-nav.prev { left: 10px; } .hs-nav.next { right: 10px; }
.hs-dots { position: absolute; left: 0; right: 0; bottom: 10px; z-index: 2; display: flex; justify-content: center; gap: 7px; }
.hs-dots button { width: 9px; height: 9px; padding: 0; border-radius: 50%; border: 0; background: rgba(255, 255, 255, .75); box-shadow: 0 0 0 1px rgba(0, 0, 0, .12); cursor: pointer; }
.hs-dots button.on { background: var(--cta); width: 22px; border-radius: 999px; }
@media (max-width: 900px) {
  .hero.has-slides { grid-template-columns: 1fr; min-height: 0; }
  .hero-show { grid-column: 1; grid-row: 1; margin: 12px 12px 0; min-height: 0; height: 66vw; max-height: 360px; }
  .hero.has-slides .hero-inner { grid-row: 2; padding: 20px 24px 26px; }
}

/* Remark on the chosen size/colour, e.g. 偏大 建议拿小一码, highlighted under Add to cart */
.sku-remark { margin: 12px 0 4px; color: var(--text); font-weight: 800; font-size: 15px; line-height: 1.7; }
.sku-remark mark { background: #fff176; color: inherit; padding: 2px 4px; border-radius: 3px; -webkit-box-decoration-break: clone; box-decoration-break: clone; }
.sku-remark[hidden] { display: none; }

/* Announcement bar: taller, bold, with the message gliding right to left (two copies make the loop seamless).
   The speed is set from the text width in app.js so it moves at the same gentle pace on every screen. */
.announce { display: flex; align-items: center; min-height: 44px; line-height: 1.2; padding: 0 !important; overflow: hidden; contain: paint; isolation: isolate; white-space: nowrap; font-size: 19px; font-weight: 800 !important; letter-spacing: .03em !important; }
.announce-track { display: inline-flex; align-items: center; width: max-content; animation: announce-scroll var(--announce-time, 40s) linear infinite; will-change: transform; backface-visibility: hidden; transform: translate3d(0, 0, 0); -webkit-font-smoothing: antialiased; contain: layout paint; }
.announce-track span { padding-right: 96px; }
.announce:hover .announce-track { animation-play-state: paused; }
@keyframes announce-scroll { from { transform: translate3d(0, 0, 0); } to { transform: translate3d(-50%, 0, 0); } }
@media (prefers-reduced-motion: reduce) { .announce-track { animation: none; } .announce { text-align: center; } }
@media (max-width: 700px) { .announce { min-height: 38px; font-size: 16px; } }

/* Bundle deal saving in the cart */
.sub.bundle-line { color: var(--cta); font-weight: 800; }

/* Girls / Boys filter on collection pages */
.for-chips { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin: 0 0 14px; }
.for-chip { border: 1.5px solid var(--line); background: var(--surface); color: var(--text); border-radius: 999px; padding: 8px 18px; font-weight: 800; font-size: 15px; cursor: pointer; }
.for-chip small { color: var(--muted); font-weight: 700; margin-left: 2px; }
.for-chip:hover { border-color: var(--accent); }
.for-chip.on { background: var(--cta); border-color: var(--cta); color: #fff; }
.for-chip.on small { color: rgba(255, 255, 255, .85); }

/* Items on the "Order submitted" screen, with the stock left after the order */
.done-items { list-style: none; padding: 0; margin: 14px 0 0; display: grid; gap: 8px; text-align: left; }
.done-items li { display: flex; justify-content: space-between; gap: 10px; background: var(--surface); border: 1px solid var(--line); border-radius: 12px; padding: 10px 12px; font-size: 14px; }
.done-items small { color: var(--muted); }
.done-items small.out { color: var(--cta); font-weight: 800; }

/* English product name under the Chinese one */
.name-en { display: block; font-family: var(--body); font-weight: 600; font-size: .78em; color: var(--muted); letter-spacing: 0; margin-top: 2px; line-height: 1.3; }
h1 .name-en { font-size: .5em; font-weight: 700; margin-top: 6px; }
