:root {
  --bg: #0f0f10;
  --surface: #1a1a1d;
  /* Primary copy: match product title cream (#f3ebe0) */
  --text: #f3ebe0;
  --text-soft: #efe4d4;
  --muted: #a89f92;
  --muted-strong: #c9bdb0;
  --accent: #e11d48;
  --border: #27272a;
  --radius: 12px;
  font-family: "Segoe UI", system-ui, sans-serif;
}
* { box-sizing: border-box; }
body { margin: 0; background: var(--bg); color: var(--text); line-height: 1.55; }
.site-main h1,
.site-main h2,
.site-main h3 {
  color: var(--text);
}
.site-main h1 { font-weight: 700; letter-spacing: -0.02em; }
.site-main h2 { font-weight: 700; }
a { color: var(--accent); text-decoration: none; }
a:hover { text-decoration: underline; }
.site-header {
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.site-header__inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0.42rem 1.5rem 0.6rem;
  box-sizing: border-box;
  display: flex;
  align-items: stretch;
  gap: 1rem 1.25rem;
}
.site-header__logo {
  flex: 0 0 auto;
  align-self: stretch;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-decoration: none;
  max-width: min(34%, 16.5rem);
  min-width: 0;
}
.site-header__stack {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.45rem;
  align-items: stretch;
}
.site-header__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem 0.75rem;
}
.site-header__row--util {
  justify-content: flex-end;
  align-self: flex-end;
  width: fit-content;
  max-width: 100%;
  margin-left: auto;
  padding: 0.38rem 0.85rem 0.38rem 0.75rem;
  min-height: 0;
  border-radius: 999px;
  background: color-mix(in srgb, var(--surface) 82%, var(--bg));
  box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--border) 65%, transparent);
}
.site-header__util {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.25rem 0.5rem;
}
.site-header__locale {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: flex-end;
  gap: 0.45rem;
}
.site-header__row--primary {
  justify-content: flex-end;
  gap: 0;
  width: 100%;
  min-width: 0;
  padding-top: 0.05rem;
}
.site-header__locale-field {
  margin: 0;
}
.site-header__locale-field--icon {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}
.site-header__locale-icon {
  display: flex;
  color: var(--muted);
  flex-shrink: 0;
}
.site-nav__link--icon {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0.35rem;
}
.site-header__row--util .site-nav__link--icon {
  padding: 0.28rem 0.52rem;
  font-size: 0.88rem;
  line-height: 1.25;
  gap: 0.35rem;
  white-space: nowrap;
}
.site-header__row--util .site-nav__logout .site-nav__link {
  padding: 0.28rem 0.52rem;
  font-size: 0.88rem;
  line-height: 1.25;
}
.site-header__row--util .site-nav__icon .icon {
  width: 17px;
  height: 17px;
}
.site-nav__icon,
.icon {
  display: block;
  flex-shrink: 0;
}
.site-header__row--util .locale-select {
  padding: 0.28rem 0.48rem;
  font-size: 0.86rem;
  line-height: 1.25;
}
.site-header__row--util .site-header__locale-field--icon {
  gap: 0.4rem;
}
.site-header__row--util .site-header__locale-icon .icon {
  width: 17px;
  height: 17px;
}
.locale-select {
  width: auto;
  max-width: none;
  padding: 0.35rem 0.5rem;
  font-size: 0.82rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.site-nav {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  flex: 1 1 auto;
  justify-content: flex-end;
  min-width: 0;
  gap: 0.2rem 0.35rem;
}
.site-header__row--primary .site-nav {
  flex-wrap: nowrap;
  width: auto;
  max-width: 100%;
  justify-content: flex-end;
  gap: 0.25rem 0.45rem;
}
.site-header__row--primary .site-nav__link {
  font-size: 0.94rem;
  padding: 0.42rem 0.62rem;
  white-space: nowrap;
}
.site-header__row--primary .site-nav__sep {
  margin: 0 0.1rem;
  flex-shrink: 0;
}
@media (max-width: 720px) {
  .site-header__inner {
    flex-direction: column;
    align-items: stretch;
    gap: 0.65rem;
  }
  .site-header__logo {
    max-width: 100%;
    align-self: center;
    justify-content: center;
  }
  .site-header__logo .logo-img {
    height: auto;
    max-height: 3.75rem;
    max-width: min(280px, 88vw);
    object-position: center;
  }
  .site-header__row--util {
    justify-content: flex-end;
    align-self: flex-end;
    width: 100%;
    max-width: 100%;
    border-radius: 10px;
    flex-wrap: wrap;
  }
  .site-header__locale {
    flex: 1 1 100%;
    justify-content: flex-end;
  }
  .site-header__row--primary {
    justify-content: flex-end;
    overflow-x: auto;
    scrollbar-width: thin;
  }
  .site-header__row--primary .site-nav {
    flex-wrap: wrap;
    justify-content: flex-end;
  }
  .site-header__row--primary .site-nav__link {
    white-space: normal;
    font-size: 0.92rem;
    padding: 0.4rem 0.7rem;
  }
  .site-nav {
    justify-content: flex-end;
    flex-wrap: wrap;
  }
}
@media (max-width: 1080px) and (min-width: 721px) {
  .site-header__row--primary {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
  }
}
.checkout-addr-card {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
}
.checkout-addr-card__pick {
  display: flex;
  gap: 0.5rem;
  cursor: pointer;
  flex: 1;
  min-width: 0;
}
.checkout-addr-card__pick input { margin-top: 0.25rem; flex-shrink: 0; }
.checkout-addr-card__edit {
  flex-shrink: 0;
  position: relative;
  z-index: 2;
  pointer-events: auto;
}
.address-book-modal__panel {
  max-width: min(1120px, 96vw);
  width: 100%;
  max-height: none;
  overflow: visible;
  padding: 1rem 1.25rem 1.1rem;
}
.address-book-modal .modal__panel.address-book-modal__panel {
  max-width: min(1120px, 96vw);
  max-height: none;
  overflow: visible !important;
}
@media (max-height: 740px) {
  .address-book-modal__panel,
  .address-book-modal .modal__panel.address-book-modal__panel {
    max-height: 94vh;
    /* Keep visible so country combo dropdown is not clipped. */
    overflow: visible !important;
  }
}
.address-book-modal__lead { margin: 0.3rem 0 0; font-size: 0.82rem; }
.address-book-modal__header { margin-bottom: 0.65rem; }
.address-book-form--sheet .form-row { margin-bottom: 0; }
.address-book-form--sheet label {
  font-size: 0.75rem;
  margin-bottom: 0.15rem;
  color: var(--muted-strong);
}
.address-book-form--sheet input,
.address-book-form--sheet select:not(.address-country-combo__native) {
  padding: 0.42rem 0.5rem;
  font-size: 0.88rem;
  max-width: none;
}
.address-country-combo {
  position: relative;
  width: 100%;
  z-index: 5;
}
.address-country-field {
  position: relative;
  z-index: 6;
  overflow: visible;
}
.address-book-section:has(.address-country-combo) {
  overflow: visible;
}
.address-country-combo__native,
.modal__panel.card .address-country-combo__native,
.modal-panel--cream .address-country-combo__native,
.address-book-form--sheet .address-country-combo__native {
  /* Visually hide native select; keep in layout tree (not display:none). */
  position: absolute !important;
  left: 0 !important;
  top: 0 !important;
  width: 1px !important;
  height: 1px !important;
  max-width: 1px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  opacity: 0 !important;
  overflow: hidden !important;
  clip: rect(0, 0, 0, 0) !important;
  clip-path: inset(50%) !important;
  pointer-events: none !important;
  appearance: none !important;
  -webkit-appearance: none !important;
  background: transparent !important;
}
.address-country-combo__input {
  display: block;
  width: 100%;
  max-width: none !important;
  padding-right: 1.75rem !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%236b7280' d='M1 1l5 5 5-5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 0.65rem center;
  background-size: 0.7rem;
  cursor: text;
}
.address-country-combo__list {
  position: absolute;
  z-index: 120;
  left: 0;
  right: 0;
  top: calc(100% + 0.2rem);
  margin: 0;
  padding: 0.25rem 0;
  max-height: 14rem;
  overflow: auto;
  list-style: none;
  border: 1px solid var(--modal-field-border, var(--border));
  border-radius: 8px;
  background: #fff;
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.18);
}
.address-country-combo__list[hidden] {
  display: none !important;
}
.address-country-combo__option {
  display: block;
  width: 100%;
  margin: 0;
  padding: 0.45rem 0.65rem;
  border: 0;
  background: transparent;
  text-align: left;
  font: inherit;
  font-size: 0.88rem;
  color: var(--modal-ink, var(--text));
  cursor: pointer;
}
.address-country-combo__option:hover,
.address-country-combo__option.is-active {
  background: rgba(225, 29, 72, 0.1);
}
.address-country-combo__option.is-selected {
  font-weight: 600;
}
.address-country-combo__empty {
  padding: 0.55rem 0.65rem;
  font-size: 0.84rem;
  color: var(--muted-strong);
}
.address-book-section {
  margin: 0 0 0.85rem;
  padding: 0.75rem 0.8rem 0.85rem;
  border: 1px solid color-mix(in srgb, var(--modal-field-border, var(--border)) 85%, transparent);
  border-radius: 10px;
  background: color-mix(in srgb, #fff 72%, transparent);
}
.address-book-section__head {
  margin: 0 0 0.65rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid color-mix(in srgb, var(--modal-field-border, var(--border)) 80%, transparent);
}
.address-book-section__title {
  margin: 0;
  font-size: 0.92rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: var(--modal-ink, var(--text));
}
.address-book-section__sub {
  margin: 0.2rem 0 0;
  font-size: 0.78rem;
  line-height: 1.3;
}
.address-book-name-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.65rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.65rem;
  border-bottom: 1px solid var(--border);
}
.address-book-name-row__label {
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--muted-strong);
}
.address-book-name-row__input {
  flex: 1 1 8rem;
  max-width: 12rem;
  min-width: 6rem;
}
.address-label-chips--inline { margin-bottom: 0; }
.address-book-sheet__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
  align-items: end;
}
.address-book-cascade {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.5rem 0.65rem;
}
.address-book-sheet__grid-span {
  grid-column: 1 / -1;
}
.address-book-country-notices {
  display: grid;
  gap: 0.4rem;
  margin: 0.15rem 0 0.1rem;
}
.address-book-notice {
  margin: 0;
  padding: 0.55rem 0.7rem;
  border-radius: 6px;
  font-size: 0.82rem;
  line-height: 1.35;
}
.address-book-notice--required {
  background: rgba(42, 74, 98, 0.08);
  border: 1px solid rgba(42, 74, 98, 0.18);
  color: #2a4a62;
}
.address-book-notice--customs {
  background: rgba(140, 90, 40, 0.08);
  border: 1px solid rgba(140, 90, 40, 0.2);
  color: #6a4518;
}
.address-book-field-hint {
  display: block;
  margin-top: 0.25rem;
  font-size: 0.78rem;
  line-height: 1.3;
}
.address-book-free-city {
  grid-column: 1 / 3;
}
.address-book-line1 {
  grid-column: 1 / 3;
}
.address-book-line2 {
  grid-column: 3 / 4;
}
.address-book-form__footer {
  margin-top: 0.75rem;
  padding-top: 0.75rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
}
.address-book-default {
  font-size: 0.88rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}
