/*somagic*/

@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700;900&display=swap');

:root {
  --void: #0d0a1a;
  --void-rgb: 13 10 26;
  --hush: #7c6f9a;
  --hush-rgb: 124 111 154;
  --chalk: #f5f3ff;
  --chalk-rgb: 245 243 255;
  --mist: #ede9fe;
  --mist-rgb: 237 233 254;
  --mark: #c084fc;
  --mark-rgb: 192 132 252;
  --mark2: #f0abfc;
  --gold: #fbbf24;
  --gold-dim: #92400e;
  --accent: #7c3aed;
  --accent-rgb: 124 58 237;
  --accent2: #a855f7;
  --white: #ffffff;
  --font-display: "Cinzel", "Bricolage Grotesque", "Noto Sans TC", serif;
  --font-body: "Bricolage Grotesque", "Noto Sans TC", sans-serif;
  --max: 72rem;
  --radius: 0.5rem;
  --radius-lg: 1rem;
  --line: rgb(var(--accent-rgb) / 0.15);
  --glow: 0 0 24px rgb(var(--accent-rgb) / 0.25);
  --glow-sm: 0 0 10px rgb(var(--accent-rgb) / 0.2);
  --ok: #065f46;
  --ok-bg: #ecfdf5;
  --ok-border: #6ee7b7;
  --warn: #92400e;
  --warn-bg: #fffbeb;
  --warn-border: #fcd34d;
  --err: #b91c1c;
  --err-bg: #fef2f2;
  --err-border: #fecaca;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  -webkit-text-size-adjust: 100%;
  scroll-behavior: smooth;
}

body.site-body {
  margin: 0;
  min-height: 100vh;
  font-family: var(--font-body);
  color: var(--void);
  background: var(--chalk);
  -webkit-font-smoothing: antialiased;
  padding-bottom: 3.25rem;
}

@media (min-width: 640px) {
  body.site-body {
    padding-bottom: 0;
  }
}

img {
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

button, input, select, textarea {
    font: inherit;
    accent-color: var(--accent);
}

.is-hidden {
  display: none !important;
}

.is-disabled {
  pointer-events: none;
  opacity: 0.4;
}

.contents {
  display: contents;
}
li {
  list-style: none;
}
/* ----- ??都謒??肅??僮 ----- */

.site-mesh {
  position: fixed;
  inset: 0;
  z-index: -10;
  pointer-events: none;
  background:
    radial-gradient(ellipse 900px 600px at 10% -10%, rgba(124, 58, 237, 0.12) 0%, transparent 60%),
    radial-gradient(ellipse 700px 500px at 90% 20%, rgba(168, 85, 247, 0.1) 0%, transparent 55%),
    radial-gradient(ellipse 500px 400px at 50% 80%, rgba(192, 132, 252, 0.08) 0%, transparent 60%),
    linear-gradient(160deg, #f5f3ff 0%, #fdf4ff 40%, #f0fdf4 100%);
}

.site-mesh::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 20% 30%, rgba(192,132,252,0.06) 0%, transparent 40%),
    radial-gradient(circle at 80% 70%, rgba(251,191,36,0.05) 0%, transparent 40%);
  pointer-events: none;
}

.reveal {
  animation: none; /* page enter slide disabled */
}

@keyframes reveal {
  from {
    opacity: 0;
    transform: translateY(16px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    animation: none;
  }
}

/* ----- ??部豰摮蛔? ----- */

.site-wrap {
  width: 100%;
  max-width: var(--max);
  margin-left: auto;
  margin-right: auto;
  padding-left: 1rem;
  padding-right: 1rem;
}

@media (min-width: 640px) {
  .site-wrap {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }
}

.site-main {
  min-height: 70vh;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

@media (min-width: 640px) {
  .site-main {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
}

/* ----- ?????????選????? ----- */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  border: 1px solid transparent;
  padding: 0.75rem 1.5rem;
  font-size: 0.875rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.04em;
  cursor: pointer;
  border-radius: var(--radius);
  transition:
    background 0.2s ease,
    opacity 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease,
    transform 0.15s ease;
  position: relative;
  overflow: hidden;
  margin-top: 0.25rem;
}

.btn::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,0.12) 0%, transparent 60%);
  pointer-events: none;
  border-radius: inherit;
}

.btn:disabled,
.btn.is-disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.btn.is-loading,
.btn[aria-busy='true'] {
  opacity: 0.85;
  cursor: wait;
  pointer-events: none;
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 18px rgb(var(--accent-rgb) / 0.35), 0 1px 4px rgb(var(--accent-rgb) / 0.2);
}

.btn-primary:hover:not(:disabled) {
  background: linear-gradient(135deg, var(--accent2) 0%, var(--accent) 100%);
  box-shadow: 0 6px 28px rgb(var(--accent-rgb) / 0.5), 0 2px 8px rgb(var(--accent-rgb) / 0.3);
  transform: translateY(-1px);
}

.btn-primary:active:not(:disabled) {
  transform: translateY(0);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.7);
  border-color: var(--line);
  color: var(--void);
  backdrop-filter: blur(6px);
}

.btn-secondary:hover:not(:disabled) {
  border-color: var(--accent);
  box-shadow: 0 0 14px rgb(var(--accent-rgb) / 0.15);
  color: var(--accent);
}

.btn-oauth {
  width: 100%;
  background: rgba(255, 255, 255, 0.8);
  border: 1px solid var(--line);
  color: var(--void);
  backdrop-filter: blur(6px);
  border-radius: var(--radius);
}

.btn-oauth:hover:not(:disabled) {
  border-color: var(--accent);
  box-shadow: var(--glow-sm);
}

.field {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--void);
}

.field-input,
.field-select {
  display: block;
  width: 100%;
  margin-top: 0.25rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 0.6rem 0.875rem;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(4px);
  color: var(--void);
}

.field-input:focus,
.field-select:focus {
  outline: none;
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgb(var(--accent-rgb) / 0.12);
}

/* Floating labels (:placeholder-shown) */
.field--float {
  position: relative;
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--void);
}

.field--float .field-input,
.field--float .field-select {
  margin-top: 0.25rem;
  padding: 1.5rem 0.875rem 0.5rem;
}

.field--float textarea.field-input {
  margin-top: 0;
  padding: 1.35rem 0.875rem 0.55rem;
  min-height: 4.25rem;
  resize: vertical;
}

.field--float .field__label {
  position: absolute;
  left: 0.875rem;
  top: 50%;
  transform: translateY(-50%);
  max-width: calc(100% - 1.75rem);
  margin: 0;
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.2;
  color: var(--hush);
  pointer-events: none;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: top 0.15s ease, transform 0.15s ease, font-size 0.15s ease, color 0.15s ease;
}

.field--float textarea.field-input ~ .field__label {
  top: 0.95rem;
  transform: none;
}

.field--float .field-input:focus ~ .field__label,
.field--float .field-input:not(:placeholder-shown) ~ .field__label,
.field--float textarea.field-input:focus ~ .field__label,
.field--float textarea.field-input:not(:placeholder-shown) ~ .field__label,
.field--float.field--select .field__label {
  top: 0.32rem;
  transform: none;
  font-size: 0.68rem;
  letter-spacing: 0.01em;
}

.field--float .field-input:focus ~ .field__label,
.field--float .field-select:focus ~ .field__label,
.field--float textarea.field-input:focus ~ .field__label {
  color: var(--accent, var(--hush));
}

.field-input--sm {
  width: auto;
  min-width: 6rem;
}

.link {
  font-weight: 600;
  text-underline-offset: 3px;
  color: var(--accent);
}

.link:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.link-muted {
  color: var(--hush);
  text-underline-offset: 3px;
}

.link-muted:hover {
  color: var(--accent);
  text-decoration: underline;
}

button.link,
button.link-muted {
  appearance: none;
  -webkit-appearance: none;
  border: 0;
  background: transparent;
  box-shadow: none;
  padding: 0;
  margin: 0;
  font: inherit;
  font-weight: 650;
  line-height: inherit;
  color: inherit;
  cursor: pointer;
  text-align: inherit;
}

button.link {
  color: var(--accent);
}

button.link-muted {
  color: var(--hush);
}

button.link:hover {
  text-decoration: underline;
  color: var(--accent2);
}

button.link-muted:hover {
  color: var(--accent);
  text-decoration: underline;
}

.notice {
  border: 1px solid;
  padding: 0.875rem 1.125rem;
  font-size: 0.875rem;
  border-radius: var(--radius);
}

.notice--error {
  border-color: var(--err-border);
  background: var(--err-bg);
  color: var(--err);
}

.notice--warn {
  border-color: var(--warn-border);
  background: var(--warn-bg);
  color: var(--warn);
}

.notice--ok {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: var(--ok);
}

/* ----- ????? ----- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(245, 243, 255, 0.85);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  box-shadow: 0 1px 24px rgb(var(--accent-rgb) / 0.07);
}

/* ----- Default theme: two-row header (default-bar) ----- */
.site-header--default-bar {
  display: flex;
  flex-direction: column;
  z-index: 80;
  overflow: visible;
}

.site-header--default-bar .site-header__top {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

.site-header--default-bar .header-actions {
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  gap: 0.45rem;
}

.site-header--default-bar .site-search {
  flex: 1 1 auto;
  min-width: 10rem;
  max-width: none;
  width: auto;
}

.site-header--default-bar .site-search__input {
  height: 2.5rem;
  font-size: 0.875rem;
  padding: 0 0.9rem;
}

.site-header--default-bar .site-search__panel {
  top: calc(100% + 0.4rem);
  left: 0;
  right: 0;
  z-index: 95;
  width: auto;
  min-width: 100%;
  max-width: none;
  max-height: min(32rem, 75vh);
  border-radius: calc(var(--radius) + 2px);
  box-shadow: 0 14px 36px rgba(15, 23, 42, 0.14);
}

.site-header--default-bar .site-search__status {
  padding: 0.9rem 1rem;
  font-size: 0.875rem;
}

.site-header--default-bar .site-search__item {
  gap: 0.85rem;
  padding: 0.75rem 1rem;
}

.site-header--default-bar .site-search__thumb {
  flex-basis: 3.25rem;
  width: 3.25rem;
  height: 3.25rem;
}

.site-header--default-bar .site-search__name {
  font-size: 0.9375rem;
  line-height: 1.35;
}

.site-header--default-bar .site-search__price {
  font-size: 0.875rem;
}

.site-header--default-bar .site-search__more {
  padding: 0.85rem 1rem;
  font-size: 0.875rem;
}

@media (min-width: 640px) {
  .site-header--default-bar .site-search {
    min-width: 14rem;
  }
  .site-header--default-bar .site-search__input {
    height: 2.65rem;
    font-size: 0.9375rem;
  }
  .site-header--default-bar .site-search__panel {
    max-height: min(36rem, 78vh);
  }
  .site-header--default-bar .site-search__thumb {
    flex-basis: 3.75rem;
    width: 3.75rem;
    height: 3.75rem;
  }
}

.site-header--default-bar .header-icon-btn {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--void, #111);
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
  backdrop-filter: blur(6px);
}

.site-header--default-bar .header-icon-btn:hover,
.site-header--default-bar .header-icon-btn.is-active {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-sm);
}

.site-header--default-bar .header-icon-btn svg {
  display: block;
}

.site-header--default-bar .site-header__nav-bar {
  position: relative;
  z-index: 2;
  overflow: visible;
  border-top: 1px solid rgb(var(--accent-rgb) / 0.1);
  background: rgba(255, 255, 255, 0.45);
}

.site-header--default-bar .site-nav--bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.15rem 0.35rem;
  padding: 0.4rem 0 0.5rem;
  max-width: 100%;
  overflow: visible;
  font-size: 0.8125rem;
}

.site-header--default-bar .site-nav--bar .site-nav__link {
  flex: 0 0 auto;
  padding: 0.3rem 0.55rem;
  white-space: nowrap;
}

.site-header--default-bar .site-nav--bar .site-nav__link::after {
  bottom: 0.15rem;
  left: 0.55rem;
  right: 0.55rem;
}

.site-header--default-bar .market-cats__link,
.site-header--default-bar .market-cats__item {
  flex: 0 0 auto;
}

.site-header--default-bar .market-cats__item {
  position: relative;
}

.site-header--default-bar .market-cats__item.has-sub {
  padding-bottom: 0.35rem;
  margin-bottom: -0.35rem;
}

.site-header--default-bar .market-cats__link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  padding: 0.3rem 0.55rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--void);
  text-decoration: none;
  white-space: nowrap;
}

.site-header--default-bar .market-cats__link:hover {
  background: rgb(var(--accent-rgb) / 0.08);
  color: var(--accent);
}

.site-header--default-bar .market-cats__caret {
  font-size: 0.65rem;
  opacity: 0.65;
}

.site-header--default-bar .market-cats__sub {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 90;
  min-width: 10rem;
  padding: 0.35rem;
  border: 1px solid var(--line);
  border-radius: 0.5rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.12);
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.12s ease, visibility 0.12s ease;
  transition-delay: 0.14s; /* keep open while pointer crosses gap */
}

/* Invisible bridge so pointer can reach the submenu */
.site-header--default-bar .market-cats__sub::before {
  content: '';
  position: absolute;
  left: 0;
  right: 0;
  top: -0.45rem;
  height: 0.45rem;
}

.site-header--default-bar .market-cats__item.has-sub:hover .market-cats__sub,
.site-header--default-bar .market-cats__item.has-sub:focus-within .market-cats__sub {
  visibility: visible;
  opacity: 1;
  pointer-events: auto;
  transition-delay: 0s;
}

.site-header--default-bar .market-cats__sub-link {
  display: block;
  padding: 0.4rem 0.65rem;
  border-radius: 0.35rem;
  font-size: 0.8125rem;
  color: var(--void);
  text-decoration: none;
  white-space: nowrap;
}

.site-header--default-bar .market-cats__sub-link:hover {
  background: rgb(var(--accent-rgb) / 0.08);
  color: var(--accent);
}

@media (min-width: 640px) {
  .site-header--default-bar .site-header__top {
    height: 4rem;
    gap: 1rem;
  }
  .site-header--default-bar .bag-icon {
    display: grid;
  }
  .site-header--default-bar .site-nav--bar {
    gap: 0.25rem 0.5rem;
    font-size: 0.875rem;
  }
}

@media (max-width: 639px) {
  .site-header--default-bar .site-logo {
    display: inline-flex !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: 7.5rem !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }
  .site-header--default-bar .site-nav--bar {
    display: flex !important;
    flex-wrap: nowrap !important;
    width: auto !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    overflow-x: auto !important;
    overflow-y: visible !important;
    border: 0 !important;
    -webkit-overflow-scrolling: touch;
  }
  /* overflow-x:auto forces clipping; open dropdowns need visible overflow */
  .site-header--default-bar .site-nav--bar:has(.market-cats__item.has-sub:hover),
  .site-header--default-bar .site-nav--bar:has(.market-cats__item.has-sub:focus-within) {
    overflow: visible !important;
  }
}

