:root {
  color-scheme: light;
  --ink: #17172a;
  --night: #171b34;
  --night-deep: #121832;
  --night-soft: #202848;
  --cream: #fff8e7;
  --paper: rgba(255, 253, 247, 0.94);
  --paper-soft: rgba(255, 252, 244, 0.86);
  --cloud: #eaf4fb;
  --cloud-line: rgba(132, 179, 208, 0.34);
  --gold: #d8a447;
  --gold-dark: #9d640f;
  --gold-soft: rgba(216, 164, 71, 0.18);
  --muted: #5f697d;
  --warm-line: rgba(216, 164, 71, 0.36);
  --radius: 8px;
  --shadow: 0 24px 70px rgba(23, 27, 52, 0.24);
  --soft-shadow: 0 16px 40px rgba(23, 27, 52, 0.16);
  --store-font: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --display-font: "Cormorant Garamond", Georgia, serif;
  font-family: var(--store-font);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  background: var(--cloud);
  font-size: 15px;
  font-weight: 500;
}

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

button,
select,
textarea,
a {
  outline-color: var(--gold);
}

button {
  cursor: pointer;
}

a {
  color: inherit;
}

h1,
h2,
h3,
p {
  margin: 0;
}

h1,
h2,
h3 {
  font-family: var(--display-font);
  letter-spacing: 0;
}

h1 {
  font-size: clamp(48px, 6vw, 82px);
  line-height: 0.9;
  font-weight: 700;
}

h2 {
  font-size: clamp(34px, 4vw, 52px);
  line-height: 0.98;
  font-weight: 700;
}

h3 {
  font-size: 32px;
  line-height: 1.05;
  font-weight: 700;
}

.icon-sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

svg {
  width: 1em;
  height: 1em;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.9;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.store-header {
  position: sticky;
  top: 0;
  z-index: 30;
  background: var(--night);
  color: #ffffff;
  box-shadow: 0 16px 42px rgba(23, 27, 52, 0.28);
}

.artist-strip {
  min-height: 62px;
  display: flex;
  gap: 30px;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 0 18px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.24);
  background:
    radial-gradient(circle at 18% 0%, rgba(216, 164, 71, 0.16), transparent 34%),
    linear-gradient(90deg, var(--night-deep), var(--night), #0f2540);
}

.artist-token {
  display: inline-flex;
  gap: 9px;
  align-items: center;
  min-width: max-content;
  color: #d7bb76;
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.artist-token img,
.letter-avatar {
  width: 36px;
  height: 36px;
  border: 2px solid rgba(216, 164, 71, 0.94);
  border-radius: 50%;
}

.artist-token img {
  object-fit: cover;
}

.letter-avatar {
  display: grid;
  place-items: center;
  color: var(--gold);
}

.artist-separator {
  color: rgba(216, 164, 71, 0.52);
  font-size: 25px;
  line-height: 1;
}

.main-nav {
  min-height: 86px;
  display: grid;
  grid-template-columns: 205px minmax(0, 1fr) auto;
  align-items: center;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.08), transparent 42%),
    var(--night);
}

.brand {
  min-height: 86px;
  display: grid;
  place-items: center;
  padding: 8px 18px;
  background: rgba(255, 255, 255, 0.1);
  text-decoration: none;
}

.brand img {
  width: 112px;
  max-width: 100%;
  height: auto;
  display: block;
}

.store-links {
  display: flex;
  min-width: 0;
  justify-content: center;
  overflow-x: auto;
  scrollbar-width: none;
}

.store-links::-webkit-scrollbar {
  display: none;
}

.store-links a {
  min-height: 86px;
  display: inline-flex;
  align-items: center;
  min-width: max-content;
  padding: 0 17px;
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  text-decoration: none;
}

.store-links a:hover,
.store-links a:focus {
  background: rgba(216, 164, 71, 0.12);
}

.cart-link {
  justify-self: end;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-right: 18px;
  padding: 0 18px;
  border: 1px solid rgba(216, 164, 71, 0.78);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
  font-size: 14px;
  font-weight: 950;
  text-decoration: none;
}

.cloud-page,
.login-page {
  min-height: calc(100vh - 148px);
  background-color: var(--cloud);
  background-image: url("https://furrybodypillows.com/cdn/shop/t/76/assets/fbp-background-test-20260330.jpg?v=16173739743060211371778453921");
  background-position: center top;
  background-size: cover;
  background-repeat: repeat-y;
}

.login-page {
  background-image: url("https://furrybodypillows.com/cdn/shop/t/76/assets/fbp-background-test-mobile-mirror-tall-20260401.jpg?v=179002745269067801841778453921");
}

.page-shell,
.login-shell {
  width: min(1280px, calc(100vw - 72px));
  margin: 0 auto;
  padding: 42px 0 86px;
}

.breadcrumb {
  display: flex;
  gap: 12px;
  align-items: center;
  margin-bottom: 20px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 14px;
}

.breadcrumb a {
  text-decoration: none;
}

.breadcrumb strong {
  color: #f0c56f;
  font-weight: 950;
}

.hero-shell,
.login-stage {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(340px, 0.92fr);
  gap: 28px;
  align-items: stretch;
}

.account-hero-shell {
  display: block;
  margin-bottom: 28px;
}

.hero-copy,
.member-card,
.login-hero,
.login-card,
.dashboard-heading,
.account-panel,
.account-rail,
.dashboard-preview article {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.hero-copy,
.login-hero {
  position: relative;
  overflow: hidden;
  min-height: 344px;
  padding: 42px;
  border: 1px solid rgba(216, 164, 71, 0.32);
  background:
    linear-gradient(90deg, rgba(23, 27, 52, 0.92) 0%, rgba(23, 27, 52, 0.78) 42%, rgba(23, 27, 52, 0.28) 100%),
    url("https://furrybodypillows.com/cdn/shop/files/banner_Neu_thin2.png?v=1772490126&width=1500") center right / cover no-repeat;
  color: #ffffff;
}

.account-hero-card {
  width: 100%;
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(280px, 0.62fr);
  align-items: center;
  gap: clamp(18px, 2.6vw, 34px);
  min-height: 230px;
  padding: clamp(22px, 3vw, 30px);
  border-color: rgba(255, 255, 255, 0.86);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(234, 244, 251, 0.78));
  color: var(--ink);
  backdrop-filter: blur(12px);
}

.account-hero-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.58), rgba(255, 255, 255, 0.12));
  pointer-events: none;
}

.account-hero-card::after {
  content: "";
  position: absolute;
  left: clamp(24px, 4vw, 54px);
  right: clamp(24px, 4vw, 54px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(216, 164, 71, 0.72), transparent);
}

.account-hero-content,
.account-hero-visual {
  position: relative;
  z-index: 1;
}

.account-hero-content {
  max-width: 660px;
}

.account-hero-card h1 {
  max-width: 620px;
  color: var(--night);
  font-size: clamp(42px, 4.5vw, 60px);
  line-height: 0.92;
  text-wrap: balance;
}

.account-hero-welcome {
  margin-top: 12px;
  color: var(--gold-dark);
  font-size: clamp(24px, 2vw, 34px);
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.05;
}

.account-hero-card .lede {
  max-width: 620px;
  margin-top: 12px;
  color: var(--muted);
}

.account-hero-visual {
  align-self: stretch;
  display: grid;
  place-items: center end;
  min-height: 168px;
}

.account-hero-dragon {
  width: min(280px, 100%);
  max-height: 245px;
  object-fit: contain;
  filter: drop-shadow(0 24px 34px rgba(23, 27, 52, 0.2));
  transform: rotate(-2deg);
}

.login-hero {
  min-height: 360px;
}

.login-card,
.member-card,
.dashboard-heading,
.account-panel,
.account-rail,
.dashboard-preview article {
  border: 1px solid rgba(255, 255, 255, 0.86);
  background: var(--paper);
  backdrop-filter: blur(10px);
}

.member-card,
.login-card {
  padding: 30px;
}

.account-pass-card {
  display: grid;
  align-content: center;
  min-height: 344px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(255, 248, 231, 0.94), rgba(234, 244, 251, 0.9)),
    url("https://furrybodypillows.com/cdn/shop/t/76/assets/fbp-background-test-mobile-mirror-20260401.jpg?v=159174470350752784761778453921") center / cover no-repeat;
}

.pass-avatar {
  width: 82px;
  height: 82px;
  border: 3px solid rgba(216, 164, 71, 0.92);
  border-radius: 50%;
  object-fit: cover;
  box-shadow: 0 12px 28px rgba(23, 27, 52, 0.2);
}

.pass-avatar {
  margin-bottom: 18px;
}

.login-card {
  align-self: center;
  background: rgba(255, 253, 247, 0.96);
}

.dragon-row {
  display: inline-flex;
  gap: 10px;
  align-items: center;
  width: max-content;
  max-width: 100%;
  margin-bottom: 18px;
  padding: 8px 14px 8px 8px;
  border: 1px solid rgba(216, 164, 71, 0.54);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.12);
  color: #f0c56f;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dragon-row img {
  width: 44px;
  height: 44px;
  border: 2px solid rgba(216, 164, 71, 0.86);
  border-radius: 50%;
  object-fit: cover;
}

.eyebrow,
.section-label {
  display: block;
  margin-bottom: 9px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.hero-copy .eyebrow,
.login-hero .eyebrow {
  color: #f0c56f;
}

.lede {
  max-width: 720px;
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.82);
  font-family: Georgia, serif;
  font-size: 20px;
  line-height: 1.44;
}

.panel-copy,
.empty-note {
  color: var(--muted);
  line-height: 1.52;
}

.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 28px;
}

.gold-button,
.ghost-button,
.google-button,
.shop-button,
.white-button {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 0 20px;
  border-radius: var(--radius);
  text-decoration: none;
  font-weight: 950;
}

.gold-button {
  border: 1px solid #a96b12;
  background: linear-gradient(180deg, #e5ba60, #d79e37);
  color: #241b0c;
  box-shadow: 0 18px 36px rgba(157, 100, 15, 0.24);
}

.ghost-button,
.google-button,
.shop-button,
.white-button {
  border: 1px solid rgba(216, 164, 71, 0.48);
  background: rgba(255, 255, 255, 0.94);
  color: var(--ink);
}

.hero-copy .ghost-button,
.hero-copy .white-button {
  background: rgba(255, 255, 255, 0.96);
}

.shop-button {
  border-color: rgba(216, 164, 71, 0.72);
  background: linear-gradient(180deg, rgba(255, 248, 231, 0.98), rgba(255, 255, 255, 0.92));
}

.login-brand-mark {
  width: 28px;
  height: 28px;
  flex: 0 0 28px;
  display: inline-grid;
  place-items: center;
  border-radius: 8px;
}

.login-brand-mark svg {
  width: 28px;
  height: 28px;
  display: block;
}

.google-logo path,
.shop-logo rect,
.shop-logo path:not([fill="none"]) {
  stroke: none;
}

.gold-button[aria-disabled="true"],
.google-button[aria-disabled="true"],
.shop-button[aria-disabled="true"] {
  pointer-events: none;
  opacity: 0.58;
}

.status-line {
  margin-top: 18px;
  color: rgba(255, 255, 255, 0.68);
  font-size: 13px;
  line-height: 1.5;
}

.login-card .status-line,
.account-login-form .status-line,
.account-panel .status-line {
  color: var(--muted);
}

.account-login-form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 12px;
  align-items: end;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid rgba(216, 164, 71, 0.25);
}

.account-login-form label,
.order-email-link-form label,
.address-form label,
.support-form label,
.checkbox-row {
  display: grid;
  gap: 7px;
  color: #455064;
  font-size: 12px;
  font-weight: 950;
  letter-spacing: 0;
  text-transform: uppercase;
}

.account-login-form input,
.order-email-link-form input,
.address-form input,
.support-form select,
.support-form textarea {
  width: 100%;
  border: 1px solid rgba(23, 27, 52, 0.18);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.86);
  color: var(--ink);
  font-size: 14px;
  font-weight: 800;
  letter-spacing: 0;
  text-transform: none;
}