.address-book-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.security-actions__row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin-bottom: 1rem;
}
.security-actions__row:last-child { margin-bottom: 0; }
.security-actions__control {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.security-actions__divider {
  height: 1px;
  background: var(--border);
  margin: 1rem 0;
}
.account-security-stack {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  margin-top: 1rem;
  width: 100%;
  max-width: 36rem;
}
.account-security-card {
  padding: 0.85rem 1rem;
  margin: 0;
}
.security-card__title {
  margin: 0 0 0.35rem;
  font-size: 1rem;
  font-weight: 700;
}
.security-card__hint {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  line-height: 1.4;
}
.security-card__form {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
}
.security-card__form--stack {
  flex-direction: column;
  align-items: flex-start;
}
.security-reset-email-form {
  margin: 0;
}
.security-reset-email-form--inline {
  display: inline;
}
.security-password-forgot {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 0.35rem;
}
button.linkish-btn {
  appearance: none;
  border: 0;
  background: none;
  padding: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  text-decoration: underline;
  cursor: pointer;
}
button.linkish-btn:hover {
  opacity: 0.85;
}
.security-summary.profile-dl {
  margin: 0;
}
.security-modal__panel {
  max-width: 26rem;
}
.invoice-info-modal__panel {
  max-width: min(720px, 94vw);
  max-height: none;
  overflow: visible;
}
.invoice-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem 0.75rem;
}
.invoice-info-grid .form-row { margin-bottom: 0; }
.invoice-info-span-2 { grid-column: 1 / -1; }
.invoice-info-form input,
.invoice-info-form select { max-width: none; }
@media (max-width: 560px) {
  .invoice-info-grid { grid-template-columns: 1fr; }
  .invoice-info-span-2 { grid-column: auto; }
}
.account-wallet-hero { margin-top: 1rem; }
.account-activity-section { margin-top: 0.5rem; }
.account-nav__links .account-nav__link { font-size: 0.9rem; }
@media (max-width: 800px) {
  .address-book-sheet__grid {
    grid-template-columns: 1fr 1fr;
  }
  .address-book-line1,
  .address-book-line2,
  .address-book-cascade,
  .address-book-free-city {
    grid-column: 1 / -1;
  }
}
@media (max-width: 520px) {
  .address-book-sheet__grid,
  .address-book-cascade {
    grid-template-columns: 1fr;
  }
}
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
.site-footer {
  border-top: 1px solid var(--border);
  border-bottom: none;
  margin-top: 3rem;
  padding: 2rem 1.5rem 1.5rem;
  text-align: left;
}
.site-footer__inner {
  max-width: 1100px;
  margin: 0 auto;
}
.site-footer__grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem 2rem;
  margin-bottom: 1.75rem;
}
.site-footer__col-title {
  margin: 0 0 0.65rem;
  font-size: 0.88rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--text);
}
.site-footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.site-footer__links a {
  color: var(--muted);
  font-size: 0.9rem;
  text-decoration: none;
}
.site-footer__links a:hover {
  color: var(--text);
  text-decoration: underline;
}
.site-footer__bottom {
  border-top: 1px solid var(--border);
  padding-top: 1.25rem;
  text-align: center;
}
.site-footer__tagline {
  margin: 0 0 0.5rem;
  font-size: 0.9rem;
  color: var(--muted);
}
.site-footer__contact {
  margin: 0.35rem 0 0;
}
@media (max-width: 900px) {
  .site-footer__grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.5rem 1.25rem;
  }
}
@media (max-width: 520px) {
  .site-footer__grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }
}
.logo { display: flex; align-items: center; text-decoration: none; }
.logo-img {
  height: 36px;
  width: auto;
  max-width: min(220px, 55vw);
  object-fit: contain;
  display: block;
}
.logo-img--center { margin: 0 auto; height: 48px; }
/* Header logo: override global .logo-img (36px) — fill height of the two-row nav block */
.site-header__logo .logo-img {
  display: block;
  width: auto;
  height: 100%;
  max-height: 5.75rem;
  max-width: 100%;
  object-fit: contain;
  object-position: left center;
}
.site-header nav { display: flex; flex-wrap: wrap; align-items: center; }
.site-header__row--primary .site-nav { gap: 0.25rem 0.45rem; }
.site-nav {
  gap: 0.35rem 0.5rem;
}
.site-nav__link:not(.site-nav__link--icon) {
  display: inline-block;
}
.site-nav__link {
  padding: 0.4rem 0.7rem;
  border-radius: 8px;
  color: var(--muted-strong);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  border: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease, box-shadow 0.15s ease;
}
.site-nav__link:hover {
  color: var(--text);
  text-decoration: none;
}
.site-nav__link--active {
  color: var(--text);
  border-color: var(--text);
  box-shadow: inset 0 0 0 1px var(--bg);
  background: var(--bg);
}
.site-nav__sep {
  width: 1px;
  height: 1.25rem;
  background: var(--border);
  margin: 0 0.15rem;
  align-self: center;
}
.site-nav__logout {
  display: inline;
  margin: 0;
}
.site-nav__logout .site-nav__link {
  background: none;
  border-color: transparent;
  cursor: pointer;
  font: inherit;
  padding: 0.4rem 0.7rem;
}
.site-nav__logout .site-nav__link:hover {
  color: var(--accent);
  border-color: transparent;
  box-shadow: none;
}
.site-header__util a.site-nav__link.site-nav__link--icon,
.site-header__util .site-nav__logout button.site-nav__link.site-nav__link--icon {
  display: inline-flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
}
.site-header__util .site-nav__link--icon .site-nav__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  margin: 0;
}
.site-header__util .site-nav__link--icon > span:not(.site-nav__icon) {
  display: inline;
  line-height: 1.2;
}
.nav-link-btn {
  background: none;
  border: none;
  color: var(--accent);
  cursor: pointer;
  font: inherit;
  padding: 0;
}
.nav-link-btn:hover { text-decoration: underline; }
.site-main { max-width: 1100px; margin: 0 auto; padding: 2rem 1.5rem; }
.site-main--shop {
  max-width: none;
  width: 100%;
  margin: 0;
  padding: 0;
}
.shop-shell {
  display: grid;
  grid-template-columns: 272px 1fr;
  align-items: start;
  width: 100%;
  max-width: 1480px;
  margin: 0 auto;
  min-height: calc(100vh - 8rem);
}
.shop-content .shop-search {
  width: 100%;
  max-width: none;
  margin: 0 0 1rem;
}
.shop-content__head {
  margin-bottom: 1.25rem;
}
.shop-search__wrap {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.55rem 0.15rem;
  background: transparent;
  border: none;
  border-bottom: 1px solid var(--border);
  border-radius: 0;
  box-shadow: none;
  transition: border-color 0.15s ease;
}
.shop-search__wrap:focus-within {
  border-bottom-color: color-mix(in srgb, var(--accent) 45%, var(--border));
  box-shadow: none;
}
.shop-search__icon {
  display: flex;
  color: var(--muted);
  flex-shrink: 0;
}
.shop-search__wrap:focus-within .shop-search__icon { color: var(--accent); }
.shop-search__input {
  flex: 1;
  min-width: 0;
  border: none;
  background: transparent;
  color: var(--text);
  font: inherit;
  font-size: 0.95rem;
  outline: none;
}
.shop-search__input::placeholder { color: #7a7268; }
.shop-search__input::-webkit-search-cancel-button { cursor: pointer; }
.shop-sidebar {
  grid-column: 1;
  grid-row: 1;
  width: 272px;
  position: sticky;
  top: 0;
  align-self: flex-start;
  max-height: 100vh;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 1.5rem 1.25rem 2rem;
  background: #111113;
  border-right: 1px solid var(--border);
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.shop-sidebar__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}
.shop-sidebar__title {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin: 0;
  color: var(--text-soft);
}
.shop-sidebar__clear {
  background: none;
  border: none;
  padding: 0;
  font: inherit;
  font-size: 0.8rem;
  color: var(--accent);
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}
.shop-sidebar__clear:hover { color: var(--text); }
.filter-section {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.filter-section--last { border-bottom: none; padding-bottom: 0; }
.filter-section__label {
  margin: 0 0 0.65rem;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted-strong);
}
.filter-field { display: block; margin-bottom: 0.65rem; }
.filter-field:last-child { margin-bottom: 0; }
.filter-field__hint {
  display: block;
  font-size: 0.75rem;
  color: var(--muted);
  margin-bottom: 0.3rem;
}
.filter-select, .filter-input {
  width: 100%;
  padding: 0.5rem 0.6rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
}
.filter-select:focus, .filter-input:focus {
  outline: none;
  border-color: #52525b;
}
.filter-checks {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  max-height: 10.5rem;
  overflow-y: auto;
}
.filter-section__subhead {
  margin: 0.65rem 0 0.35rem;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--muted);
}
.filter-checks--sizes {
  flex-direction: row;
  flex-wrap: wrap;
  gap: 0.35rem;
  max-height: none;
}
.filter-check {
  font-size: 0.86rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;
  cursor: pointer;
  color: var(--text);
  padding: 0.2rem 0;
}
.filter-check input[type="checkbox"] {
  accent-color: var(--accent);
  flex-shrink: 0;
  width: 1rem;
  height: 1rem;
  max-width: none;
  padding: 0;
  margin: 0;
  border: none;
  background: transparent;
}
.filter-check__text {
  flex: 1;
  min-width: 0;
  line-height: 1.35;
  color: var(--text);
}
.filter-checks:not(.filter-checks--sizes) {
  overflow-x: hidden;
}
.filter-check--pill {
  position: relative;
  padding: 0.25rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--bg);
}
.filter-check--pill:has(input:checked) {
  border-color: var(--accent);
  background: rgba(225, 29, 72, 0.08);
}
.filter-check--pill input { position: absolute; opacity: 0; width: 0; height: 0; }
.filter-check--stock { padding: 0.15rem 0; }
.filter-price-row { display: flex; align-items: center; gap: 0.4rem; }
.filter-price-row .filter-input { flex: 1; min-width: 0; }
.filter-price-sep { color: var(--muted); font-size: 0.75rem; }
.shop-content {
  grid-column: 2;
  grid-row: 1;
  min-width: 0;
  padding: 1.25rem 2rem 2.5rem 2.25rem;
}
.shop-content .product-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.15rem;
}
.shop-content__title {
  font-size: 1.75rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  letter-spacing: -0.02em;
  color: var(--text);
}
.shop-content__tagline { margin: 0; font-size: 0.95rem; }
.shop-content .subcat-nav { margin-top: 0.75rem; }
.shop-results { margin: 0 0 1rem; font-size: 0.85rem; }
.shop-empty { margin-top: 1.5rem; }
@media (max-width: 1100px) {
  .shop-content .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (max-width: 900px) {
  .shop-shell {
    grid-template-columns: 1fr;
  }
  .shop-sidebar {
    grid-column: 1;
    grid-row: 1;
    position: relative;
    width: 100%;
    max-height: none;
    border-right: none;
    border-bottom: 1px solid var(--border);
    padding: 1rem 1.25rem;
  }
  .shop-content {
    grid-column: 1;
    grid-row: 2;
    padding: 1.25rem 1.25rem 2rem;
  }
  .shop-content .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .filter-checks { max-height: 8rem; }
}
@media (max-width: 520px) {
  .shop-content .product-grid {
    grid-template-columns: 1fr;
  }
}
.hero { text-align: center; margin-bottom: 2.5rem; }
.hero h1 {
  font-size: clamp(1.85rem, 4vw, 2.15rem);
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--text);
}
.main-hero-banner {
  position: relative;
  margin: 0 0 2.25rem;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  min-height: min(22rem, 52vw);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.main-hero-banner--plain {
  min-height: auto;
  padding: 2rem 1.25rem;
  background: color-mix(in srgb, var(--surface) 90%, var(--bg));
}
.main-hero-banner--plain .main-hero-banner__title {
  color: var(--text);
  text-shadow: none;
}
.main-hero-banner--plain .main-hero-banner__lead {
  color: var(--muted);
  text-shadow: none;
}
.main-hero-banner__collages {
  position: absolute;
  inset: 0;
  z-index: 0;
}
.main-hero-banner__frame {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: repeat(2, 1fr);
  gap: 4px;
  opacity: 0;
  transform: scale(1.03);
  animation: main-hero-collage-fade var(--hero-cycle, 28s) ease-in-out infinite;
  animation-delay: calc(var(--frame-i, 0) * (var(--hero-cycle, 28s) / var(--hero-frames, 4)));
}
.main-hero-banner__cell {
  background-size: cover;
  background-position: center;
  filter: saturate(0.92) brightness(0.88);
}
.main-hero-banner__scrim {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(15, 15, 16, 0.55) 0%,
    rgba(15, 15, 16, 0.72) 45%,
    rgba(15, 15, 16, 0.88) 100%
  );
  pointer-events: none;
}
.main-hero-banner__content {
  position: relative;
  z-index: 2;
  max-width: 46rem;
  padding: 2.5rem 1.5rem;
}
.main-hero-banner__content--cycle {
  display: grid;
  place-items: center;
  width: 100%;
}
.main-hero-banner__content--cycle > .main-hero-banner__copy {
  grid-area: 1 / 1;
  width: 100%;
}
.main-hero-banner__copy {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(6px);
  animation: main-hero-copy-fade var(--hero-cycle, 28s) ease-in-out infinite;
  animation-delay: calc(var(--frame-i, 0) * (var(--hero-cycle, 28s) / var(--hero-frames, 4)));
}
.main-hero-banner__title {
  margin: 0 0 0.75rem;
  font-size: clamp(2rem, 5.5vw, 2.85rem);
  font-weight: 700;
  letter-spacing: -0.025em;
  line-height: 1.15;
  color: var(--text);
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.45);
}
.main-hero-banner__lead {
  margin: 0 auto;
  max-width: 38rem;
  font-size: clamp(1.12rem, 2.4vw, 1.35rem);
  line-height: 1.5;
  font-weight: 500;
  color: var(--text-soft);
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.4);
}
.main-hero-banner__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  justify-content: center;
  margin-top: 1.5rem;
}
.main-hero-banner__actions .btn {
  font-size: 1rem;
  padding: 0.65rem 1.25rem;
}
.main-hero-banner__btn-secondary {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  color: var(--text);
  font-weight: 600;
}
.main-hero-banner__btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  color: var(--text-soft);
}
@keyframes main-hero-collage-fade {
  0% {
    opacity: 0;
    transform: scale(1.04);
  }
  4% {
    opacity: 1;
    transform: scale(1);
  }
  21% {
    opacity: 1;
    transform: scale(1);
  }
  25% {
    opacity: 0;
    transform: scale(1.02);
  }
  100% {
    opacity: 0;
    transform: scale(1.04);
  }
}
@keyframes main-hero-copy-fade {
  0% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
  }
  4% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  21% {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  25% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(-4px);
  }
  100% {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translateY(8px);
  }
}
@media (prefers-reduced-motion: reduce) {
  .main-hero-banner__frame {
    animation: none;
    opacity: 0;
  }
  .main-hero-banner__frame:first-child {
    opacity: 1;
    transform: none;
  }
  .main-hero-banner__copy {
    animation: none;
    opacity: 0;
    transform: none;
    pointer-events: none;
  }
  .main-hero-banner__copy:first-child {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: none;
  }
}
.main-section { margin-bottom: 2.5rem; }
.main-section h2 {
  font-size: 1.35rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
  color: var(--text);
}
.main-section__head { margin-bottom: 1rem; }
.main-section--center .main-section__head {
  text-align: center;
  max-width: 40rem;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 1.25rem;
}
.main-section--center .main-section__head h2,
.main-section--center .main-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  margin: 0 0 0.45rem;
  color: var(--text);
  text-align: center;
}
.main-section--center .main-section__head .muted {
  margin: 0 auto;
  max-width: 36rem;
  line-height: 1.55;
}
.main-section--center > .muted {
  text-align: center;
}
.main-section__foot {
  margin-top: 1.25rem;
  text-align: center;
}
.main-section--center .main-dept-links {
  justify-content: center;
}
.main-section--pillars {
  margin-bottom: 2rem;
}
.main-section--pillars__title,
.main-section--center .main-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  letter-spacing: normal;
  text-transform: none;
  text-align: center;
  margin: 0 auto 1.15rem;
  max-width: 40rem;
  color: var(--text);
}
.main-pillars {
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  align-items: stretch;
  gap: 0.55rem;
  margin: 0;
  padding: 0;
  border: none;
  background: transparent;
  overflow-x: auto;
  scrollbar-width: thin;
  scrollbar-color: var(--border) transparent;
}
.main-pillar {
  flex: 1 1 0;
  min-width: 10.5rem;
  border-radius: var(--radius);
  background: color-mix(in srgb, var(--surface) 94%, var(--bg));
  border: 1px solid var(--border);
  transition: border-color 0.15s ease, background 0.15s ease;
}
.main-pillar:hover {
  border-color: color-mix(in srgb, var(--text) 12%, var(--border));
  background: var(--surface);
}
.main-pillar__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.55rem;
  padding: 0.85rem 0.5rem 0.95rem;
  min-height: 100%;
  height: 100%;
  box-sizing: border-box;
}
.main-pillar__text {
  flex: 1;
  min-width: 0;
  width: 100%;
}
.main-pillar__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
  margin: 0;
  flex-shrink: 0;
  border-radius: 8px;
  background: color-mix(in srgb, var(--border) 55%, var(--surface));
  color: var(--muted);
}
.main-pillar__icon--worldwide,
.main-pillar__icon--selection,
.main-pillar__icon--discreet,
.main-pillar__icon--secure,
.main-pillar__icon--gpsr {
  background: color-mix(in srgb, var(--border) 55%, var(--surface));
  color: var(--muted);
}
.main-pillar:hover .main-pillar__icon {
  color: var(--text);
  background: color-mix(in srgb, var(--border) 35%, var(--surface));
}
.main-pillar__icon-svg {
  display: block;
  width: 1.4rem;
  height: 1.4rem;
}
.main-pillar__title {
  font-size: 0.9rem;
  font-weight: 700;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  color: var(--text);
  text-transform: none;
  text-align: center;
  width: 100%;
  text-wrap: balance;
}
.main-pillar__body {
  font-size: 0.78rem;
  margin: 0;
  line-height: 1.45;
  color: var(--muted);
  text-align: center;
  width: 100%;
}
@media (min-width: 900px) {
  .main-pillars {
    overflow-x: visible;
    gap: 0.65rem;
  }
  .main-pillar {
    min-width: 0;
  }
  .main-pillar__inner {
    padding: 0.95rem 0.55rem 1rem;
  }
  .main-pillar__title {
    font-size: 0.92rem;
  }
  .main-pillar__body {
    font-size: 0.8rem;
    line-height: 1.5;
  }
}
.main-product-grid { margin-top: 0.5rem; }
.about-page {
  margin-top: 0;
}
.about-page .main-about__empty {
  padding: 1.5rem;
  text-align: center;
}
.main-about__shell {
  padding: 0;
  overflow: visible;
  border: 1px solid var(--border);
  background: linear-gradient(
    165deg,
    color-mix(in srgb, var(--surface) 92%, var(--accent) 8%) 0%,
    var(--surface) 42%,
    var(--surface) 100%
  );
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.22);
}
.main-about__hero {
  text-align: center;
  padding: 1.75rem 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border);
  border-radius: var(--radius) var(--radius) 0 0;
  background: var(--surface);
}
.main-about__logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 0.85rem;
  width: 100%;
  max-width: 11.5rem;
}
.main-about__logo {
  display: block;
  width: 100%;
  height: auto;
  max-height: 2.75rem;
  object-fit: contain;
  object-position: center;
  background: transparent;
}
.main-about__title {
  margin: 0;
  font-size: clamp(1.35rem, 2.5vw, 1.75rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  line-height: 1.2;
  color: var(--text);
}
.main-about__tagline {
  margin: 0.5rem auto 0;
  max-width: 36rem;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.45;
  color: var(--text-soft);
}
.main-about__content {
  padding: 1.25rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}
.main-about__block {
  padding: 1.1rem 1.15rem 1.15rem 1.25rem;
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, var(--border) 85%, var(--text) 15%);
  background: color-mix(in srgb, var(--bg) 55%, var(--surface) 45%);
  border-left: 3px solid var(--accent);
}
.main-about__h {
  font-size: clamp(1.05rem, 1.8vw, 1.2rem);
  margin: 0 0 0.65rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--text);
  line-height: 1.3;
}
.main-about__block-body { font-size: 0.94rem; }
.main-about__p { line-height: 1.6; margin: 0 0 0.75rem; color: color-mix(in srgb, var(--text) 92%, var(--muted) 8%); }
.main-about__list {
  margin: 0 0 0.75rem;
  padding: 0;
  list-style: none;
  line-height: 1.55;
}
.main-about__list li {
  position: relative;
  margin-bottom: 0.55rem;
  padding-left: 1.15rem;
  color: color-mix(in srgb, var(--text) 90%, var(--muted) 10%);
}
.main-about__list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
  opacity: 0.85;
}
.main-about__block-body .main-about__p:last-child { margin-bottom: 0; }
.main-about__list:last-child { margin-bottom: 0; }
@media (min-width: 720px) {
  .main-about__content {
    padding: 1.5rem 2rem 2rem;
    gap: 1rem;
  }
  .main-about__hero { padding: 2rem 1.75rem 1.65rem; }
  .main-about__logo-wrap { max-width: 13rem; }
  .main-about__logo { height: 2.5rem; }
}
.main-dept-links { display: flex; flex-wrap: wrap; gap: 0.5rem; }
.main-legal { font-size: 0.85rem; max-width: 48rem; line-height: 1.5; margin-top: 2rem; padding-top: 1rem; border-top: 1px solid var(--border); }
.muted { color: var(--muted); }
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1.25rem;
}
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.card img:not(.product-card__img):not(.main-about__logo):not(.invoice-logo) {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  display: block;
  background: #111;
}
.card-body { padding: 1rem; }
.product-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  transition: transform 0.22s ease, box-shadow 0.22s ease;
  position: relative;
  z-index: 0;
}
.product-card:hover {
  transform: scale(1.02);
  box-shadow: 0 14px 36px rgba(0, 0, 0, 0.42);
  z-index: 2;
}
.product-card__media {
  display: block;
  position: relative;
  overflow: hidden;
  aspect-ratio: 1;
  background: #111;
}
.product-card__link { display: block; color: inherit; text-decoration: none; }
.product-card__link:hover { text-decoration: none; }
.product-card__img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: opacity 0.35s ease;
}
.product-card__img--alt {
  position: absolute;
  inset: 0;
  opacity: 0;
}
.product-card--has-hover-img:hover .product-card__img--alt {
  opacity: 1;
}
.product-card--has-hover-img:hover .product-card__img--primary {
  opacity: 0;
}
.product-card__body { display: flex; flex-direction: column; flex: 1; }
.product-card__title-link { color: inherit; text-decoration: none; }
.product-card__title-link:hover .product-card__subtitle { color: var(--accent); }
.product-card__code {
  margin: 0 0 0.2rem;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-card__subtitle {
  font-size: 0.95rem;
  font-weight: 600;
  margin: 0 0 0.35rem;
  line-height: 1.35;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  transition: color 0.15s ease;
}
.product-card__meta { font-size: 0.85rem; margin: 0 0 0.35rem; }
.product-card__body .price {
  margin: 0 0 0.75rem;
  font-size: 1.02rem;
  font-weight: 700;
  color: var(--text-soft);
}
.product-card__cta { margin-top: auto; width: 100%; text-align: center; box-sizing: border-box; }
.product-card__cta-btn { width: 100%; }
.product-card .btn.product-card__cta,
.product-card .btn.product-card__cta-btn {
  background: var(--border);
  color: var(--text);
}
.product-card .btn.product-card__cta:hover,
.product-card .btn.product-card__cta-btn:hover {
  background: #3f3f46;
  color: var(--text);
}
.product-detail__code {
  margin: 0 0 0.35rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--muted);
}
.product-detail__title {
  margin: 0 0 0.85rem;
  padding: 0;
  max-width: 28em;
  font-family: "Kalam", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(1.35rem, 3.2vw, 1.75rem);
  font-weight: 700;
  line-height: 1.28;
  letter-spacing: 0.01em;
  color: var(--text);
  background: none;
  border: none;
  box-shadow: none;
}
.form-label {
  display: block;
  margin-bottom: 0.45rem;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-soft);
}
.segment-picker {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.25rem;
}
.segment-btn {
  padding: 0.42rem 0.8rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--bg);
  color: var(--text);
  font: inherit;
  font-size: 0.88rem;
  cursor: pointer;
  transition: border-color 0.15s ease, background 0.15s ease, opacity 0.15s ease;
}
.segment-btn:hover:not(:disabled) {
  border-color: #52525b;
}
.segment-btn.is-active {
  border-color: var(--accent);
  background: rgba(225, 29, 72, 0.1);
  box-shadow: inset 0 0 0 1px rgba(225, 29, 72, 0.25);
}
.segment-btn:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}
.segment-btn[hidden] {
  display: none;
}
.price { font-weight: 700; color: var(--text-soft); }
.account-order-total {
  color: #000;
  font-weight: 700;
  font-size: calc(1em + 2pt);
}
.btn {
  display: inline-block;
  background: var(--accent);
  color: #fff;
  border: none;
  padding: 0.65rem 1.1rem;
  border-radius: 8px;
  cursor: pointer;
  font-size: 1rem;
}
.btn-secondary { background: var(--border); color: var(--text); }
.btn-sm {
  padding: 0.4rem 0.75rem;
  font-size: 0.875rem;
}