.site-header__inner {
  display: flex;
  height: 3.5rem;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .site-header__inner {
    height: 4rem;
    gap: 1rem;
  }
}

.site-logo {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  width: auto;
  max-width: 9rem;
  flex-shrink: 0;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
}

.site-logo__img {
  height: 2rem;
  width: auto;
  max-width: 9rem;
  object-fit: contain;
}

@media (min-width: 640px) {
  .site-logo__img {
    height: 2.25rem;
  }
}

.site-logo--text,
.site-logo--full {
  display: block;
  box-sizing: border-box;
  width: 100%;
  max-width: 9rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--mark2) 60%, var(--gold) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-shadow: none;
  filter: drop-shadow(0 0 8px rgb(var(--accent-rgb) / 0.3));
}

.site-logo--mark {
  display: none;
  box-sizing: border-box;
  place-items: center;
  width: 2.25rem;
  height: 2.25rem;
  flex-shrink: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.12), rgb(var(--accent-rgb) / 0.04));
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 900;
  line-height: 1;
  color: var(--accent);
}

@media (max-width: 639px) {
  .site-header__inner {
    display: flex;
    justify-content: stretch;
    gap: 0.35rem;
  }
  .site-logo,
  .site-nav {
    display: none !important;
    width: 0 !important;
    min-width: 0 !important;
    max-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden !important;
    border: 0 !important;
  }

  .header-actions {
    flex: 1 1 auto;
    width: 100%;
    max-width: 100%;
    justify-content: flex-start;
    gap: 0.35rem;
  }
}


@media (min-width: 640px) {
  .site-logo {
    width: 9rem;
    min-width: 9rem;
    max-width: 9rem;
  }
  .site-logo--text,
  .site-logo--full {
    font-size: 1.5rem;
  }
}

.site-nav {
  display: none;
  align-items: center;
  gap: 1.75rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
}

@media (min-width: 640px) {
  .site-nav {
    display: flex;
  }
}

.site-nav__link {
  position: relative;
  color: var(--void);
  transition: color 0.2s ease;
}

.site-nav__link::after {
  content: "";
  position: absolute;
  bottom: -4px;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--accent), var(--mark2));
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform 0.25s ease;
}

.site-nav__link:hover {
  color: var(--accent);
}

.site-nav__link:hover::after {
  transform: scaleX(1);
}

.site-nav__link.is-active {
  color: var(--accent);
  font-weight: 700;
}

.site-nav__link.is-active::after {
  transform: scaleX(1);
}

.bag-count {
  margin-left: 0.25rem;
  font-variant-numeric: tabular-nums;
  color: var(--hush);
}

.locale-form {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  position: relative;
}
.locale-form[hidden],
.locale-menu[hidden] {
  display: none !important;
}
.locale-menu__wrap {
  position: relative;
}

.locale-menu__trigger {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  height: 2.25rem;
  padding: 0 0.55rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.75);
  color: var(--void);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
}

.locale-menu__trigger:hover,
.locale-menu.is-open .locale-menu__trigger {
  border-color: var(--accent);
  background: #fff;
}

.locale-menu__flag {
  font-size: 1rem;
  line-height: 1;
}

.locale-menu__flag:empty,
.locale-menu__flag[hidden] {
  display: none;
}

.locale-menu__code {
  min-width: 1.25rem;
}

.locale-menu__caret {
  width: 0.45rem;
  height: 0.45rem;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-0.1rem) rotate(45deg);
  opacity: 0.7;
}

.locale-menu__panel {
  position: absolute;
  top: calc(100% + 0.45rem);
  right: 0;
  z-index: 80;
  width: min(18.5rem, calc(100vw - 1.5rem));
  padding: 0.75rem 0;
  border: 1px solid var(--line);
  border-radius: 0.65rem;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.14);
}

.locale-menu__panel::before {
  content: '';
  position: absolute;
  top: -6px;
  right: 1.1rem;
  width: 10px;
  height: 10px;
  background: #fff;
  border-left: 1px solid var(--line);
  border-top: 1px solid var(--line);
  transform: rotate(45deg);
}

.locale-menu__section {
  padding: 0.15rem 0.9rem 0.65rem;
}

.locale-menu__section + .locale-menu__section {
  border-top: 1px solid var(--line);
  padding-top: 0.7rem;
  margin-top: 0.15rem;
}

.locale-menu__heading {
  margin: 0 0 0.45rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--void);
}

.locale-menu__list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.15rem;
}

.locale-menu__option {
  display: flex;
  align-items: flex-start;
  gap: 0.55rem;
  margin: 0;
  padding: 0.35rem 0.25rem;
  border-radius: 0.35rem;
  cursor: pointer;
  font-size: 0.8125rem;
  color: var(--void);
}

.locale-menu__option:hover {
  background: rgba(15, 23, 42, 0.04);
}

.locale-menu__option input {
  margin: 0.15rem 0 0;
  accent-color: #e47911;
  flex-shrink: 0;
}

.locale-menu__option-text {
  line-height: 1.35;
}

.locale-menu__option.is-selected .locale-menu__option-text {
  font-weight: 600;
}

.locale-menu__link {
  display: inline-block;
  margin-top: 0.35rem;
  padding: 0;
  border: 0;
  background: none;
  color: #2162a1;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  text-align: left;
}

.locale-menu__link:hover {
  text-decoration: underline;
  color: #c45500;
}

.locale-menu__ship-line {
  display: flex;
  align-items: flex-start;
  gap: 0.4rem;
  margin: 0 0 0.35rem;
  font-size: 0.8125rem;
  line-height: 1.4;
  color: var(--muted, #64748b);
}

.locale-menu__ship-flag:empty,
.locale-menu__ship-flag[hidden] {
  display: none;
}

.locale-menu__section--ship[hidden] {
  display: none !important;
}

.locale-select {
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  padding: 0 0.35rem;
  font-size: 0.6875rem;
  color: var(--void);
  max-width: 4.75rem;
  transition: border-color 0.2s ease;
}

.ship-to {
  display: flex;
  align-items: center;
  flex-shrink: 1;
  min-width: 0;
}

.ship-to[hidden] {
  display: none !important;
}

.ship-to--in-menu {
  max-width: none;
  width: 100%;
  margin-top: 0.35rem;
}

.ship-to__label {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  min-width: 0;
  max-width: 100%;
  font-size: 0.6875rem;
  font-weight: 600;
  color: var(--muted, #64748b);
}

.ship-to--in-menu .ship-to__label {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.25rem;
  width: 100%;
  font-size: 0.75rem;
}

.ship-to__text {
  flex-shrink: 0;
  white-space: nowrap;
}

.ship-to__select {
  max-width: 7.5rem;
  min-width: 0;
}

.ship-to--in-menu .ship-to__select {
  max-width: none;
  width: 100%;
}

@media (min-width: 640px) {
  .ship-to__label {
    font-size: 0.75rem;
  }
}

.locale-select:focus {
  outline: none;
  border-color: var(--accent);
}

@media (min-width: 640px) {
  .locale-form {
    gap: 0.5rem;
  }
  .locale-select {
    font-size: 0.875rem;
    padding: 0 0.5rem;
    max-width: none;
  }
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  min-width: 0;
  flex-shrink: 1;
}

@media (min-width: 640px) {
  .header-actions {
    gap: 0.5rem;
    flex-shrink: 0;
  }
}

.site-search {
  position: relative;
  flex: 1 1 9rem;
  min-width: 7rem;
  max-width: 15rem;
  margin: 0;
}

.site-search__input {
  width: 100%;
  height: 2.25rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  padding: 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--ink, #111);
}

.site-search__input:focus {
  outline: 2px solid color-mix(in srgb, var(--accent, #111) 35%, transparent);
  outline-offset: 1px;
}

.site-search__panel {
  position: absolute;
  top: calc(100% + 0.35rem);
  right: 0;
  left: auto;
  z-index: 80;
  width: min(20rem, 90vw);
  max-height: min(24rem, 70vh);
  overflow: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.12);
}

.site-search__status {
  margin: 0;
  padding: 0.75rem 0.85rem;
  font-size: 0.8125rem;
  color: var(--muted, #64748b);
}

.site-search__list {
  display: flex;
  flex-direction: column;
}

.site-search__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.75rem;
  text-decoration: none;
  color: inherit;
  border-bottom: 1px solid var(--line);
}

.site-search__item:hover,
.site-search__item:focus-visible {
  background: color-mix(in srgb, var(--accent, #111) 6%, var(--white));
}

.site-search__thumb {
  flex: 0 0 2.5rem;
  width: 2.5rem;
  height: 2.5rem;
  border: 1px solid var(--line);
  border-radius: calc(var(--radius) - 2px);
  overflow: hidden;
  background: #f8fafc;
}

.site-search__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.site-search__meta {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.site-search__name {
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.site-search__price {
  font-size: 0.75rem;
  color: var(--muted, #64748b);
}

.site-search__brand {
  margin-left: 0.35rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.site-search__brand::before {
  content: '·';
  margin-right: 0.35rem;
  font-weight: 400;
  letter-spacing: 0;
  text-transform: none;
}

.site-search__more {
  display: block;
  padding: 0.65rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  color: var(--accent, #111);
}

@media (max-width: 639px) {
  .site-search {
    max-width: none;
    min-width: 0;
    flex: 1 1 auto;
  }
  .site-search__input {
    padding: 0 0.45rem;
    font-size: 0.75rem;
  }
  .site-search__panel {
    left: 0;
    right: 0;
    width: auto;
    max-width: none;
  }
  .locale-select {
    height: 2rem;
    padding: 0 0.2rem;
    font-size: 0.625rem;
    max-width: 3.75rem;
  }
  .bag-icon {
    width: 2rem;
    height: 2rem;
    font-size: 0.75rem;
  }
}

.bag-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 2.375rem;
  height: 2.375rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  color: var(--void, #111);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  backdrop-filter: blur(6px);
}

.bag-icon svg {
  display: block;
}

.bag-icon .bag-count--icon {
  position: absolute;
  top: -0.35rem;
  right: -0.35rem;
  z-index: 1;
  min-width: 1.1rem;
  height: 1.1rem;
  padding: 0 0.28rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent, #7c3aed), var(--mark2, #f0abfc));
  color: #fff;
  font-size: 0.625rem;
  font-weight: 700;
  line-height: 1.1rem;
  text-align: center;
  box-shadow: 0 0 6px rgb(var(--accent-rgb, 124 58 237) / 0.45);
}

.bag-icon .bag-count--icon.is-empty {
  display: none;
}

.bag-icon:hover {
  border-color: var(--accent);
  box-shadow: var(--glow-sm);
}

@media (min-width: 640px) {
  .bag-icon {
    display: none;
  }
}

.bag-dot {
  position: absolute;
  top: -0.25rem;
  right: -0.25rem;
  width: 0.625rem;
  height: 0.625rem;
  border-radius: 9999px;
  background: linear-gradient(135deg, var(--accent), var(--mark2));
  box-shadow: 0 0 6px rgb(var(--accent-rgb) / 0.6);
}

/* ----- ??郭???餉???????----- */

.site-footer {
  border-top: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(245,243,255,0.8) 0%, rgba(237,233,254,0.6) 100%);
  backdrop-filter: blur(8px);
  padding-bottom: 5rem;
}

@media (min-width: 640px) {
  .site-footer {
    padding-bottom: 0;
  }
}

.site-footer__inner {
  padding-top: 3.5rem;
  padding-bottom: 3.5rem;
}

.site-footer__grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 640px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1024px) {
  .site-footer__grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.site-footer__title {
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  background: linear-gradient(135deg, var(--accent) 0%, var(--mark2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.site-footer__about {
  margin-top: 0.5rem;
  max-width: 20rem;
  white-space: pre-line;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--hush);
}

.site-footer__heading {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
}

.site-footer__list {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.footer-link {
  color: var(--hush);
  transition: color 0.2s ease;
}

.footer-link:hover {
  color: var(--accent);
}

.site-footer__contact {
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.5rem;
  font-size: 0.875rem;
  color: var(--hush);
}

.site-footer__social {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.875rem;
}

.social-link {
  font-weight: 600;
  color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.social-link:hover {
  color: var(--mark2);
  text-decoration: underline;
}

.social-sep {
  color: rgb(var(--accent-rgb) / 0.25);
}

.site-footer__payments {
  margin-top: 1rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pay-chip {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 1);
  padding: 0.25rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--void);
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease;
}

.pay-chip:hover {
  border-color: var(--accent);
}

.pay-chip--empty {
  font-weight: 400;
  color: var(--hush);
}

.site-footer__note {
  margin-top: 1rem;
  font-size: 0.75rem;
  line-height: 1.7;
  color: var(--hush);
}

.site-footer__legal {
  margin-top: 2.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  border-top: 1px solid var(--line);
  padding-top: 1.5rem;
  font-size: 0.75rem;
  color: var(--hush);
}

@media (min-width: 640px) {
  .site-footer__legal {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
  }
}

.mobile-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 50;
  display: flex;
  border-top: 1px solid var(--line);
  background: rgba(245, 243, 255, 0.95);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 0.2rem 0 calc(0.2rem + env(safe-area-inset-bottom, 0px));
}

@media (min-width: 640px) {
  .mobile-nav {
    display: none;
  }
}

.mobile-nav__link {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 3rem;
  padding: 0.5rem 0;
  text-align: center;
  color: var(--hush);
  transition: color 0.2s ease;
}

.mobile-nav__icon {
  display: block;
}

.mobile-nav__link--cart .mobile-nav__icon {
  position: relative;
}

/* Keep badge inside the tab, snug on the cart corner ??no glow over the top border. */
.mobile-nav__badge.bag-count--icon {
  top: 50%;
  right: 50%;
  left: auto;
  display: grid;
  place-items: center;
  transform: translate(0.85rem, -1.05rem);
  min-width: 0.95rem;
  height: 0.95rem;
  padding: 0 0.2rem;
  border: 1.5px solid rgba(255, 255, 255, 0.95);
  border-radius: 9999px;
  background: var(--accent, #7c3aed);
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: 0;
  box-shadow: none;
}

.mobile-nav__badge.bag-count--icon.is-empty {
  display: none;
}

.mobile-nav__link:hover,
.mobile-nav__link.is-active {
  color: var(--accent);
}

.promo-mount {
  width: 100%;
}

.promo-inner {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
}

.ship-banner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, rgba(255,255,255,0.8) 0%, rgba(237,233,254,0.5) 100%);
  padding: 0.875rem 1.125rem;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  box-shadow: 0 2px 12px rgb(var(--accent-rgb) / 0.06);
}

.ship-banner__text {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--void);
}

.ship-banner__link {
  margin-left: auto;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  text-underline-offset: 3px;
}

.ship-banner__link:hover {
  text-decoration: underline;
}

.ship-badge {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, var(--accent), var(--mark2));
  padding: 0.25rem 0.75rem;
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  color: var(--white);
  border-radius: calc(var(--radius) / 2);
  box-shadow: 0 2px 8px rgb(var(--accent-rgb) / 0.35);
}

/* ----- ????????制不????----- */

.product-section {
  margin-top: 4.5rem;
}

.product-section:first-child {
  margin-top: 0;
}

@media (min-width: 640px) {
  .product-section {
    margin-top: 5.5rem;
  }

  .product-section:first-child {
    margin-top: 0;
  }
}

.product-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
}

.product-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .product-section__title {
    font-size: 1.875rem;
  }
}

.product-section__more {
  flex-shrink: 0;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.product-section__more:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.product-section__empty {
  margin-top: 1rem;
  font-size: 0.875rem;
  color: var(--hush);
}

.product-grid {
  margin-top: 1.5rem;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

@media (min-width: 640px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
  }
}

@media (min-width: 1024px) {
  .product-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1.5rem;
  }
}

.product-grid--display {
  grid-template-columns: repeat(var(--pd-columns, 4), minmax(0, 1fr));
}

@media (max-width: 639px) {
  .product-grid--display {
    grid-template-columns: repeat(min(var(--pd-columns, 4), 2), minmax(0, 1fr));
  }
}

.product-display--carousel .product-carousel {
  position: relative;
  margin-top: 1.25rem;
}

.product-carousel__track {
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.product-carousel__track::-webkit-scrollbar {
  display: none;
}

.product-carousel__inner {
  display: flex;
  gap: 1rem;
  padding: 0.25rem 0.125rem 0.5rem;
}

.product-display--carousel .product-carousel__inner > .product-card {
  flex: 0 0 calc((100% - (var(--pd-columns, 4) - 1) * 1rem) / var(--pd-columns, 4));
  min-width: 9.5rem;
  scroll-snap-align: start;
}

@media (max-width: 639px) {
  .product-display--carousel .product-carousel__inner > .product-card {
    flex-basis: calc((100% - 1rem) / min(var(--pd-columns, 4), 2));
  }
}

.product-carousel__nav {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  margin-top: -1.125rem;
  border: 1px solid var(--line);
  border-radius: 9999px;
  background: rgb(255 255 255 / 0.92);
  color: var(--void);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.08);
  transition: background 0.2s ease, box-shadow 0.2s ease;
}

.product-carousel__nav:hover {
  background: #fff;
  box-shadow: 0 4px 12px rgb(0 0 0 / 0.12);
}

.product-carousel__nav--prev {
  left: -0.75rem;
}

.product-carousel__nav--next {
  right: -0.75rem;
}

@media (max-width: 639px) {
  .product-carousel__nav {
    display: none;
  }
}

.product-grid--shop {
  margin-top: 0;
}


@media (min-width: 1024px) {
  .product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

.product-card {
  position: relative;
  display: block;
  background: rgba(255, 255, 255, 0.65);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  overflow: hidden;
  backdrop-filter: blur(8px);
  transition:
    background 0.2s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease,
    border-color 0.25s ease;
}

.product-card:hover {
  background: rgba(255, 255, 255, 0.9);
  box-shadow: 0 8px 32px rgb(var(--accent-rgb) / 0.15), 0 2px 8px rgb(var(--accent-rgb) / 0.08);
  transform: translateY(-3px);
  border-color: rgb(var(--accent-rgb) / 0.3);
}

.product-card--shop {
  background: rgba(245, 243, 255, 0.7);
}

.product-card--shop:hover {
  background: rgba(255, 255, 255, 0.92);
}

.product-card__media {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: linear-gradient(135deg, var(--mist) 0%, rgba(237,233,254,0.4) 100%);
  position: relative;
}

.product-card__media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom, transparent 60%, rgb(var(--void-rgb) / 0.04));
  pointer-events: none;
}

.product-card__badge {
  position: absolute;
  top: 0.5rem;
  left: 0.5rem;
  z-index: 2;
  padding: 0.2rem 0.45rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1.2;
  color: #fff;
  background: var(--accent, --accent2);
  border-radius: var(--radius);
  pointer-events: none;
}

.product-card__badge--new {
  background: var(--accent, #7c3aed);
}

.product-card__badge--sale {
  top: 0.5rem;
  left: 0.5rem;
  color: #b91c1c;
  background: #fff;
  border: 1px solid rgb(0 0 0 / 0.06);
  box-shadow: 0 2px 8px rgb(0 0 0 / 0.12);
  letter-spacing: 0.02em;
  font-weight: 800;
}

/* Keep purple New below discount when both present */
.product-card__media:has(.product-card__badge--sale) .product-card__badge--new {
  top: 2.25rem;
}

.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.product-card:hover .product-card__img {
  transform: scale(1.07);
}

.product-card__body {
  display: block;
  padding: 0.875rem;
}

@media (min-width: 640px) {
  .product-card__body {
    padding: 1.25rem;
  }
}

.product-card__brand {
  display: block;
  margin: 0 0 0.25rem;
  font-size: 0.6875rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  line-height: 1.3;
  color: var(--muted, #64748b);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.product-card__brand + .product-card__name {
  min-height: calc(1.35em * 2);
}

.product-card__name {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
  text-transform: none;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-body);
  letter-spacing: 0;
  line-height: 1.35;
  min-height: calc(1.35em * 2);
  color: var(--void);
}

.product-card__price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
  margin-top: 0.4rem;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--accent);
}

.product-card__price .price--sale {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.2rem 0.35rem;
}

.product-card__price .price__was,
.product-info__price .price__was {
  margin-left: 0;
  font-size: 0.8125rem;
  font-weight: 500;
  color: #9ca3af;
  text-decoration: line-through;
}

.product-card__price .price__now,
.product-info__price .price__now {
  text-decoration: none;
  color: inherit;
  font-weight: 800;
}

.product-card__save {
  display: inline-flex;
  align-items: center;
  margin-top: 0.35rem;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  background: #ecfdf5;
  color: #047857;
  font-size: 0.6875rem;
  font-weight: 700;
  line-height: 1.3;
  flex-basis: 100%;
  box-sizing: border-box;
  width: fit-content;
  max-width: 100%;
}

.product-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0;
  margin-top: 0.55rem;
  font-size: 0.6875rem;
  font-weight: 600;
  color: #6b7280;
  line-height: 1.2;
}

.product-card__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
}

.product-card__meta-item:not([hidden]):not(.is-empty) + .product-card__meta-item::before {
  content: "";
  display: inline-block;
  width: 1px;
  height: 0.75rem;
  margin-right: 0.45rem;
  background: #d1d5db;
}

.product-card__meta-item--rating.is-empty,
.product-card__meta-item[hidden] {
  display: none;
}

.product-card__meta-star {
  color: #f59e0b;
  font-size: 0.75rem;
  line-height: 1;
}

/* ----- product card link + wishlist track ----- */

.product-card__link {
  display: block;
  color: inherit;
  text-decoration: none;
  background: var(--white);
}

.product-card__track {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  padding: 0;
  border: 1px solid rgb(var(--void-rgb) / 0.1);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.92);
  backdrop-filter: blur(6px);
  color: var(--muted, #64748b);
  cursor: pointer;
  box-shadow: 0 1px 4px rgb(var(--void-rgb) / 0.08);
  transition:
    color 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
}

.product-card__track:hover {
  border-color: rgb(var(--accent-rgb) / 0.45);
  color: var(--accent);
  transform: scale(1.06);
  box-shadow: 0 2px 8px rgb(var(--accent-rgb) / 0.18);
}

.product-card__track:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-card__track.is-active {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 2px 10px rgb(var(--accent-rgb) / 0.35);
}

.product-card__track-icon {
  font-size: 1.05rem;
  line-height: 1;
  pointer-events: none;
}

/* ----- product promo banner (detail page) ----- */

.product-promo {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  margin: 0.75rem 0 0;
  padding: 0.75rem 1rem 0.75rem 1.15rem;
  border: 1px solid rgb(var(--accent-rgb) / 0.16);
  border-radius: var(--radius-md, 0.5rem);
  background: linear-gradient(135deg, rgb(var(--accent-rgb) / 0.09) 0%, rgb(var(--accent-rgb) / 0.03) 100%);
  box-shadow: 0 1px 3px rgb(var(--void-rgb) / 0.05);
  position: relative;
  overflow: hidden;
}

.product-promo::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--accent) 0%, var(--accent2, var(--accent)) 100%);
}