.account-login-form input,
.order-email-link-form input,
.address-form input,
.support-form select {
  min-height: 44px;
  padding: 0 13px;
}

.support-form textarea {
  min-height: 112px;
  padding: 12px 13px;
  resize: vertical;
}

.account-login-form .status-line {
  grid-column: 1 / -1;
  margin-top: 0;
}

.login-support-link {
  display: inline-flex;
  margin-top: 18px;
}

.login-proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.login-proof-strip span {
  display: inline-flex;
  min-height: 34px;
  align-items: center;
  padding: 0 14px;
  border: 1px solid rgba(216, 164, 71, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.1);
  color: #fff8e7;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

body[data-account-hub-page="login"] .login-shell {
  padding-top: 28px;
  padding-bottom: 64px;
}

body[data-account-hub-page="login"] .breadcrumb {
  margin-bottom: 14px;
}

body[data-account-hub-page="login"] .login-stage {
  grid-template-columns: minmax(340px, 430px) minmax(0, 1fr);
  align-items: start;
}

body[data-account-hub-page="login"] .login-card {
  align-self: start;
  padding: 34px;
  border-color: rgba(255, 255, 255, 0.74);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.8), rgba(255, 248, 231, 0.66)),
    rgba(255, 255, 255, 0.26);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 22px 58px rgba(23, 27, 52, 0.18);
}

body[data-account-hub-page="login"] .login-card h1 {
  margin-bottom: 14px;
  color: var(--ink);
  font-size: clamp(42px, 5vw, 58px);
  line-height: 0.95;
}

body[data-account-hub-page="login"] .login-card .panel-copy {
  font-size: 16px;
}

body[data-account-hub-page="login"] .login-actions {
  display: grid;
  gap: 10px;
  margin-top: 22px;
}

body[data-account-hub-page="login"] .login-actions a {
  width: 100%;
  justify-content: flex-start;
  min-height: 52px;
  padding: 0 18px;
  text-align: left;
}

body[data-account-hub-page="login"] .login-actions .gold-button {
  justify-content: center;
  text-align: center;
}

body[data-account-hub-page="login"] .login-hero {
  display: grid;
  align-content: center;
  min-height: 360px;
  padding: 34px;
  border-color: rgba(255, 255, 255, 0.7);
  background:
    linear-gradient(140deg, rgba(255, 253, 247, 0.68), rgba(234, 244, 251, 0.46)),
    linear-gradient(180deg, rgba(216, 164, 71, 0.12), rgba(255, 255, 255, 0.06));
  color: var(--ink);
  backdrop-filter: blur(14px) saturate(1.08);
  box-shadow: 0 22px 58px rgba(23, 27, 52, 0.16);
}

body[data-account-hub-page="login"] .account-benefit-box {
  width: 100%;
}

body[data-account-hub-page="login"] .account-benefit-box summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(120px, 190px);
  gap: 18px;
  align-items: center;
  cursor: pointer;
  list-style: none;
}

body[data-account-hub-page="login"] .account-benefit-box summary::-webkit-details-marker {
  display: none;
}

body[data-account-hub-page="login"] .benefit-copy {
  display: grid;
  gap: 12px;
  min-width: 0;
}

body[data-account-hub-page="login"] .benefit-copy strong {
  color: var(--ink);
  font-size: clamp(36px, 4.8vw, 58px);
  font-family: Georgia, serif;
  line-height: 0.96;
  font-weight: 500;
}

body[data-account-hub-page="login"] .benefit-copy > span:last-child {
  max-width: 440px;
  color: #455064;
  font-size: 17px;
  line-height: 1.45;
}

body[data-account-hub-page="login"] .benefit-dragon {
  justify-self: end;
  width: min(190px, 32vw);
  max-height: 255px;
  object-fit: contain;
  filter: drop-shadow(0 18px 24px rgba(23, 27, 52, 0.22));
}

body[data-account-hub-page="login"] .benefit-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 38px;
  padding: 0 16px;
  border: 1px solid rgba(159, 110, 37, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 246, 211, 0.88), rgba(231, 179, 82, 0.58));
  color: var(--ink);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

body[data-account-hub-page="login"] .toggle-close,
body[data-account-hub-page="login"] .account-benefit-box[open] .toggle-open {
  display: none;
}

body[data-account-hub-page="login"] .account-benefit-box[open] .toggle-close {
  display: inline;
}

body[data-account-hub-page="login"] .benefit-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin: 22px 0 0;
  padding: 14px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 16px;
  background: rgba(255, 253, 247, 0.58);
  list-style: none;
  backdrop-filter: blur(10px);
}

body[data-account-hub-page="login"] .benefit-list li {
  display: grid;
  gap: 4px;
  padding: 12px;
  border: 1px solid rgba(216, 164, 71, 0.2);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.46);
}

body[data-account-hub-page="login"] .benefit-list strong {
  color: var(--ink);
  font-size: 14px;
}

body[data-account-hub-page="login"] .benefit-list span {
  color: #4f5c70;
  font-size: 13px;
  line-height: 1.35;
}

body[data-account-hub-page="login"] .login-hero .eyebrow {
  color: var(--gold-dark);
}

body[data-account-hub-page="login"] .login-hero .lede {
  color: #455064;
  text-shadow: none;
}

.account-dashboard,
.dashboard-preview {
  margin-top: 28px;
}

.account-dashboard[hidden],
.dashboard-preview[hidden],
[hidden] {
  display: none !important;
}

.dashboard-heading {
  display: flex;
  min-width: 0;
  gap: 18px;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  padding: 26px 28px;
  background:
    linear-gradient(90deg, rgba(255, 248, 231, 0.96), rgba(234, 244, 251, 0.92)),
    var(--paper);
}

.dashboard-heading h2 {
  min-width: 0;
  color: var(--ink);
}

.dashboard-heading p:not(.eyebrow) {
  overflow-wrap: break-word;
  margin-top: 8px;
  color: var(--muted);
  font-size: 16px;
}

.session-badge,
.soft-pill,
.default-badge,
.tracking-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 12px;
  border: 1px solid rgba(216, 164, 71, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.76);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.account-layout,
.account-grid {
  display: grid;
  grid-template-columns: minmax(246px, 282px) minmax(0, 1fr);
  gap: 24px;
  align-items: start;
  min-width: 0;
}

.account-main {
  display: grid;
  gap: 24px;
  min-width: 0;
}

.account-two-up {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: 24px;
}

.account-panel {
  padding: 26px;
  min-width: 0;
  scroll-margin-top: 180px;
}

.account-panel-feature {
  min-height: 220px;
}

.account-panel-slim {
  min-height: 148px;
}

.account-overview-panel {
  display: grid;
  gap: 18px;
  overflow: hidden;
  background:
    linear-gradient(145deg, rgba(255, 253, 247, 0.96), rgba(255, 248, 231, 0.88)),
    var(--paper);
}

.account-overview-panel .panel-title-row {
  align-items: start;
}

.account-overview-panel .panel-title-row h3 {
  margin-bottom: 4px;
}

.overview-action {
  --overview-accent: #b57912;
  --overview-soft: rgba(181, 121, 18, 0.12);
  --overview-border: rgba(181, 121, 18, 0.3);
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr) auto;
  gap: 16px;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding: 16px 18px;
  border: 1px solid var(--overview-border);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, var(--overview-soft), rgba(255, 255, 255, 0.82)),
    rgba(255, 255, 255, 0.72);
  cursor: pointer;
}

.overview-action::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 5px;
  background: var(--overview-accent);
}

.overview-action-icon {
  --overview-accent: #b57912;
  --overview-soft: rgba(181, 121, 18, 0.12);
  --overview-border: rgba(181, 121, 18, 0.3);
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border: 1px solid var(--overview-border);
  border-radius: 16px;
  background: var(--overview-soft);
  color: var(--overview-accent);
}

.overview-action-icon svg {
  width: 26px;
  height: 26px;
}

.overview-action-image {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid var(--overview-border);
  border-radius: 16px;
  background: var(--overview-soft);
  box-shadow: 0 10px 22px rgba(54, 37, 18, 0.12);
}

.overview-action-image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-order-preview {
  grid-column: 2 / -1;
  display: grid;
  grid-template-columns: 76px minmax(132px, 0.3fr) minmax(0, 1fr);
  gap: 10px 14px;
  align-items: center;
  min-width: 0;
  margin-top: -3px;
  padding: 10px 12px;
  border: 1px solid rgba(216, 164, 71, 0.22);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
}

.overview-order-preview-media {
  display: grid;
  place-items: center;
  width: 76px;
  height: 76px;
  overflow: hidden;
  border: 1px solid rgba(181, 121, 18, 0.24);
  border-radius: 12px;
  background: rgba(255, 249, 234, 0.86);
  box-shadow: 0 12px 26px rgba(54, 37, 18, 0.1);
}

.overview-order-preview-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.overview-order-preview-media.is-empty span {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.overview-order-preview-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.overview-order-preview-copy span {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.overview-order-preview-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
  line-height: 1.1;
}

.overview-order-preview-copy small,
.overview-order-preview-note {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.overview-order-preview-note {
  min-width: 0;
}

.overview-order-steps {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 6px;
  align-self: end;
}

.overview-order-steps span {
  min-width: 0;
  padding-top: 7px;
  border-top: 5px solid rgba(216, 164, 71, 0.2);
  color: rgba(88, 101, 126, 0.82);
  font-size: 9px;
  font-weight: 850;
  line-height: 1.1;
  text-align: center;
}

.overview-order-steps span.is-active {
  border-top-color: var(--gold-dark);
  color: var(--gold-dark);
}

.overview-action-copy,
.overview-card,
.profile-setting-card {
  display: grid;
  gap: 5px;
  min-width: 0;
}

.overview-action-copy span,
.overview-label,
.profile-setting-card span {
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.overview-action-copy strong,
.overview-card strong,
.profile-setting-card strong {
  color: var(--ink);
  font-weight: 950;
  line-height: 1.16;
}

.overview-action-copy small,
.overview-card small,
.profile-setting-card small {
  color: var(--muted);
  font-size: 12px;
  line-height: 1.35;
}

.overview-grid,
.profile-settings-grid {
  display: grid;
  gap: 12px;
}

.overview-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
  align-items: stretch;
}

.profile-settings-grid {
  grid-template-columns: repeat(2, minmax(220px, 1fr));
}

.overview-group,
.profile-setting-card {
  border: 1px solid rgba(216, 164, 71, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.overview-group {
  display: grid;
  grid-template-rows: auto 1fr;
  gap: 12px;
  min-width: 0;
  padding: 14px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.76), rgba(255, 255, 255, 0.55)),
    rgba(255, 253, 246, 0.46);
}

.overview-group-title {
  display: grid;
  gap: 3px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.18);
}

.overview-group-title span {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.overview-group-title strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
  line-height: 1.1;
}

.overview-group-list {
  display: grid;
  gap: 10px;
  grid-auto-rows: 1fr;
  align-content: start;
  min-width: 0;
}

.overview-group:nth-child(3) {
  grid-column: auto;
  grid-template-columns: 1fr;
}

.overview-group:nth-child(3) .overview-group-title {
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.18);
}

.overview-group:nth-child(3) .overview-group-list {
  grid-template-columns: 1fr;
}

.profile-setting-card {
  position: relative;
  min-height: 104px;
  overflow: hidden;
  padding: 14px 14px 14px 17px;
  border-color: var(--setting-border, rgba(216, 164, 71, 0.24));
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.94), rgba(255, 248, 231, 0.72)),
    var(--setting-soft, rgba(255, 255, 255, 0.62));
}

.profile-setting-card::before {
  content: "";
  position: absolute;
  inset: 12px auto 12px 0;
  width: 4px;
  border-radius: var(--radius);
  background: var(--setting-accent, var(--gold-dark));
}

.profile-setting-card[data-setting-tone="secure"] {
  --setting-accent: #b57912;
  --setting-border: rgba(181, 121, 18, 0.34);
  --setting-soft: rgba(216, 164, 71, 0.12);
}

.profile-setting-card[data-setting-tone="verified"] {
  --setting-accent: #2f7660;
  --setting-border: rgba(47, 118, 96, 0.24);
  --setting-soft: rgba(47, 118, 96, 0.08);
}