.btn-cream,
button.btn-cream,
a.btn.btn-cream {
  background: var(--text-soft);
  color: var(--bg);
  border: 1px solid color-mix(in srgb, var(--text) 28%, var(--border));
}

.btn-cream:hover,
button.btn-cream:hover,
a.btn.btn-cream:hover {
  background: var(--text);
  color: var(--bg);
}

.btn-with-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  font-weight: 600;
}

.btn-with-icon__svg {
  flex-shrink: 0;
  display: block;
  width: 1.15rem;
  height: 1.15rem;
}

.account-auth-form .btn-cream.btn-with-icon {
  width: 100%;
  max-width: 22rem;
}

.auth-page {
  display: flex;
  justify-content: center;
  padding: 0.5rem 0 2rem;
}

.auth-card {
  width: 100%;
  max-width: 26rem;
  padding: 1.75rem 1.5rem 1.5rem;
  border: 1px solid color-mix(in srgb, var(--text) 12%, var(--border));
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.35);
}

.auth-card__head {
  text-align: center;
  margin-bottom: 1.25rem;
}

.auth-card__head h1 {
  margin: 0.65rem 0 0.35rem;
  font-size: 1.45rem;
}

.auth-card__icon {
  width: 3rem;
  height: 3rem;
  margin: 0 auto;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: color-mix(in srgb, var(--text-soft) 18%, var(--surface));
  color: var(--text-soft);
}