.product-promo[hidden] {
  display: none !important;
}

.product-promo__head {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  min-width: 0;
}

.product-promo__icon {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 1.75rem;
  height: 1.75rem;
  border-radius: 999px;
  background: rgb(var(--accent-rgb) / 0.14);
  color: var(--accent);
  font-size: 0.875rem;
  line-height: 1;
}

.product-promo__icon::before {
  content: "??;
}

.product-promo__label {
  font-size: 0.9375rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--void);
  line-height: 1.3;
}

.product-promo__timer {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-left: auto;
}

.product-promo__timer-label {
  font-size: 0.6875rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--hush, #64748b);
  white-space: nowrap;
}

.product-promo__countdown {
  display: flex;
  align-items: center;
}

.product-promo__units {
  display: flex;
  align-items: flex-start;
  gap: 0.2rem;
}

.product-promo__unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 2.1rem;
}

.product-promo__digit {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 2rem;
  height: 2rem;
  padding: 0 0.3rem;
  border-radius: 0.375rem;
  background: rgb(255 255 255 / 0.9);
  border: 1px solid rgb(var(--void-rgb) / 0.08);
  box-shadow: 0 1px 2px rgb(var(--void-rgb) / 0.06);
  font-size: 1rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  font-family: var(--font-display, inherit);
  color: var(--accent);
  line-height: 1;
}

.product-promo__unit-label {
  margin-top: 0.2rem;
  font-size: 0.625rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  color: var(--hush, #64748b);
}

.product-promo__sep {
  align-self: flex-start;
  margin-top: 0.42rem;
  font-size: 0.8125rem;
  font-weight: 700;
  color: rgb(var(--accent-rgb) / 0.4);
  line-height: 1;
  user-select: none;
}

.product-promo__ended {
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--hush, #64748b);
}

@media (max-width: 480px) {
  .product-promo {
    flex-direction: column;
    align-items: stretch;
  }

  .product-promo__timer {
    margin-left: 0;
    justify-content: space-between;
  }
}

.shop-tag-bar {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  border-bottom: 1px solid var(--line);
  padding-bottom: 1rem;
}

.shop-tag-bar__label {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hush);
}

.shop-tag-bar__value {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.filter-tabs {
  margin-bottom: 1rem;
  display: flex;
  gap: 0.5rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}


.shop-toolbar {
  margin-bottom: 1.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
}

.shop-toolbar__actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
  margin-left: auto;
}

.shop-toolbar__count {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hush);
}

.shop-toolbar__sort {
  margin: 0;
}

.shop-toolbar__label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
}

.shop-toolbar__select {
  border: 1px solid var(--line);
  background: var(--white);
  border-radius: var(--radius);
  padding: 0.375rem 0.625rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--void);
  max-width: 14rem;
}

.shop-toolbar__select:focus {
  outline: 2px solid rgb(var(--void-rgb) / 0.25);
  outline-offset: 1px;
}


.shop-page__title {
  margin: 0 0 1.25rem;
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 2vw + 1rem, 2rem);
  font-weight: 700;
  letter-spacing: -0.03em;
}

.shop-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem 0.5rem;
  margin: 0 0 0.75rem;
  font-size: 0.8125rem;
  color: var(--hush);
}

@media (max-width: 639px) {
  body[data-page="shop"] .site-main {
    padding-top: 0.75rem;
    padding-bottom: 1.25rem;
  }

  .shop-page__title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .shop-breadcrumb {
    margin: 0 0 0.4rem;
    font-size: 0.75rem;
  }

  .shop-toolbar {
    margin-bottom: 0.75rem;
    flex-wrap: nowrap;
    gap: 0.5rem;
  }

  .shop-toolbar__count {
    flex: 1 1 auto;
    min-width: 0;
    font-size: 0.75rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .shop-toolbar__actions {
    flex: 0 0 auto;
    flex-wrap: nowrap;
    gap: 0.35rem;
    margin-left: 0;
  }

  .shop-toolbar__category,
  .shop-toolbar__sort {
    flex: 0 0 auto;
    min-width: 0;
  }

  .shop-toolbar__label {
    gap: 0.25rem;
  }

  .shop-toolbar__label-text {
    display: none;
  }

  .shop-toolbar__select {
    max-width: 7.25rem;
    height: 2rem;
    padding: 0 0.65rem;
    border-radius: 999px;
    background: rgb(var(--mist-rgb, 237 233 254) / 0.65);
    font-size: 0.75rem;
    font-weight: 600;
  }
}

.shop-breadcrumb a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 0.15em;
}

.shop-breadcrumb a:hover {
  color: var(--void);
}

.shop-breadcrumb [aria-current="page"] {
  color: var(--void);
  font-weight: 600;
}

.shop-breadcrumb__sep {
  color: rgb(var(--hush-rgb) / 0.7);
  user-select: none;
}

.shop-layout {
  display: block;
}

.shop-cat-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 70;
  background: rgb(var(--void-rgb) / 0.45);
}

body.shop-cat-open .shop-cat-backdrop {
  display: block;
}

.shop-sidebar {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 80;
  display: flex;
  flex-direction: column;
  width: min(20rem, 88vw);
  height: 100%;
  max-height: 100dvh;
  padding: 0;
  border: none;
  border-right: 1px solid var(--line);
  background: var(--white);
  box-shadow: 8px 0 28px rgb(var(--void-rgb) / 0.12);
  transform: translateX(-105%);
  transition: transform 0.22s ease;
  overflow: hidden;
}

body.shop-cat-open .shop-sidebar {
  transform: translateX(0);
}

.shop-sidebar__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  flex-shrink: 0;
  padding: 1rem 1rem 0.75rem;
  border-bottom: 1px solid var(--line);
}

.shop-sidebar__heading {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--hush);
}

.shop-sidebar__close {
  border: 1px solid var(--line);
  background: var(--white);
  width: 2.25rem;
  height: 2.25rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
}

.shop-sidebar__close:hover {
  border-color: var(--void);
}