.profile-setting-card[data-setting-tone="newsletter"] {
  --setting-accent: #986946;
  --setting-border: rgba(152, 105, 70, 0.24);
  --setting-soft: rgba(152, 105, 70, 0.08);
}

.profile-setting-card[data-setting-tone="address"] {
  --setting-accent: #8a6c14;
  --setting-border: rgba(138, 108, 20, 0.26);
  --setting-soft: rgba(216, 164, 71, 0.1);
}

.profile-setting-card[data-setting-tone="recent"] {
  --setting-accent: #6e6a83;
  --setting-border: rgba(110, 106, 131, 0.22);
  --setting-soft: rgba(110, 106, 131, 0.08);
}

.profile-setting-card span {
  color: var(--setting-accent, var(--gold-dark));
}

.profile-setting-card strong {
  font-size: 17px;
}

.profile-setting-card small {
  max-width: 34ch;
}

.overview-card {
  --overview-accent: #a56d09;
  --overview-soft: rgba(216, 164, 71, 0.1);
  --overview-border: rgba(165, 109, 9, 0.24);
  position: relative;
  overflow: hidden;
  display: grid;
  min-height: 132px;
  height: 100%;
  padding: 12px 12px 12px 14px;
  border: 1px solid var(--overview-border);
  border-radius: 13px;
  border-color: var(--overview-border);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.92), rgba(255, 248, 231, 0.72)),
    var(--overview-soft);
  color: inherit;
  text-decoration: none;
}

.overview-card::before {
  content: "";
  position: absolute;
  inset: 11px auto 11px 0;
  width: 3px;
  border-radius: var(--radius);
  background: var(--overview-accent);
}

.overview-card[data-overview-has-media="true"] {
  grid-template-columns: minmax(88px, 0.44fr) minmax(0, 1fr);
  gap: 11px;
  padding: 10px 12px 10px 10px;
}

.overview-card[data-overview-media-size="compact"] {
  grid-template-columns: 70px minmax(0, 1fr);
  min-height: 122px;
  padding: 10px 12px 10px 10px;
}

.overview-card-media {
  position: relative;
  z-index: 1;
  align-self: stretch;
  min-height: 108px;
  overflow: hidden;
  border: 1px solid rgba(216, 164, 71, 0.3);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 253, 246, 0.86), rgba(255, 246, 224, 0.7)),
    rgba(255, 255, 255, 0.7);
}

.overview-card[data-overview-media-size="compact"] .overview-card-media {
  align-self: center;
  min-height: 88px;
  aspect-ratio: 0.72;
}

.overview-card-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.overview-card[data-overview-has-media="true"] .overview-card-head {
  grid-template-columns: minmax(0, 1fr);
}

.overview-card[data-overview-media-size="compact"] .overview-card-head {
  min-height: 96px;
}

.overview-card[data-overview-has-media="true"] .overview-icon {
  display: none;
}

.overview-card-head {
  display: grid;
  grid-template-columns: 36px minmax(0, 1fr);
  gap: 11px;
  align-items: start;
  min-width: 0;
  height: 100%;
}

.overview-icon {
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.72);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.62);
  color: var(--overview-accent);
}

.overview-icon svg {
  width: 20px;
  height: 20px;
}

.overview-card-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  grid-template-rows: auto auto 1fr;
  gap: 5px 9px;
  align-items: start;
  min-width: 0;
  min-height: 100%;
}

.overview-notice-badge {
  display: inline-flex;
  grid-column: 2;
  justify-self: end;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  gap: 5px;
  width: max-content;
  min-width: 104px;
  height: 36px;
  min-height: 36px;
  max-width: 100%;
  margin-top: -1px;
  padding: 0 11px;
  border: 2px solid rgba(255, 248, 231, 0.86);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.16), rgba(255, 255, 255, 0)),
    var(--overview-accent);
  box-shadow: 0 8px 18px rgba(157, 100, 15, 0.16);
  color: #fff;
  overflow-wrap: normal;
  text-align: center;
  white-space: nowrap;
  word-break: keep-all;
}

.overview-notice-badge strong {
  display: block;
  align-self: center;
  color: #fff;
  font-size: 16px;
  font-weight: 950;
  line-height: 1;
  transform: translateY(1px);
}

.overview-notice-badge span {
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-transform: lowercase;
  white-space: nowrap;
}

.overview-card .overview-label {
  grid-column: 1;
  min-width: 0;
}

.overview-card strong {
  grid-column: 1 / -1;
  align-self: start;
  font-size: 15px;
}

.overview-card .overview-notice-badge strong {
  grid-column: auto;
  align-self: center;
  color: #fff;
  font-size: 16px;
  line-height: 1;
  transform: translateY(1px);
}

.overview-card small {
  grid-column: 1 / -1;
  align-self: end;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
  overflow: hidden;
}

.overview-card:hover,
.overview-card:focus-visible {
  border-color: var(--overview-accent);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.98), rgba(255, 248, 231, 0.8)),
    var(--overview-soft);
  outline: none;
}

.overview-action[data-overview-tone="order"],
.overview-card[data-overview-tone="order"],
.overview-action-icon[data-overview-tone="order"] {
  --overview-accent: #9d640f;
  --overview-soft: rgba(216, 164, 71, 0.14);
  --overview-border: rgba(157, 100, 15, 0.3);
}

.overview-action[data-overview-tone="good"],
.overview-card[data-overview-tone="good"],
.overview-action-icon[data-overview-tone="good"] {
  --overview-accent: #b57912;
  --overview-soft: rgba(216, 164, 71, 0.13);
  --overview-border: rgba(181, 121, 18, 0.28);
}

.overview-action[data-overview-tone="warm"],
.overview-card[data-overview-tone="warm"],
.overview-action[data-overview-tone="attention"],
.overview-card[data-overview-tone="attention"],
.overview-action-icon[data-overview-tone="attention"] {
  --overview-accent: #b57912;
  --overview-soft: rgba(181, 121, 18, 0.14);
  --overview-border: rgba(181, 121, 18, 0.3);
}

.overview-action[data-overview-tone="favorites"],
.overview-card[data-overview-tone="favorites"],
.overview-action-icon[data-overview-tone="favorites"] {
  --overview-accent: #986946;
  --overview-soft: rgba(152, 105, 70, 0.11);
  --overview-border: rgba(152, 105, 70, 0.24);
}

.overview-action[data-overview-tone="spotlight"],
.overview-card[data-overview-tone="spotlight"],
.overview-action-icon[data-overview-tone="spotlight"] {
  --overview-accent: #a87617;
  --overview-soft: rgba(216, 164, 71, 0.15);
  --overview-border: rgba(216, 164, 71, 0.32);
}

.overview-action[data-overview-tone="account"],
.overview-card[data-overview-tone="account"],
.overview-action-icon[data-overview-tone="account"] {
  --overview-accent: #6e6a83;
  --overview-soft: rgba(110, 106, 131, 0.1);
  --overview-border: rgba(110, 106, 131, 0.22);
}

.overview-action[data-overview-tone="muted"],
.overview-card[data-overview-tone="muted"],
.overview-action-icon[data-overview-tone="muted"] {
  --overview-accent: #746f64;
  --overview-soft: rgba(116, 111, 100, 0.09);
  --overview-border: rgba(116, 111, 100, 0.2);
}

@media (max-width: 1100px) {
  .page-shell,
  .login-shell {
    width: min(100% - 28px, 760px);
  }

  .overview-action {
    grid-template-columns: 54px minmax(0, 1fr);
  }

  .overview-order-preview {
    grid-column: 1 / -1;
    grid-template-columns: 64px minmax(0, 1fr);
  }

  .overview-order-preview-media {
    width: 64px;
    height: 64px;
  }

  .overview-order-steps {
    grid-column: 1 / -1;
  }

  .overview-action .compact-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .overview-grid {
    grid-template-columns: 1fr;
  }

  .overview-group,
  .overview-group:nth-child(3) {
    grid-column: auto;
    grid-template-columns: 1fr;
    min-height: 0;
  }

  .overview-group:nth-child(3) .overview-group-title {
    min-height: 0;
    padding-right: 0;
    padding-bottom: 10px;
    border-right: 0;
    border-bottom: 1px solid rgba(216, 164, 71, 0.18);
  }

  .overview-group:nth-child(3) .overview-group-list {
    grid-template-columns: 1fr;
  }
}

.overview-note,
.profile-security-note {
  font-size: 13px;
}

.profile-settings-panel {
  display: grid;
  gap: 16px;
}

.profile-avatar-editor,
.profile-linked-box {
  display: grid;
  grid-template-columns: minmax(150px, 0.32fr) minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  padding: 16px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.profile-avatar-editor {
  align-items: center;
}

.profile-avatar-preview-button {
  position: relative;
  display: grid;
  place-items: center;
  width: 132px;
  height: 132px;
  padding: 0;
  border: 2px solid rgba(216, 164, 71, 0.72);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.66);
  box-shadow: var(--soft-shadow);
  cursor: pointer;
  overflow: hidden;
}

.profile-avatar-preview-button img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-avatar-preview-button::after {
  content: "Change";
  position: absolute;
  right: 10px;
  bottom: 10px;
  min-height: 24px;
  padding: 4px 9px;
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffe3a5 0%, var(--gold) 100%);
  color: #2d2410;
  font-size: 11px;
  font-weight: 950;
  box-shadow: 0 8px 18px rgba(74, 54, 14, 0.16);
}

.profile-avatar-copy {
  display: grid;
  gap: 8px;
  min-width: 0;
}

.profile-avatar-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
}

.profile-avatar-upload-button {
  width: fit-content;
  min-width: 132px;
  max-width: 172px;
}

.profile-avatar-save-button {
  width: fit-content;
  min-width: 118px;
}

.profile-avatar-crop-controls {
  display: grid;
  grid-template-columns: auto minmax(160px, 1fr) auto;
  gap: 9px;
  align-items: end;
  max-width: 520px;
  padding: 10px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.58);
}

.profile-avatar-crop-controls[hidden] {
  display: none;
}

.profile-avatar-crop-controls label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.profile-avatar-crop-controls input[type="range"] {
  width: 100%;
  accent-color: var(--gold-dark);
}

.profile-avatar-crop-controls label:nth-of-type(n + 2) {
  grid-column: 1 / -1;
}

.profile-avatar-crop-controls #profile-avatar-pan-reset {
  grid-column: 1 / -1;
  justify-self: start;
}

.profile-avatar-copy strong {
  color: var(--ink);
  font-size: 18px;
  font-weight: 950;
}

.profile-linked-box strong {
  color: var(--ink);
  font-weight: 950;
}

.profile-linked-emails {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-width: 0;
}

.profile-email-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  max-width: 100%;
  padding: 0 10px;
  border: 1px solid rgba(216, 164, 71, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.72);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 850;
  overflow-wrap: anywhere;
}

.panel-title-row {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 18px;
}

.panel-title-row h3 {
  color: var(--ink);
}

.stack-list {
  display: grid;
  gap: 12px;
}

.empty-note {
  padding: 16px;
  border: 1px solid rgba(216, 164, 71, 0.25);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.64);
}

.data-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 16px;
  padding: 16px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.68);
}

.data-row strong,
.data-row span {
  display: block;
}

.data-row strong {
  color: var(--ink);
  font-weight: 950;
}

.data-row span {
  margin-top: 4px;
  color: var(--muted);
}

.address-actions {
  display: grid;
  gap: 12px;
  margin-top: 16px;
}

#addresses-panel .panel-title-row {
  margin-bottom: 10px;
}

.address-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 6px 12px;
  align-items: start;
  cursor: pointer;
}

.address-summary::after,
.orders-summary::after {
  content: "Open addresses";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  grid-column: 1 / -1;
  justify-self: start;
  min-width: 148px;
  min-height: 34px;
  margin-top: 7px;
  padding: 0 13px;
  border: 1px solid rgba(216, 164, 71, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 247, 220, 0.72);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

.orders-summary {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
}

.orders-summary::after {
  justify-self: start;
}

.orders-summary::after {
  content: "Open orders";
}

.address-panel[open] .address-summary::after {
  content: "Close addresses";
}

.orders-panel[open] .orders-summary::after {
  content: "Close orders";
}

.address-panel:not([open]) .address-summary {
  margin-bottom: 0;
}

.orders-panel:not([open]) .orders-summary {
  margin-bottom: 0;
}

#addresses-panel:not([open]) .address-summary {
  margin-bottom: 0;
}