.auth-card__icon svg {
  width: 1.45rem;
  height: 1.45rem;
}

.auth-card__lead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.45;
}

.auth-card__alert {
  margin: 0 0 1rem;
}

.auth-card__form {
  margin-top: 0.25rem;
}

.auth-card__form .form-row input {
  max-width: none;
}

.auth-card__forgot {
  margin: -0.35rem 0 0.85rem;
  font-size: 0.9rem;
}

.auth-card__switch {
  text-align: center;
  margin: 1.15rem 0 0;
  font-size: 0.92rem;
}

.auth-trust-list {
  list-style: none;
  margin: 1.35rem 0 0;
  padding: 1rem 0 0;
  border-top: 1px solid var(--border);
  font-size: 0.82rem;
  line-height: 1.5;
}

.auth-trust-list li {
  position: relative;
  padding-left: 1.15rem;
  margin-bottom: 0.4rem;
}

.auth-trust-list li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.45rem;
  width: 0.4rem;
  height: 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-soft) 70%, var(--muted));
}

.auth-card__legal {
  margin: 1rem 0 0;
  font-size: 0.78rem;
  line-height: 1.45;
  text-align: center;
}

.auth-card__oauth {
  margin-top: 0.25rem;
}

.oauth-signin__divider {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin: 1.1rem 0 0.85rem;
  font-size: 0.8rem;
  text-transform: lowercase;
  color: var(--muted);
}

.oauth-signin__divider::before,
.oauth-signin__divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: var(--border);
}