.shop-tree {
  margin: 0;
  padding: 0.75rem 0.75rem 1.5rem;
  list-style: none;
  overflow: auto;
  flex: 1 1 auto;
  -webkit-overflow-scrolling: touch;
}

.shop-tree__item {
  margin: 0;
}

.shop-tree__link {
  display: block;
  padding: 0.45rem 0.5rem;
  padding-left: calc(0.5rem + (var(--shop-depth, 0) * 0.85rem));
  font-size: 0.9375rem;
  font-weight: 500;
  color: var(--void);
  border-radius: var(--radius);
  text-decoration: none;
  line-height: 1.35;
}

.shop-tree__link:hover {
  background: var(--chalk);
}

.shop-tree__link.is-ancestor {
  font-weight: 600;
}

.shop-tree__link.is-active {
  background: var(--void);
  color: var(--white);
  font-weight: 600;
}

.shop-cat-open {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  border: 1px solid var(--line);
  background: var(--white);
  padding: 0.25rem 0.55rem;
  font-size: 0.8125rem;
  font-weight: 600;
  cursor: pointer;
  max-width: 8.5rem;
  height: 2.25rem;
  text-align: left;
  flex-shrink: 0;
}

.shop-cat-open:hover {
  border-color: var(--void);
}

.shop-cat-open--header {
  order: -1;
}

.shop-cat-open__icon {
  font-size: 0.95rem;
  line-height: 1;
}

.shop-cat-open__text {
  display: flex;
  flex-direction: column;
  gap: 0;
  min-width: 0;
}

.shop-cat-open__label {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hush);
  line-height: 1.1;
}

.shop-cat-open__current {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  line-height: 1.2;
}

@media (max-width: 399px) {
  .shop-cat-open--header .shop-cat-open__text {
    display: none;
  }
  .shop-cat-open--header {
    max-width: none;
    padding: 0;
    width: 2.25rem;
    justify-content: center;
  }
}

.shop-toolbar__category {
  display: block;
  margin: 0;
  flex: 0 1 auto;
  min-width: 0;
}


@media (min-width: 1200px) {
  .product-grid--shop {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1600px) {
  .product-grid--shop {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}
.filter-tab {
  flex-shrink: 0;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.875rem;
  font-size: 0.875rem;
  font-weight: 600;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  cursor: pointer;
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.filter-tab:hover {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: var(--glow-sm);
}

.filter-tab.is-active {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white);
  box-shadow: 0 4px 14px rgb(var(--accent-rgb) / 0.35);
}

.filter-tab.is-nested {
  opacity: 0.9;
}

.pagination {
  margin-top: 2.5rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
}

.pagination__link {
  min-width: 2.375rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.4rem 0.5rem;
  text-align: center;
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition:
    border-color 0.2s ease,
    background 0.2s ease,
    color 0.2s ease,
    box-shadow 0.2s ease;
}

.pagination__link:hover {
  border-color: var(--accent);
  color: var(--accent);
}

.pagination__link.is-current {
  border-color: transparent;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent2) 100%);
  color: var(--white);
  box-shadow: 0 4px 12px rgb(var(--accent-rgb) / 0.3);
}

.pagination__meta {
  margin-top: 0.75rem;
  text-align: center;
  font-size: 0.75rem;
  color: var(--hush);
}

.shop-empty {
  color: var(--hush);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* ----- Product page ----- */

/* Product page: header scrolls away with the page (not sticky). */
body[data-page="product"] .site-header {
  position: relative;
  top: auto;
}

.product-page {
  display: grid;
  gap: 2.5rem;
}

.product-breadcrumb {
  grid-column: 1 / -1;
  margin-bottom: 0;
}

.product-detail {
  min-width: 0;
  grid-column: 1 / -1;
}

@media (min-width: 1024px) {
  .product-page {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-areas:
      "crumb crumb"
      "gallery info"
      "detail info";
    align-items: start;
    column-gap: 2.5rem;
    row-gap: 2rem;
  }

  .product-breadcrumb {
    grid-area: crumb;
    margin-bottom: 0;
  }

  .product-gallery {
    grid-area: gallery;
  }

  .product-info {
    grid-area: info;
    position: sticky;
    top: 1rem;
    align-self: start;
  }

  .product-detail {
    grid-area: detail;
    grid-column: auto;
  }
}

.product-gallery {
  min-width: 0;
  max-width: 100%;
}

.product-gallery--tiles .product-gallery__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.product-gallery__tile {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--mist) 0%, rgba(237,233,254,0.3) 100%);
  border-radius: var(--radius-lg);
  box-shadow: 0 6px 20px rgb(var(--accent-rgb) / 0.08);
  cursor: zoom-in;
}

.product-gallery__tile:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.product-gallery__tile img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
  pointer-events: none;
}

.product-gallery__tile:hover img {
  transform: scale(1.03);
}

/* Single image: use full row. Odd last of many: keep half-width on left. */
.product-gallery__tile:only-child {
  grid-column: 1 / -1;
}

.product-gallery__tile:last-child:nth-child(odd):not(:only-child) {
  grid-column: 1 / -1;
  max-width: calc(50% - 0.325rem);
}

.product-gallery__stage {
  position: relative;
  min-width: 0;
}

.product-gallery__dots {
  display: none;
  justify-content: center;
  align-items: center;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  pointer-events: none;
}

.product-gallery__dot {
  width: 0.5rem;
  height: 0.5rem;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgb(255 255 255 / 0.55);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.2);
  cursor: pointer;
  pointer-events: auto;
}

.product-gallery__dot.is-active {
  background: #ffffff;
  transform: scale(1.2);
  box-shadow: 0 0 0 1px rgb(0 0 0 / 0.25), 0 1px 4px rgb(0 0 0 / 0.25);
}

/* Mobile: one image; horizontal swipe snaps to next (JS). Vertical = page scroll. */
@media (max-width: 1023px) {
  .product-gallery--tiles .product-gallery__stage {
    overflow: hidden;
    touch-action: pan-y;
  }

  .product-gallery--tiles .product-gallery__grid {
    display: flex;
    flex-wrap: nowrap;
    gap: 0;
    touch-action: pan-y;
    will-change: transform;
    transition: transform 0.28s ease;
    scrollbar-width: none;
  }

  .product-gallery--tiles .product-gallery__grid.is-dragging {
    transition: none;
  }

  .product-gallery--tiles .product-gallery__grid::-webkit-scrollbar {
    display: none;
  }

  .product-gallery__tile,
  .product-gallery__tile:only-child,
  .product-gallery__tile:last-child:nth-child(odd):not(:only-child) {
    flex: 0 0 100%;
    width: 100%;
    max-width: none;
    grid-column: auto;
    border-radius: var(--radius-lg);
    box-shadow: none;
  }

  .product-gallery__dots:not([hidden]) {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0.7rem;
    z-index: 2;
  }
}

.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 200;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-rows: minmax(0, 1fr) auto;
  align-items: stretch;
  justify-items: stretch;
  gap: 0.75rem 0.5rem;
  padding: 3.25rem 0.75rem 0.75rem;
  background: rgb(10 10 14 / 0.94);
  color: #f5f5f5;
}

.product-lightbox[hidden] {
  display: none;
}

html.is-product-lightbox-open,
html.is-product-lightbox-open body {
  overflow: hidden;
}

.product-lightbox__close {
  position: absolute;
  top: max(0.65rem, env(safe-area-inset-top, 0px));
  right: max(0.65rem, env(safe-area-inset-right, 0px));
  z-index: 3;
  width: 2.85rem;
  height: 2.85rem;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 0.35);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.16);
  color: #ffffff;
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 18px rgb(0 0 0 / 0.35);
  backdrop-filter: blur(8px);
}

.product-lightbox__close:hover,
.product-lightbox__nav:hover {
  border-color: rgb(255 255 255 / 0.55);
  background: rgb(255 255 255 / 0.28);
}

.product-lightbox__stage {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  z-index: 1;
  margin: 0;
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  touch-action: none;
  cursor: grab;
  user-select: none;
  -webkit-user-select: none;
}

.product-lightbox__stage:active {
  cursor: grabbing;
}

.product-lightbox__track {
  display: flex;
  height: 100%;
  transform: translate3d(0, 0, 0);
  transition: transform 0.32s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.product-lightbox__slide {
  flex: 0 0 auto;
  position: relative;
  height: 100%;
  min-width: 0;
  overflow: hidden;
  box-sizing: border-box;
}

.product-lightbox__img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center center;
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
  -webkit-user-drag: none;
  will-change: transform;
}

.product-lightbox__img.is-zoomed {
  max-width: none;
  max-height: none;
}

.product-lightbox__nav:disabled {
  opacity: 0.35;
  cursor: default;
}

.product-lightbox__nav {
  position: relative;
  z-index: 2;
  grid-row: 1;
  align-self: center;
  width: 2.5rem;
  height: 2.5rem;
  display: grid;
  place-items: center;
  margin: 0;
  border: 1px solid rgb(255 255 255 / 0.3);
  border-radius: 999px;
  background: rgb(255 255 255 / 0.14);
  color: #ffffff;
  font-size: 1.6rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 16px rgb(0 0 0 / 0.3);
  backdrop-filter: blur(8px);
}

.product-lightbox__nav--prev {
  grid-column: 1;
}

.product-lightbox__nav--next {
  grid-column: 3;
}

.product-lightbox__nav[hidden] {
  visibility: hidden;
  pointer-events: none;
}

.product-lightbox__thumbs {
  grid-column: 1 / -1;
  grid-row: 2;
  position: relative;
  z-index: 2;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  padding: 0.35rem 0.15rem 0.15rem;
}

.product-lightbox__thumbs[hidden] {
  display: none;
}

.product-lightbox__thumb {
  height: 4rem;
  width: 4rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid rgb(255 255 255 / 0.25);
  background: rgb(255 255 255 / 0.08);
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.product-lightbox__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  pointer-events: none;
}

.product-lightbox__thumb:hover {
  border-color: rgb(255 255 255 / 0.5);
}

.product-lightbox__thumb.is-active {
  border-color: #ffffff;
  box-shadow: 0 0 0 2px rgb(255 255 255 / 0.35);
}

@media (max-width: 639px) {
  .product-lightbox {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    padding: 3rem 0.5rem 0.65rem;
  }

  .product-lightbox__stage {
    flex: 1 1 auto;
    width: 100%;
    min-height: 0;
  }

  .product-lightbox__nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
  }

  .product-lightbox__nav--prev {
    left: 0.35rem;
  }

  .product-lightbox__nav--next {
    right: 0.35rem;
  }

  .product-lightbox__thumbs {
    flex: 0 0 auto;
    padding-bottom: env(safe-area-inset-bottom, 0);
  }

  .product-lightbox__thumb {
    height: 3.25rem;
    width: 3.25rem;
  }
}

.product-gallery__thumbs {
  margin-top: 0.75rem;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  max-width: 100%;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  overscroll-behavior-x: contain;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-x;
  scrollbar-width: thin;
  padding-bottom: 0.35rem;
}

.product-videos {
  display: grid;
  gap: 0.75rem;
  margin-top: 0.75rem;
}
.product-videos__item {
  display: block;
  width: 100%;
  max-height: 22rem;
  background: #000;
  border: 1px solid var(--line);
}

.product-thumb {
  height: 4.5rem;
  width: 4.5rem;
  flex-shrink: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--mist) 0%, rgba(237,233,254,0.3) 100%);
  padding: 0;
  cursor: pointer;
  border-radius: var(--radius);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

@media (max-width: 639px) {
  .product-thumb {
    height: 3.25rem;
    width: 3.25rem;
  }
}

.product-thumb:hover {
  border-color: rgb(var(--accent-rgb) / 0.4);
}

.product-thumb.is-active {
  border-color: var(--accent);
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.25);
}

.product-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-info__back {
  font-size: 0.875rem;
  color: var(--hush);
  text-underline-offset: 3px;
  transition: color 0.2s ease;
}

.product-info__back:hover {
  text-decoration: underline;
  color: var(--accent);
}

.product-info__brand {
  margin: 1.875rem 0 0;
  font-size: 0.8125rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted, #64748b);
}

.product-info__brand a {
  color: inherit;
  text-decoration: none;
}

.product-info__brand a:hover {
  text-decoration: underline;
  color: var(--accent, #0f766e);
}

.product-info__brand + .product-info__title {
  margin-top: 0.35rem;
}

.brands-index__count {
  margin: 0.75rem 0 1.25rem;
}

.brands-index {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(10.5rem, 1fr));
  gap: 0.75rem;
}