.address-summary:focus-visible,
.orders-summary:focus-visible,
.favorite-gallery-summary:focus-visible {
  outline: 3px solid rgba(216, 164, 71, 0.48);
  outline-offset: 3px;
}

.address-foldout {
  display: grid;
  gap: 12px;
}

.orders-foldout {
  display: grid;
  gap: 12px;
}

#addresses-panel .panel-copy {
  max-width: 520px;
}

#addresses-panel #address-action-status {
  margin-top: 0;
  font-size: 14px;
  line-height: 1.45;
}

.address-empty-state {
  display: grid;
  gap: 6px;
  padding: 18px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.6);
}

.address-empty-state strong {
  color: var(--ink);
  font-size: 18px;
}

.address-empty-state span {
  color: var(--muted);
}

.address-action-buttons,
.address-form-footer,
.spotlight-actions,
.row-links {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.address-action-buttons .compact-button {
  min-width: 176px;
}

.row-links > .mini-link,
.row-links > .order-document-button,
.spotlight-actions > .product-outline-button,
.spotlight-actions > .design-favorite-button,
.profile-avatar-actions > .compact-button {
  min-height: 38px;
}

.spotlight-actions > .product-outline-button,
.spotlight-actions > .design-favorite-button {
  flex: 1 1 148px;
  min-width: 148px;
  max-width: 190px;
}

.favorite-card-actions > .mini-link,
.favorite-card-actions > .favorite-remove-button {
  min-height: 34px;
}

.address-row-side {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  align-content: flex-start;
  align-items: flex-start;
  justify-content: flex-end;
}

.address-row.is-default {
  border-color: rgba(216, 164, 71, 0.42);
  background: rgba(255, 250, 238, 0.78);
}

.address-card-main {
  display: grid;
  gap: 8px;
}

.address-card-title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}

.data-row .default-badge {
  display: inline-flex;
  margin-top: 0;
  color: var(--gold-dark);
}

.address-lines {
  display: grid;
  gap: 3px;
}

.address-form {
  margin-top: 18px;
  padding: 18px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.48);
}

.account-confirm-overlay {
  position: fixed;
  inset: 0;
  z-index: 2147482000;
  display: grid;
  place-items: center;
  padding: 22px;
  background: rgba(24, 28, 42, 0.26);
  backdrop-filter: blur(3px);
}

.account-confirm-dialog {
  display: grid;
  gap: 12px;
  width: min(420px, 100%);
  padding: 22px;
  border: 1px solid rgba(216, 164, 71, 0.46);
  border-radius: var(--radius-lg);
  background: rgba(255, 252, 244, 0.94);
  box-shadow: 0 22px 48px rgba(80, 50, 14, 0.2);
}

.account-confirm-dialog strong {
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1;
}

.account-confirm-copy {
  margin: 0;
  color: var(--muted);
  line-height: 1.45;
}

.account-confirm-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 4px;
}

.account-confirm-actions .compact-button {
  min-width: 150px;
  justify-content: center;
}

.address-form-heading {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 16px;
}

.address-form-heading strong {
  display: block;
  color: var(--ink);
  font-family: var(--serif);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

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

.address-form .is-wide {
  grid-column: 1 / -1;
}

.favorite-gallery-page {
  padding: 0;
  overflow: hidden;
}

.favorite-gallery-page:not([open]) {
  min-height: 0;
}

.account-collapsible-panel > summary,
.account-fold-card > summary {
  list-style: none;
}

.account-collapsible-panel > summary::-webkit-details-marker,
.account-fold-card > summary::-webkit-details-marker {
  display: none;
}

.account-collapsible-panel > summary {
  cursor: pointer;
}

.favorite-gallery-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: start;
  padding: 18px 22px 14px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.22);
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.76), rgba(255, 255, 255, 0.56)),
    rgba(255, 255, 255, 0.28);
}

.favorite-gallery-summary {
  grid-template-columns: minmax(0, 1fr);
  margin: 0;
  border-bottom: 0;
}

.favorite-gallery-summary::after {
  content: "Open gallery";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-width: 148px;
  min-height: 34px;
  margin-top: 7px;
  padding: 0 13px;
  border: 1px solid rgba(181, 121, 18, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 249, 234, 0.78);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
}

.favorite-gallery-page[open] .favorite-gallery-summary::after {
  content: "Close gallery";
}

.favorite-gallery-summary:focus-visible,
.order-fold-summary:focus-visible {
  outline: 3px solid rgba(216, 164, 71, 0.48);
  outline-offset: 3px;
}

.favorite-gallery-page[open] .favorite-gallery-summary {
  border-bottom: 1px solid rgba(216, 164, 71, 0.22);
}

.favorite-gallery-foldout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px 16px;
  align-items: center;
  padding: 14px 26px 0;
}

.account-collapsible-panel:not([open]) > .favorite-gallery-foldout,
.account-collapsible-panel:not([open]) > .address-foldout,
.account-collapsible-panel:not([open]) > .orders-foldout,
.account-fold-card:not([open]) > .order-detail-body,
.account-fold-card:not([open]) > .order-detail-document-footer,
.account-fold-card:not([open]) > .order-email-link-foldout {
  display: none;
}

.favorite-gallery-heading {
  max-width: 640px;
}

.favorite-gallery-heading h3 {
  color: var(--ink);
}

.favorite-gallery-hero-actions {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  padding: 0;
}

.favorite-gallery-strip {
  grid-column: 1;
  grid-row: 1;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 8px;
  padding: 0;
}

.favorite-gallery-strip label {
  display: grid;
  gap: 5px;
  min-width: 0;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.favorite-gallery-strip input,
.favorite-gallery-strip select {
  width: 100%;
  min-height: 38px;
  padding: 0 10px;
  border: 1px solid rgba(216, 164, 71, 0.36);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.68);
  color: var(--ink);
  font-size: 12px;
  font-weight: 850;
}

.favorite-gallery-list {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 16px;
  align-items: start;
  padding: 0;
}

.favorite-gallery-status {
  grid-column: 1 / -1;
  margin: 0 0 24px;
  font-size: 14px;
}

.favorite-gallery-empty {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
}

.favorite-gallery-empty strong,
.favorite-gallery-empty span {
  display: block;
}

.favorite-gallery-empty strong {
  color: var(--ink);
  font-size: 18px;
}

.favorite-gallery-empty span {
  color: var(--muted);
  line-height: 1.45;
}

.favorite-gallery-empty .compact-button {
  width: fit-content;
  min-width: 154px;
}

.newsletter-preview-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: start;
  margin-top: 16px;
  padding: 14px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 248, 231, 0.68), rgba(255, 255, 255, 0.78)),
    rgba(255, 255, 255, 0.62);
  box-shadow: 0 14px 30px rgba(74, 54, 14, 0.08);
}

.newsletter-preview-copy {
  display: grid;
  gap: 6px;
  min-width: 0;
}

.newsletter-preview-copy strong {
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
  line-height: 1.2;
}

.newsletter-pdf-preview {
  grid-column: 1 / -1;
}

.newsletter-pdf-preview {
  padding: 13px;
  border: 1px solid rgba(216, 164, 71, 0.22);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(234, 244, 251, 0.72), rgba(255, 248, 231, 0.84)),
    rgba(255, 255, 255, 0.76);
}

.newsletter-pdf-sheet {
  display: grid;
  gap: 11px;
  max-width: 520px;
  min-height: 248px;
  padding: 18px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: 6px;
  background:
    radial-gradient(circle at 90% 8%, rgba(216, 164, 71, 0.18), transparent 26%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(255, 248, 231, 0.9));
  box-shadow: 0 14px 34px rgba(74, 54, 14, 0.12);
}

.newsletter-pdf-topline {
  display: flex;
  gap: 10px;
  justify-content: space-between;
  align-items: center;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.newsletter-pdf-sheet h4 {
  max-width: 420px;
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 29px;
  line-height: 0.98;
}

.newsletter-pdf-sheet p {
  max-width: 470px;
  color: var(--muted);
  line-height: 1.42;
}

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

.newsletter-pdf-grid span {
  min-height: 42px;
  display: grid;
  place-items: center;
  padding: 8px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.72);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.newsletter-pdf-art-row {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 1fr;
  gap: 8px;
  min-height: 44px;
}

.newsletter-pdf-art-row span {
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(216, 164, 71, 0.22), rgba(255, 255, 255, 0.68)),
    rgba(234, 244, 251, 0.72);
}

.newsletter-download-button {
  justify-self: end;
  width: fit-content;
  min-width: 148px;
}

.favorite-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  min-height: 0;
  padding: 0;
  border: 1px solid rgba(216, 164, 71, 0.25);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(255, 248, 231, 0.52), rgba(255, 255, 255, 0.74)),
    rgba(255, 255, 255, 0.62);
  overflow: hidden;
}

.favorite-card-image {
  position: relative;
  display: block;
  min-height: 0;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border-radius: 0;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 255, 255, 0.9), transparent 34%),
    linear-gradient(180deg, rgba(234, 244, 251, 0.9), rgba(255, 248, 231, 0.78));
  text-decoration: none;
}

.favorite-card-image img,
.favorite-card-image .image-placeholder {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.favorite-card-image img {
  display: block;
  box-sizing: border-box;
  padding: 10px;
}

.favorite-time-badge {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 30px;
  padding: 0 10px;
  border: 1px solid rgba(216, 164, 71, 0.5);
  border-radius: var(--radius);
  background: rgba(255, 253, 247, 0.88);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  line-height: 1.1;
  text-align: center;
  box-shadow: 0 10px 22px rgba(23, 27, 52, 0.12);
}

.favorite-card-body {
  display: grid;
  gap: 6px;
  align-content: start;
  min-width: 0;
  padding: 14px;
}

.favorite-card h4 {
  margin: 0;
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 26px;
  line-height: 1;
}

.favorite-meta,
.favorite-price {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.favorite-price {
  color: var(--gold-dark);
  font-weight: 950;
}

.favorite-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.favorite-card-actions .mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(216, 164, 71, 0.38);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.favorite-remove-button {
  background: rgba(255, 248, 231, 0.78);
}

.checkbox-row {
  grid-template-columns: auto 1fr;
  align-items: center;
  margin-top: 14px;
}

.checkbox-row input {
  width: 18px;
  height: 18px;
}

.support-form {
  display: grid;
  gap: 14px;
}

.support-live-chat-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
  margin-bottom: 14px;
  padding: 15px;
  border: 1px solid rgba(216, 164, 71, 0.3);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.72);
  box-shadow: 0 14px 30px rgba(74, 54, 14, 0.08);
}

.support-live-chat-card strong {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--ink);
  font-size: 17px;
  font-weight: 950;
}

.support-live-chat-card strong::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 10px;
  border-radius: 999px;
  background: #24b86a;
  box-shadow:
    0 0 0 3px rgba(36, 184, 106, 0.16),
    0 0 16px rgba(36, 184, 106, 0.45);
}

.compact-button {
  min-height: 40px;
  padding: 0 15px;
  font-size: 13px;
}

.mini-button {
  min-height: 34px;
  padding: 0 12px;
  border: 1px solid rgba(216, 164, 71, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.72);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  align-self: flex-start;
  white-space: nowrap;
}

.mini-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 34px;
  min-width: 128px;
  padding: 0 12px;
  border: 1px solid rgba(216, 164, 71, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.74);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  text-decoration: none;
  white-space: nowrap;
}

.product-outline-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  min-width: 142px;
  padding: 0 14px;
  border: 2px solid rgba(216, 164, 71, 0.72);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 252, 242, 0.92), rgba(255, 246, 222, 0.78)),
    rgba(255, 255, 255, 0.72);
  color: #b11f2c;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(157, 100, 15, 0.1);
}