.form-hint {
  margin: -0.15rem 0 0.5rem;
  font-size: 0.82rem;
  line-height: 1.4;
}
.form-row { margin-bottom: 1rem; }
label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; }
input:not([type="checkbox"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  max-width: 480px;
  padding: 0.55rem 0.65rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--text);
}
.error { color: #f87171; margin-bottom: 1rem; }
.success { color: #4ade80; margin-bottom: 1rem; }
.product-detail {
  display: grid;
  gap: 2rem;
  grid-template-columns: minmax(0, 1.05fr) minmax(0, 1fr);
  align-items: start;
}
.product-detail__media-col { min-width: 0; }
.product-detail__buy-col { min-width: 0; }
.product-detail__description {
  margin: 1rem 0 0;
  padding: 1rem 1.15rem;
  font-family: "Kalam", "Segoe Print", "Comic Sans MS", cursive;
  font-size: clamp(1.12rem, 2.4vw, 1.28rem);
  font-weight: 400;
  line-height: 1.55;
  letter-spacing: 0.01em;
  color: #3d3428;
  background: linear-gradient(
    135deg,
    #faf6ee 0%,
    #f3ebe0 48%,
    #efe4d4 100%
  );
  border-radius: 10px;
  border: 1px solid color-mix(in srgb, #d9cbb5 70%, transparent);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 40%, transparent) inset;
  max-width: 28em;
}
@media (min-width: 900px) {
  .product-detail__description {
    font-size: 1.22rem;
    line-height: 1.52;
    padding: 1.1rem 1.25rem;
  }
}
.product-detail__media-col .product-info-faq {
  width: 100%;
  max-width: none;
  margin-top: 1rem;
}
.product-info-faq {
  margin: 0.85rem 0 0;
  border: 1px solid color-mix(in srgb, var(--border) 75%, transparent);
  border-radius: 14px;
  background:
    linear-gradient(165deg, color-mix(in srgb, var(--surface) 92%, #ebe6dc) 0%, var(--surface) 55%, color-mix(in srgb, var(--surface) 96%, #f4f0ea) 100%);
  box-shadow: 0 1px 0 color-mix(in srgb, #fff 55%, transparent) inset;
  overflow: clip;
}
.product-info-faq__summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.85rem;
  margin: 0;
  padding: 0.85rem 1rem;
  cursor: pointer;
  list-style: none;
  user-select: none;
  border-bottom: 1px solid transparent;
}
.product-info-faq__summary::-webkit-details-marker { display: none; }
.product-info-faq[open] > .product-info-faq__summary {
  border-bottom-color: color-mix(in srgb, var(--border) 70%, transparent);
}
.product-info-faq__kicker {
  margin: 0;
  font-family: "Cormorant Garamond", "Palatino Linotype", Palatino, serif;
  font-size: 1.15rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--text);
}
.product-info-faq__chev {
  flex: 0 0 auto;
  width: 0.5rem;
  height: 0.5rem;
  border-right: 1.6px solid var(--text-soft);
  border-bottom: 1.6px solid var(--text-soft);
  transform: rotate(45deg);
  transition: transform 0.18s ease;
  opacity: 0.8;
}
.product-info-faq__chev--sm {
  width: 0.4rem;
  height: 0.4rem;
}
.product-info-faq[open] > .product-info-faq__summary .product-info-faq__chev {
  transform: rotate(225deg);
  margin-top: 0.15rem;
}
.product-info-faq__body {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  padding: 0.85rem 1rem 1.05rem;
}
.product-info-faq__panel {
  margin: 0;
  border-radius: 10px;
  background: color-mix(in srgb, var(--surface) 88%, #fff);
  border: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  padding: 0.35rem 0.75rem 0.45rem;
}
.product-info-faq__panel-summary {
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.86rem;
  font-weight: 650;
  padding: 0.35rem 0;
  color: var(--text);
}
.product-info-faq__panel-summary::-webkit-details-marker { display: none; }
.product-info-faq__panel[open] > .product-info-faq__panel-summary .product-info-faq__chev {
  transform: rotate(225deg);
}
.product-info-faq__panel-body {
  padding: 0.45rem 0 0.35rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 55%, transparent);
  margin-top: 0.15rem;
}
.product-info-faq__attrs {
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0;
}
.product-info-faq__attr {
  display: grid;
  grid-template-columns: minmax(7rem, 38%) 1fr;
  gap: 0.45rem 0.85rem;
  padding: 0.48rem 0;
  border-top: 1px solid color-mix(in srgb, var(--border) 45%, transparent);
  align-items: baseline;
}
.product-info-faq__attr:first-child { border-top: 0; padding-top: 0; }
.product-info-faq__attr dt {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 650;
  color: var(--text);
}
.product-info-faq__attr dd {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: var(--text-soft);
}
.product-info-faq__prose {
  margin: 0;
  white-space: pre-wrap;
  font-size: 0.93rem;
  line-height: 1.55;
  color: var(--text);
}
.product-info-faq__faq-list {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}
.product-info-faq__faq-item {
  border-radius: 8px;
  border: 1px solid color-mix(in srgb, var(--border) 60%, transparent);
  background: color-mix(in srgb, var(--bg) 35%, var(--surface));
  padding: 0.35rem 0.65rem 0.4rem;
}
.product-info-faq__faq-item > summary {
  cursor: pointer;
  list-style: none;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 0.2rem 0;
}
.product-info-faq__faq-item > summary::-webkit-details-marker { display: none; }
.product-info-faq__faq-item > p {
  margin: 0.35rem 0 0.2rem;
  padding-top: 0.4rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 50%, transparent);
  font-size: 0.88rem;
  line-height: 1.5;
  color: var(--muted, var(--text-soft));
}
.product-info-faq__gpsr {
  border-style: dashed;
  background: color-mix(in srgb, var(--surface) 90%, #f0ebe3);
}
.product-info-faq__gpsr-grid {
  display: grid;
  gap: 0.85rem 1.15rem;
}
@media (min-width: 640px) {
  .product-info-faq__gpsr-grid { grid-template-columns: 1fr 1fr; }
}
.product-info-faq__gpsr-col h4 {
  margin: 0 0 0.25rem;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-soft);
}
.product-info-faq__gpsr-col p {
  margin: 0.12rem 0;
  font-size: 0.8rem;
  line-height: 1.4;
  color: var(--text);
}
.product-info-faq__muted { color: var(--text-soft); font-size: 0.78rem; }
.product-info-faq__imprint {
  margin: 0.7rem 0 0;
  font-size: 0.76rem;
}
.product-info-faq a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.product-media__stage {
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: var(--surface);
  border-radius: var(--radius);
  overflow: hidden;
  cursor: zoom-in;
  border: 1px solid var(--border);
}
.product-media__main {
  width: 100%;
  display: block;
  aspect-ratio: 1;
  object-fit: cover;
  background: #111;
}
.product-media__stage--contain {
  background: #f7f5f2;
}
.product-media__main--contain {
  object-fit: contain;
  aspect-ratio: auto;
  max-height: min(72vh, 42rem);
}
.product-media__thumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.75rem;
}
.product-media__thumb {
  width: 4.25rem;
  height: 4.25rem;
  padding: 0;
  border: 2px solid transparent;
  border-radius: 8px;
  overflow: hidden;
  cursor: pointer;
  background: var(--bg);
}
.product-media__thumb.is-active {
  border-color: var(--accent);
}
.product-media__thumb--size-chart {
  position: relative;
  width: 3.5rem;
  height: 4.75rem;
  flex-shrink: 0;
}
.product-media__thumb--size-chart img {
  object-fit: contain;
  background: #f7f5f2;
}
.product-media__thumb-size-label {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 0.15rem 0.1rem;
  font-size: 0.55rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  color: #fff;
  background: rgba(20, 20, 20, 0.72);
  pointer-events: none;
}
.product-media__video-wrap {
  margin-top: 1rem;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid var(--border);
  background: #000;
}
.product-media__video {
  display: block;
  width: 100%;
  max-height: 28rem;
}
.product-media__thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.product-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.88);
}
.product-lightbox[hidden] {
  display: none !important;
}
.product-lightbox__backdrop {
  position: absolute;
  inset: 0;
  border: none;
  background: transparent;
  cursor: pointer;
}
/* Frame hugs the image so X / arrows sit at image edges, not screen edges. */
.product-lightbox__frame {
  position: relative;
  z-index: 1;
  display: inline-block;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  line-height: 0;
}
.product-lightbox__img {
  display: block;
  max-width: min(92vw, 1100px);
  max-height: 90vh;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  pointer-events: auto;
}
.product-lightbox__x {
  position: absolute;
  top: 0.4rem;
  right: 0.4rem;
  z-index: 3;
  width: 2.4rem;
  height: 2.4rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.65rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.product-lightbox__x:hover,
.product-lightbox__x:focus-visible {
  background: rgba(0, 0, 0, 0.65);
  outline: none;
}
.product-lightbox__nav {
  position: absolute;
  top: 50%;
  z-index: 3;
  width: 2.6rem;
  height: 2.6rem;
  border: none;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font-size: 1.85rem;
  line-height: 1;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 0 0.12rem;
}
.product-lightbox__nav:hover,
.product-lightbox__nav:focus-visible {
  background: rgba(0, 0, 0, 0.65);
  outline: none;
}
.product-lightbox__nav[hidden] {
  display: none !important;
}
/* Just outside the image edge (half the button overlaps past the frame). */
.product-lightbox__nav--prev {
  left: 0;
  transform: translate(-50%, -50%);
}
.product-lightbox__nav--next {
  right: 0;
  transform: translate(50%, -50%);
}
body.product-lightbox-open {
  overflow: hidden;
}
@media (max-width: 640px) {
  .product-lightbox {
    padding: 0.75rem;
  }
  .product-lightbox__frame,
  .product-lightbox__img {
    max-width: 94vw;
    max-height: 80vh;
  }
  .product-lightbox__nav {
    width: 2.25rem;
    height: 2.25rem;
    font-size: 1.55rem;
  }
  .product-lightbox__x {
    width: 2.15rem;
    height: 2.15rem;
    font-size: 1.45rem;
  }
}
@media (max-width: 768px) {
  .product-detail { grid-template-columns: 1fr; }
}
.table { width: 100%; border-collapse: collapse; }
.table th, .table td { border-bottom: 1px solid var(--border); padding: 0.65rem; text-align: left; }
.legal h1 {
  font-size: 1.65rem;
  font-weight: 700;
  color: var(--text);
}
.legal h2 {
  font-size: 1.15rem;
  font-weight: 700;
  margin-top: 1.5rem;
  color: var(--text-soft);
}
.faq-section__title {
  font-size: 1.2rem;
  font-weight: 700;
  margin: 2rem 0 0.75rem;
  padding-top: 0.5rem;
  border-top: 1px solid color-mix(in srgb, var(--border) 80%, transparent);
  color: var(--text);
}
.faq-page .faq-section__title:first-of-type {
  margin-top: 1.25rem;
  border-top: none;
  padding-top: 0;
}
.faq-list { margin-top: 0; margin-bottom: 0.5rem; }
.faq-item {
  padding: 1rem 0;
  border-bottom: 1px solid var(--border);
}
.faq-item:last-child { border-bottom: none; }
.faq-item__q {
  font-size: 1.08rem;
  font-weight: 700;
  margin: 0 0 0.5rem;
  line-height: 1.35;
  color: var(--text);
}
.faq-item__a {
  margin: 0;
  color: var(--muted-strong);
  font-size: 0.95rem;
  line-height: 1.55;
}
.dept-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  gap: 1rem;
  margin-top: 1rem;
}
.dept-card { text-decoration: none; color: inherit; }
.dept-card:hover { border-color: var(--accent); }
.subcat-nav { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 1rem 0 1.25rem; }
.subcat-chip {
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  border: 1px solid var(--border);
  font-size: 0.85rem;
  color: var(--text);
  text-decoration: none;
}
.subcat-chip:hover:not(.subcat-chip--active) { border-color: var(--accent); color: var(--accent); }
.subcat-chip--active {
  border-color: var(--accent);
  background: var(--accent);
  color: var(--bg);
  font-weight: 600;
}
.subcat-chip--active:hover { color: var(--bg); opacity: 0.92; }
.cart-table__thumb { width: 64px; vertical-align: middle; }
.cart-table__thumb img {
  display: block;
  width: 56px;
  height: 56px;
  object-fit: cover;
  border-radius: 6px;
  background: var(--surface);
}
.checkout-summary-table { margin-top: 0.35rem; }
.checkout-summary-table td { vertical-align: middle; }
.site-footer__seller { font-size: 0.85rem; margin: 0.35rem 0 0; }

.checkout-pay-option {
  display: flex;
  gap: 0.65rem;
  align-items: flex-start;
  padding: 0.75rem;
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
}
.checkout-pay-option:has(input:checked) {
  border-color: var(--accent);
  background: rgba(225, 29, 72, 0.08);
}
.checkout-pay-option--unavailable {
  cursor: not-allowed;
  opacity: 0.72;
  background: rgba(148, 163, 184, 0.08);
}
.checkout-pay-option--unavailable:has(input:checked) {
  border-color: var(--border);
  background: rgba(148, 163, 184, 0.08);
}
.checkout-pay-option__notice {
  color: #b45309;
  font-size: 0.86rem;
  line-height: 1.35;
}
.checkout-pay-option input { width: auto; max-width: none; margin-top: 0.2rem; flex-shrink: 0; }
.checkout-pay-option__body { display: flex; flex-direction: column; gap: 0.2rem; font-size: 0.88rem; }
.checkout-pay-option__body strong { font-size: 0.95rem; }