.brands-index__card {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  min-height: 4.25rem;
  padding: 0.75rem 0.85rem;
  border: 1px solid var(--line, #e2e8f0);
  background: var(--surface, #fff);
  color: inherit;
  text-decoration: none;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.brands-index__card:hover {
  border-color: var(--accent, #0f766e);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.brands-index__mono,
.brands-index__logo {
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--accent, #0f766e) 12%, transparent);
  color: var(--accent, #0f766e);
  font-family: var(--font-display, inherit);
  font-size: 1rem;
  font-weight: 700;
  text-transform: uppercase;
}

.brands-index__logo {
  object-fit: contain;
  background: var(--surface, #fff);
  border: 1px solid var(--line, #e2e8f0);
  padding: 0.2rem;
}

.brand-page__head {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 0.5rem;
}

.brand-page__logo,
.brand-page__mono {
  flex: 0 0 auto;
  width: 4.5rem;
  height: 4.5rem;
  border-radius: 0.75rem;
  object-fit: contain;
  border: 1px solid var(--line, #e2e8f0);
  background: var(--surface, #fff);
  padding: 0.35rem;
}

.brand-page__mono {
  display: grid;
  place-items: center;
  font-family: var(--font-display, inherit);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent, #0f766e);
  background: color-mix(in srgb, var(--accent, #0f766e) 10%, transparent);
  text-transform: uppercase;
}

.brand-page__titles {
  min-width: 0;
}

.brand-page__titles .shop-page__title {
  margin-top: 0;
}

.brand-page__titles .shop-page__sub {
  margin-top: 0.35rem;
}

.brands-index__body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.brands-index__name {
  font-size: 0.9375rem;
  font-weight: 650;
  line-height: 1.25;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.brands-index__meta {
  font-size: 0.75rem;
  color: var(--muted, #64748b);
}

.product-info__title {
  margin: 1.875rem 0 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  line-height: 1.1;
}

@media (min-width: 640px) {
  .product-info__title {
    font-size: 1.25rem;
  }
}

.product-info__price {
  margin: 0.875rem 0 0;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--accent);
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.product-info__tags {
  margin: 1rem 0 0;
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.25rem 0.75rem;
  font-size: 0.875rem;
}

.product-info__tag-label {
  color: var(--hush);
}

.product-info__tag {
  font-weight: 600;
  text-underline-offset: 3px;
  color: var(--accent);
  transition: color 0.2s ease;
}

.product-info__tag:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.product-attrs {
  margin: 1rem 0 0;
}

.product-attrs__list {
  display: grid;
  gap: 0.5rem;
}

.product-attrs__item--text {
  display: grid;
  grid-template-columns: minmax(4.5rem, 32%) 1fr;
  gap: 0.35rem 0.75rem;
  align-items: baseline;
  font-size: 0.875rem;
  line-height: 1.5;
}

.product-attrs__name {
  margin: 0;
  color: var(--hush);
  font-weight: 600;
}

.product-attrs__value {
  margin: 0;
  color: var(--ink);
  white-space: pre-wrap;
  word-break: break-word;
}

.product-attrs__unit {
  font-weight: 500;
  color: var(--hush);
}

.product-attrs__item--table {
  display: grid;
  gap: 0.35rem;
}

.product-attrs__item--table .product-attrs__name {
  font-size: 0.875rem;
}

.product-attrs__table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  max-width: 100%;
}

.product-attrs__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8125rem;
  line-height: 1.4;
}

.product-attrs__table th,
.product-attrs__table td {
  border: 1px solid var(--line);
  padding: 0.35rem 0.5rem;
  text-align: center;
  white-space: nowrap;
}

.product-attrs__table th {
  background: color-mix(in srgb, var(--line) 35%, transparent);
  font-weight: 600;
  color: var(--ink);
}

.product-info__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  line-height: 1.7;
  color: var(--hush);
}

.product-related {
  margin-top: 1.25rem;
  display: grid;
  gap: 1rem;
}

.product-related__group {
  display: grid;
  gap: 0.5rem;
}

.product-related__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--ink);
}

.product-related__items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.product-related__link {
  display: block;
  width: 3.25rem;
  height: 3.25rem;
  overflow: hidden;
  border: 1px solid var(--line, #e2e8f0);
  background: var(--soft, #f8fafc);
  transition: border-color 0.15s ease, opacity 0.15s ease;
}

.product-related__link:hover {
  border-color: var(--ink);
}

.product-related__link.is-current {
  border-color: var(--ink);
  box-shadow: inset 0 0 0 1px var(--ink);
  pointer-events: none;
}

.product-related__img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.product-related__fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--hush);
}

.product-page.is-soft-loading {
  opacity: 0.55;
  pointer-events: none;
  transition: opacity 0.15s ease;
}

.buy-form {
  margin-top: 2rem;
  display: grid;
  gap: 1rem;
}

.buy-form__row {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-end;
  gap: 0.75rem;
}

.buy-qty {
  display: grid;
  gap: 0.35rem;
}

.buy-qty__label {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--hush);
}

.buy-qty__stepper {
  display: inline-flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--white, #fff);
}

.buy-qty__btn {
  width: 2.35rem;
  height: 2.5rem;
  margin: 0;
  border: 0;
  background: transparent;
  color: var(--void);
  font-size: 1.125rem;
  line-height: 1;
  cursor: pointer;
}

.buy-qty__btn:hover {
  background: var(--mist);
}

.buy-form .field-input--qty {
  width: 3rem;
  height: 2.5rem;
  border: 0;
  border-radius: 0;
  text-align: center;
  box-shadow: none;
  -moz-appearance: textfield;
  appearance: textfield;
}

.buy-form__row #product-add-btn {
  min-width: 8.5rem;
  flex: 1 1 auto;
}

.buy-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 0.15rem;
}

.buy-form__buy-now {
  width: 100%;
  background: var(--gold);
  border-color: transparent;
  color: var(--void);
}

.buy-form__actions .product-info__backorder {
  flex: 1 0 100%;
  margin: 0;
  white-space: pre-line;
}

.product-info__backorder {
  white-space: pre-line;
}

.buy-form__buy-now:hover:not(:disabled) {
  background: var(--gold);
  border-color: transparent;
  color: var(--void);
  filter: brightness(0.96);
  box-shadow: 0 4px 14px rgb(251 191 36 / 0.35);
}

/* Login-to-see-price: guests cannot purchase until signed in (body[data-customer] from chrome). */
body:not([data-customer='1']) form#buy[data-login-to-see-price='1'] .buy-form__row,
body:not([data-customer='1']) form#buy[data-login-to-see-price='1'] #product-add-btn,
body:not([data-customer='1']) form#buy[data-login-to-see-price='1'] #product-buy-now-btn,
body:not([data-customer='1']) form#buy[data-login-to-see-price='1'] .buy-form__buy-now,
body:not([data-customer='1']) form#buy[data-login-to-see-price='1'] #product-backorder-msg {
  display: none !important;
}

.product-track-btn.is-active {
  border-color: var(--accent);
  color: var(--accent);
}

.product-track-btn__icon {
  font-size: 1rem;
  line-height: 1;
  margin-right: 0.35rem;
}

.tracking-list {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  background: rgba(255, 255, 255, 0.9);
  overflow: hidden;
}

.tracking-row.cart-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  grid-template-areas: "lead info trash";
  gap: 0.85rem 1rem;
  align-items: center;
  margin: 0;
  padding: 0.9rem 1rem;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.tracking-row.cart-row:last-child {
  border-bottom: 0;
}

.tracking-row.cart-row:hover {
  background: rgb(var(--accent-rgb) / 0.04);
  border-color: var(--line);
  box-shadow: none;
}

.tracking-row .cart-row__media {
  grid-area: lead;
}

.tracking-row .cart-row__info {
  grid-area: info;
}

.tracking-row .cart-row__controls {
  grid-area: trash;
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.tracking-remove {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border: 0;
  border-radius: 999px;
  background: transparent;
  color: var(--hush);
  cursor: pointer;
  padding: 0;
}

.tracking-remove svg {
  width: 1.1rem;
  height: 1.1rem;
}

.tracking-remove:hover {
  background: rgb(var(--accent-rgb) / 0.1);
  color: #b91c1c;
}

.buy-form .field-select {
  max-width: 100%;
}

.buy-form .field-select option:disabled {
  color: var(--hush);
}

.buy-form label.field:has(select.buy-options__native),
.buy-form .buy-swatch:has(select.buy-options__native) {
  display: none;
}

.buy-options__label {
  margin: 0 0 0.45rem;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--void);
}

.buy-options__value {
  font-weight: 600;
}

.buy-options__name-source,
.buy-options__value-source,
.buy-options__btn-source {
  display: block;
  margin-top: 0.15rem;
  font-size: 0.7em;
  font-weight: 400;
  line-height: 1.25;
  color: var(--hush, #64748b);
}

.buy-options__name-source,
.buy-options__value-source {
  display: inline;
  margin-top: 0;
  margin-left: 0.25rem;
  font-size: 0.75em;
}

.buy-options__list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.buy-options__btn {
  appearance: none;
  margin: 0;
  padding: 0.75rem 1.5rem;
  border: 1px solid var(--line);
  border-radius: 0.35rem;
  background: #fff;
  color: var(--void);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 500;
  line-height: 1.35;
  cursor: pointer;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.1rem;
}

.buy-options__btn-label {
  display: block;
}

.buy-options__btn.is-selected {
    border-color: var(--accent);
    box-shadow: inset 0 0 0 1px rgba(var(--accent-rgb), 0.1);
    border: 1.5px solid;
    background: var(--gold);
}

.buy-options__btn.is-unavailable,
.buy-options__btn:disabled {
  color: var(--hush);
  cursor: not-allowed;
  background-image: linear-gradient(
    to top right,
    transparent calc(50% - 0.5px),
    rgb(148 163 184 / 0.9) calc(50% - 0.5px),
    rgb(148 163 184 / 0.9) calc(50% + 0.5px),
    transparent calc(50% + 0.5px)
  );
}

.buy-options__btn:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

.buy-options__btn--swatch {
  width: 2.25rem;
  height: 2.25rem;
  min-width: 2.25rem;
  padding: 0;
  border-radius: 999px;
  box-shadow: inset 0 0 0 1px rgb(0 0 0 / 0.08);
}

.buy-options__btn--swatch.is-selected {
  box-shadow:
    inset 0 0 0 1px rgb(0 0 0 / 0.08),
    0 0 0 2px #fff,
    0 0 0 3px var(--accent);
}

.product-desc {
  margin-top: 3rem;
  border-top: 1px solid var(--line);
  padding-top: 2.5rem;
}

.product-detail .product-attrs {
  margin-top: 2rem;
}

@media (min-width: 1024px) {
  .product-detail .product-desc {
    margin-top: 0.5rem;
  }
}

.product-desc__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  color: var(--void);
}

.product-desc__body {
  margin-top: 1rem;
  display: grid;
  gap: 1rem;
  font-size: 1rem;
}

.product-desc__body p.rich-text {
     margin: 0;
}


.product-desc__body table,
.guide-article__body table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 1em 0;
  table-layout: fixed;
}
.product-desc__body th,
.product-desc__body td,
.guide-article__body th,
.guide-article__body td {
  border: 1px solid var(--line, #e2e8f0);
  padding: 0.5em 0.75em;
  vertical-align: top;
  word-break: break-word;
  text-align: left;
}
.product-desc__body th,
.guide-article__body th {
  background: var(--surface-2, #f8fafc);
  font-weight: 600;
  color: var(--void, #0f172a);
}
.rich-text {
  max-width: 65ch;
  line-height: 1.7;
  color: var(--hush);
}

/* ----- ????? ----- */

.guide-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 6vw, 3.75rem);
  font-weight: 900;
  letter-spacing: 0.02em;
  line-height: 1.0;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 50%, var(--mark2) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.guide-sub {
  margin: 1.25rem 0 0;
  max-width: 36rem;
  color: var(--hush);
  line-height: 1.7;
}

.error404 {
  text-align: center;
  padding: clamp(3rem, 8vw, 5.5rem) 1rem 4rem;
  max-width: 36rem;
  margin-inline: auto;
}

.error404__code {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 900;
  letter-spacing: 0.06em;
  line-height: 1;
  color: var(--accent);
  opacity: 0.85;
}

.error404 .guide-title {
  margin-top: 0.75rem;
}

.error404 .muted {
  margin: 1rem auto 0;
  max-width: 28rem;
}

.error404__actions {
  margin-top: 2rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  justify-content: center;
  align-items: center;
}

.guide-list {
  margin: 2.5rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.875rem;
}

.guide-list__link {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  text-underline-offset: 3px;
  color: var(--accent);
  transition: color 0.2s ease;
}

.guide-list__link:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.guide-article {
  font-size: 1rem;
  line-height: 1.75;
}

.guide-article a {
  text-decoration: underline;
  color: var(--accent);
}

.guide-article a:hover {
  color: var(--accent2);
}

.guide-article h1,
.guide-article h2 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
}

.guide-article img {
  max-width: 100%;
  border-radius: var(--radius);
}

.guide-article__back {
  margin-top: 3rem;
  font-size: 0.875rem;
}
.guide-article__body {
  max-width: 65ch;
  font-size: 1rem;
  line-height: 1.75;
  color: var(--hush, #475569);
}

.guide-article__body > *:first-child {
  margin-top: 0;
}

.guide-article__body > *:last-child {
  margin-bottom: 0;
}

.guide-article__body p {
  margin: 0 0 1em;
}

.guide-article__body h1,
.guide-article__body h2,
.guide-article__body h3 {
  margin: 1.5em 0 0.6em;
  line-height: 1.3;
  font-weight: 700;
  color: var(--void, #0f172a);
  font-family: var(--font-display, inherit);
}

.guide-article__body h1 { font-size: 1.6rem; }
.guide-article__body h2 { font-size: 1.35rem; }
.guide-article__body h3 { font-size: 1.15rem; }

.guide-article__body ul,
.guide-article__body ol {
  margin: 0 0 1em;
  padding-left: 1.5em;
}

.guide-article__body li {
  margin: 0.25em 0;
}

.guide-article__body a {
  text-decoration: underline;
  color: var(--accent, #0f766e);
}

.guide-article__body a:hover {
  color: var(--accent2, var(--accent, #0f766e));
}

.guide-article__body img {
  display: block;
  max-width: 100%;
  height: auto;
  margin: 1em 0;
  border-radius: var(--radius, 0.5rem);
}

.guide-article__body iframe,
.guide-article__body .ql-video,
.guide-article__body video {
  display: block;
  width: 100%;
  max-width: 100%;
  margin: 1em 0;
  border: 0;
  border-radius: var(--radius, 0.5rem);
}

.guide-article__body iframe,
.guide-article__body .ql-video {
  aspect-ratio: 16 / 9;
  min-height: 12rem;
}

.guide-article__body blockquote {
  margin: 1em 0;
  padding: 0.25em 0 0.25em 1em;
  border-left: 3px solid var(--line, #e2e8f0);
  color: var(--hush, #475569);
}

.guide-article__body strong {
  color: var(--void, #0f172a);
  font-weight: 700;
}

.guide-sections {
  margin-top: 3.5rem;
  display: grid;
  gap: 3.5rem;
}

.guide-section {
  border-top: 1px solid var(--line);
  padding-top: 3rem;
}

.guide-section:first-child {
  border-top: 0;
  padding-top: 0;
}

.guide-section__title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

@media (min-width: 640px) {
  .guide-section__title {
    font-size: 1.875rem;
  }
}

.guide-section__body {
  margin: 1rem 0 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.7;
  color: var(--hush);
  white-space: pre-line;
}

.guide-section__note {
  margin-top: 1rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--accent);
}

.guide-actions {
  margin-top: 4rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

/* ----- ???折????荒?????啾貝??????????餉???----- */

.page-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.875rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: linear-gradient(135deg, var(--void) 0%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.cart-page {
  display: grid;
  gap: 1.5rem;
}

.cart-empty {
  display: grid;
  gap: 1rem;
  justify-items: start;
  padding: 1.5rem 0 0;
}

.cart-list {
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--line);
}

.cart-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.75rem 0;
}

.cart-select-all {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
}

.cart-manage {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.25rem 0;
  margin: 0;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent, var(--void));
  cursor: pointer;
  text-underline-offset: 3px;
}

.cart-manage:hover {
  text-decoration: underline;
}

.cart-manage[aria-pressed="true"] {
  color: var(--void);
}

.cart-row {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  grid-template-areas:
    "lead info"
    "lead line";
  column-gap: 0.75rem;
  row-gap: 0.4rem;
  align-items: start;
  border-bottom: 1px solid var(--line);
  padding: 1.125rem 0;
  transition: background 0.2s ease;
  position: relative;
}

.cart-page.is-managing .cart-row {
  grid-template-columns: auto minmax(0, 1fr) 2.25rem;
  grid-template-areas:
    "lead info trash"
    "lead line trash";
}

.cart-row:hover {
  background: rgba(237, 233, 254, 0.2);
}

@media (min-width: 640px) {
  .cart-row {
    grid-template-columns: auto minmax(0, 1fr) 7.25rem 9.75rem;
    grid-template-areas: "lead info controls line";
    column-gap: 1.25rem;
    row-gap: 0.75rem;
    align-items: center;
    padding: 1.375rem 0;
  }

  .cart-page.is-managing .cart-row {
    grid-template-columns: auto minmax(0, 1fr) 7.25rem 9.75rem 2.25rem;
    grid-template-areas: "lead info controls line trash";
  }
}

.cart-row.is-unavailable {
  opacity: 0.55;
}

.cart-row.is-deselected {
  opacity: 0.65;
}

.cart-row.is-unavailable .cart-row__thumb {
  filter: grayscale(1);
}

.cart-row__lead {
  grid-area: lead;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.cart-row__check {
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
}

.cart-row__check input, .cart-select-all input {
  appearance: none;
  -webkit-appearance: none;
  width: 1.25rem;
  height: 1.25rem;
  margin: 0;
  border: 1.5px solid color-mix(in srgb, var(--void) 35%, var(--line));
  border-radius: 50%;
  background-color: var(--white, #fff);
  background-repeat: no-repeat;
  background-position: center;
  background-size: 1rem;
  cursor: pointer;
  flex-shrink: 0;
  transition: border-color 0.15s ease, background-color 0.15s ease;
}

.cart-row__check input:checked, .cart-select-all input:checked {
  border-color: var(--accent, var(--void));
  background-color: var(--accent, var(--void));
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='none' stroke='%23fff' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round' d='M3.5 8.2 6.6 11.2 12.5 4.8'/%3E%3C/svg%3E");
}

.cart-row__check input:disabled, .cart-select-all input:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.cart-row__media {
  display: block;
  width: 4.5rem;
  height: 4.5rem;
  overflow: hidden;
  border: 1px solid var(--line);
  background: linear-gradient(135deg, var(--mist) 0%, rgba(237,233,254,0.3) 100%);
  border-radius: var(--radius);
  flex-shrink: 0;
}

@media (min-width: 640px) {
  .cart-row__media {
    width: 5.5rem;
    height: 5.5rem;
  }
}

.cart-row__thumb {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cart-row:hover .cart-row__thumb {
  transform: scale(1.04);
}

.cart-row__info {
  grid-area: info;
  min-width: 0;
  display: grid;
  gap: 0.25rem;
  align-content: start;
}

.cart-row__title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 0;
}

.cart-row__name {
  flex: 1 1 auto;
  min-width: 0;
  font-weight: 700;
  line-height: 1.35;
  text-underline-offset: 3px;
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  color: var(--void);
  transition: color 0.2s ease;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

@media (min-width: 640px) {
  .cart-row__name {
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
  }
}

.cart-row__name:hover {
  text-decoration: underline;
  color: var(--accent);
}

.cart-row__qty-compact {
  appearance: none;
  border: 1px solid color-mix(in srgb, var(--accent, var(--void)) 30%, var(--line));
  background: color-mix(in srgb, var(--accent, var(--void)) 10%, var(--white, #fff));
  color: var(--accent, var(--void));
  padding: 0.18rem 0.55rem;
  margin: 0;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  cursor: pointer;
  white-space: nowrap;
  line-height: 1.3;
  border-radius: 5px;
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

span.cart-row__qty-compact {
  cursor: default;
  opacity: 0.75;
}

button.cart-row__qty-compact:hover {
  background: color-mix(in srgb, var(--accent, var(--void)) 18%, var(--white, #fff));
  border-color: color-mix(in srgb, var(--accent, var(--void)) 45%, var(--line));
}

button.cart-row__qty-compact:active {
  transform: scale(0.96);
}

.cart-row__qty-stepper {
  display: none;
  flex: 0 0 auto;
  align-items: center;
  gap: 0.2rem;
  border: 1px solid color-mix(in srgb, var(--accent, var(--void)) 30%, var(--line));
  border-radius: 999px;
  padding: 0;
  background: color-mix(in srgb, var(--accent, var(--void)) 8%, var(--white, #fff));
}

.cart-row.is-qty-edit .cart-row__qty-compact {
  display: none;
}

.cart-row.is-qty-edit .cart-row__qty-stepper--mobile {
  display: inline-flex;
}

.cart-row__qty-stepper button {
  appearance: none;
  border: 0;
  background: var(--white, #fff);
  width: 1.55rem;
  height: 1.55rem;
  padding: 0;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  color: var(--accent, var(--void));
  cursor: pointer;
  border-radius: 50%;
  box-shadow: 0 0 0 1px color-mix(in srgb, var(--accent, var(--void)) 18%, var(--line));
}

.cart-row__qty-stepper button:hover {
  background: color-mix(in srgb, var(--accent, var(--void)) 12%, var(--white, #fff));
}

.cart-row__qty-stepper .qty-val {
  min-width: 1.25rem;
  text-align: center;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--void);
}

@media (min-width: 640px) {
  .cart-row__title .cart-row__qty-compact,
  .cart-row__title .cart-row__qty-stepper {
    display: none !important;
  }

  .cart-row__controls .cart-row__qty-stepper--pc {
    display: inline-flex !important;
  }
}

.cart-row__qty-stepper--pc.is-readonly {
  justify-content: center;
  min-width: 5.75rem;
  padding: 0.15rem 0.75rem;
}

.cart-row__meta {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--hush);
  line-height: 1.4;
}

.cart-row__meta--warn {
  color: var(--warn);
  font-weight: 600;
}

.cart-row__controls {
  grid-area: controls;
  display: none;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

@media (min-width: 640px) {
  .cart-row__controls {
    display: flex;
    justify-self: center;
    width: 7.25rem;
  }
}

.cart-row__qty {
  display: grid;
  gap: 0.25rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--hush);
}

.cart-row__qty .field-input {
  margin-top: 0;
  width: 4.5rem;
  min-width: 0;
  padding: 0.4rem 0.5rem;
}

.cart-row__trash {
  grid-area: trash;
  display: none;
  align-items: center;
  justify-content: center;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.35rem;
  margin: 0;
  color: var(--hush);
  cursor: pointer;
  border-radius: var(--radius, 0.35rem);
  transition: color 0.15s ease, background 0.15s ease;
  align-self: center;
}

.cart-page.is-managing .cart-row__trash {
  display: inline-flex;
}

.cart-row__trash:hover {
  color: var(--err, #c0392b);
  background: color-mix(in srgb, var(--err, #c0392b) 8%, transparent);
}

.cart-row__trash-icon {
  display: block;
}

.cart-row__line {
  grid-area: line;
  margin: 0;
  font-weight: 700;
  text-align: left;
  color: var(--accent);
  font-family: var(--font-display);
  font-size: 0.9375rem;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.12rem;
  min-height: 2.55rem;
  white-space: normal;
}

.cart-row__was {
  display: block;
  min-height: 1.05em;
  line-height: 1.05;
  font-weight: 500;
  font-size: 0.8125rem;
  color: var(--hush);
  text-decoration: line-through;
  font-family: inherit;
}

.cart-row__was--empty {
  visibility: hidden;
}

.cart-row__now {
  display: inline-flex;
  align-items: baseline;
  gap: 0.25rem;
  flex-wrap: wrap;
  line-height: 1.25;
}

.cart-row__line-label {
  font-weight: 600;
  font-size: 0.8125rem;
  color: var(--hush);
  font-family: inherit;
}

@media (min-width: 640px) {
  .cart-row__line {
    min-width: 9.75rem;
    width: 9.75rem;
    font-size: 1rem;
    text-align: right;
    align-items: flex-end;
    justify-self: end;
  }
}

.cart-footer {
  display: grid;
  gap: 1.5rem;
  align-items: start;
  padding-top: 0.25rem;
}

@media (min-width: 768px) {
  .cart-footer {
    grid-template-columns: minmax(0, 1fr) minmax(16rem, 22rem);
    gap: 2rem;
  }
}

.cart-footer__continue {
  font-weight: 700;
  text-underline-offset: 3px;
  color: var(--accent);
  align-self: start;
  transition: color 0.2s ease;
}

.cart-footer__continue:hover {
  text-decoration: underline;
  color: var(--accent2);
}

.cart-summary {
  display: grid;
  gap: 0.875rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.375rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  box-shadow: 0 4px 20px rgb(var(--accent-rgb) / 0.08);
}

.cart-list--gifts {
  margin: 0.75rem 0 0;
  padding: 0;
  list-style: none;
  border: 1px dashed var(--line);
  background: rgb(var(--accent-rgb) / 0.06);
  border-radius: var(--radius);
}

.cart-gift-badge {
  display: inline-block;
  margin-right: 0.35rem;
  padding: 0.1rem 0.4rem;
  border: 1px solid var(--line);
  background: var(--white);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  vertical-align: middle;
}

.order-row--gift {
  border-top: 1px dashed var(--line);
}

.cart-summary__row {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.cart-summary__row strong {
  font-weight: 700;
  text-align: right;
  white-space: nowrap;
}

.cart-summary__total {
  margin: 0;
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 1rem;
}

.cart-summary__total strong {
  font-size: 1.25rem;
  color: var(--accent);
  font-family: var(--font-display);
}

.cart-summary__note,
.cart-summary__block {
  margin: 0;
  font-size: 0.875rem;
  color: var(--hush);
  line-height: 1.5;
}

.cart-summary .btn {
  width: 100%;
  margin-top: 0.25rem;
  text-align: center;
}

.cart-layout {
  display: grid;
  gap: 2rem;
}
/* ===== ?荒????蝜???郭蹓?瞏??===== */
.checkout-layout .cart-summary #aside-note {
  display: none !important;
}

.checkout-layout .cart-summary {
  gap: 1rem;
  padding: 1.25rem 1.35rem 1.4rem;
}

.checkout-layout .cart-summary > .page-title {
  margin: 0;
  font-size: 1.35rem;
  line-height: 1.2;
}

.checkout-layout .cart-summary > ul.stack-sm {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.checkout-layout .cart-summary .cart-summary__item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  margin: 0;
}

.checkout-layout .cart-summary .cart-summary__thumb {
  width: 48px;
  height: 48px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm, 0.35rem);
  background: color-mix(in srgb, var(--line) 55%, var(--white));
}

.checkout-layout .cart-summary .cart-summary__thumb--empty {
  display: block;
}

.checkout-layout .cart-summary .cart-summary__item-meta {
  flex: 1;
  min-width: 0;
  line-height: 1.45;
  color: var(--void);
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.checkout-layout .cart-summary .cart-summary__opts {
  display: block;
  font-size: 0.8125rem;
  font-weight: 500;
}

.checkout-layout .cart-summary .cart-summary__item > strong {
  flex-shrink: 0;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
  color: var(--void);
}

.checkout-layout .cart-summary .checkout-coupon {
  margin: 0;
}

.checkout-layout .cart-summary .checkout-coupon__row {
  display: flex;
  align-items: stretch;
  gap: 0.5rem;
}

.checkout-layout .cart-summary .checkout-coupon__row .field-input {
  flex: 1;
  min-width: 0;
}

.checkout-layout .cart-summary .checkout-coupon__apply {
  width: auto;
  /*margin-top: 0;*/
  flex-shrink: 0;
  white-space: nowrap;
  padding-inline: 0.9rem;
}

.checkout-layout .cart-summary .cart-summary__totals {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding-top: 0.85rem;
  border-top: 1px solid var(--line);
}

.checkout-layout .cart-summary #aside-ship {
  margin: 0;
  padding-top: 0;
  border-top: none;
}

.checkout-layout .cart-summary #aside-ship .stack-sm,
.checkout-layout .cart-summary #aside-ship p {
  margin: 0;
}

.checkout-layout .cart-summary #aside-ship p {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9rem;
}

.checkout-layout .cart-summary #aside-ship .muted {
  color: var(--hush);
}

.checkout-layout .cart-summary #aside-total {
  margin: 0;
  padding-top: 0.15rem;
}

.checkout-layout .cart-summary #aside-total strong {
  display: block;
  font-size: 1.2rem;
  letter-spacing: 0.01em;
  font-variant-numeric: tabular-nums;
}
@media (min-width: 1024px) {
  .cart-layout {
    grid-template-columns: 1.2fr 0.8fr;
    align-items: start;
  }
}

.checkout-layout {
  display: grid;
  gap: 2rem;
}

@media (max-width: 1023px) {
  .checkout-layout > #checkout-submit {
    width: 100%;
  }
}

@media (min-width: 1024px) {
  .checkout-layout {
    grid-template-columns: minmax(0, 500px) minmax(0, 500px);
    justify-content: center;
    align-items: start;
    gap: 2rem 2.5rem;
  }

  .checkout-layout .cart-summary {
    position: sticky;
    top: 7.5rem;
    align-self: start;
    max-height: calc(100vh - 6.5rem);
    overflow-y: auto;
  }
}

.checkout-fields-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem 1rem;
}

.checkout-fields-grid > .field--full,
.checkout-fields-grid > .notice,
.checkout-fields-grid > p {
  grid-column: 1 / -1;
}

@media (max-width: 639px) {
  .checkout-fields-grid {
    grid-template-columns: 1fr;
  }
}

.form-fieldset {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.375rem;
  margin: 0 0 1rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(6px);
}

.form-fieldset legend {
  padding: 0 0.5rem;
  font-weight: 700;
  font-family: var(--font-display);
  letter-spacing: 0.03em;
  color: var(--accent);
}

.checkout-guest-hint {
  margin: 0 0 0.25rem;
  padding: 0.85rem 1rem;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 0.75rem);
  background: rgba(255, 255, 255, 0.55);
}

.checkout-guest-hint p {
  margin: 0;
  line-height: 1.45;
}

.checkout-guest-hint__actions {
  margin-top: 0.45rem !important;
}

/* ----- Checkout express cards ----- */
.checkout-form {
  gap: 1rem;
}

.checkout-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  border-radius: var(--radius-lg, 0.75rem);
  padding: 1rem 1.15rem;
}

.checkout-card.form-fieldset {
  margin: 0;
}

.checkout-card__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1rem;
}

.checkout-card__label {
  margin: 0 0 0.25rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--hush);
}

.checkout-card__summary {
  margin: 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: var(--void);
  line-height: 1.45;
  word-break: break-word;
}

.checkout-card__summary-main {
  display: block;
}

.checkout-card__summary-sub {
  display: block;
  margin-top: 0.2rem;
  font-weight: 500;
}

.checkout-card__toggle {
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0.15rem 0;
  margin: 0;
  flex: 0 0 auto;
  font: inherit;
  font-size: 0.875rem;
  font-weight: 700;
  color: var(--accent, var(--void));
  cursor: pointer;
  text-underline-offset: 3px;
  white-space: nowrap;
}

.checkout-card__toggle:hover {
  text-decoration: underline;
}

.checkout-form--express #checkout-contact-card > legend,
.checkout-form--express #checkout-ship-card > legend {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.checkout-card.is-collapsed > .checkout-card__body {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
  display: block;
}

.checkout-card {
  position: relative;
}

.checkout-card:not(.is-collapsed) > .checkout-card__head {
  margin-bottom: 0.85rem;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--line);
}

.checkout-extras {
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, 0.75rem);
  background: rgba(255, 255, 255, 0.55);
  padding: 0.65rem 1rem;
}

.checkout-extras > summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 0.875rem;
  color: var(--void);
  list-style: none;
}

.checkout-extras > summary::-webkit-details-marker {
  display: none;
}

.checkout-extras > summary::after {
  content: "+";
  float: right;
  font-weight: 700;
  color: var(--hush);
}

.checkout-extras[open] > summary::after {
  content: "??;
}

.checkout-extras__body {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--line);
}

.checkout-form--express #checkout-submit {
  margin-top: 0.25rem;
}

.ship-option {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.65);
  padding: 0.875rem 1.125rem;
  margin-bottom: 0.5rem;
  cursor: pointer;
  border-radius: var(--radius);
  backdrop-filter: blur(4px);
  transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.ship-option > input[type="radio"] {
    flex-shrink: 0;
    margin-top: 0.35em;
    accent-color: var(--accent);
}

.ship-option > .stack-sm {
  flex: 1;
  min-width: 0;
}

.ship-option:hover {
  border-color: rgb(var(--accent-rgb) / 0.4);
}

.ship-option.is-selected {
  border-color: var(--accent);
  background: var(--mist);
  box-shadow: 0 0 12px rgb(var(--accent-rgb) / 0.15);
}

.auth-panel {
  max-width: 28rem;
  margin: 0 auto;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.75);
  padding: 2rem;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(12px);
  box-shadow: 0 8px 32px rgb(var(--accent-rgb) / 0.1);
}

.auth-form {
  display: grid;
  gap: 1rem;
}

.auth-otp-row {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
}

.auth-otp-row > .field,
.auth-otp-row > .field--float {
  flex: 1 1 0;
  min-width: 0;
  width: auto;
}

.auth-otp-row .field-input {
  width: 100%;
  box-sizing: border-box;
}

.auth-otp-row > .btn {
  flex: 0 0 auto;
  width: auto;
  white-space: nowrap;
  align-self: stretch;
  padding-top: 0;
  padding-bottom: 0;
}

.auth-divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1rem 0;
  font-size: 0.75rem;
  color: var(--hush);
}

.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--line);
}

.account-shell {
  display: grid;
  grid-template-columns: 15.5rem minmax(0, 1fr);
  gap: 2rem;
  align-items: start;
}

.account-side {
  display: grid;
  gap: 1.15rem;
  position: sticky;
  top: 1.25rem;
}

.account-side__who {
  display: grid;
  justify-items: center;
  gap: 0.7rem;
  text-align: center;
  padding: 0.15rem 0.35rem 0.35rem;
}

.account-avatar {
  display: grid;
  place-items: center;
  width: 4.25rem;
  height: 4.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, var(--accent), var(--mark2, var(--accent)));
  color: var(--white, #fff);
  font-size: 1.35rem;
  font-weight: 700;
}

.account-side__name {
  margin: 0;
  font-size: 1rem;
  font-weight: 700;
  color: var(--void);
}

.account-side__email {
  margin: 0.15rem 0 0;
  font-size: 0.8125rem;
  color: var(--hush);
  overflow-wrap: anywhere;
}

.account-nav {
  display: grid;
  gap: 0.2rem;
}

.account-nav__rule {
  height: 1px;
  margin: 0.4rem 0.45rem;
  background: var(--line);
}

.account-nav__item {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  width: 100%;
  border: 0;
  border-radius: calc(var(--radius, 0.75rem) - 2px);
  background: transparent;
  color: var(--hush);
  cursor: pointer;
  padding: 0.68rem 0.8rem;
  font: inherit;
  font-weight: 650;
  text-align: left;
}

.account-nav__icon {
  width: 1.15rem;
  height: 1.15rem;
  flex: 0 0 auto;
}

.account-nav__item:hover,
.account-nav__item.is-active {
  background: rgb(var(--accent-rgb) / 0.1);
  color: var(--void);
}

.account-nav__item.is-active {
  box-shadow: inset 3px 0 0 var(--accent);
}

.account-side__logout {
  margin-top: 0.15rem;
}

.account-panel.is-hidden {
  display: none;
}

.account-back {
  display: none;
}

@media (max-width: 48rem) {
  .account-shell {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    overflow: hidden;
  }

  .account-side {
    position: static;
  }

  .account-side__who {
    grid-template-columns: auto minmax(0, 1fr);
    justify-items: start;
    text-align: left;
    align-items: center;
  }

  .account-avatar {
    width: 3rem;
    height: 3rem;
    font-size: 1.05rem;
  }

  .account-shell:not(.is-open) .account-main {
    display: none;
  }

  .account-back {
    display: inline-flex;
    align-items: center;
    gap: 0.15rem;
    margin: 0 0 0.35rem;
    padding: 0.35rem 0.15rem;
    border: 0;
    background: transparent;
    color: var(--accent);
    font: inherit;
    font-weight: 650;
    cursor: pointer;
  }

  .account-back svg {
    width: 1.15rem;
    height: 1.15rem;
  }

  .account-nav__item[data-account-section]::after {
    content: "";
    width: 0.45rem;
    height: 0.45rem;
    margin-left: auto;
    border-top: 1.5px solid currentColor;
    border-right: 1.5px solid currentColor;
    transform: rotate(45deg);
    opacity: 0.55;
  }

  .account-shell.is-open {
    display: grid;
    grid-template-columns: 1fr;
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }

  .account-shell.is-open .account-side,
  .account-shell.is-open .account-main {
    grid-area: 1 / 1;
    min-width: 0;
  }

  .account-shell.is-open .account-main {
    display: grid;
    padding: 15px;
    border-radius: 20px 20px 0 0;
    background: #fff;
  }

  .account-shell.is-open:not(.is-drill-in):not(.is-drill-out) .account-side {
    transform: translateX(-100%);
  }

  .account-shell.is-drill-in .account-side {
    animation: account-slide-out 0.28s ease forwards;
  }

  .account-shell.is-drill-in .account-main {
    animation: account-slide-in 0.28s ease forwards;
  }

  .account-shell.is-drill-out .account-side {
    animation: account-slide-back 0.28s ease forwards;
  }

  .account-shell.is-drill-out .account-main {
    animation: account-slide-away 0.28s ease forwards;
  }
}

@keyframes account-slide-out {
  from { transform: translateX(0); }
  to { transform: translateX(-100%); }
}

@keyframes account-slide-in {
  from { transform: translateX(100%); }
  to { transform: translateX(0); }
}

@keyframes account-slide-back {
  from { transform: translateX(-100%); }
  to { transform: translateX(0); }
}

@keyframes account-slide-away {
  from { transform: translateX(0); }
  to { transform: translateX(100%); }
}

@media (max-width: 48rem) and (prefers-reduced-motion: reduce) {
  .account-shell.is-open .account-side,
  .account-shell.is-open .account-main,
  .account-shell.is-drill-in .account-side,
  .account-shell.is-drill-in .account-main,
  .account-shell.is-drill-out .account-side,
  .account-shell.is-drill-out .account-main {
    animation: none;
  }

  .account-shell.is-open .account-side {
    transform: translateX(-100%);
  }
}

.account-points__balance {
  gap: 0.35rem;
}

.account-points__value {
  font-size: 1.75rem;
  line-height: 1.2;
  margin: 0;
}

.account-points__value strong {
  font-size: 2rem;
}

.account-points__table td.account-points__delta--plus {
  color: #0f766e;
  font-variant-numeric: tabular-nums;
}

.account-points__table td.account-points__delta--minus {
  color: #b91c1c;
  font-variant-numeric: tabular-nums;
}

.account-points__expiry {
  display: inline-block;
  margin-top: 0.2rem;
  font-size: 0.75rem;
  color: var(--hush, #64748b);
}

.account-points__expiry--gone {
  color: #b91c1c;
}

.product-section__head .account-section-title {
  margin: 0;
}

.account-section-title {
  margin: 0 0 0.25rem;
  font-family: inherit;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: 0;
  color: var(--void);
  background: none;
  -webkit-text-fill-color: currentColor;
}

.account-settings {
  max-width: 40rem;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.9);
  border-radius: var(--radius-lg, var(--radius));
  box-shadow: 0 8px 28px rgb(var(--accent-rgb) / 0.06);
  overflow: hidden;
}

.account-settings__banner:empty {
  display: none;
}

.account-settings__banner:not(:empty) {
  padding: 1rem 1.25rem 0;
}

.account-row {
  display: grid;
  grid-template-columns: minmax(7.5rem, 11rem) minmax(0, 1fr) auto;
  gap: 0.35rem 1.25rem;
  align-items: center;
  padding: 1.05rem 1.25rem;
  border-bottom: 1px solid var(--line);
}

.account-settings > .account-row:last-child,
.account-settings > form:last-child .account-row:last-of-type {
  border-bottom: 0;
}

.account-row__label {
  margin: 0;
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--hush);
}

.account-row__value {
  min-width: 0;
  font-size: 0.9375rem;
  color: var(--void);
  overflow-wrap: anywhere;
}

.account-row__note {
  margin: 0.3rem 0 0;
  font-size: 0.8125rem;
}

.account-row__action {
  justify-self: end;
  border: 0;
  background: transparent;
  color: var(--accent);
  font: inherit;
  font-size: 0.875rem;
  font-weight: 650;
  cursor: pointer;
  padding: 0.2rem 0;
}

.account-row__action:hover {
  text-decoration: underline;
}

.account-row--edit .field-input {
  grid-column: 2 / -1;
  width: 100%;
}

.account-settings__foot,
.account-settings__extra {
  display: grid;
  gap: 0.85rem;
  padding: 0 1.25rem 1.15rem;
}

.account-settings form .account-row--edit:last-of-type {
  border-bottom: 0;
}

.account-settings__foot {
  border-bottom: 1px solid var(--line);
}

.account-settings__extra {
  padding-top: 1rem;
}

.account-profile-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

@media (max-width: 40rem) {
  .account-row {
    grid-template-columns: 1fr auto;
    align-items: start;
  }

  .account-row__value,
  .account-row--edit .field-input {
    grid-column: 1 / -1;
  }

  .account-row__action {
    grid-row: 1;
    grid-column: 2;
  }
}

.order-list,
.address-list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-row,
.address-card {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
  padding: 1.125rem;
  margin-bottom: 0.75rem;
  border-radius: var(--radius);
  backdrop-filter: blur(6px);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.order-row:hover,
.address-card:hover {
  border-color: rgb(var(--accent-rgb) / 0.3);
  box-shadow: 0 4px 16px rgb(var(--accent-rgb) / 0.08);
}

.order-table-wrap {
  width: 100%;
  overflow-x: auto;
}

.order-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg, var(--radius));
  overflow: hidden;
}

.order-table th,
.order-table td {
  padding: 0.85rem 1rem;
  text-align: left;
  vertical-align: middle;
  border-bottom: 1px solid var(--line);
}

.order-table th {
  font-size: 0.75rem;
  font-weight: 650;
  color: var(--hush);
  background: rgb(var(--accent-rgb) / 0.04);
  white-space: nowrap;
}

.order-table tr:last-child td {
  border-bottom: 0;
}

.order-table tbody tr:hover td {
  background: rgb(var(--accent-rgb) / 0.05);
}

.order-table__money {
  font-variant-numeric: tabular-nums;
  font-weight: 650;
  white-space: nowrap;
}

.order-table__status {
  white-space: nowrap;
}

.order-table__pay {
  display: inline-block;
  margin-left: 0.65rem;
}

@media (max-width: 48rem) {
  .order-table-wrap {
    overflow: visible;
  }

  .order-table,
  .order-table tbody,
  .order-table tr,
  .order-table td {
    display: block;
    width: 100%;
  }

  .order-table {
    background: transparent;
    border: 0;
  }

  .order-table thead {
    display: none;
  }

  .order-table tr {
    margin-bottom: 0.75rem;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 255, 255, 0.86);
    overflow: hidden;
  }

  .order-table td {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    text-align: right;
  }

  .order-table td:last-child {
    border-bottom: 0;
  }

  .order-table td::before {
    content: attr(data-label);
    color: var(--hush);
    font-size: 0.75rem;
    font-weight: 650;
    text-align: left;
    flex: 0 0 auto;
  }

  .order-table tbody tr:hover td {
    background: transparent;
  }

  .order-table__pay {
    display: block;
    margin: 0.25rem 0 0;
  }

  .order-table__status {
    white-space: normal;
  }
}