.product-outline-button:hover,
.product-outline-button:focus-visible,
.mini-link:hover,
.mini-link:focus-visible {
  border-color: rgba(157, 100, 15, 0.7);
  background: rgba(255, 248, 231, 0.96);
  outline: none;
}

.order-document-button {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 4px 13px 4px 5px;
  border: 1px solid rgba(181, 121, 18, 0.34);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(255, 248, 231, 0.86)),
    linear-gradient(135deg, rgba(216, 164, 71, 0.2), rgba(255, 255, 255, 0));
  color: #5f3c08;
  font-size: 12px;
  font-weight: 950;
  line-height: 1;
  text-decoration: none;
  box-shadow: 0 10px 22px rgba(74, 54, 14, 0.1);
}

.order-document-button:hover {
  border-color: rgba(157, 100, 15, 0.48);
  background:
    linear-gradient(180deg, #fffdf7, rgba(255, 244, 213, 0.94)),
    linear-gradient(135deg, rgba(216, 164, 71, 0.26), rgba(255, 255, 255, 0));
}

.order-document-icon {
  width: 28px;
  height: 28px;
  display: grid;
  place-items: center;
  flex: 0 0 28px;
  border: 1px solid rgba(181, 121, 18, 0.26);
  border-radius: 7px;
  background: linear-gradient(180deg, #ffe6ae 0%, var(--gold) 100%);
  color: #33240b;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.62);
}

.order-document-icon svg {
  width: 17px;
  height: 17px;
  stroke-width: 2;
}

.order-detail-card {
  display: grid;
  gap: 0;
  padding: 16px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.66);
  box-shadow: 0 14px 30px rgba(74, 54, 14, 0.08);
  scroll-margin-top: 178px;
}

.order-detail-card[open] {
  gap: 16px;
}

.order-fold-summary {
  cursor: pointer;
  margin: -2px;
  padding: 2px;
  border-radius: var(--radius);
}

.order-fold-summary:hover .order-detail-title strong,
.order-fold-summary:focus-visible .order-detail-title strong {
  color: var(--gold-dark);
}

.order-detail-head {
  display: grid;
  grid-template-columns: 88px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: center;
}

.order-detail-media,
.order-detail-item-media {
  display: grid;
  place-items: center;
  overflow: hidden;
  border: 1px solid rgba(181, 121, 18, 0.24);
  background: rgba(255, 249, 234, 0.86);
  color: var(--gold-dark);
  font-weight: 950;
}

.order-detail-media {
  width: 88px;
  height: 88px;
  border-radius: 14px;
}

.order-detail-media img,
.order-detail-item-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.order-detail-title {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.order-detail-title strong {
  color: var(--ink);
  font-size: 22px;
  font-weight: 950;
  line-height: 1.1;
}

.order-detail-title span,
.order-detail-empty {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.35;
}

.order-detail-actions {
  justify-content: flex-end;
}

.order-detail-document-footer {
  display: flex;
  justify-content: flex-end;
  padding-top: 14px;
  border-top: 1px solid rgba(216, 164, 71, 0.18);
}

.order-detail-document-actions {
  justify-content: flex-end;
}

.order-detail-body {
  display: grid;
  grid-template-columns: minmax(0, 1.1fr) minmax(220px, 0.9fr);
  gap: 16px;
}

.order-detail-body section {
  min-width: 0;
  padding: 14px;
  border: 1px solid rgba(216, 164, 71, 0.2);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.42);
}

.order-detail-body h4 {
  margin: 0 0 10px;
  color: var(--ink);
  font-size: 15px;
  font-weight: 950;
}

.order-detail-facts {
  display: grid;
  gap: 8px;
  margin: 0;
}

.order-detail-facts div {
  display: grid;
  gap: 2px;
}

.order-detail-facts dt {
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-detail-facts dd {
  margin: 0;
  color: var(--ink);
  font-size: 13px;
  line-height: 1.35;
}

.order-detail-timeline {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 7px;
  margin: 14px 0 0;
  padding: 0;
  list-style: none;
}

.order-detail-timeline li {
  min-width: 0;
  padding-top: 8px;
  border-top: 5px solid rgba(216, 164, 71, 0.2);
  color: rgba(88, 101, 126, 0.82);
}

.order-detail-timeline li.is-active {
  border-top-color: var(--gold-dark);
  color: var(--gold-dark);
}

.order-detail-timeline strong,
.order-detail-timeline span {
  display: block;
  line-height: 1.2;
}

.order-detail-timeline strong {
  font-size: 10px;
  font-weight: 950;
}

.order-detail-timeline span {
  margin-top: 3px;
  font-size: 10px;
}

.order-detail-items {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.order-detail-items li {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr) auto;
  gap: 10px 12px;
  align-items: center;
  min-width: 0;
  padding: 10px;
  border: 1px solid rgba(216, 164, 71, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.58);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.order-detail-item-media {
  width: 64px;
  height: 64px;
  border-radius: 12px;
}

.order-detail-item-copy {
  display: grid;
  gap: 3px;
  min-width: 0;
}

.order-detail-items strong,
.order-detail-items span,
.order-detail-item-specs dt,
.order-detail-item-specs dd {
  display: block;
  min-width: 0;
}

.order-detail-item-label {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1.1;
  text-transform: uppercase;
}

.order-detail-items strong {
  color: var(--ink);
  font-size: 14px;
  font-weight: 950;
  line-height: 1.25;
}

.order-detail-items span,
.order-detail-items em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
}

.order-detail-items em {
  font-weight: 950;
}

.order-detail-item-specs {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 7px;
  margin: 0;
}

.order-detail-item-specs div {
  min-width: 0;
  padding: 7px 8px;
  border: 1px solid rgba(216, 164, 71, 0.18);
  border-radius: 10px;
  background: rgba(255, 249, 234, 0.66);
}

.order-detail-item-specs div.is-wide {
  grid-column: 1 / -1;
  background: rgba(255, 255, 255, 0.72);
}

.order-detail-item-specs dt {
  color: var(--gold-dark);
  font-size: 9px;
  font-weight: 950;
  text-transform: uppercase;
}

.order-detail-item-specs dd {
  margin: 2px 0 0;
  color: var(--ink);
  font-size: 11px;
  font-weight: 850;
  line-height: 1.2;
}

.order-detail-item-price {
  display: grid;
  gap: 3px;
  justify-items: end;
  align-self: start;
  padding: 7px 9px;
  border: 1px solid rgba(216, 164, 71, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 246, 220, 0.76);
  text-align: right;
}

.order-detail-item-price span {
  font-size: 11px;
}

@media (max-width: 780px) {
  .order-detail-head {
    grid-template-columns: 72px minmax(0, 1fr);
  }

  .order-detail-media {
    width: 72px;
    height: 72px;
  }

  .order-detail-actions {
    grid-column: 1 / -1;
    justify-content: flex-start;
  }

  .order-detail-document-footer {
    display: grid;
    justify-content: stretch;
  }

  .order-detail-document-actions {
    justify-content: stretch;
  }

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

  .order-detail-items li {
    grid-template-columns: 62px minmax(0, 1fr);
    gap: 9px 10px;
    padding: 9px;
  }

  .order-detail-item-media {
    width: 62px;
    height: 62px;
  }

  .order-detail-item-price {
    grid-column: 2;
    align-self: end;
    justify-items: start;
    width: max-content;
    max-width: 100%;
    margin-top: 3px;
    padding: 6px 8px;
    text-align: left;
  }

  .order-detail-item-specs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

.mini-button:disabled,
.gold-button:disabled,
.google-button:disabled,
.shop-button:disabled,
.ghost-button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.4);
  opacity: 0.58;
}

.order-tracking {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(216, 164, 71, 0.22);
}

.tracking-pill {
  background: rgba(234, 244, 251, 0.78);
  color: #2a5d76;
}

.tracking-pill.is-found {
  background: rgba(225, 249, 235, 0.84);
  color: #26624a;
}

.order-email-link-card {
  display: grid;
  gap: 14px;
  margin-top: 18px;
  padding: 16px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.52);
}

.order-email-link-summary {
  display: grid;
  gap: 8px;
  cursor: pointer;
  border-radius: calc(var(--radius) - 2px);
}

.order-email-link-summary::after {
  content: "Add order email";
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  min-height: 30px;
  padding: 0 13px;
  border: 1px solid rgba(181, 121, 18, 0.34);
  border-radius: var(--radius);
  background: rgba(255, 249, 234, 0.82);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
}

.order-email-link-card[open] .order-email-link-summary {
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.2);
}

.order-email-link-card[open] .order-email-link-summary::after {
  content: "Close";
}

.order-email-link-foldout {
  display: grid;
  gap: 12px;
}

.linked-email-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.linked-email-pill {
  display: inline-flex;
  min-height: 30px;
  align-items: center;
  padding: 0 11px;
  border: 1px solid rgba(216, 164, 71, 0.42);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.62);
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
}

.order-email-link-form {
  display: grid;
  grid-template-columns: minmax(180px, 1fr) auto;
  gap: 12px;
  align-items: end;
}

.order-email-link-form .status-line {
  grid-column: 1 / -1;
  margin-top: 0;
  color: var(--muted);
}

.order-email-link-form label[hidden],
.order-email-link-form button[hidden] {
  display: none;
}

.design-week-card {
  display: grid;
  gap: 14px;
}

.design-week-status {
  margin: 14px 0 0;
}

.spotlight-mini {
  display: grid;
  grid-template-columns: 106px minmax(0, 1fr);
  gap: 16px;
  align-items: center;
  padding: 14px;
  border: 1px solid rgba(216, 164, 71, 0.28);
  border-radius: var(--radius);
  background: rgba(255, 248, 231, 0.56);
}

.spotlight-image-wrap {
  position: relative;
  width: 106px;
  aspect-ratio: 0.72;
  align-self: center;
}

.spotlight-mini img,
.image-placeholder {
  width: 106px;
  aspect-ratio: 0.72;
  border-radius: 6px;
  object-fit: cover;
  background: #f3e6c5;
}

.spotlight-image-wrap img,
.spotlight-image-wrap .image-placeholder {
  width: 100%;
}

.spotlight-image-wrap img:not(.spotlight-crown),
.spotlight-image-wrap .image-placeholder {
  box-shadow:
    0 0 0 2px rgba(216, 164, 71, 0.9),
    0 4px 10px rgba(128, 83, 18, 0.18);
}

.spotlight-crown {
  position: absolute;
  top: -50px;
  left: 50%;
  width: 76px;
  height: auto;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent !important;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 2;
  opacity: 0.96;
  filter:
    drop-shadow(0 4px 5px rgba(91, 54, 8, 0.2))
    saturate(0.94)
    contrast(0.98);
}

.spotlight-image-wrap .spotlight-crown {
  width: 76px;
  aspect-ratio: auto;
  border-radius: 0;
  object-fit: contain;
  background: transparent !important;
}

.image-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  text-align: center;
}

.spotlight-mini strong,
.spotlight-mini span {
  display: block;
}

.spotlight-mini strong {
  color: var(--ink);
  font-family: var(--display-font);
  font-size: 30px;
  line-height: 0.98;
}

.spotlight-mini span {
  margin-top: 7px;
  color: var(--muted);
}

.spotlight-mini .spotlight-crown {
  display: block;
  margin-top: 0;
}

.spotlight-price {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr);
  gap: 10px;
  align-items: center;
  margin-top: 12px;
  padding: 10px;
  border: 1px solid rgba(181, 121, 18, 0.3);
  border-radius: var(--radius);
  background:
    linear-gradient(135deg, rgba(255, 241, 196, 0.95), rgba(255, 255, 255, 0.72)),
    rgba(255, 248, 231, 0.72);
  box-shadow: 0 12px 24px rgba(148, 99, 15, 0.12);
}

.spotlight-discount-badge {
  display: grid;
  place-items: center;
  align-self: center;
  justify-self: start;
  width: 64px;
  min-width: 64px;
  height: 42px;
  min-height: 42px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(255, 246, 191, 0.94);
  border-radius: var(--radius);
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 249, 213, 0.94), rgba(255, 225, 119, 0.38) 34%, transparent 54%),
    linear-gradient(180deg, #f4c950 0%, #c88918 64%, #8f5409 100%);
  color: #b1121a;
  font-family: var(--store-font);
  font-size: 17px;
  font-weight: 950;
  letter-spacing: 0;
  line-height: 1;
  text-align: center;
  text-shadow: 0 1px 0 rgba(255, 246, 198, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.56),
    0 10px 20px rgba(117, 70, 4, 0.22);
}