.checkout-payment {
  margin-top: 1.25rem;
  padding: 0.95rem 1rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
}
.checkout-payment__title {
  margin: 0 0 0.7rem;
  font-size: 1.02rem;
  font-weight: 650;
  letter-spacing: -0.01em;
  color: var(--text);
}
.checkout-payment__foot {
  margin: 0.7rem 0 0;
  font-size: 0.8rem;
  line-height: 1.35;
  color: var(--muted);
}
.checkout-pay-bank {
  margin-bottom: 0.5rem;
  border: 1px solid var(--border);
  border-radius: 10px;
  overflow: hidden;
  background: var(--surface);
  transition: border-color 0.15s ease;
}
.checkout-pay-bank:has(input[type="radio"]:checked) {
  border-color: color-mix(in srgb, var(--accent) 50%, var(--border));
}
.checkout-pay-bank__head {
  display: flex;
  gap: 0.6rem;
  align-items: flex-start;
  padding: 0.75rem 0.85rem;
  margin: 0;
  cursor: pointer;
}
.checkout-pay-bank__head input {
  width: auto;
  max-width: none;
  margin-top: 0.18rem;
  flex-shrink: 0;
}
.checkout-pay-bank__head-text {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
  font-size: 0.86rem;
}
.checkout-pay-bank__head-text strong {
  font-size: 0.95rem;
  color: var(--text);
}
.checkout-tt {
  display: none;
  padding: 0 0.85rem 0.75rem;
  border-top: 1px solid var(--border);
}
.checkout-tt.is-active {
  display: block;
}
.checkout-tt__bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.75rem;
  padding: 0.65rem 0 0.55rem;
}
.checkout-tt__bar > label {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 650;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--muted);
}
.checkout-tt__select {
  width: auto;
  min-width: 10.5rem;
  max-width: 100%;
  padding: 0.35rem 0.5rem;
  border-radius: 7px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  font-size: 0.84rem;
}
.checkout-tt__panel {
  padding: 0.4rem 0 0.15rem;
  border-radius: 0;
  border: 0;
  border-top: 1px solid var(--border);
  background: transparent;
}
.checkout-tt__panel[hidden] { display: none !important; }
.checkout-tt__panel-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 0.45rem;
  margin-bottom: 0.35rem;
}
.checkout-tt__bank {
  font-size: 0.8rem;
  font-weight: 650;
  color: var(--text);
  line-height: 1.2;
}
.checkout-tt__badge {
  display: inline-flex;
  align-items: center;
  padding: 0.08rem 0.38rem;
  border-radius: 999px;
  font-size: 0.66rem;
  font-weight: 650;
  letter-spacing: 0.02em;
  color: var(--text);
  background: color-mix(in srgb, var(--accent) 16%, transparent);
  border: 1px solid color-mix(in srgb, var(--accent) 28%, var(--border));
}
.checkout-tt__facts {
  margin: 0;
  display: grid;
  gap: 0.14rem;
}
.checkout-tt__facts > div {
  display: grid;
  grid-template-columns: 3.6rem minmax(0, 1fr);
  gap: 0.15rem 0.45rem;
  align-items: baseline;
  min-width: 0;
}
.checkout-tt__facts > .checkout-tt__fact--wide {
  grid-column: 1 / -1;
}
.checkout-tt__facts dt {
  margin: 0;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--muted);
}
.checkout-tt__facts dd {
  margin: 0;
  font-size: 0.8rem;
  color: var(--text);
  overflow-wrap: anywhere;
  line-height: 1.25;
}
.checkout-tt__facts code {
  font-size: 0.78rem;
  color: var(--text);
  background: transparent;
}
.checkout-tt__pix {
  display: block;
  max-width: 100%;
  overflow-wrap: anywhere;
  word-break: break-all;
  font-size: 0.68rem;
  line-height: 1.3;
}
.bank-pay-qr-wrap {
  margin: 0.5rem 0 1rem;
  text-align: center;
}
.bank-pay-qr {
  display: inline-block;
  width: min(240px, 70vw);
  height: auto;
  aspect-ratio: 1;
  background: #fff;
  border: 1px solid var(--border, #ddd);
  border-radius: 8px;
  padding: 0.5rem;
}
.checkout-tt__qr .bank-pay-qr {
  width: min(180px, 60vw);
  margin-top: 0.25rem;
}
.bank-table th { width: 38%; font-weight: 500; text-align: left; vertical-align: top; }
.bank-table code { font-size: 0.9rem; word-break: break-all; }
.bank-copy-wrap {
  display: inline-flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.4rem 0.55rem;
  max-width: 100%;
}
.bank-copy-btn {
  font-size: 0.75rem;
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  cursor: pointer;
  flex-shrink: 0;
}
.bank-copy-btn:hover:not(:disabled) {
  border-color: var(--accent);
}
.bank-copy-btn:disabled {
  opacity: 0.85;
  cursor: default;
}
.bank-mini .bank-copy-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bank-transfer__routing {
  font-size: 0.9rem;
  line-height: 1.45;
  max-width: 44rem;
}
.bank-transfer-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin: 1rem 0 0.5rem;
}
.bank-transfer-tabs__tab {
  font-size: 0.88rem;
  padding: 0.45rem 0.75rem;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--surface);
  color: inherit;
  cursor: pointer;
}
.bank-transfer-tabs__tab--active,
.bank-transfer-tabs__tab[aria-selected="true"] {
  border-color: var(--accent);
  background: rgba(225, 29, 72, 0.1);
  font-weight: 600;
}
.bank-transfer-tabpanel[hidden] {
  display: none !important;
}

.wallet-page {
  max-width: 36rem;
}
.wallet-page__title {
  margin: 0 0 0.75rem;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--text);
}
.wallet-hero {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem 1rem;
  padding: 0.85rem 1rem;
  text-align: left;
}
.wallet-hero__main {
  flex: 1;
  min-width: 0;
}
.wallet-hero__label {
  margin: 0;
  font-size: 0.82rem;
  color: var(--muted);
}
.wallet-hero__amount {
  margin: 0.12rem 0 0;
  font-size: 1.45rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}
.wallet-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  justify-content: flex-end;
  margin-top: 0;
  flex-shrink: 0;
}
@media (max-width: 480px) {
  .wallet-hero {
    flex-direction: column;
    align-items: stretch;
  }
  .wallet-hero__actions {
    justify-content: flex-start;
  }
}
.wallet-fold {
  margin: 0.75rem 0 0;
  font-size: 0.88rem;
}
.wallet-fold summary {
  cursor: pointer;
  padding: 0.35rem 0;
}
.wallet-fold__text {
  margin: 0.5rem 0 0;
  line-height: 1.45;
  max-width: 36rem;
}
.wallet-fold__dl {
  margin: 0.5rem 0 0;
  display: grid;
  gap: 0.4rem;
}
.wallet-fold__dl div {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
}
.wallet-fold__dl dt {
  color: var(--muted);
}
.wallet-fold__dl dd {
  margin: 0;
  font-weight: 600;
}
.wallet-steps {
  margin: 0 0 1rem;
  padding-left: 1.15rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--muted);
}
.wallet-steps a {
  color: inherit;
  text-decoration: underline;
}
.wallet-banks {
  margin-top: 1.5rem;
  padding: 1.15rem 1.25rem;
}
.wallet-banks__title {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  font-weight: 600;
}
.wallet-banks__foot {
  margin: 1rem 0 0;
  font-size: 0.85rem;
}
.wallet-banks .bank-transfer__account {
  margin: 0.5rem 0 0;
}
.bank-transfer--simple .bank-transfer__account {
  margin-top: 0.65rem;
  padding: 0.85rem 1rem !important;
}
.bank-transfer--simple .bank-transfer-tabs {
  margin-top: 0.5rem;
}
.bank-transfer__memo--compact {
  margin: 0.75rem 0;
  padding: 0.65rem 0.85rem;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: color-mix(in srgb, var(--bg) 50%, var(--surface));
}
.bank-transfer__memo-label {
  display: block;
  font-size: 0.78rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin-bottom: 0.35rem;
}
.bank-transfer__memo-code {
  display: block;
  font-size: 0.9rem;
  word-break: break-word;
}
.bank-transfer__notes {
  margin: 0.5rem 0 0;
}
.wallet-tx-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  margin: 0.5rem 0 0.75rem;
}
.wallet-status {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 600;
  padding: 0.15rem 0.45rem;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}
.wallet-status--pending {
  background: rgba(251, 191, 36, 0.35);
  color: #fbbf24;
  border: 1px solid rgba(251, 191, 36, 0.55);
}
.wallet-status--posted {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.35);
}
.wallet-activity-table td {
  vertical-align: top;
}
.wallet-amount-footnote {
  font-size: 0.78rem;
  line-height: 1.3;
}
.wallet-receipt-link {
  font-size: 0.88rem;
  white-space: nowrap;
}
.wallet-receipt-link::before {
  content: "📄 ";
  font-size: 0.85em;
}
.wallet-tx-balance {
  max-width: 20rem;
}
.wallet-tt-modal__panel {
  max-width: 28rem;
}
.wallet-tt-form .form-row {
  margin-bottom: 0.85rem;
}
.wallet-tt-form label {
  display: block;
  margin-bottom: 0.3rem;
  font-size: 0.9rem;
}
.wallet-tt-form input[type="text"],
.wallet-tt-form input[type="number"],
.wallet-tt-form select {
  width: 100%;
  max-width: 100%;
}
.wallet-tt-amount-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 4.75rem;
  align-items: stretch;
  gap: 0.55rem;
}
.wallet-tt-amount-row input[type="number"] {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.wallet-tt-currency {
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--muted);
}
.wallet-tt-form .wallet-tt-currency-select {
  width: 100%;
  min-width: 0;
  max-width: none;
  padding-inline: 0.45rem;
  font-weight: 600;
  font-variant-numeric: tabular-nums;
  text-align: center;
}
.wallet-tt-form__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 1rem;
}