.badge-default {
  display: inline-flex;
  background: linear-gradient(135deg, var(--accent), var(--mark2));
  padding: 0.15rem 0.6rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--white);
  border-radius: calc(var(--radius) / 2);
  letter-spacing: 0.04em;
  box-shadow: 0 2px 8px rgb(var(--accent-rgb) / 0.3);
}

.pay-status {
  max-width: 36rem;
  margin: 0 auto;
  border: 1px solid;
  padding: 2rem;
  text-align: center;
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
}

.pay-status--ok {
  border-color: var(--ok-border);
  background: var(--ok-bg);
  color: var(--ok);
  box-shadow: 0 4px 20px rgba(6, 95, 70, 0.1);
}

.pay-status--fail {
  border-color: var(--err-border);
  background: var(--err-bg);
  color: var(--err);
  box-shadow: 0 4px 20px rgba(185, 28, 28, 0.1);
}

.stack {
  display: grid;
  gap: 1rem;
}

.stack-sm {
  display: grid;
  gap: 0.5rem;
}

.muted {
  color: var(--hush);
}

.text-sm {
  font-size: 0.875rem;
}

.loading-line {
  color: var(--hush);
  font-size: 0.875rem;
  animation: pulse 1.5s ease-in-out infinite;
}

.cart-summary__item--pending {
  opacity: 0.85;
}