.spotlight-mini .spotlight-discount-badge {
  display: grid;
  place-items: center;
  margin-top: 0;
  padding-top: 2px;
  color: #b1121a;
}

.spotlight-price-stack {
  display: grid;
  gap: 2px;
}

.spotlight-price-stack s {
  color: rgba(50, 43, 63, 0.58);
  font-size: 13px;
  font-weight: 850;
}

.spotlight-price-stack strong {
  color: var(--gold-dark);
  font-family: var(--body-font);
  font-size: 25px;
  line-height: 1;
}

.spotlight-price-stack em,
.spotlight-price-note {
  color: var(--ink);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
  line-height: 1.2;
}

.spotlight-price-note {
  display: inline-flex;
  width: fit-content;
  max-width: 100%;
  margin-top: 10px;
  padding: 6px 10px;
  border: 1px solid rgba(216, 164, 71, 0.35);
  border-radius: var(--radius);
  background: rgba(255, 249, 234, 0.74);
  color: var(--gold-dark);
}

.mini-label {
  margin-bottom: 6px;
  color: var(--gold-dark);
  font-size: 11px;
  font-weight: 950;
  text-transform: uppercase;
}

.design-favorite-hero {
  min-width: 116px;
}

.design-favorite-button.is-active {
  background: linear-gradient(180deg, #fee3a2, #efbc5a);
}

.design-favorite-button.is-never-favorited {
  color: var(--gold-dark);
  background: rgba(255, 255, 255, 0.72);
}

.design-favorite-button.is-previously-favorited {
  color: #73510d;
  background: linear-gradient(180deg, #fff6d8, #f3cf75);
  border-color: rgba(216, 164, 71, 0.58);
}

.design-favorite-button.is-counted-this-week {
  color: rgba(80, 68, 48, 0.72);
  background: rgba(230, 226, 217, 0.82);
  border-color: rgba(112, 95, 66, 0.2);
  box-shadow: none;
}

.challenger-list {
  display: grid;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.challenger-race-header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: center;
  padding: 11px 12px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 252, 242, 0.72);
}

.challenger-race-header strong,
.race-countdown strong {
  display: block;
}

.challenger-race-header > div > strong {
  color: var(--ink);
  font-size: 16px;
  font-weight: 950;
}

.race-countdown {
  display: grid;
  min-width: 64px;
  padding: 7px 10px;
  border: 1px solid rgba(181, 121, 18, 0.36);
  border-radius: var(--radius);
  background: linear-gradient(180deg, rgba(255, 244, 184, 0.96), rgba(224, 173, 50, 0.9));
  box-shadow: 0 4px 10px rgba(128, 83, 18, 0.14);
  color: var(--gold-dark);
  line-height: 1;
  text-align: center;
}

.race-countdown strong {
  font-size: 17px;
  font-weight: 950;
}

.race-countdown em {
  margin-top: 2px;
  font-size: 10px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.challenger-card {
  display: grid;
  grid-template-columns: 52px 32px minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  padding: 9px 10px;
  border: 1px solid rgba(216, 164, 71, 0.24);
  border-radius: var(--radius);
  background: rgba(255, 252, 242, 0.68);
}

.challenger-card.is-empty {
  grid-template-columns: 32px minmax(0, 1fr);
}

.challenger-thumb {
  display: block;
  width: 52px;
  aspect-ratio: 0.72;
  overflow: hidden;
  border: 1px solid rgba(216, 164, 71, 0.46);
  border-radius: 6px;
  background: #f3e6c5;
  box-shadow: 0 3px 8px rgba(128, 83, 18, 0.14);
}

.challenger-thumb img,
.challenger-thumb-placeholder {
  width: 100%;
  height: 100%;
}

.challenger-thumb img {
  object-fit: cover;
}

.challenger-thumb-placeholder {
  display: grid;
  place-items: center;
  color: var(--gold-dark);
  font-size: 10px;
  font-weight: 950;
}

.challenger-copy {
  min-width: 0;
}

.challenger-list strong {
  display: block;
  font-weight: 950;
  overflow-wrap: anywhere;
}

.challenger-rank,
.challenger-list em {
  color: var(--muted);
  font-size: 12px;
  font-style: normal;
  font-weight: 850;
}

.challenger-rank {
  text-align: center;
}

.account-rail {
  position: sticky;
  top: 174px;
  display: flex;
  flex-direction: column;
  align-self: start;
  min-width: 0;
  min-height: calc(100vh - 196px);
  max-width: 100%;
  padding: 22px;
}

.rail-profile {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(216, 164, 71, 0.28);
}

.rail-avatar-button {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  padding: 0;
  border: 0;
  border-radius: 50%;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}

.rail-avatar-button img,
.rail-profile img {
  width: 58px;
  height: 58px;
  border: 2px solid rgba(216, 164, 71, 0.8);
  border-radius: 50%;
  object-fit: cover;
}

.rail-avatar-button span {
  position: absolute;
  right: -5px;
  bottom: -5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 20px;
  padding: 0 7px;
  border: 1px solid rgba(103, 76, 16, 0.22);
  border-radius: var(--radius);
  background: linear-gradient(180deg, #ffe3a5 0%, var(--gold) 100%);
  color: #2d2410;
  font-size: 10px;
  font-weight: 950;
  box-shadow: var(--soft-shadow);
}

.rail-profile strong,
.rail-profile > div span {
  display: block;
}

.rail-profile strong {
  font-weight: 950;
}

.rail-profile > div span {
  margin-top: 4px;
  color: var(--muted);
  font-size: 12px;
}

.rail-menu {
  display: grid;
  gap: 8px;
  min-width: 0;
  max-width: 100%;
  margin-top: 18px;
}

.rail-logout {
  margin-top: auto;
  padding-top: 18px;
  border-top: 1px solid rgba(216, 164, 71, 0.28);
}

.rail-logout .ghost-button {
  width: 100%;
}

.rail-link {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr);
  gap: 9px 12px;
  align-items: center;
  padding: 12px 10px;
  border: 1px solid transparent;
  border-radius: var(--radius);
  text-decoration: none;
}

.rail-link:hover,
.rail-link:focus {
  border-color: rgba(216, 164, 71, 0.28);
  background: rgba(255, 248, 231, 0.72);
}

.rail-link svg {
  grid-row: span 2;
  justify-self: center;
  color: var(--gold-dark);
  font-size: 23px;
}

.rail-link span,
.rail-link small {
  display: block;
}

.rail-link span {
  font-weight: 950;
}

.rail-link small {
  color: var(--muted);
  font-size: 12px;
}

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

.dashboard-preview article {
  min-height: 168px;
  padding: 22px;
}

.dashboard-preview h2 {
  color: var(--ink);
  font-size: 30px;
}

.dashboard-preview p:not(.section-label) {
  margin-top: 10px;
  color: var(--muted);
  line-height: 1.48;
}

.store-footer {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
  justify-content: center;
  padding: 28px 18px;
  background: var(--night);
  border-top: 1px solid rgba(216, 164, 71, 0.24);
}

.store-footer a {
  color: #ffffff;
  font-size: 13px;
  font-weight: 950;
  text-decoration: none;
}

body[data-account-hub-page="account"] .dashboard-preview {
  display: none;
}

body.is-authenticated .account-hero-shell {
  display: block;
}

body.is-authenticated .account-hero-card {
  min-height: 230px;
}

@media (max-width: 1120px) {
  .main-nav {
    grid-template-columns: 172px minmax(0, 1fr) auto;
  }

  .store-links {
    justify-content: flex-start;
  }

  .hero-shell,
  .login-stage,
  .account-layout,
  .account-grid {
    grid-template-columns: 1fr;
  }

  body[data-account-hub-page="login"] .login-stage {
    grid-template-columns: 1fr;
  }

  .account-rail {
    position: static;
    order: -1;
    min-height: 0;
  }

  .account-rail .rail-profile {
    grid-template-columns: 48px minmax(0, 1fr);
    padding-bottom: 14px;
  }

  .account-rail .rail-avatar-button,
  .account-rail .rail-profile img {
    width: 48px;
    height: 48px;
  }

  .account-rail .rail-avatar-button img {
    width: 48px;
    height: 48px;
  }

  .rail-menu {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(132px, 1fr));
    gap: 8px;
    margin-top: 14px;
    overflow-x: visible;
    padding-bottom: 0;
    scrollbar-width: auto;
  }

  .rail-link {
    min-width: 0;
    grid-template-columns: 1fr;
    justify-items: center;
    min-height: 90px;
    padding: 10px 8px;
    text-align: center;
  }

  .rail-link svg {
    grid-row: auto;
  }

  .rail-link small {
    font-size: 11px;
  }

  .rail-logout {
    margin-top: 12px;
    padding-top: 12px;
  }
}

@media (max-width: 920px) {
  .main-nav {
    grid-template-columns: 142px 1fr;
    padding-right: 14px;
  }

  .cart-link {
    grid-column: 1 / -1;
    justify-self: stretch;
    width: calc(100% - 24px);
    margin: 0 12px 12px;
    border-radius: var(--radius);
  }

  .store-links {
    justify-content: flex-end;
    gap: 10px 14px;
  }

  .account-two-up,
  .dashboard-preview {
    grid-template-columns: 1fr;
  }

  .page-shell,
  .login-shell {
    width: min(100% - 28px, 760px);
    padding: 24px 0 50px;
  }

  .hero-copy,
  .member-card,
  .login-hero,
  .login-card,
  .dashboard-heading,
  .account-panel,
  .account-rail,
  .dashboard-preview article {
    box-shadow: var(--soft-shadow);
  }
}

@media (max-width: 680px) {
  .artist-strip {
    min-height: 42px;
    justify-content: flex-start;
    gap: 16px;
    padding: 0 14px;
  }

  .artist-token {
    gap: 7px;
    font-size: 9px;
  }

  .artist-token img,
  .letter-avatar {
    width: 28px;
    height: 28px;
    border-width: 2px;
  }

  .artist-separator {
    font-size: 18px;
  }

  .store-links {
    display: none;
  }

  .main-nav {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 0 0 10px;
  }

  .brand {
    min-height: 58px;
    padding: 6px 18px 2px;
  }

  .brand img {
    width: 94px;
  }

  .cart-link {
    width: calc(100% - 28px);
    min-height: 38px;
    margin: 0 14px;
  }

  .breadcrumb {
    margin-bottom: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 13px;
  }

  .page-shell,
  .login-shell {
    width: min(100% - 24px, 520px);
    padding: 16px 0 36px;
  }

  body[data-account-hub-page="login"] .login-shell {
    padding-top: 12px;
  }

  body[data-account-hub-page="login"] .breadcrumb {
    display: none;
  }

  .hero-copy,
  .login-hero {
    min-height: 430px;
    padding: 22px;
    background:
      linear-gradient(180deg, rgba(23, 27, 52, 0.86), rgba(23, 27, 52, 0.66)),
      url("https://furrybodypillows.com/cdn/shop/files/banner_Neu_thin2.png?v=1772490126&width=750") center right / cover no-repeat;
  }

  body[data-account-hub-page="account"] .account-hero-card {
    background:
      linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(234, 244, 251, 0.78));
    color: var(--ink);
    padding: 22px;
  }

  .member-card,
  .login-card,
  .dashboard-heading,
  .account-panel,
  .account-rail,
  .dashboard-preview article {
    padding: 18px;
  }

  .account-rail .rail-profile {
    grid-template-columns: 42px minmax(0, 1fr);
    gap: 10px;
    padding-bottom: 10px;
  }

  .account-rail .rail-avatar-button,
  .account-rail .rail-profile img,
  .account-rail .rail-avatar-button img {
    width: 42px;
    height: 42px;
  }

  .rail-menu {
    gap: 6px;
    margin-top: 10px;
  }

  body[data-account-hub-page="login"] .login-card {
    padding: 20px;
  }

  body[data-account-hub-page="login"] .login-card h1 {
    font-size: 38px;
  }

  body[data-account-hub-page="login"] .login-card .panel-copy {
    font-size: 15px;
    line-height: 1.45;
  }

  body[data-account-hub-page="login"] .login-actions {
    margin-top: 16px;
  }

  body[data-account-hub-page="login"] .login-actions a {
    min-height: 46px;
    padding: 0 14px;
  }

  body[data-account-hub-page="login"] .login-hero {
    min-height: 0;
    padding: 22px;
    border-color: rgba(255, 255, 255, 0.7);
    background:
      linear-gradient(140deg, rgba(255, 253, 247, 0.68), rgba(234, 244, 251, 0.46)),
      linear-gradient(180deg, rgba(216, 164, 71, 0.12), rgba(255, 255, 255, 0.06));
  }

  body[data-account-hub-page="login"] .account-benefit-box summary {
    grid-template-columns: minmax(0, 1fr) 108px;
    gap: 12px;
  }

  body[data-account-hub-page="login"] .benefit-copy {
    gap: 8px;
  }

  body[data-account-hub-page="login"] .benefit-copy strong {
    font-size: 28px;
  }

  body[data-account-hub-page="login"] .benefit-copy > span:last-child {
    font-size: 14px;
  }

  body[data-account-hub-page="login"] .benefit-dragon {
    width: 108px;
    max-height: 150px;
  }

  body[data-account-hub-page="login"] .benefit-toggle {
    min-height: 34px;
    padding: 0 12px;
    font-size: 12px;
  }

  body[data-account-hub-page="login"] .benefit-list {
    grid-template-columns: 1fr;
    margin-top: 16px;
    padding: 10px;
  }

  body[data-account-hub-page="account"] .account-hero-card {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .account-hero-visual {
    order: -1;
    min-height: 118px;
    place-items: center;
    margin-bottom: -10px;
  }

  .account-hero-dragon {
    width: min(210px, 68vw);
    max-height: 158px;
    transform: rotate(-1deg);
  }

  h1 {
    font-size: 44px;
  }

  h2 {
    font-size: 32px;
  }

  h3 {
    font-size: 27px;
  }

  body[data-account-hub-page="account"] .account-hero-card h1 {
    max-width: 100%;
    font-size: clamp(32px, 8vw, 36px);
    overflow-wrap: break-word;
    white-space: normal;
  }

  .account-hero-welcome {
    font-size: 15px;
    line-height: 1.2;
  }

  .hero-shell,
  .login-stage {
    gap: 14px;
  }

  .dragon-row {
    gap: 8px;
    margin-bottom: 12px;
    padding: 6px 12px 6px 6px;
    font-size: 10px;
  }

  .dragon-row img {
    width: 34px;
    height: 34px;
  }

  .lede {
    margin-top: 12px;
    font-size: 17px;
    line-height: 1.44;
  }

  .cta-row,
  .login-actions {
    display: grid;
    gap: 10px;
    margin-top: 18px;
  }

  .gold-button,
  .google-button,
  .shop-button,
  .ghost-button,
  .white-button {
    width: 100%;
    min-height: 44px;
  }

  .account-login-form,
  .address-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-heading,
  .data-row,
  .address-form-heading,
  .rail-profile {
    display: grid;
  }

  .dashboard-heading {
    align-items: start;
  }

  .session-badge,
  .compact-button,
  .mini-button {
    width: 100%;
  }

  .account-overview-panel .panel-title-row,
  .profile-settings-panel .panel-title-row {
    display: grid;
    gap: 10px;
  }

  .overview-action,
  .profile-avatar-editor,
  .support-live-chat-card,
  .profile-linked-box {
    grid-template-columns: 1fr;
  }

  .profile-avatar-preview-button {
    justify-self: center;
    width: 112px;
    height: 112px;
  }

  .overview-grid,
  .profile-settings-grid {
    grid-template-columns: 1fr;
  }

  .overview-group-list {
    grid-auto-rows: auto;
  }

  .overview-card {
    grid-column: auto;
    height: auto;
    min-height: 136px;
  }

  .overview-card[data-overview-has-media="true"] {
    grid-template-columns: 1fr;
    grid-template-rows: 116px auto;
    gap: 9px;
    min-height: 220px;
    padding: 10px;
  }

  .overview-card[data-overview-has-media="true"] .overview-card-media {
    height: 116px;
    min-height: 0;
  }

  .overview-card[data-overview-has-media="true"] .overview-card-head {
    height: auto;
  }

  .profile-setting-card {
    grid-column: auto;
    min-height: 0;
  }

  .profile-linked-emails {
    display: grid;
  }

  .profile-email-pill {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  .address-form-footer,
  .address-action-buttons,
  .address-row-side,
  .row-links,
  .favorite-card-actions,
  .spotlight-actions {
    display: grid;
    justify-content: stretch;
  }

  .order-document-button {
    width: 100%;
    justify-content: flex-start;
  }

  #addresses-panel {
    padding: 17px;
  }

  #addresses-panel .panel-title-row {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 6px 12px;
    align-items: start;
    margin-bottom: 8px;
  }

  #addresses-panel .address-summary::after {
    grid-column: 1 / -1;
    justify-self: start;
  }

  #addresses-panel .panel-title-row > div {
    min-width: 0;
  }

  #addresses-panel .section-label {
    font-size: 11px;
  }

  #addresses-panel .panel-title-row h3 {
    font-size: 27px;
    line-height: 1;
  }

  #addresses-panel .panel-copy {
    max-width: none;
    font-size: 15px;
    line-height: 1.4;
  }

  #address-count.soft-pill {
    width: auto;
    min-height: 24px;
    justify-self: end;
    padding: 0 8px;
    font-size: 11px;
  }

  .address-row {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .address-card-title {
    gap: 6px;
  }

  .address-card-title strong {
    font-size: 16px;
  }

  .data-row .default-badge {
    width: auto;
    min-height: 24px;
    padding: 0 9px;
    font-size: 11px;
  }

  .address-lines {
    gap: 2px;
  }

  .address-lines span {
    font-size: 14px;
    line-height: 1.35;
  }

  .address-row-side {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
  }

  .address-row-side .mini-button,
  #addresses-panel .compact-button {
    min-height: 38px;
    font-size: 12px;
  }

  .address-action-buttons {
    gap: 8px;
  }

  .address-action-buttons .compact-button {
    min-width: 0;
  }

  #addresses-panel #address-action-status {
    font-size: 14px;
    line-height: 1.4;
  }

  .favorite-gallery-page {
    padding: 0;
  }

  .favorite-gallery-foldout {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 0;
  }

  .favorite-gallery-hero {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 16px;
  }

  .favorite-gallery-hero-actions {
    grid-column: auto;
    grid-row: auto;
    display: grid;
    justify-items: stretch;
    padding: 12px 16px 0;
  }

  .favorite-gallery-strip {
    grid-column: auto;
    grid-row: auto;
    grid-template-columns: 1fr;
    padding: 12px 16px 0;
  }

  .favorite-gallery-strip input,
  .favorite-gallery-strip select {
    min-height: 36px;
  }

  .favorite-gallery-list {
    grid-column: auto;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
    padding: 14px 16px 0;
  }

  .favorite-gallery-status {
    grid-column: auto;
    margin: 12px 16px 16px;
  }

  #favorite-gallery-count.soft-pill {
    min-height: 28px;
    padding: 0 8px;
    font-size: 11px;
  }

  .favorite-card {
    grid-template-columns: minmax(0, 1fr);
    gap: 0;
    min-height: 0;
    padding: 0;
  }

  .favorite-card-image {
    min-height: 0;
  }

  .favorite-card h4 {
    font-size: 22px;
  }

  .favorite-card-body {
    padding: 12px;
  }

  .favorite-time-badge {
    left: 8px;
    right: 8px;
    bottom: 8px;
    min-height: 28px;
    font-size: 11px;
  }

  .favorite-card-actions {
    grid-template-columns: 1fr;
    gap: 7px;
  }

  .favorite-card-actions .mini-link,
  .favorite-remove-button {
    width: 100%;
  }

  .favorite-gallery-empty .compact-button {
    width: 100%;
  }

  .newsletter-preview-card {
    grid-template-columns: 1fr;
  }

  .newsletter-download-button {
    justify-self: stretch;
    width: 100%;
  }

  .profile-avatar-actions {
    display: grid;
    grid-template-columns: 1fr;
  }

  .profile-avatar-upload-button,
  .profile-avatar-save-button {
    max-width: none;
    width: 100%;
  }

  .profile-avatar-crop-controls {
    grid-template-columns: 1fr;
  }

  .spotlight-mini {
    grid-template-columns: 84px minmax(0, 1fr);
  }

  .spotlight-mini img,
  .spotlight-image-wrap,
  .image-placeholder {
    width: 84px;
  }

  .spotlight-crown {
    top: -47px;
    width: 70px;
  }

  .spotlight-image-wrap .spotlight-crown {
    top: -47px;
    width: 70px;
  }

  .spotlight-mini strong {
    font-size: 26px;
  }

  .challenger-card {
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 8px 10px;
    padding: 9px;
  }

  .challenger-thumb {
    grid-row: 1 / 4;
    width: 46px;
  }

  .challenger-rank,
  .challenger-copy,
  .challenger-list .design-favorite-button {
    grid-column: 2;
  }

  .challenger-rank {
    justify-self: start;
    text-align: left;
  }

  .rail-menu {
    grid-template-columns: 1fr;
  }

  .rail-link {
    grid-template-columns: 28px minmax(0, 1fr);
    justify-items: stretch;
    gap: 2px 10px;
    min-height: 54px;
    padding: 9px 11px;
    text-align: left;
  }

  .rail-link svg {
    grid-row: span 2;
    font-size: 20px;
  }

  .rail-link span {
    line-height: 1.08;
  }

  .rail-link small {
    font-size: 10.5px;
    line-height: 1.15;
  }
}