.wallet-topup {
  margin-top: 1.5rem;
  padding: 1.25rem 1.35rem;
  max-width: 42rem;
}
.wallet-topup__title {
  margin: 0 0 0.35rem;
  font-size: 1.2rem;
}
.wallet-topup__lead {
  margin: 0 0 1.1rem;
  font-size: 0.92rem;
  line-height: 1.45;
}
.wallet-topup__subtitle {
  margin: 0 0 0.5rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.wallet-topup__upload {
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
  margin-bottom: 1rem;
}
.wallet-topup__upload .payment-receipt-form { margin-top: 0; }
.wallet-topup__history {
  margin-bottom: 1rem;
  font-size: 0.9rem;
}
.wallet-topup__receipt-list {
  margin: 0;
  padding-left: 1.1rem;
}
.wallet-topup__receipt-list ul {
  margin: 0.2rem 0 0.5rem;
  padding-left: 1rem;
}
.wallet-topup__banks { margin-top: 0.25rem; }
.wallet-section-title { margin-top: 2rem; }
.wallet-tx-scroll { overflow-x: auto; max-width: 100%; }
.wallet-tx-table { font-size: 0.9rem; min-width: 28rem; }

.bank-transfer--wallet { margin: 0; }
.bank-transfer-details {
  border: 1px solid var(--border);
  border-radius: 8px;
  padding: 0.5rem 0.75rem;
  background: color-mix(in srgb, var(--bg) 40%, var(--surface));
}
.bank-transfer-details > summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 0.92rem;
  padding: 0.35rem 0.15rem;
  list-style-position: outside;
}
.bank-transfer-details__hint {
  font-size: 0.85rem;
  margin: 0.65rem 0 0.5rem;
  line-height: 1.4;
}
.bank-transfer-details__full {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
}
.bank-transfer__account--mini {
  margin: 0.65rem 0 0;
  padding: 0.65rem 0.75rem;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--surface);
}
.bank-transfer__account-title {
  margin: 0 0 0.45rem;
  font-size: 0.88rem;
  font-weight: 600;
}
.bank-mini {
  margin: 0;
  display: grid;
  gap: 0.35rem 0.75rem;
  font-size: 0.82rem;
}
.bank-mini div {
  display: grid;
  grid-template-columns: 5.5rem 1fr;
  gap: 0.35rem;
  align-items: baseline;
}
.bank-mini dt {
  margin: 0;
  color: var(--muted);
  font-weight: 500;
}
.bank-mini dd {
  margin: 0;
  word-break: break-word;
}
.bank-mini code { font-size: 0.8rem; }
.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  border: 0;
}
body.modal-open { overflow: hidden; }
.modal {
  position: fixed;
  inset: 0;
  z-index: 10050; /* above live-chat (9000) */
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.modal[hidden] { display: none !important; }
.modal.modal--open:not([hidden]) {
  display: flex !important;
}
.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
}
.modal__panel {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 520px;
  max-height: min(90vh, 720px);
  overflow-y: auto;
  padding: 1.25rem 1.5rem 1.5rem;
}
.modal-panel--cream,
.modal__panel.card.modal-panel--cream {
  --modal-ink: #1a1a1a;
  --modal-muted: #5c5349;
  --modal-field-bg: #ffffff;
  --modal-field-border: #c9bdb0;
  background: #f3ebe0 !important;
  color: var(--modal-ink) !important;
  border-color: color-mix(in srgb, var(--modal-ink) 14%, #f3ebe0) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.modal-panel--cream h1,
.modal-panel--cream h2,
.modal-panel--cream h3,
.modal-panel--cream label,
.modal__panel.card.modal-panel--cream h1,
.modal__panel.card.modal-panel--cream h2,
.modal__panel.card.modal-panel--cream h3,
.modal__panel.card.modal-panel--cream label {
  color: var(--modal-ink);
}
.modal-panel--cream .muted,
.modal-panel--cream .address-book-modal__lead,
.modal__panel.card.modal-panel--cream .muted,
.modal__panel.card.modal-panel--cream .address-book-modal__lead {
  color: var(--modal-muted);
}
.modal-panel--cream .modal__close,
.modal__panel.card.modal-panel--cream .modal__close {
  color: var(--modal-muted);
}
.modal-panel--cream .modal__close:hover,
.modal__panel.card.modal-panel--cream .modal__close:hover {
  color: var(--modal-ink);
}
.modal-panel--cream input,
.modal-panel--cream select,
.modal-panel--cream textarea,
.modal__panel.card.modal-panel--cream input,
.modal__panel.card.modal-panel--cream select,
.modal__panel.card.modal-panel--cream textarea {
  background: var(--modal-field-bg);
  color: var(--modal-ink);
  border-color: var(--modal-field-border);
}
.modal-panel--cream .address-book-form--sheet label,
.modal__panel.card.modal-panel--cream .address-book-form--sheet label {
  color: var(--modal-muted);
}
.modal-panel--cream .address-book-name-row,
.modal__panel.card.modal-panel--cream .address-book-name-row {
  border-bottom-color: var(--modal-field-border);
}
.modal-panel--cream .address-book-section,
.modal__panel.card.modal-panel--cream .address-book-section {
  background: rgba(255, 255, 255, 0.55);
  border-color: var(--modal-field-border);
}
.modal-panel--cream .address-book-section__head,
.modal__panel.card.modal-panel--cream .address-book-section__head {
  border-bottom-color: var(--modal-field-border);
}
.modal-panel--cream .address-book-form__footer,
.modal__panel.card.modal-panel--cream .address-book-form__footer {
  border-top-color: var(--modal-field-border);
}
.modal-panel--cream .address-label-chip,
.modal__panel.card.modal-panel--cream .address-label-chip {
  background: var(--modal-field-bg);
  color: var(--modal-ink);
  border-color: var(--modal-field-border);
}
.modal-panel--cream .address-label-chip.is-active,
.modal__panel.card.modal-panel--cream .address-label-chip.is-active {
  background: var(--modal-ink);
  color: #f3ebe0;
  border-color: var(--modal-ink);
}
.modal-panel--cream .btn-secondary,
.modal__panel.card.modal-panel--cream .btn-secondary {
  background: color-mix(in srgb, var(--modal-ink) 8%, #f3ebe0);
  color: var(--modal-ink);
  border: 1px solid var(--modal-field-border);
}
.modal-panel--cream .btn-secondary:hover,
.modal__panel.card.modal-panel--cream .btn-secondary:hover {
  background: color-mix(in srgb, var(--modal-ink) 14%, #f3ebe0);
}
.modal-panel--cream .error,
.modal__panel.card.modal-panel--cream .error {
  color: #b91c1c;
}
/* Required field marker in account popups */
.modal-panel--cream .form-row:has(input[required]) > label:first-child::after,
.modal-panel--cream .form-row:has(select[required]) > label:first-child::after,
.modal-panel--cream .form-row:has(textarea[required]) > label:first-child::after,
.modal__panel.card.modal-panel--cream .form-row:has(input[required]) > label:first-child::after,
.modal__panel.card.modal-panel--cream .form-row:has(select[required]) > label:first-child::after,
.modal__panel.card.modal-panel--cream .form-row:has(textarea[required]) > label:first-child::after {
  content: " *";
  color: #dc2626;
  font-weight: 700;
}
.modal-panel--cream .address-book-name-row:has(input[required]) .address-book-name-row__label::after,
.modal__panel.card.modal-panel--cream .address-book-name-row:has(input[required]) .address-book-name-row__label::after {
  content: " *";
  color: #dc2626;
  font-weight: 700;
}
.modal__panel.card {
  --modal-ink: #1a1a1a;
  --modal-muted: #5c5349;
  --modal-field-bg: #fff;
  --modal-field-border: #c9bdb0;
  background: var(--text);
  color: var(--modal-ink);
  border-color: color-mix(in srgb, var(--modal-ink) 14%, var(--text));
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.45);
}
.modal__panel.card h1,
.modal__panel.card h2,
.modal__panel.card h3,
.modal__panel.card label {
  color: var(--modal-ink);
}
.modal__panel.card .muted,
.modal__panel.card .address-book-modal__lead {
  color: var(--modal-muted);
}
.modal__panel.card .modal__close {
  color: var(--modal-muted);
}
.modal__panel.card .modal__close:hover {
  color: var(--modal-ink);
}
.modal__panel.card input,
.modal__panel.card select,
.modal__panel.card textarea {
  background: var(--modal-field-bg);
  color: var(--modal-ink);
  border-color: var(--modal-field-border);
}
.modal__panel.card .address-book-form--sheet label {
  color: var(--modal-muted);
}
.modal__panel.card .address-book-name-row {
  border-bottom-color: var(--modal-field-border);
}
.modal__panel.card .address-book-form__footer {
  border-top-color: var(--modal-field-border);
}
.modal__panel.card .address-label-chip {
  background: var(--modal-field-bg);
  color: var(--modal-ink);
  border-color: var(--modal-field-border);
}
.modal__panel.card .address-label-chip.is-active {
  background: var(--modal-ink);
  color: var(--text);
  border-color: var(--modal-ink);
}
.modal__panel.card .btn-secondary {
  background: color-mix(in srgb, var(--modal-ink) 8%, var(--text));
  color: var(--modal-ink);
  border: 1px solid var(--modal-field-border);
}
.modal__panel.card .btn-secondary:hover {
  background: color-mix(in srgb, var(--modal-ink) 14%, var(--text));
}
.modal__panel.card .error {
  color: #b91c1c;
}
.modal__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}
.modal__close {
  background: none;
  border: none;
  color: var(--muted);
  font-size: 1.75rem;
  line-height: 1;
  cursor: pointer;
  padding: 0 0.25rem;
}
.modal__close:hover { color: var(--text); }
.modal .form-grid input,
.modal .form-grid select { max-width: none; }

.account-layout {
  display: grid;
  grid-template-columns: minmax(210px, 260px) 1fr;
  gap: 1.5rem;
  align-items: start;
}
@media (max-width: 768px) {
  .account-layout { grid-template-columns: 1fr; }
}
.account-nav {
  padding: 1.25rem;
  position: sticky;
  top: 1rem;
}
.account-nav__user {
  font-size: 0.85rem;
  word-break: break-all;
  margin: 0 0 1rem;
  color: var(--muted);
}
.account-nav__links {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}
.account-nav__link {
  display: block;
  padding: 0.5rem 0.65rem;
  border-radius: 8px;
  color: var(--text);
  text-decoration: none;
  font-size: 0.95rem;
}
.account-nav__link:hover {
  background: var(--bg);
  text-decoration: none;
}
.account-nav__link--active {
  background: var(--bg);
  border-left: 3px solid var(--accent);
  padding-left: calc(0.65rem - 3px);
  font-weight: 600;
}
.account-nav__footer {
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  font-size: 0.85rem;
}
.account-nav__footer a { color: var(--muted); }
.account-main { min-width: 0; }

/* Account content — cream cards (address cards, wallet, order panels, …); nav stays dark */
.account-main .card {
  --account-cream: #f3ebe0;
  --account-ink: #1a1a1a;
  --account-muted: #5c5349;
  --account-border: color-mix(in srgb, var(--account-ink) 12%, var(--account-cream));
  background: var(--account-cream) !important;
  color: var(--account-ink);
  border-color: var(--account-border);
}
.account-main .card .muted {
  color: var(--account-muted);
}
.account-main .card h1,
.account-main .card h2,
.account-main .card h3,
.account-main .card strong,
.account-main .card .address-card__name,
.account-main .card .address-empty__title,
.account-main .card .account-detail-panel h2,
.account-main .card .wallet-hero__amount {
  color: var(--account-ink);
}
.account-main .card .address-card__badge {
  background: color-mix(in srgb, var(--account-ink) 10%, #fff);
  color: var(--account-ink);
  border-color: var(--account-border);
}
.account-main .card input:not([type="checkbox"]):not([type="radio"]),
.account-main .card select,
.account-main .card textarea {
  background: #fff;
  color: var(--account-ink);
  border-color: #c9bdb0;
  max-width: none;
}
.account-main .card .btn-secondary {
  background: color-mix(in srgb, var(--account-ink) 8%, var(--account-cream));
  color: var(--account-ink);
  border: 1px solid #c9bdb0;
}
.account-main .card .btn-secondary:hover {
  background: color-mix(in srgb, var(--account-ink) 14%, var(--account-cream));
}
.account-main .card .table th,
.account-main .card .table td {
  border-bottom-color: var(--account-border);
  color: var(--account-ink);
}
.account-main .card a:not(.btn) {
  color: #9a3412;
}
.account-main .card .security-actions__divider {
  background: var(--account-border);
}
.account-main .card .address-list__actions {
  border-top-color: var(--account-border);
}
.account-stats {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0 2rem;
}
.account-stat {
  padding: 1rem 1.1rem;
  text-decoration: none;
  color: inherit;
  display: block;
}
.account-stat:hover { border-color: var(--accent); text-decoration: none; }
.account-stat__value { display: block; font-size: 1.75rem; font-weight: 700; }
.account-stat__label { font-size: 0.9rem; color: var(--muted); }
.account-page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.account-page-header h1 {
  margin: 0;
  font-weight: 700;
  color: var(--text);
}
.account-page-header__lead {
  margin: 0.35rem 0 0;
  font-size: 0.92rem;
  max-width: 36rem;
  line-height: 1.45;
}
.account-ship-panel {
  margin: 1.5rem 0;
  padding-top: 0.25rem;
}
.account-ship-panel h2 {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
}
.account-ship-dl {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
  gap: 0.85rem 1.25rem;
  margin: 0;
}
.account-ship-dl dt {
  font-size: 0.78rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--muted);
  margin: 0 0 0.2rem;
}
.account-ship-dl dd {
  margin: 0;
  font-size: 0.98rem;
}
.account-ship-items {
  list-style: none;
  margin: 0;
  padding: 0;
}
.account-ship-items li {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.45rem 0;
  border-bottom: 1px solid var(--account-border, rgba(0,0,0,0.08));
}
.account-ship-photos {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.75rem;
}
.account-ship-photo {
  display: block;
  border: 1px solid var(--account-border, rgba(0,0,0,0.1));
  background: #fff;
  aspect-ratio: 1;
  overflow: hidden;
}
.account-ship-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.account-ship-docs {
  margin: 0;
  padding-left: 1.1rem;
}
.account-ship-events {
  margin: 0.75rem 0 0;
  padding-left: 1.1rem;
}
.status-chip--ship-dispatched,
.status-chip--ship-shipped {
  background: #e8f5e9;
  color: #1b5e20;
}
.status-chip--ship-packed {
  background: #fff8e1;
  color: #6d4c00;
}
.status-chip--ship-delivered {
  background: #e3f2fd;
  color: #0d47a1;
}
.status-chip--ship-cancelled,
.status-chip--ship-draft {
  background: #f5f5f5;
  color: #616161;
}
.address-empty {
  padding: 1.5rem;
  text-align: center;
  max-width: 28rem;
}
.address-empty__title {
  margin: 0 0 0.35rem;
  font-weight: 600;
  color: var(--text-soft);
}
.address-empty__text {
  margin: 0 0 1rem;
  font-size: 0.92rem;
}
.address-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 0.5rem;
}
.address-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem 1rem;
  padding: 0.5rem 0.75rem 0.5rem 0.95rem;
  border: 1px solid color-mix(in srgb, var(--text) 8%, var(--border));
}
.address-card__main {
  flex: 1;
  min-width: 0;
}
.address-card__head {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.35rem 0.5rem;
  margin-bottom: 0.2rem;
}
.address-card__name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-soft);
}
.address-card__badge {
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 0.1rem 0.4rem;
  border-radius: 999px;
  background: color-mix(in srgb, var(--text-soft) 22%, var(--surface));
  color: var(--text);
  border: 1px solid color-mix(in srgb, var(--text) 20%, var(--border));
}
.address-card__body {
  font-size: 0.84rem;
  line-height: 1.32;
}
.address-card__line {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}
.address-card__line + .address-card__line {
  margin-top: 0.12rem;
}
.address-label-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.5rem;
}
.address-label-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text);
  border-radius: 999px;
  padding: 0.3rem 0.75rem;
  font-size: 0.82rem;
  cursor: pointer;
  font-family: inherit;
}
.address-label-chip:hover {
  border-color: color-mix(in srgb, var(--text) 35%, var(--border));
}
.address-label-chip.is-active {
  background: color-mix(in srgb, var(--text-soft) 35%, var(--surface));
  border-color: color-mix(in srgb, var(--text-soft) 55%, var(--border));
  color: var(--text-soft);
}
.address-list__item { padding: 1rem; margin-bottom: 0.75rem; }
.account-detail-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1.15rem;
  margin-top: 1rem;
  width: 100%;
  max-width: min(960px, 100%);
}
.account-detail-panel { padding: 1.35rem 1.5rem; }
.account-detail-panel h2 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-top: 0;
  color: var(--text-soft);
}
.address-list__actions {
  margin: 0;
  padding: 0;
  border: none;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  flex-shrink: 0;
  align-items: stretch;
}
.address-list__actions .btn-sm {
  padding: 0.28rem 0.65rem;
  font-size: 0.78rem;
  white-space: nowrap;
}
@media (max-width: 640px) {
  .address-card {
    flex-direction: column;
    align-items: stretch;
  }
  .address-list__actions {
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 0.35rem;
    border-top: 1px solid var(--border);
  }
}
.address-list__actions form {
  margin: 0;
}
.status-chip {
  display: inline-block;
  font-size: 0.8rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  background: var(--border);
  color: var(--text);
}
.status-chip--awaiting-payment { background: #422006; color: #fcd34d; }
.status-chip--paid,
.status-chip--order-received,
.status-chip--preparing-shipment,
.status-chip--processing { background: #1e3a5f; color: #93c5fd; }
.status-chip--preparing-shipment { background: #1a3d2e; color: #86efac; }
.status-chip--shipped, .status-chip--delivered { background: #14532d; color: #86efac; }
.status-chip--refunded, .status-chip--cancelled { background: #3f3f46; color: var(--muted); }
.profile-dl { display: grid; grid-template-columns: 8rem 1fr; gap: 0.75rem 1rem; }
.profile-dl dt { color: var(--muted); font-size: 0.9rem; }
.profile-dl dd { margin: 0; }
.invoice-toolbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.invoice-doc {
  padding: 1.5rem;
  background: #fff;
  color: #111;
}
.invoice-doc .muted { color: #666; }
.invoice-proforma {
  text-align: center;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #92400e;
  background: #fffbeb;
  border: 1px solid #fcd34d;
  padding: 0.45rem 0.65rem;
  margin: 0 0 1rem;
  font-size: 0.85rem;
}
.invoice-header {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.invoice-logo {
  height: 44px;
  width: auto;
  max-width: 220px;
  margin: 0 0 0.35rem;
  object-fit: contain;
  object-position: left center;
  background: transparent;
  aspect-ratio: auto;
}
.invoice-line-sku {
  font-size: 0.8rem;
  color: #555;
  margin-top: 0.2rem;
}
.invoice-line-customs {
  font-size: 0.78rem;
  color: #666;
  margin-top: 0.1rem;
}
.invoice-parties {
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 1rem;
  row-gap: 0;
  margin-bottom: 1.5rem;
  align-items: start;
  line-height: 1.45;
}
.invoice-party--buyer {
  padding-left: 0.85rem;
}
.invoice-party-label {
  font-size: calc(0.85rem + 2pt);
  color: #666;
  margin: 0 0 0.5em;
  font-weight: 700;
  line-height: 1.45;
}
.invoice-party-company {
  margin: 0;
  font-weight: 700;
  line-height: 1.45;
  min-height: 1.45em;
}
.invoice-party-rest {
  margin: 0;
  line-height: 1.45;
}
.invoice-bill-to { margin: 0; }
.invoice-bill-address {
  display: block;
  overflow-wrap: anywhere;
  word-break: break-word;
  white-space: normal;
}
.invoice-totals { text-align: right; margin-top: 1rem; color: #111; }
.invoice-totals .invoice-total {
  font-weight: 700;
  color: #000;
  font-size: 1.1rem;
  margin-top: 0.35rem;
}
.invoice-foot { font-size: 0.85rem; margin-top: 2rem; }

/* Invoice print: A4 portrait, full document (not a clipped browser viewport strip) */
@page {
  size: A4 portrait;
  margin: 12mm;
}
@media print {
  html, body {
    width: auto !important;
    min-height: 0 !important;
    background: #fff !important;
    color: #000 !important;
  }
  .site-header,
  .site-footer,
  .account-nav,
  .no-print,
  .live-chat,
  .invoice-toolbar {
    display: none !important;
  }
  .site-main,
  .account-layout,
  .account-main,
  .account-content {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    float: none !important;
  }
  body { background: #fff !important; color: #000 !important; }
  .invoice-doc.card,
  .invoice-doc {
    display: block !important;
    width: 100% !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #fff !important;
    color: #000 !important;
    overflow: visible !important;
  }
  .invoice-logo {
    height: 48px !important;
    max-width: 200px !important;
    background: transparent !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .invoice-header,
  .invoice-parties,
  .invoice-lines,
  .invoice-totals {
    break-inside: avoid;
    page-break-inside: avoid;
  }
  .invoice-proforma {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }
  .invoice-lines {
    width: 100%;
  }
  .invoice-lines th,
  .invoice-lines td {
    color: #000;
  }
}

.live-chat { position: fixed; right: 1rem; bottom: 1rem; z-index: 9000; }
.live-chat__actions {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.55rem;
}
.live-chat__fab {
  border: none;
  border-radius: 999px;
  width: 3.25rem;
  height: 3.25rem;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
}
.live-chat__fab:hover {
  transform: scale(1.05);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.42);
}
.live-chat__fab--whatsapp {
  background: #25d366;
  color: #fff;
}
.live-chat__fab--chat {
  background: var(--accent);
  color: #fff;
}
.live-chat__icon-svg {
  display: block;
}
.live-chat__panel {
  position: absolute;
  right: 0;
  bottom: calc(100% + 0.65rem);
  width: min(22rem, calc(100vw - 2rem));
  max-height: min(28rem, 70vh);
  display: flex;
  flex-direction: column;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: var(--surface);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.live-chat__panel[hidden] {
  display: none !important;
}
.live-chat__head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 0.85rem;
  border-bottom: 1px solid var(--border);
  position: relative;
  z-index: 2;
  flex-shrink: 0;
}
.live-chat__close {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.35rem;
  cursor: pointer;
}
.live-chat__body { padding: 0.75rem; display: flex; flex-direction: column; gap: 0.5rem; min-height: 0; }
.live-chat__body[hidden] {
  display: none !important;
}
.live-chat__messages {
  flex: 1;
  overflow-y: auto;
  max-height: 14rem;
  display: flex;
  flex-direction: column;
  gap: 0.45rem;
}
.live-chat__msg {
  padding: 0.45rem 0.6rem;
  border-radius: 8px;
  font-size: 0.9rem;
  line-height: 1.4;
  max-width: 92%;
}
.live-chat__msg--customer { align-self: flex-end; background: color-mix(in srgb, var(--accent) 22%, var(--surface)); }
.live-chat__msg--staff { align-self: flex-start; background: var(--bg); border: 1px solid var(--border); }
.live-chat__msg--system { align-self: center; font-size: 0.82rem; color: var(--muted); background: transparent; text-align: center; }
.live-chat__compose { display: flex; flex-direction: column; gap: 0.35rem; }
.live-chat__compose textarea { width: 100%; resize: vertical; min-height: 2.5rem; }
.live-chat__async label { display: block; margin-bottom: 0.5rem; font-size: 0.88rem; }
.live-chat__async input, .live-chat__async textarea { width: 100%; margin-top: 0.2rem; }

.ticket-thread {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 1.25rem;
  max-width: 42rem;
}
.ticket-msg {
  padding: 0.85rem 1rem;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.ticket-msg--staff {
  border-color: rgba(225, 29, 72, 0.35);
  background: rgba(225, 29, 72, 0.06);
}
.ticket-msg__meta { margin: 0 0 0.35rem; font-size: 0.8rem; }
.ticket-msg__body { white-space: pre-wrap; word-break: break-word; }
.ticket-form .form-row { margin-bottom: 1rem; }
.ticket-form label { display: block; margin-bottom: 0.35rem; font-size: 0.9rem; }
.ticket-form select,
.ticket-form textarea { width: 100%; max-width: 100%; }
.ticket-msg__files {
  list-style: none;
  padding: 0;
  margin: 0.5rem 0 0;
  font-size: 0.88rem;
}
.ticket-msg__files li { margin: 0.25rem 0; }

.site-nav__cart-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 1.25rem;
  height: 1.25rem;
  margin-left: 0.35rem;
  padding: 0 0.35rem;
  font-size: 0.7rem;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  background: var(--accent, #e11d48);
  border-radius: 999px;
}

.fast-cart-toast-root {
  position: fixed;
  right: 1rem;
  bottom: 1.25rem;
  z-index: 9000;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  pointer-events: none;
}

.fast-cart-toast {
  padding: 0.65rem 1rem;
  font-size: 0.9rem;
  color: #fff;
  background: rgba(24, 24, 27, 0.92);
  border-radius: 8px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.fast-cart-toast--visible {
  opacity: 1;
  transform: translateY(0);
}
.fast-cart-toast--already {
  background: rgba(28, 70, 120, 0.94);
}
.fast-cart-toast--error {
  background: rgba(127, 29, 29, 0.94);
}

.oauth-signin__buttons {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  max-width: 22rem;
}

.oauth-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  width: 100%;
  text-align: center;
  text-decoration: none;
  font-weight: 600;
}

.oauth-btn__icon {
  flex-shrink: 0;
  display: block;
}

.oauth-btn__label {
  line-height: 1.2;
}

.oauth-btn--google.btn-cream {
  width: 100%;
  text-decoration: none;
}

.oauth-btn--google.btn-cream:hover {
  text-decoration: none;
}

.oauth-btn--apple {
  background: #000;
  color: #fff;
  border: 1px solid #000;
}