@keyframes pulse {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.45; }
}

/* Order invoice sheet (member account) ??keep in themes via append */
.order-invoice {
  display: grid;
  gap: 1rem;
  max-width: 46rem;
  margin: 0 auto;
}

.order-invoice__back {
  justify-self: start;
}

.order-invoice__sheet {
  border: 1px solid var(--line, #e5e7eb);
  background: var(--white, #fff);
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 1px 0 rgba(15, 23, 42, 0.04);
}

.order-invoice__head {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.order-invoice__kicker {
  margin: 0 0 0.35rem;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__id {
  margin: 0;
  font-size: clamp(1.15rem, 2.4vw, 1.5rem);
  font-weight: 800;
  line-height: 1.25;
  word-break: break-all;
}

.order-invoice__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.3rem 0.7rem;
  border: 1px solid var(--line, #e5e7eb);
  font-size: 0.8125rem;
  font-weight: 700;
  white-space: nowrap;
}

.order-invoice__badge--paid,
.order-invoice__badge--completed {
  border-color: var(--ok-border, #86efac);
  color: var(--ok-text, #166534);
  background: var(--ok-bg, #f0fdf4);
}

.order-invoice__badge--shipped {
  border-color: #93c5fd;
  color: #1d4ed8;
  background: #eff6ff;
}

.order-invoice__badge--pending {
  border-color: var(--warn-border, #fcd34d);
  color: var(--warn-text, #92400e);
  background: var(--warn-bg, #fffbeb);
}

.order-invoice__badge--cancelled {
  border-color: var(--err-border, #fca5a5);
  color: var(--err-text, #991b1b);
  background: var(--err-bg, #fef2f2);
}

.order-invoice__meta {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(11rem, 1fr));
  gap: 0.75rem 1.25rem;
  margin: 1rem 0 0;
  padding: 0 0 1rem;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.order-invoice__meta-item {
  display: grid;
  gap: 0.15rem;
  min-width: 0;
}

.order-invoice__meta-item > span {
  font-size: 0.75rem;
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__meta-item > strong {
  font-size: 0.9375rem;
  font-weight: 650;
  word-break: break-word;
}

.order-invoice__notice {
  margin: 1rem 0 0;
}

.order-invoice__table-wrap {
  margin-top: 1.15rem;
  overflow-x: auto;
}

.order-invoice__table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}

.order-invoice__table th,
.order-invoice__table td {
  padding: 0.7rem 0.35rem;
  border-bottom: 1px solid var(--line, #e5e7eb);
  text-align: left;
  vertical-align: top;
}

.order-invoice__table th {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__col-qty,
.order-invoice__col-amt {
  text-align: right;
  white-space: nowrap;
  width: 1%;
}

.order-invoice__item-name {
  display: block;
  font-weight: 650;
}

.order-invoice__item-opts {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.8125rem;
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__totals {
  margin: 0.85rem 0 0;
  margin-left: auto;
  width: min(100%, 18rem);
  display: grid;
  gap: 0.45rem;
}

.order-invoice__total-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  font-size: 0.9375rem;
}

.order-invoice__total-row > span {
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__total-row > strong {
  font-weight: 650;
  text-align: right;
}

.order-invoice__total-row--grand {
  margin-top: 0.35rem;
  padding-top: 0.65rem;
  border-top: 2px solid var(--ink, #0f172a);
  font-size: 1.05rem;
}

.order-invoice__total-row--grand > span,
.order-invoice__total-row--grand > strong {
  color: inherit;
  font-weight: 800;
}

.order-invoice__section {
  margin-top: 1.35rem;
  padding-top: 1rem;
  border-top: 1px solid var(--line, #e5e7eb);
}

.order-invoice__section-title {
  margin: 0 0 0.5rem;
  font-size: 0.8125rem;
  font-weight: 750;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.order-invoice__hint {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted, var(--hush, #64748b));
}

.order-invoice__downloads {
  margin: 0.85rem 0 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.order-invoice__downloads > li {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--line, #e5e7eb);
  background: var(--bg, #f8fafc);
}

.order-invoice__footer-link {
  margin: 0.75rem 0 0;
  font-size: 0.875rem;
}

.order-invoice__address {
  margin: 0.5rem 0 0;
  white-space: pre-wrap;
  line-height: 1.5;
  font-size: 0.9375rem;
}

.order-notes__lead {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--muted, var(--hush, #64748b));
}

.order-notes__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.75rem;
}

.order-notes__empty {
  padding: 1rem 1.1rem;
  border: 1px dashed var(--line, #e5e7eb);
  border-radius: 12px;
  font-size: 0.875rem;
  color: var(--muted, #64748b);
  background: color-mix(in srgb, var(--bg, #f8fafc) 70%, transparent);
}

.order-note-card {
  padding: 0.9rem 1rem;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 12px;
  background: color-mix(in srgb, var(--white, #fff) 92%, var(--bg, #f8fafc));
  box-shadow: 0 1px 0 rgb(15 23 42 / 0.03);
}

.order-note-card--you {
  border-color: color-mix(in srgb, var(--accent, #0a0a0a) 18%, var(--line, #e5e7eb));
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--accent, #0a0a0a) 4%, #fff) 0%,
    #fff 100%
  );
}

.order-note-card--store {
  border-color: color-mix(in srgb, #0ea5e9 22%, var(--line, #e5e7eb));
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
}

.order-note-card__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  margin-bottom: 0.35rem;
}

.order-note-card__who {
  display: inline-flex;
  align-items: center;
  padding: 0.15rem 0.55rem;
  border-radius: 999px;
  font-size: 0.6875rem;
  font-weight: 750;
  letter-spacing: 0.02em;
  background: rgb(15 23 42 / 0.06);
  color: var(--ink, #0f172a);
}

.order-note-card--store .order-note-card__who {
  background: #e0f2fe;
  color: #0369a1;
}

.order-note-card__time {
  font-size: 0.75rem;
  color: var(--muted, #64748b);
}

.order-note-card__body {
  margin: 0.35rem 0 0;
  white-space: pre-wrap;
  line-height: 1.55;
  font-size: 0.9375rem;
}

.order-note-card__media {
  display: inline-block;
  margin-top: 0.65rem;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--line, #e5e7eb);
  background: #f8fafc;
  transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.order-note-card__media:hover {
  box-shadow: 0 8px 24px rgb(15 23 42 / 0.1);
  transform: translateY(-1px);
}

.order-note-img {
  display: block;
  max-width: min(100%, 280px);
  max-height: 240px;
  object-fit: contain;
  vertical-align: middle;
}

.order-notes__composer {
  margin-top: 1.15rem;
  padding: 1rem;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 14px;
  background: linear-gradient(
    180deg,
    color-mix(in srgb, var(--bg, #f8fafc) 80%, #fff) 0%,
    #fff 100%
  );
  display: grid;
  gap: 0.55rem;
}

.order-notes__label {
  margin: 0;
  font-size: 0.8125rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.order-notes__textarea {
  min-height: 5.5rem;
  resize: vertical;
}

.order-notes__actions {
  display: flex;
  justify-content: flex-end;
  margin-top: 0.25rem;
}

.order-notes__composer.is-submitting {
  opacity: 0.72;
  pointer-events: none;
}

.order-dropzone {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 8.5rem;
  padding: 1rem;
  border: 1.5px dashed color-mix(in srgb, var(--accent, #0a0a0a) 28%, var(--line, #e5e7eb));
  border-radius: 12px;
  background:
    radial-gradient(120% 80% at 50% 0%, color-mix(in srgb, var(--accent, #0a0a0a) 6%, transparent), transparent 70%),
    #fff;
  cursor: pointer;
  transition:
    border-color 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease,
    transform 0.18s ease;
}

.order-dropzone:hover,
.order-dropzone:focus-visible {
  border-color: color-mix(in srgb, var(--accent, #0a0a0a) 55%, var(--line, #e5e7eb));
  box-shadow: 0 0 0 3px color-mix(in srgb, var(--accent, #0a0a0a) 12%, transparent);
  outline: none;
}

.order-dropzone.is-dragover {
  border-color: var(--accent, #0a0a0a);
  background: color-mix(in srgb, var(--accent, #0a0a0a) 7%, #fff);
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #0a0a0a) 14%, transparent);
  transform: scale(1.01);
}

.order-dropzone.is-flash {
  animation: order-dropzone-flash 1.2s ease;
}

@keyframes order-dropzone-flash {
  0%,
  100% {
    box-shadow: 0 0 0 0 transparent;
  }
  25%,
  55% {
    border-color: var(--accent, #0a0a0a);
    box-shadow: 0 0 0 4px color-mix(in srgb, var(--accent, #0a0a0a) 18%, transparent);
  }
}

.order-dropzone.has-file {
  border-style: solid;
  cursor: default;
}

.order-dropzone__input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.order-dropzone__idle {
  display: grid;
  justify-items: center;
  gap: 0.35rem;
  text-align: center;
  color: var(--muted, #64748b);
}

.order-dropzone__icon {
  display: grid;
  place-items: center;
  width: 2.75rem;
  height: 2.75rem;
  margin-bottom: 0.15rem;
  border-radius: 999px;
  color: var(--ink, #0f172a);
  background: color-mix(in srgb, var(--accent, #0a0a0a) 8%, #fff);
}

.order-dropzone__title {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.order-dropzone__sub {
  font-size: 0.75rem;
  line-height: 1.45;
}

.order-dropzone__preview {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.85rem;
  width: 100%;
}

.order-dropzone__preview img {
  width: 4.5rem;
  height: 4.5rem;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid var(--line, #e5e7eb);
  background: #f8fafc;
}

.order-dropzone__preview-meta {
  display: grid;
  gap: 0.35rem;
  min-width: 0;
}

.order-dropzone__preview-meta > span {
  font-size: 0.8125rem;
  font-weight: 600;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.order-dropzone__clear {
  justify-self: start;
  border: 1px solid var(--line, #e5e7eb);
  background: #fff;
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 650;
  cursor: pointer;
}

.order-dropzone__clear:hover {
  background: #f8fafc;
}

.order-invoice__paid {
  margin: 1rem 0 0;
}

/* ??螞?Product reviews ??螞?*/
.product-reviews-mount:empty,
.product-reviews-mount[hidden] {
  display: none;
}

.product-reviews {
  margin: 1.75rem 0;
  padding: 1.25rem 0 0;
  border-top: 1px solid var(--line, #e5e7eb);
}

.product-reviews__head {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.5rem 1rem;
  margin-bottom: 1rem;
}

.product-reviews__title {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.product-reviews__summary {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin: 0;
  font-size: 0.9375rem;
}

.product-reviews__stars {
  color: #d4a017;
  letter-spacing: 0.05em;
  line-height: 1;
}

.product-reviews__star {
  opacity: 0.28;
}

.product-reviews__star.is-on {
  opacity: 1;
}

.product-reviews__list {
  margin: 0;
  padding: 0;
  list-style: none;
  display: grid;
  gap: 0.85rem;
}

.product-reviews__item {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.product-reviews__item:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.product-reviews__item-head {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.35rem 0.75rem;
  margin-bottom: 0.35rem;
}

.product-reviews__body {
  margin: 0.25rem 0 0;
  font-size: 0.9375rem;
  line-height: 1.55;
  color: var(--ink, #0f172a);
  white-space: pre-wrap;
}

.order-review-card {
  padding: 0.85rem 0;
  border-bottom: 1px solid var(--line, #e5e7eb);
}

.order-review-card:last-child {
  border-bottom: 0;
}

/* ??Shop filters: toolbar boxed; facet row frameless (default theme) ??*/
body[data-theme="default"] .shop-filters,
body.theme-default .shop-filters {
  gap: 0.65rem;
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
}

body[data-theme="default"] .shop-filters__bar,
body.theme-default .shop-filters__bar {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius);
  background: var(--white, #fff);
  padding: 0.65rem 0.85rem;
  box-shadow: 0 1px 2px rgb(15 23 42 / 0.04);
}

body[data-theme="default"] .shop-filters__panel,
body.theme-default .shop-filters__panel {
  border: 0;
  background: transparent;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
}

body[data-theme="default"] .shop-filters__row--main,
body.theme-default .shop-filters__row--main {
  gap: 0.75rem 1rem;
}

body[data-theme="default"] .shop-filter-btn,
body.theme-default .shop-filter-btn {
  border-radius: var(--radius);
  background: #f3f4f6;
  border-color: transparent;
  padding: 0.5rem 0.85rem;
}

body[data-theme="default"] .shop-filter-btn:hover,
body[data-theme="default"] .shop-filter-btn.is-active,
body.theme-default .shop-filter-btn:hover,
body.theme-default .shop-filter-btn.is-active {
  background: #e5e7eb;
  border-color: transparent;
}

body[data-theme="default"] .shop-toolbar__select,
body.theme-default .shop-toolbar__select {
  border: 0;
  border-radius: var(--radius);
  background: transparent;
  padding: 0.25rem 0.15rem;
  max-width: none;
  font-weight: 600;
}

body[data-theme="default"] .shop-toolbar__label,
body.theme-default .shop-toolbar__label {
  gap: 0.35rem;
}

body[data-theme="default"] .shop-view,
body.theme-default .shop-view {
  border: 0;
  background: transparent;
  padding: 0;
  gap: 0.35rem;
  border-radius: var(--radius);
}

body[data-theme="default"] .shop-view__btn,
body.theme-default .shop-view__btn {
  border: 1px solid var(--line, #e5e7eb);
  border-radius: var(--radius);
  width: 2.15rem;
  height: 2.15rem;
}

body[data-theme="default"] .shop-view__btn.is-active,
body.theme-default .shop-view__btn.is-active {
  border-color: var(--accent, #c2410c);
  color: var(--accent, #c2410c);
  background: rgb(var(--accent-rgb, 194 65 12) / 0.08);
}

body[data-theme="default"] .shop-chip__summary,
body[data-theme="default"] .shop-chip__menu,
body[data-theme="default"] .shop-chip__option,
body.theme-default .shop-chip__summary,
body.theme-default .shop-chip__menu,
body.theme-default .shop-chip__option {
  border-radius: var(--radius);
}

body[data-theme="default"] .shop-active-filters,
body.theme-default .shop-active-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.6rem;
}

body[data-theme="default"] .shop-active-filters__pill,
body.theme-default .shop-active-filters__pill {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.45rem 0.7rem;
  border-radius: var(--radius);
  background: #f3f4f6;
  color: #111;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: none;
  line-height: 1.25;
}

body[data-theme="default"] .shop-active-filters__pill:hover,
body.theme-default .shop-active-filters__pill:hover {
  background: #e5e7eb;
}

body[data-theme="default"] .shop-active-filters__x,
body.theme-default .shop-active-filters__x {
  color: #6b7280;
}

body[data-theme="default"] .shop-active-filters__clear,
body.theme-default .shop-active-filters__clear {
  color: #6b7280;
  font-size: 0.8125rem;
  font-weight: 600;
  text-decoration: underline;
  text-underline-offset: 0.14em;
}