@media (max-width: 560px) {
  .page-shell,
  .login-shell {
    width: min(100% - 22px, 500px);
    padding-top: 14px;
  }

  .hero-copy,
  .login-hero,
  .member-card,
  .login-card,
  .dashboard-heading,
  .account-panel,
  .account-rail,
  .dashboard-preview article {
    padding: 16px;
  }

  .hero-copy h1,
  .login-hero h1 {
    max-width: 100%;
    font-size: clamp(34px, 9vw, 42px);
    overflow-wrap: break-word;
  }

  body[data-account-hub-page="account"] .account-hero-card .lede,
  body[data-account-hub-page="account"] .dashboard-heading p:not(.eyebrow) {
    max-width: 100%;
    line-height: 1.36;
    overflow-wrap: break-word;
  }

  body[data-account-hub-page="account"] .dashboard-heading p:not(.eyebrow) {
    max-width: 30ch;
  }

  body[data-account-hub-page="login"] .login-card h1 {
    font-size: 36px;
  }

  .panel-title-row {
    display: grid;
  }

  .favorite-gallery-page {
    padding: 0;
  }

  .favorite-gallery-hero {
    padding: 15px;
  }

  .favorite-gallery-hero-actions {
    padding: 12px 15px 0;
  }

  .favorite-gallery-list {
    padding: 13px 15px 0;
  }

  .favorite-gallery-status {
    margin: 12px 15px 15px;
  }

  .order-email-link-form {
    grid-template-columns: 1fr;
  }

  .order-email-link-form .compact-button {
    width: 100%;
  }

  .spotlight-price {
    grid-template-columns: 1fr;
    gap: 7px;
    padding: 9px;
  }

  .spotlight-discount-badge {
    width: 56px;
    min-width: 56px;
    height: 36px;
    min-height: 36px;
    font-size: 15px;
  }

  .spotlight-price-stack strong {
    font-size: 21px;
  }

  .spotlight-mini {
    grid-template-columns: 78px minmax(0, 1fr);
    gap: 12px;
  }

  .spotlight-mini img,
  .spotlight-image-wrap,
  .image-placeholder {
    width: 78px;
  }

  .spotlight-crown {
    top: -44px;
    width: 66px;
  }

  .spotlight-image-wrap .spotlight-crown {
    top: -44px;
    width: 66px;
  }
}

/* Command center design-copy pass. This file lives only in account-hub-command-center. */
body[data-account-hub-page="account"] .account-hero-shell {
  margin-bottom: 20px;
}

body[data-account-hub-page="account"] .account-hero-card {
  grid-template-columns: minmax(0, 1fr) minmax(180px, 0.36fr);
  min-height: 178px;
  padding: clamp(20px, 2.4vw, 28px);
  border-color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(255, 248, 231, 0.72)),
    rgba(255, 255, 255, 0.42);
}

body[data-account-hub-page="account"] .account-hero-card h1 {
  font-size: clamp(38px, 4vw, 56px);
  line-height: 0.94;
}

body[data-account-hub-page="account"] .account-hero-welcome {
  margin-top: 10px;
  color: var(--gold-dark);
  font-size: clamp(28px, 2.8vw, 42px);
  line-height: 1;
}

body[data-account-hub-page="account"] .account-hero-card .lede {
  max-width: 58ch;
  margin-top: 10px;
  font-size: 16px;
  line-height: 1.42;
}

body[data-account-hub-page="account"] .account-hero-visual {
  min-height: 142px;
}

body[data-account-hub-page="account"] .account-hero-dragon {
  width: min(214px, 100%);
  max-height: 192px;
}

body[data-account-hub-page="account"] .account-dashboard {
  margin-top: 18px;
}

body[data-account-hub-page="account"] .account-layout {
  grid-template-columns: minmax(244px, 274px) minmax(0, 1fr);
}

body[data-account-hub-page="account"] .account-main {
  gap: 20px;
}

body[data-account-hub-page="account"] .account-panel,
body[data-account-hub-page="account"] .account-rail {
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.88), rgba(255, 248, 231, 0.68)),
    rgba(255, 255, 255, 0.54);
}

body[data-account-hub-page="account"] .account-rail {
  top: 150px;
  min-height: calc(100vh - 172px);
  padding: 18px;
}

body[data-account-hub-page="account"] .rail-profile {
  padding: 12px;
  border: 1px solid rgba(216, 164, 71, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.48);
}

body[data-account-hub-page="account"] .rail-menu {
  gap: 7px;
  margin-top: 14px;
}

body[data-account-hub-page="account"] .rail-link {
  min-height: 58px;
  padding: 10px;
  border: 1px solid rgba(216, 164, 71, 0.16);
  background: rgba(255, 255, 255, 0.34);
}

body[data-account-hub-page="account"] .rail-link:hover,
body[data-account-hub-page="account"] .rail-link:focus {
  border-color: rgba(181, 121, 18, 0.42);
  background: rgba(255, 248, 231, 0.78);
}

body[data-account-hub-page="account"] .account-overview-panel {
  gap: 16px;
  border-color: rgba(216, 164, 71, 0.28);
  background:
    linear-gradient(135deg, rgba(255, 253, 247, 0.92), rgba(255, 248, 231, 0.76)),
    rgba(255, 255, 255, 0.46);
}

body[data-account-hub-page="account"] .overview-action {
  grid-template-columns: 68px minmax(0, 1fr) minmax(138px, auto);
  gap: 14px;
  padding: 14px;
  border: 1px solid rgba(181, 121, 18, 0.38);
  background:
    linear-gradient(135deg, rgba(255, 248, 231, 0.96), rgba(255, 255, 255, 0.72)),
    rgba(255, 255, 255, 0.54);
}

body[data-account-hub-page="account"] .overview-action::before {
  width: 6px;
}

body[data-account-hub-page="account"] .overview-action-image,
body[data-account-hub-page="account"] .overview-action-icon {
  width: 68px;
  height: 68px;
  border-radius: 12px;
}

body[data-account-hub-page="account"] .overview-action-copy span {
  color: #9d640f;
}

body[data-account-hub-page="account"] .overview-action-copy strong {
  font-size: clamp(21px, 2vw, 30px);
}

body[data-account-hub-page="account"] .overview-action-copy small {
  font-size: 13px;
}

body[data-account-hub-page="account"] .overview-action .compact-button,
body[data-account-hub-page="account"] .gold-button.compact-button,
body[data-account-hub-page="account"] .ghost-button.compact-button,
body[data-account-hub-page="account"] .product-outline-button,
body[data-account-hub-page="account"] .mini-link {
  min-height: 40px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}

body[data-account-hub-page="account"] .overview-order-preview {
  grid-template-columns: 72px minmax(0, 0.5fr) minmax(190px, 1fr);
  margin-top: 0;
  background: rgba(255, 255, 255, 0.6);
}

body[data-account-hub-page="account"] .overview-grid {
  gap: 16px;
}

body[data-account-hub-page="account"] .overview-group {
  padding: 13px;
  border-color: rgba(216, 164, 71, 0.24);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.66), rgba(255, 248, 231, 0.4)),
    rgba(255, 255, 255, 0.34);
}

body[data-account-hub-page="account"] .overview-card {
  min-height: 142px;
  border-color: rgba(181, 121, 18, 0.22);
  background:
    linear-gradient(180deg, rgba(255, 253, 247, 0.9), rgba(255, 248, 231, 0.66)),
    rgba(255, 255, 255, 0.5);
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] {
  min-height: 142px;
}

body[data-account-hub-page="account"] .overview-card strong {
  font-size: 16px;
}

body[data-account-hub-page="account"] .overview-card small {
  font-size: 12.5px;
}

body[data-account-hub-page="account"] .overview-notice-badge {
  width: 120px;
  min-width: 120px;
  max-width: 120px;
  height: 34px;
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, #d49a2b 0%, #a86a08 100%);
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] {
  grid-template-columns: 86px minmax(0, 1fr);
  gap: 12px;
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-media {
  align-self: center;
  width: 86px;
  height: 118px;
  min-height: 0;
  aspect-ratio: auto;
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-head {
  min-height: 118px;
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-body {
  min-height: 118px;
}

body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-notice-badge {
  width: 112px;
  min-width: 112px;
  max-width: 112px;
}

body[data-account-hub-page="account"] .orders-panel:not([open]),
body[data-account-hub-page="account"] #addresses-panel:not([open]),
body[data-account-hub-page="account"] .favorite-gallery-page:not([open]) {
  min-height: 184px;
}

body[data-account-hub-page="account"] .overview-note {
  margin-top: -4px;
  color: #5f6471;
}

body[data-account-hub-page="account"] .orders-summary::after,
body[data-account-hub-page="account"] .address-summary::after,
body[data-account-hub-page="account"] .favorite-gallery-summary::after,
body[data-account-hub-page="account"] .spotlight-summary::after,
body[data-account-hub-page="account"] .support-summary::after,
body[data-account-hub-page="account"] .newsletter-summary::after,
body[data-account-hub-page="account"] .profile-summary::after {
  min-height: 38px;
  min-width: 150px;
  border: 2px solid rgba(216, 164, 71, 0.58);
  background: rgba(255, 253, 247, 0.76);
  box-shadow: 0 8px 18px rgba(157, 100, 15, 0.08);
  line-height: 1;
}

body[data-account-hub-page="account"] .spotlight-summary,
body[data-account-hub-page="account"] .support-summary,
body[data-account-hub-page="account"] .newsletter-summary,
body[data-account-hub-page="account"] .profile-summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 8px;
  align-items: start;
  cursor: pointer;
}

body[data-account-hub-page="account"] .spotlight-summary::after,
body[data-account-hub-page="account"] .support-summary::after,
body[data-account-hub-page="account"] .newsletter-summary::after,
body[data-account-hub-page="account"] .profile-summary::after {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  justify-self: start;
  margin-top: 2px;
  padding: 0 13px;
  color: var(--gold-dark);
  font-size: 12px;
  font-weight: 950;
  white-space: nowrap;
}

body[data-account-hub-page="account"] .spotlight-summary::after {
  content: "Open spotlight";
}

body[data-account-hub-page="account"] .support-summary::after {
  content: "Open support";
}

body[data-account-hub-page="account"] .newsletter-summary::after {
  content: "Open newsletter";
}

body[data-account-hub-page="account"] .profile-summary::after {
  content: "Open profile";
}

body[data-account-hub-page="account"] .design-week-fold[open] .spotlight-summary::after {
  content: "Close spotlight";
}

body[data-account-hub-page="account"] .support-fold[open] .support-summary::after {
  content: "Close support";
}

body[data-account-hub-page="account"] .newsletter-fold[open] .newsletter-summary::after {
  content: "Close newsletter";
}

body[data-account-hub-page="account"] .profile-fold[open] .profile-summary::after {
  content: "Close profile";
}

body[data-account-hub-page="account"] .spotlight-foldout,
body[data-account-hub-page="account"] .support-foldout,
body[data-account-hub-page="account"] .newsletter-foldout,
body[data-account-hub-page="account"] .profile-foldout {
  display: grid;
  gap: 14px;
  margin-top: 16px;
}

body[data-account-hub-page="account"] .account-collapsible-panel:not([open]) > .spotlight-foldout,
body[data-account-hub-page="account"] .account-collapsible-panel:not([open]) > .support-foldout,
body[data-account-hub-page="account"] .account-collapsible-panel:not([open]) > .newsletter-foldout,
body[data-account-hub-page="account"] .account-collapsible-panel:not([open]) > .profile-foldout {
  display: none;
}

body[data-account-hub-page="account"] .newsletter-foldout > .compact-button {
  justify-self: start;
}

body[data-account-hub-page="account"] .account-feature-fold:not([open]) {
  min-height: 150px;
}

body[data-account-hub-page="account"] .panel-title-row h3,
body[data-account-hub-page="account"] .favorite-gallery-heading h3 {
  font-size: clamp(25px, 2.3vw, 34px);
}

body[data-account-hub-page="account"] .account-two-up {
  gap: 20px;
}

body[data-account-hub-page="account"] #studio-panel,
body[data-account-hub-page="account"] #profile-panel,
body[data-account-hub-page="account"] #support-panel,
body[data-account-hub-page="account"] #design-week-panel {
  border-color: rgba(216, 164, 71, 0.24);
}

@media (max-width: 1100px) {
  body[data-account-hub-page="account"] .account-layout,
  body[data-account-hub-page="account"] .account-grid,
  body[data-account-hub-page="account"] .account-two-up {
    grid-template-columns: 1fr;
  }

  body[data-account-hub-page="account"] .account-panel,
  body[data-account-hub-page="account"] .account-rail,
  body[data-account-hub-page="account"] .account-main {
    max-width: 100%;
    min-width: 0;
  }

  body[data-account-hub-page="account"] .account-hero-card,
  body[data-account-hub-page="account"] .overview-action,
  body[data-account-hub-page="account"] .overview-order-preview {
    grid-template-columns: 1fr;
  }

  body[data-account-hub-page="account"] .account-hero-visual {
    display: none;
  }

  body[data-account-hub-page="account"] .overview-action-image,
  body[data-account-hub-page="account"] .overview-action-icon {
    width: 58px;
    height: 58px;
  }

  body[data-account-hub-page="account"] .overview-action .compact-button {
    width: 100%;
  }
}

@media (max-width: 680px) {
  body[data-account-hub-page="account"] .account-hero-card {
    min-height: 0;
    padding: 18px;
  }

  body[data-account-hub-page="account"] .account-hero-welcome {
    font-size: clamp(28px, 8vw, 36px);
  }

  body[data-account-hub-page="account"] .account-rail {
    min-height: 0;
  }

  body[data-account-hub-page="account"] .overview-card {
    min-height: 126px;
  }

  body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] {
    grid-template-columns: 78px minmax(0, 1fr);
    min-height: 152px;
  }

  body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-media {
    width: 78px;
    height: 108px;
  }

  body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-head,
  body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-card-body {
    min-height: 108px;
  }

  body[data-account-hub-page="account"] .overview-notice-badge,
  body[data-account-hub-page="account"] .overview-card[data-overview-has-media="true"] .overview-notice-badge {
    width: 108px;
    min-width: 108px;
    max-width: 108px;
  }
}
