:root {
  --ess-commerce-bg: #f8f4ed;
  --ess-commerce-ink: #1a1209;
  --ess-commerce-muted: rgba(26,18,9,.58);
  --ess-commerce-gold: #c4a46b;
  --ess-commerce-line: rgba(26,18,9,.1);
}

.account-support-section {
  width: min(100%, 1080px);
  margin: 2rem auto 0;
}

.account-support-card {
  background: #fff;
  border: 1px solid rgba(26, 18, 9, 0.1);
  border-radius: 8px;
  padding: clamp(1.25rem, 3vw, 2rem);
  box-shadow: 0 18px 45px rgba(26, 18, 9, 0.06);
}

.account-support-head {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
}

.account-support-head h2,
.account-support-card h2 {
  margin: 0.25rem 0 0;
  font-size: clamp(1.45rem, 4vw, 2.2rem);
  line-height: 1;
  letter-spacing: 0;
}

.account-support-head span,
.account-support-empty {
  display: block;
  margin-top: 0.55rem;
  color: rgba(26, 18, 9, 0.62);
  line-height: 1.5;
}

.account-support-form {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1rem;
}

.account-support-form label {
  display: grid;
  gap: 0.45rem;
  font-size: 0.78rem;
  font-weight: 800;
  color: #1a1209;
}

.account-support-form label.is-wide {
  grid-column: 1 / -1;
}

.account-support-form select,
.account-support-form textarea {
  width: 100%;
  border: 1px solid rgba(26, 18, 9, 0.13);
  border-radius: 8px;
  background: #fbfaf7;
  color: #1a1209;
  font: inherit;
  padding: 0.8rem 0.9rem;
}

.account-support-form textarea {
  resize: vertical;
}

.account-support-threads {
  display: grid;
  gap: 0.8rem;
  margin-top: 1rem;
}

.account-support-thread {
  border: 1px solid rgba(26, 18, 9, 0.1);
  border-radius: 8px;
  background: #fbfaf7;
  padding: 1rem;
}

.account-support-thread strong {
  display: block;
  color: #1a1209;
}

.account-support-thread span {
  display: block;
  margin-top: 0.2rem;
  color: rgba(26, 18, 9, 0.55);
  font-size: 0.82rem;
}

.account-support-messages {
  display: grid;
  gap: 0.55rem;
  margin-top: 0.9rem;
}

.account-support-messages p {
  margin: 0;
  border: 1px solid rgba(26, 18, 9, 0.08);
  border-radius: 8px;
  background: #fff;
  padding: 0.75rem;
  color: #3c342b;
  line-height: 1.45;
}

.account-support-messages p.is-admin {
  background: #111;
  color: #fff;
  border-color: #111;
}

.account-support-messages p.is-admin span {
  color: rgba(255, 255, 255, 0.6);
}

@media (max-width: 680px) {
  .account-support-form {
    grid-template-columns: 1fr;
  }
}

.commerce-page {
  background: var(--ess-commerce-bg);
  color: var(--ess-commerce-ink);
  min-height: 100vh;
}

.commerce-shell {
  max-width: 1320px;
  margin: 0 auto;
  padding: clamp(2.5rem, 5vw, 5rem) var(--pad);
}

.commerce-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 2rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--ess-commerce-line);
  padding-bottom: 1.5rem;
}

.commerce-eyebrow {
  color: var(--ess-commerce-gold);
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .28em;
  text-transform: uppercase;
  margin-bottom: .55rem;
}

.commerce-title {
  font-family: var(--font-h);
  font-size: clamp(2.8rem, 5vw, 4.8rem);
  font-weight: 400;
  line-height: .98;
  margin: 0;
}

.commerce-sub {
  color: var(--ess-commerce-muted);
  max-width: 48ch;
  line-height: 1.6;
}

.commerce-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.commerce-card {
  position: relative;
  min-height: 430px;
  border-radius: 10px;
  overflow: hidden;
  background: #100d09;
  color: #fff;
}

.commerce-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.8)),
    radial-gradient(circle at 50% 28%, rgba(196,164,107,.28), rgba(18,13,8,.42) 62%, rgba(0,0,0,.72));
  transition: transform .4s ease;
}

.commerce-card:hover::before { transform: scale(1.035); }

.commerce-card__body {
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  padding: 1.1rem;
}

.commerce-badge {
  position: absolute;
  z-index: 2;
  top: 1rem;
  left: 1rem;
  padding: .34rem .7rem;
  border-radius: 999px;
  border: 1px solid rgba(196,164,107,.45);
  color: #e3c47d;
  font-size: .55rem;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.commerce-card h3 {
  font-family: var(--font-h);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 .25rem;
}

.commerce-card p {
  color: rgba(255,255,255,.7);
  font-size: .78rem;
  margin: 0 0 .8rem;
}

.catalog-head {
  margin-bottom: 1.25rem;
}

.catalog-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: end;
  gap: .7rem 1rem;
  margin-bottom: .75rem;
  padding: 1rem;
  border: 1px solid var(--ess-commerce-line);
  border-radius: 12px;
  background: rgba(255,255,255,.66);
  box-shadow: 0 14px 35px rgba(45,28,10,.05);
}

.catalog-search label {
  grid-column: 1 / -1;
  color: rgba(26,18,9,.58);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .18em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-search__control {
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: .75rem;
  border: 1px solid rgba(26,18,9,.12);
  border-radius: 8px;
  background: #fff;
  padding: .42rem .5rem .42rem 1rem;
}

.catalog-search__control:focus-within {
  border-color: rgba(196,164,107,.82);
  box-shadow: 0 0 0 3px rgba(196,164,107,.15);
}

.catalog-search__control svg {
  width: 19px;
  height: 19px;
  flex: 0 0 auto;
  color: rgba(26,18,9,.45);
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
}

.catalog-search__control input {
  width: 100%;
  min-width: 0;
  border: 0;
  outline: 0;
  background: transparent;
  color: var(--ess-commerce-ink);
  font: inherit;
  font-size: 1rem;
  letter-spacing: 0;
}

.catalog-search__control input::placeholder {
  color: rgba(26,18,9,.42);
}

.catalog-search__results {
  min-width: 88px;
  align-self: center;
  color: rgba(26,18,9,.56);
  font-size: .82rem;
  font-weight: 750;
  margin: 0;
  text-align: right;
}

.rd-bulk-offer-card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1rem;
  padding: 1.15rem;
  border: 1px solid rgba(196,164,107,.34);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(16,13,9,.98), rgba(43,32,18,.94)),
    #100d09;
  color: #fff;
  box-shadow: 0 18px 42px rgba(45,28,10,.14);
}

.rd-bulk-offer-card__copy {
  min-width: 0;
}

.rd-bulk-offer-card__copy span {
  display: inline-flex;
  margin-bottom: .45rem;
  color: #e3c47d;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.rd-bulk-offer-card__copy h2 {
  margin: 0;
  color: #fff;
  font-family: var(--font-h);
  font-size: clamp(1.45rem, 3vw, 2.1rem);
  font-weight: 400;
  line-height: 1.04;
}

.rd-bulk-offer-card__copy p {
  max-width: 46rem;
  margin: .48rem 0 0;
  color: rgba(255,255,255,.72);
  font-size: .9rem;
  line-height: 1.5;
}

.rd-bulk-offer-card__tiers {
  display: grid;
  grid-template-columns: repeat(3, minmax(110px, 1fr));
  gap: .55rem;
  min-width: min(420px, 100%);
}

.rd-bulk-offer-card__tiers strong {
  display: grid;
  gap: .28rem;
  min-height: 76px;
  align-content: center;
  padding: .75rem .85rem;
  border: 1px solid rgba(227,196,125,.35);
  border-radius: 8px;
  background: rgba(255,255,255,.06);
  color: rgba(255,255,255,.82);
  font-size: .74rem;
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1.2;
  text-align: center;
  text-transform: uppercase;
}

.rd-bulk-offer-card__tiers em {
  color: #f2d38d;
  font-size: 1.28rem;
  font-style: normal;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin-bottom: 1.5rem;
}

.catalog-pill {
  display: inline-flex;
  align-items: center;
  gap: .35em;
  padding: .42rem 1rem;
  border: 1px solid rgba(196,164,107,.35);
  border-radius: 999px;
  background: rgba(255,255,255,.55);
  color: rgba(26,18,9,.7);
  font: inherit;
  font-size: .78rem;
  font-weight: 700;
  letter-spacing: .04em;
  cursor: pointer;
  transition: border-color .15s, background .15s, color .15s, box-shadow .15s;
  white-space: nowrap;
}

.catalog-pill:hover {
  border-color: rgba(196,164,107,.7);
  background: rgba(196,164,107,.1);
  color: rgba(26,18,9,.95);
}

.catalog-pill--active {
  border-color: rgba(196,164,107,.9);
  background: rgba(196,164,107,.18);
  color: #1a1209;
  box-shadow: 0 2px 8px rgba(196,164,107,.2);
}

.catalog-card {
  min-height: 0;
  border: 1px solid rgba(26,18,9,.1);
  background: #100d09;
  color: var(--ess-commerce-ink);
  box-shadow: 0 20px 44px rgba(45,28,10,.09);
}

.catalog-card::before {
  display: none;
}

.catalog-card__link {
  position: relative;
  z-index: 1;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.catalog-card__image {
  aspect-ratio: 1122 / 1402;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
}

.catalog-card__image img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform .36s ease;
}

.catalog-card__image[data-product-handle="aura-58"] img {
  transform: scale(.61);
}

.catalog-card:hover .catalog-card__image img {
  transform: translateY(-4px) scale(1.02);
}

.catalog-card:hover .catalog-card__image[data-product-handle="aura-58"] img {
  transform: translateY(-4px) scale(.62);
}

.catalog-card__body {
  position: relative;
  inset: auto;
  display: grid;
  gap: .2rem;
  margin-top: auto;
  min-height: 144px;
  background: #100d09;
}

.catalog-card__body h3 {
  color: #fff;
}

.catalog-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
  padding-top: .15rem;
}

.catalog-card__footer strong {
  color: #fff;
  font-size: 1rem;
  letter-spacing: 0;
}

.ess-dual-price {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .18rem;
  line-height: 1;
  white-space: nowrap;
}

.ess-dual-price__rd {
  color: #1a1209;
  font-size: 1.04em;
  font-weight: 900;
  letter-spacing: .08em;
}

.ess-dual-price__usd {
  color: rgba(26,18,9,.48);
  font-size: .66em;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .11em;
  text-transform: uppercase;
}

.ess-dual-price--light .ess-dual-price__rd {
  color: #fff;
}

.ess-dual-price--light .ess-dual-price__usd {
  color: rgba(245,239,232,.68);
}

.ess-dual-price--compact {
  gap: .2rem;
  min-width: 96px;
  min-height: 48px;
  padding: .5rem .8rem;
}

.catalog-card__footer .ess-dual-price {
  border-color: rgba(196,164,107,.58);
  background: rgba(196,164,107,.08);
  box-shadow: inset 0 0 0 1px rgba(10,8,5,.35);
  color: #fff;
  font-size: .72rem;
  letter-spacing: 0;
  text-transform: none;
}

.catalog-card__footer .ess-dual-price__rd {
  color: #fff;
  font-size: 1em;
  letter-spacing: .1em;
}

.catalog-card__footer .ess-dual-price__usd {
  color: rgba(245,239,232,.7);
}

.catalog-card__footer span {
  min-height: 28px;
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(196,164,107,.42);
  border-radius: 999px;
  color: #e3c47d;
  padding: .28rem .68rem;
  font-size: .56rem;
  font-weight: 900;
  letter-spacing: .14em;
  line-height: 1;
  text-transform: uppercase;
}

.catalog-empty {
  margin-top: 1rem;
  text-align: center;
}

.catalog-empty[hidden] {
  display: none;
}

.catalog-empty h2 {
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: 500;
  line-height: 1;
}

.catalog-empty p {
  margin: .55rem 0 0;
  color: var(--ess-commerce-muted);
}

.commerce-actions {
  display: flex;
  gap: .55rem;
  flex-wrap: wrap;
}

.commerce-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 38px;
  padding: .72rem 1rem;
  border-radius: 999px;
  border: 1px solid rgba(26,18,9,.18);
  background: #fff;
  color: var(--ess-commerce-ink);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  cursor: pointer;
}

.commerce-btn--dark {
  background: #0a0a0a;
  border-color: #0a0a0a;
  color: #fff;
}

.commerce-btn--gold {
  background: var(--ess-commerce-gold);
  border-color: var(--ess-commerce-gold);
  color: #0a0a0a;
}

.commerce-btn--presale-locked {
  background: rgba(196,164,107,.13);
  border-color: rgba(196,164,107,.35);
  color: rgba(26,18,9,.45);
  cursor: default;
  gap: 5px;
}
.commerce-btn--presale-locked:hover { opacity: 1; }

.presale-price-lock {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  color: rgba(26,18,9,.45);
}

.presale-opens-note {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: .7rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(26,18,9,.38);
  margin-bottom: .25rem;
}

.commerce-panel {
  background: rgba(255,255,255,.72);
  border: 1px solid var(--ess-commerce-line);
  border-radius: 12px;
  padding: 1.5rem;
  box-shadow: 0 16px 40px rgba(45,28,10,.06);
}

.cart-layout,
.account-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 1rem;
  align-items: start;
}

.cart-item,
.order-card {
  display: grid;
  grid-template-columns: 86px minmax(0, 1fr) auto;
  gap: 1rem;
  align-items: center;
  padding: 1rem 0;
  border-bottom: 1px solid var(--ess-commerce-line);
}

.cart-item:last-child,
.order-card:last-child { border-bottom: 0; }

.cart-item img {
  width: 86px;
  height: 104px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item h3,
.order-card h3 {
  font-family: var(--font-h);
  font-size: 1.35rem;
  font-weight: 500;
  margin: 0 0 .2rem;
}

.cart-item p,
.order-card p {
  color: var(--ess-commerce-muted);
  font-size: .82rem;
  margin: 0;
}

.qty-controls {
  display: flex;
  align-items: center;
  gap: .55rem;
  margin-top: .65rem;
  flex-wrap: wrap;
}

.qty-controls button {
  border: 1px solid var(--ess-commerce-line);
  background: #fff;
  cursor: pointer;
  transition: all .2s ease;
}

.qty-controls button:nth-child(1),
.qty-controls button:nth-child(3) {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  font-weight: 800;
  font-size: .9rem;
}

.qty-controls button:nth-child(1):hover,
.qty-controls button:nth-child(3):hover {
  background: var(--ess-commerce-gold);
  border-color: var(--ess-commerce-gold);
  color: #0a0a0a;
}

.qty-controls button[data-cart-remove] {
  padding: .3rem .65rem;
  border-radius: 4px;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
  color: #d63d3d;
  border-color: #d63d3d;
}

.qty-controls button[data-cart-remove]:hover {
  background: #d63d3d;
  color: #fff;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  padding: .65rem 0;
  border-bottom: 1px solid var(--ess-commerce-line);
  color: var(--ess-commerce-muted);
}

.summary-row strong { color: var(--ess-commerce-ink); }

.commerce-form {
  display: grid;
  gap: .8rem;
}

.commerce-form label {
  display: grid;
  gap: .35rem;
  color: var(--ess-commerce-muted);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.commerce-form label[hidden] {
  display: none !important;
}

.commerce-form input,
.commerce-form select {
  min-height: 44px;
  border-radius: 8px;
  border: 1px solid var(--ess-commerce-line);
  padding: .75rem .85rem;
  font: inherit;
  color: var(--ess-commerce-ink);
  background: #fff;
}

.commerce-empty {
  text-align: center;
  color: var(--ess-commerce-muted);
  padding: 3rem 1rem;
}

.auth-tabs {
  display: flex;
  gap: .5rem;
  margin-bottom: 1rem;
}

.auth-tabs button.is-active {
  background: #0a0a0a;
  color: #fff;
}

.password-requirements {
  border: 1px solid rgba(26,18,9,.1);
  border-radius: 8px;
  background: rgba(255,255,255,.68);
  padding: .9rem;
}

.password-requirements[hidden] {
  display: none !important;
}

.password-requirements p {
  margin: 0 0 .65rem;
  color: var(--ess-commerce-ink);
  font-size: .72rem;
  font-weight: 850;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.password-requirements ul {
  display: grid;
  gap: .48rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

.password-requirements li {
  display: flex;
  align-items: center;
  gap: .55rem;
  color: rgba(26,18,9,.58);
  font-size: .82rem;
  font-weight: 650;
  letter-spacing: 0;
  text-transform: none;
}

.password-requirements li span {
  width: 18px;
  height: 18px;
  border: 1px solid rgba(26,18,9,.22);
  border-radius: 50%;
  display: inline-grid;
  place-items: center;
  color: #fff;
  font-size: .68rem;
  font-weight: 900;
  flex: 0 0 auto;
}

.password-requirements li.is-valid {
  color: var(--ess-commerce-ink);
}

.password-requirements li.is-valid span {
  background: #111;
  border-color: #111;
}

.account-stat-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-bottom: 1rem;
}

.account-stat {
  border: 1px solid var(--ess-commerce-line);
  border-radius: 10px;
  padding: 1rem;
  background: rgba(255,255,255,.56);
}

.account-stat strong {
  display: block;
  font-family: var(--font-h);
  font-size: 1.8rem;
  font-weight: 500;
}

.account-welcome-shell {
  max-width: 1280px;
  padding-top: clamp(1.25rem, 3vw, 2.6rem);
}

.account-welcome-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(390px, .9fr);
  overflow: hidden;
  min-height: 520px;
  border: 1px solid rgba(196,164,107,.26);
  border-radius: 28px;
  background:
    radial-gradient(circle at 0% 0%, rgba(255,255,255,.95), rgba(255,247,235,.72) 46%, rgba(242,219,182,.5)),
    #f8f0e4;
  box-shadow: 0 28px 70px rgba(92,58,18,.14);
}

.account-welcome-hero__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2.2rem, 6vw, 5rem);
}

.account-profile-badge {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  width: fit-content;
  min-height: 38px;
  margin-bottom: 1.35rem;
  padding: .48rem .9rem;
  border: 1px solid rgba(196,164,107,.68);
  border-radius: 8px;
  color: #a8742f;
  background: rgba(255,255,255,.52);
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.5);
  font-size: .68rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.account-profile-badge img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.account-welcome-hero__content h1 {
  max-width: 10ch;
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(4rem, 8vw, 6.9rem);
  font-weight: 400;
  line-height: .88;
  color: #0a0a0a;
}

.account-welcome-rule {
  width: 56px;
  height: 2px;
  margin-top: 1.4rem;
  background: var(--ess-commerce-gold);
}

.account-welcome-hero__content p {
  max-width: 50ch;
  margin: 1.25rem 0 0;
  color: rgba(26,18,9,.68);
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.7;
}

.account-welcome-actions {
  display: flex;
  gap: .7rem;
  flex-wrap: wrap;
  margin-top: 2.2rem;
}

.account-welcome-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  min-height: 52px;
  padding: .9rem 1.6rem;
  border-radius: 999px;
  text-decoration: none;
  font-weight: 900;
  color: #111;
  box-shadow: 0 14px 26px rgba(70,42,10,.14);
}

.account-welcome-btn--gold {
  background: linear-gradient(135deg, #e3ad4d, #f7cd82);
}

.account-welcome-btn--dark {
  background: #050505;
  color: #fff;
  box-shadow: 0 14px 26px rgba(0,0,0,.18);
}

.account-welcome-meta {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  margin-top: 2.1rem;
  color: rgba(26,18,9,.62);
  font-size: .82rem;
  font-weight: 800;
}

.account-welcome-meta span {
  display: inline-flex;
  gap: .45rem;
  align-items: center;
}

.account-welcome-visual {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background:
    linear-gradient(180deg, rgba(0,0,0,.04), rgba(0,0,0,.08)),
    #12100d;
}

.account-welcome-visual img {
  width: 100%;
  height: 100%;
  min-height: 520px;
  display: block;
  object-fit: cover;
  object-position: center;
}

.account-featured-scent {
  position: absolute;
  right: clamp(1rem, 3vw, 2.3rem);
  bottom: clamp(1rem, 3vw, 2.2rem);
  width: min(280px, calc(100% - 2rem));
  padding: 1.45rem 1.55rem;
  border: 1px solid rgba(196,164,107,.3);
  border-radius: 12px;
  background: rgba(10,10,10,.88);
  color: #fff;
  box-shadow: 0 24px 40px rgba(0,0,0,.34);
  backdrop-filter: blur(12px);
}

.account-featured-scent span {
  display: block;
  padding-bottom: .9rem;
  border-bottom: 1px solid rgba(196,164,107,.18);
  color: var(--ess-commerce-gold);
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.account-featured-scent strong {
  display: block;
  margin-top: .9rem;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 500;
}

.account-featured-scent p {
  margin: .6rem 0 0;
  color: rgba(255,255,255,.75);
  font-size: .82rem;
  font-weight: 700;
}

.account-quiz-panel {
  display: grid;
  grid-template-columns: minmax(260px, .9fr) 1px minmax(0, 1.6fr);
  gap: clamp(1.6rem, 3vw, 2rem);
  align-items: stretch;
  margin-top: 1.5rem;
  padding: clamp(1.6rem, 4vw, 2.6rem);
  border: 1px solid rgba(196,164,107,.4);
  border-radius: 26px;
  background:
    radial-gradient(circle at 78% 0%, rgba(196,164,107,.16), transparent 34%),
    #070707;
  color: #fff;
  box-shadow: 0 26px 60px rgba(0,0,0,.16);
}

.account-quiz-intro {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.account-quiz-mark {
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  margin-bottom: .9rem;
  border: 1px solid rgba(196,164,107,.26);
  border-radius: 50%;
  color: var(--ess-commerce-gold);
  font-family: var(--font-h);
}

.account-quiz-intro > p {
  margin: 0 0 .85rem;
  color: var(--ess-commerce-gold);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .26em;
  text-transform: uppercase;
}

.account-quiz-intro h2 {
  max-width: 12ch;
  margin: 0;
  font-family: var(--font-h);
  font-size: clamp(2.55rem, 4vw, 4.1rem);
  font-weight: 400;
  line-height: .9;
}

.account-quiz-intro > span {
  display: block;
  max-width: 42ch;
  margin-top: 1rem;
  color: rgba(255,255,255,.68);
  line-height: 1.6;
}

.account-quiz-intro a {
  display: inline-flex;
  align-items: center;
  gap: 1.35rem;
  min-height: 50px;
  margin-top: 1.35rem;
  padding: .85rem 1.65rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #e3ad4d, #f7cd82);
  color: #0a0a0a;
  text-decoration: none;
  font-weight: 900;
}

.account-quiz-divider {
  width: 1px;
  min-height: 100%;
  background: rgba(196,164,107,.18);
}

.account-quiz-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .72rem;
}

.account-quiz-cards article {
  position: relative;
  overflow: hidden;
  display: flex;
  min-height: 132px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-end;
  padding: 1.05rem 1.1rem;
  border: 1px solid rgba(196,164,107,.22);
  border-radius: 12px;
  background:
    linear-gradient(90deg, rgba(0,0,0,.76), rgba(0,0,0,.36) 56%, rgba(0,0,0,.68)),
    var(--step-image) center / cover no-repeat,
    #111;
  text-align: left;
  box-shadow: inset 0 -70px 90px rgba(0,0,0,.45);
  transition: transform .2s ease, border-color .2s ease;
}

.account-quiz-cards article:hover {
  border-color: rgba(196,164,107,.52);
  transform: translateY(-1px);
}

.account-quiz-cards article > span {
  display: block;
  margin-bottom: .38rem;
  color: var(--ess-commerce-gold);
  font-size: .58rem;
  font-weight: 900;
  letter-spacing: .24em;
  text-transform: uppercase;
}

.account-quiz-cards strong {
  max-width: 14ch;
  color: #fff;
  font-size: 1.05rem;
  line-height: 1.1;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.account-quiz-cards p {
  margin: .3rem 0 0;
  color: rgba(255,255,255,.68);
  font-size: .74rem;
  line-height: 1.35;
}

.toast {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 999;
  background: #0a0a0a;
  color: #fff;
  border: 1px solid rgba(196,164,107,.4);
  border-radius: 999px;
  padding: .85rem 1.15rem;
  font-size: .82rem;
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}

.toast.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Premium add-to-cart feedback lives on the pressed button. Success no longer
   creates a detached bottom-corner toast, so the action and confirmation stay
   in the same visual location on both the US and Dominican storefronts. */
.cart-feedback-button {
  position: relative !important;
  isolation: isolate;
  min-width: var(--ess-cart-feedback-width, auto);
  overflow: hidden !important;
  transform-origin: center;
  transition: color .22s ease, background .28s ease, border-color .28s ease, box-shadow .28s ease, transform .22s ease, opacity .22s ease !important;
}

.cart-feedback-button:disabled {
  cursor: default !important;
  opacity: 1 !important;
}

.cart-feedback-button.is-cart-adding {
  color: #2b1b09 !important;
  border-color: #c9a45f !important;
  background: linear-gradient(135deg, #ead09c, #c8a25b) !important;
  box-shadow: 0 8px 24px rgba(134, 91, 25, .18), inset 0 1px 0 rgba(255, 255, 255, .42) !important;
  transform: scale(.985);
}

.cart-feedback-button.is-cart-added {
  color: #f8fff9 !important;
  border-color: #2e7455 !important;
  background: linear-gradient(135deg, #163f32, #2d7958 55%, #1f5f47) !important;
  box-shadow: 0 12px 32px rgba(25, 92, 64, .28), 0 0 0 4px rgba(54, 140, 100, .12), inset 0 1px 0 rgba(255, 255, 255, .24) !important;
  transform: translateY(-1px) scale(1.018);
  animation: essCartSuccessPulse .58s cubic-bezier(.2,.8,.2,1) both;
}

.cart-feedback-button.is-cart-resetting {
  opacity: .88;
  transform: scale(.99);
}

.ess-cart-feedback {
  position: relative;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .48rem;
  min-width: 0;
  white-space: nowrap;
}

.ess-cart-feedback__spinner {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
  border: 2px solid rgba(43, 27, 9, .25);
  border-top-color: currentColor;
  border-radius: 50%;
  animation: essCartSpinner .62s linear infinite;
}

.ess-cart-feedback__check {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.6;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-dasharray: 22;
  stroke-dashoffset: 22;
  animation: essCartCheckDraw .42s .05s cubic-bezier(.2,.8,.2,1) forwards;
}

.ess-cart-feedback__shine {
  position: absolute;
  z-index: 1;
  top: -90%;
  bottom: -90%;
  left: -35%;
  width: 24%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,.52), transparent);
  transform: rotate(18deg) translateX(-180%);
  animation: essCartShine .72s .08s ease-out forwards;
  pointer-events: none;
}

.ess-cart-feedback__spark {
  position: absolute;
  z-index: 3;
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d8f3df;
  box-shadow: 0 0 8px rgba(216,243,223,.85);
  pointer-events: none;
  animation: essCartSpark .62s ease-out forwards;
}

.ess-cart-feedback__spark--one { top: 24%; left: 13%; --spark-x: -7px; --spark-y: -7px; }
.ess-cart-feedback__spark--two { top: 20%; right: 16%; --spark-x: 7px; --spark-y: -8px; animation-delay: .05s; }
.ess-cart-feedback__spark--three { right: 10%; bottom: 19%; --spark-x: 8px; --spark-y: 7px; animation-delay: .1s; }

[data-cart-count].is-cart-count-bumped {
  animation: essCartCountBump .52s cubic-bezier(.2,.9,.25,1.3) both;
}

@keyframes essCartSpinner { to { transform: rotate(360deg); } }
@keyframes essCartCheckDraw { to { stroke-dashoffset: 0; } }
@keyframes essCartSuccessPulse {
  0% { transform: scale(.985); }
  46% { transform: translateY(-1px) scale(1.028); }
  100% { transform: translateY(-1px) scale(1.018); }
}
@keyframes essCartShine { to { transform: rotate(18deg) translateX(700%); } }
@keyframes essCartSpark {
  0% { opacity: 0; transform: translate(0,0) scale(.3); }
  32% { opacity: 1; }
  100% { opacity: 0; transform: translate(var(--spark-x), var(--spark-y)) scale(1.5); }
}
@keyframes essCartCountBump {
  0%, 100% { transform: scale(1); }
  48% { transform: scale(1.35); box-shadow: 0 0 0 7px rgba(196,164,107,.16); }
}

@media (prefers-reduced-motion: reduce) {
  .cart-feedback-button,
  .cart-feedback-button.is-cart-added,
  .ess-cart-feedback__spinner,
  .ess-cart-feedback__check,
  .ess-cart-feedback__shine,
  .ess-cart-feedback__spark,
  [data-cart-count].is-cart-count-bumped {
    animation-duration: .01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .01ms !important;
  }
}

/* Stripe Card Element Styling */
#card-element {
  min-height: 54px;
  border-radius: 8px;
  border: 1.5px solid var(--ess-commerce-line);
  padding: 12px 14px;
  background: #fff;
  font-family: inherit;
  font-size: 16px;
  color: var(--ess-commerce-ink);
  transition: all .3s ease;
  box-shadow: 0 2px 8px rgba(45,28,10,.04);
  margin-top: .35rem;
  margin-bottom: .8rem;
}

#card-element:hover {
  border-color: var(--ess-commerce-gold);
  box-shadow: 0 4px 12px rgba(196,164,107,.12);
}

#card-element.StripeElement--focus {
  border-color: var(--ess-commerce-gold);
  box-shadow: 0 4px 16px rgba(196,164,107,.15);
  outline: none;
}

#card-errors {
  min-height: 24px;
  color: #d63d3d;
  font-size: .75rem;
  font-weight: 600;
  margin-bottom: 10px;
}

#card-errors:empty {
  margin-bottom: 0;
}

/* Premium checkout styling */
.commerce-panel h2 {
  font-family: var(--font-h);
  font-size: 1.6rem;
  font-weight: 500;
  margin: 0 0 1.2rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--ess-commerce-line);
}

/* Premium product detail */
.product-ticker {
  background: #111;
  border-bottom: 1px solid rgba(255,255,255,.07);
}

.product-shell {
  max-width: 1240px;
  padding-top: clamp(1.8rem, 4vw, 4rem);
}

.product-detail {
  display: grid;
  grid-template-columns: minmax(280px, .92fr) minmax(320px, .78fr);
  gap: clamp(1.25rem, 3vw, 2.5rem);
  align-items: stretch;
}

.product-media,
.product-info,
.product-story,
.product-related-card {
  background: rgba(255,255,255,.86);
  border: 1px solid rgba(26,18,9,.1);
  border-radius: 8px;
  box-shadow: 0 18px 50px rgba(45,28,10,.07);
}

.product-media {
  min-height: clamp(440px, 50vw, 620px);
  display: grid;
  place-items: center;
  padding: clamp(1.2rem, 3vw, 2.4rem);
}

.product-media__frame {
  width: min(100%, 520px);
  aspect-ratio: 4 / 5;
  border-radius: 8px;
  overflow: hidden;
  background: #0b0907;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,.08);
}

.product-media__frame img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transform: scale(.92);
}

.product-media__frame[data-product-handle="aura-58"] img {
  transform: scale(.72);
}

.product-info {
  padding: clamp(1.5rem, 3vw, 2.5rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.product-info h1 {
  font-family: var(--font-h);
  font-size: clamp(3.3rem, 6vw, 6.2rem);
  font-weight: 400;
  line-height: .88;
  margin: 0 0 1rem;
  letter-spacing: 0;
}

.product-lede {
  color: rgba(26,18,9,.66);
  font-size: clamp(1rem, 1.2vw, 1.12rem);
  line-height: 1.75;
  max-width: 42ch;
  margin: 0 0 1.4rem;
}

.product-price-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem 0;
  border-top: 1px solid rgba(26,18,9,.1);
  border-bottom: 1px solid rgba(26,18,9,.1);
}

.product-price-row strong { font-size: 1.35rem; }

.product-price-row span {
  color: rgba(26,18,9,.58);
  font-size: .82rem;
  font-weight: 750;
}

.product-notes {
  display: flex;
  flex-wrap: wrap;
  gap: .55rem;
  margin: 1.3rem 0;
}

.product-notes span {
  border: 1px solid rgba(26,18,9,.14);
  border-radius: 999px;
  padding: .48rem .75rem;
  background: #fff;
  color: rgba(26,18,9,.68);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.product-cta {
  width: 100%;
  min-height: 48px;
}

.product-meta {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: .75rem;
  margin-top: 1.3rem;
}

.product-meta div {
  border: 1px solid rgba(26,18,9,.09);
  border-radius: 8px;
  padding: .85rem;
  background: rgba(248,244,237,.56);
}

.product-meta span {
  display: block;
  color: rgba(26,18,9,.45);
  font-size: .65rem;
  font-weight: 850;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: .35rem;
}

.product-meta strong { font-size: .82rem; }

.product-story {
  margin-top: 1rem;
  padding: clamp(1.5rem, 3vw, 2.3rem);
  display: grid;
  grid-template-columns: minmax(240px, .7fr) minmax(280px, 1fr);
  gap: 1.2rem;
  align-items: center;
}

.product-story h2,
.product-section-head h2 {
  font-family: var(--font-h);
  font-size: clamp(2.1rem, 4vw, 3.5rem);
  font-weight: 400;
  line-height: .95;
  margin: 0;
}

.product-story p:last-child {
  color: rgba(26,18,9,.62);
  line-height: 1.75;
  margin: 0;
}

/* ── Quiz Banner ───────────────────────────────────────── */
.product-quiz-banner {
  margin-top: 1rem;
  background: #0e0c09 !important;
  border: 1px solid rgba(255,255,255,.07) !important;
  border-radius: 10px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 1rem;
  padding: 1rem;
  min-height: 480px;
}

.product-quiz-banner__images {
  display: flex;
  flex-direction: column;
  gap: .7rem;
  position: relative;
}


.pqb-img {
  flex: 1;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
  border: 1px solid rgba(255,255,255,.1);
  transition: transform .4s ease;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  will-change: transform;
  box-shadow: 0 2px 12px rgba(0,0,0,.5);
}

.pqb-img:hover {
  transform: scale(1.02);
}

.pqb-img__body {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: .7rem .85rem .75rem;
  background: linear-gradient(to top, rgba(0,0,0,.72) 0%, transparent 100%);
  display: flex;
  flex-direction: column;
  gap: .1rem;
  border-radius: 0 0 7px 7px;
}

.pqb-img__icon {
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  font-size: 0;
  color: #c9a96e;
  margin-bottom: .15rem;
}
.pqb-img__icon::before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  background: currentColor;
  -webkit-mask: var(--pqb-icon) center / contain no-repeat;
  mask: var(--pqb-icon) center / contain no-repeat;
}
.pqb-img--citrus  { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Ccircle cx='12' cy='12' r='10' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 2v20M2 12h20M5 5l14 14M19 5 5 19' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pqb-img--aqua    { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 14c2.5 0 2.5-4 5-4s2.5 4 5 4 2.5-4 5-4 2.5 4 5 4M2 19c2.5 0 2.5-4 5-4s2.5 4 5 4 2.5-4 5-4 2.5 4 5 4' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pqb-img--spiced  { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M20 4c-8 0-14 5-14 12 0 2.5 1.7 4 4 4 7 0 10-8 10-16Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3Cpath d='M4 20c3-5 7-8 12-10' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3C/svg%3E"); }
.pqb-img--vanilla { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2v20M2 12h20M5.5 5.5l13 13M18.5 5.5l-13 13' fill='none' stroke='black' stroke-width='1.7' stroke-linecap='round'/%3E%3Ccircle cx='12' cy='12' r='3.2' fill='none' stroke='black' stroke-width='1.7'/%3E%3C/svg%3E"); }
.pqb-img--amber   { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 22 12 12 22 2 12 12 2Z' fill='none' stroke='black' stroke-width='1.7'/%3E%3Cpath d='M12 2 8 12l4 10 4-10-4-10ZM2 12h20' fill='none' stroke='black' stroke-width='1.3'/%3E%3C/svg%3E"); }
.pqb-img--tonka   { --pqb-icon: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 2 21 7v10l-9 5-9-5V7l9-5Z' fill='none' stroke='black' stroke-width='1.7' stroke-linejoin='round'/%3E%3C/svg%3E"); }

.pqb-img__name {
  font-family: var(--font-b);
  font-size: .72rem;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: #f5ede0;
  line-height: 1;
}

.pqb-img__tags {
  font-size: .6rem;
  color: rgba(245,237,224,.55);
  letter-spacing: .04em;
}

/* center card — looks like the reference screenshot */
.product-quiz-banner__inner {
  width: clamp(230px, 26vw, 310px);
  background: radial-gradient(ellipse at 50% 0%, rgba(180,140,70,.18) 0%, transparent 65%), #131009;
  border: 1px solid rgba(201,169,110,.2);
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 2.2rem 1.6rem 1.8rem;
  gap: .9rem;
}

.pqb-logo {
  width: 42px;
  height: 42px;
  object-fit: contain;
  filter: brightness(0) invert(1);
  opacity: .85;
}

.pqb-eyebrow {
  font-family: var(--font-b);
  font-size: .6rem;
  letter-spacing: .2em;
  text-transform: uppercase;
  color: var(--gold);
  margin: 0;
}

.pqb-heading {
  font-family: var(--font-h);
  font-size: clamp(1.7rem, 2.4vw, 2.4rem);
  font-weight: 400;
  line-height: 1.05;
  color: #f5ede0;
  margin: 0;
}

.pqb-heading em {
  font-style: italic;
  color: #c9a96e;
}

.pqb-sub {
  font-size: .78rem;
  line-height: 1.75;
  color: rgba(245,237,224,.48);
  margin: 0;
}

.pqb-cta {
  width: 100%;
  padding: .9rem 1.2rem;
  font-size: .73rem;
  letter-spacing: .13em;
  margin-top: .1rem;
}

.pqb-stats {
  display: flex;
  align-items: center;
  gap: .8rem;
  border-top: 1px solid rgba(255,255,255,.09);
  padding-top: .9rem;
  width: 100%;
  justify-content: center;
}

.pqb-stats > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .25rem;
  font-size: .58rem;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(245,237,224,.4);
  line-height: 1.4;
}

.pqb-stat-icon {
  font-size: .85rem;
  color: var(--gold);
  line-height: 1;
}

.pqb-stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(255,255,255,.1);
  flex-shrink: 0;
}

.product-related {
  margin-top: clamp(2rem, 5vw, 4rem);
}

.product-section-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.product-related-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.product-related-card {
  overflow: hidden;
}

.product-related-card__image {
  display: block;
  aspect-ratio: 5 / 3.4;
  background: #0b0907;
  overflow: hidden;
}

.product-related-card__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(.9);
}

.product-related-card > div {
  padding: 1rem;
}

.product-related-card h3 {
  font-family: var(--font-h);
  font-size: 1.7rem;
  font-weight: 400;
  margin: 0 0 .35rem;
}

.product-related-card p {
  color: rgba(26,18,9,.58);
  font-size: .82rem;
  line-height: 1.5;
  min-height: 2.4em;
  margin: 0 0 1rem;
}

.product-related-card__footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: .75rem;
}

/* Membership banner */
.membership-banner {
  padding: 1rem;
  background: linear-gradient(135deg, rgba(196,164,107,.08), rgba(196,164,107,.04));
  border: 1px solid rgba(196,164,107,.3);
  border-radius: 8px;
  margin-bottom: 1rem;
}

.membership-banner p {
  margin: 0 0 .5rem;
  color: var(--ess-commerce-ink);
  font-size: .82rem;
}

.membership-banner p:last-child {
  margin-bottom: 0;
}

.membership-link {
  color: var(--ess-commerce-gold);
  font-weight: 600;
  text-decoration: none;
  font-size: .75rem;
}

.membership-link:hover {
  text-decoration: underline;
}

.checkout-step {
  margin-bottom: 1.25rem;
}

.step-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.step-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(196,164,107,.12);
  color: var(--ess-commerce-ink);
  font-weight: 700;
}

.step-title {
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: .02em;
}

.step-back {
  border: none;
  background: none;
  color: var(--ess-commerce-muted);
  cursor: pointer;
  font-size: .9rem;
  text-decoration: underline;
  padding: 0;
}

.checkout-contact,
.checkout-address-grid {
  background: #fff;
  border: 1px solid var(--ess-commerce-line);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1rem;
}

.checkout-contact__title {
  display: block;
  font-size: .82rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--ess-commerce-muted);
  margin-bottom: .85rem;
}

.checkout-contact__info {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--ess-commerce-line);
  margin-bottom: .85rem;
}

.checkout-contact__info strong {
  display: block;
  font-size: 1rem;
  color: var(--ess-commerce-ink);
}

.checkout-contact__info p {
  margin: .25rem 0 0;
  color: var(--ess-commerce-muted);
  font-size: .85rem;
}

.checkout-contact__optin {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: .6rem;
  align-items: center;
  font-size: .82rem;
  color: var(--ess-commerce-muted);
  margin-top: .5rem;
}

.checkout-address-grid .row-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .9rem;
  margin-bottom: .9rem;
}

.checkout-address-grid .row-grid--wide {
  grid-template-columns: minmax(0, 1fr) 200px 130px;
}

.checkout-address-grid label {
  margin-bottom: 0;
}

.checkout-address-grid label input,
.checkout-address-grid label select {
  min-height: 44px;
}

.address-autocomplete {
  position: relative;
}

.autocomplete-wrapper {
  position: relative;
}

.autocomplete-wrapper input {
  width: 100%;
}

.address-suggestions {
  position: absolute;
  left: 0;
  right: 0;
  top: calc(100% + 6px);
  z-index: 10;
  background: #fff;
  border: 1px solid var(--ess-commerce-line);
  border-radius: 10px;
  box-shadow: 0 14px 40px rgba(45,28,10,.08);
  display: none;
  max-height: 240px;
  overflow: auto;
}

.address-suggestion-item {
  width: 100%;
  padding: .9rem 1rem;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  color: var(--ess-commerce-ink);
}

.address-suggestion-item:hover {
  background: rgba(196,164,107,.08);
}

.address-suggestion-item strong {
  display: block;
  margin-bottom: .25rem;
}

.address-suggestion-item span {
  display: block;
  color: var(--ess-commerce-muted);
  font-size: .85rem;
}

/* Checkout Steps */
.checkout-step {
  margin-bottom: 2rem;
}

.step-header {
  display: flex;
  align-items: center;
  gap: .8rem;
  margin-bottom: 1rem;
  padding-bottom: .8rem;
  border-bottom: 1px solid var(--ess-commerce-line);
}

.step-number {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--ess-commerce-gold);
  color: #0a0a0a;
  font-weight: 700;
  font-size: .9rem;
}

.step-title {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--ess-commerce-ink);
}

.step-back {
  margin-left: auto;
  background: none;
  border: none;
  color: var(--ess-commerce-muted);
  cursor: pointer;
  font-size: .9rem;
  transition: color .2s ease;
}

.step-back:hover {
  color: var(--ess-commerce-ink);
}

.step-content {
  display: grid;
  gap: .8rem;
}

/* Shipping Options */
.shipping-options {
  display: grid;
  gap: .8rem;
}

.shipping-option {
  display: flex;
  align-items: center;
  gap: .8rem;
  padding: 1rem;
  border: 1px solid var(--ess-commerce-line);
  border-radius: 8px;
  cursor: pointer;
  transition: all .2s ease;
}

.shipping-option:hover {
  border-color: var(--ess-commerce-gold);
  background: rgba(196,164,107,.04);
}

.shipping-option input[type="radio"] {
  margin: 0;
  width: 18px;
  height: 18px;
}

.shipping-details {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
}

.shipping-details strong {
  color: var(--ess-commerce-gold);
  font-size: 1.1rem;
}

.shipping-details p {
  margin: 0;
  color: var(--ess-commerce-muted);
  font-size: .82rem;
}

.shipping-option--loading {
  opacity: .5;
  cursor: not-allowed;
  pointer-events: none;
}

.shipping-option--loading .express-price-pending {
  font-style: italic;
  color: var(--ess-commerce-muted);
  font-size: .85rem;
}

.shipping-loading {
  color: var(--ess-commerce-muted);
  font-size: .88rem;
  padding: 1.25rem 0;
  text-align: center;
}

.shipping-error {
  padding: 1rem;
  background: #fff5f5;
  border: 1px solid #fed7d7;
  border-radius: 6px;
  font-size: .88rem;
  color: #c53030;
}

.shipping-error p { margin: 0 0 .5rem; }

/* Order Summary */
.order-summary {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 2px solid var(--ess-commerce-line);
}

.summary-total {
  border-top: 1px solid var(--ess-commerce-line);
  padding-top: .8rem;
  margin-top: .8rem;
}

.summary-total strong {
  font-size: 1.2rem;
  color: var(--ess-commerce-gold);
}

@media (max-width: 980px) {
  .commerce-grid { grid-template-columns: repeat(2, 1fr); }
  .cart-layout,
  .account-layout { grid-template-columns: 1fr; }
  .account-welcome-hero,
  .account-quiz-panel,
  .account-quiz-cards { grid-template-columns: 1fr; }
  .account-welcome-hero { min-height: auto; }
  .account-welcome-visual,
  .account-welcome-visual img { min-height: 440px; }
  .account-quiz-divider { display: none; }
}

@media (max-width: 560px) {
  .commerce-head { display: block; }
  .commerce-grid { grid-template-columns: 1fr; }
  .catalog-search {
    align-items: stretch;
  }
  .catalog-search__control {
    min-height: 54px;
    padding-left: .85rem;
  }
  .catalog-search__control .commerce-btn {
    min-height: 42px;
    padding-inline: .82rem;
  }
  .rd-bulk-offer-card {
    grid-template-columns: 1fr;
    padding: 1rem;
  }
  .rd-bulk-offer-card__tiers {
    grid-template-columns: 1fr;
    min-width: 0;
  }
  .rd-bulk-offer-card__tiers strong {
    min-height: 58px;
  }
  .catalog-filter-pills {
    gap: .35rem;
  }
  .catalog-pill {
    font-size: .73rem;
    padding: .38rem .85rem;
  }
  .catalog-card {
    min-height: 0;
  }
  .cart-item,
  .order-card { grid-template-columns: 72px 1fr; }
  .cart-item > strong { grid-column: 2; }
  .account-stat-grid { grid-template-columns: 1fr; }
  .account-welcome-hero__content {
    padding: 2rem 1.2rem;
  }
  .account-welcome-hero__content h1 { font-size: clamp(3.1rem, 18vw, 4.7rem); }
  .account-welcome-btn { width: 100%; }
  .account-welcome-meta { align-items: flex-start; flex-direction: column; gap: .65rem; }
  .account-featured-scent { position: static; width: auto; margin: -7rem 1rem 1rem; }
  .account-quiz-panel { border-radius: 20px; padding: 1.2rem; }
  .account-quiz-cards article { min-height: 180px; }
}

@media (max-width: 900px) {
  .product-detail,
  .product-story,
  .product-related-grid {
    grid-template-columns: 1fr;
  }

  .product-media {
    min-height: auto;
  }

  .product-media__frame {
    width: min(100%, 420px);
  }

  .product-quiz-banner {
    grid-template-columns: 1fr;
    min-height: 0;
    gap: .75rem;
    padding: .75rem;
  }

  .product-quiz-banner__images {
    flex-direction: row;
    gap: .55rem;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scroll-snap-type: x proximity;
    -webkit-overflow-scrolling: touch;
    padding-bottom: .05rem;
  }

  .product-quiz-banner__images::-webkit-scrollbar {
    display: none;
  }

  .product-quiz-banner__images--left {
    order: 1;
  }

  .product-quiz-banner__inner {
    order: 2;
    width: 100%;
    min-height: 360px;
    padding: 2rem 1.35rem 1.35rem;
  }

  .product-quiz-banner__images--right {
    order: 3;
  }

  .pqb-img {
    flex: 0 0 calc((100% - 1.1rem) / 3);
    min-height: 124px;
    scroll-snap-align: start;
  }

  .pqb-img__body {
    padding: .55rem .58rem .6rem;
  }

  .pqb-img__icon {
    width: 17px;
    height: 17px;
    flex-basis: 17px;
  }

  .pqb-img__name {
    font-size: .56rem;
    letter-spacing: .07em;
  }

  .pqb-img__tags {
    font-size: .5rem;
    line-height: 1.25;
  }
}

@media (max-width: 560px) {
  .product-info h1 {
    font-size: clamp(3rem, 18vw, 4.2rem);
  }

  .product-meta {
    grid-template-columns: 1fr;
  }

  .product-section-head {
    display: block;
  }

  .product-quiz-banner {
    margin-top: .75rem;
    border-radius: 9px;
  }

  .product-quiz-banner__inner {
    min-height: 344px;
    padding: 1.85rem 1.25rem 1.25rem;
    gap: .78rem;
  }

  .pqb-logo {
    width: 34px;
    height: 34px;
  }

  .pqb-heading {
    font-size: clamp(1.8rem, 8vw, 2.25rem);
  }

  .pqb-sub {
    max-width: 24ch;
  }

  .pqb-stats {
    gap: .5rem;
  }

  .pqb-stats > div {
    font-size: .52rem;
    letter-spacing: .06em;
  }
}

@media (max-width: 390px) {
  .pqb-img {
    min-height: 112px;
  }

  .pqb-img__tags {
    display: none;
  }
}

/* ── Shopify-style Checkout Layout ── */
.ess-checkout-page {
  min-height: 100vh;
  background: #fff;
  display: flex;
  flex-direction: column;
}

/* Checkout is a focused transaction surface. The storefront footer and the
   former cart ad created a second, mostly empty screen below the active step. */
body.ess-checkout-active > .site-footer {
  display: none !important;
}

.ess-checkout-page .checkout-step {
  margin-bottom: 0;
  scroll-margin-top: 12px;
}

.ess-co-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: .75rem;
  padding: 1.25rem 2rem;
  border-bottom: 1px solid var(--ess-commerce-line);
}

.ess-co-logo {
  font-family: var(--font-h);
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--ess-commerce-ink);
  text-decoration: none;
  letter-spacing: .02em;
}

.ess-co-nav {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .8rem;
}

.ess-co-nav__item {
  color: var(--ess-commerce-muted);
}

.ess-co-nav__item.is-active {
  color: var(--ess-commerce-ink);
  font-weight: 600;
}

.ess-co-nav__item.is-done {
  color: var(--ess-commerce-gold);
}

.ess-co-nav__sep {
  color: var(--ess-commerce-muted);
}

.ess-co-body {
  display: grid;
  grid-template-columns: minmax(0, 610px) minmax(340px, 380px);
  justify-content: center;
  flex: 1;
  min-height: 0;
}

.ess-co-main {
  padding: 2.5rem clamp(1.25rem, 3vw, 2.25rem);
  max-width: none;
  width: 100%;
  margin: 0;
}

.ess-co-aside {
  background: #fafafa;
  border-left: 1px solid var(--ess-commerce-line);
  padding: 2.5rem clamp(1.1rem, 2.5vw, 1.8rem);
}

.ess-co-aside-head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26,18,9,.08);
}

.ess-co-aside-head span {
  display: block;
  color: rgba(26,18,9,.52);
  font-size: .66rem;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
  margin-bottom: .25rem;
}

.ess-co-aside-head strong {
  display: block;
  color: var(--ess-commerce-ink);
  font-size: 1.05rem;
}

.ess-co-aside-head a {
  color: var(--ess-commerce-ink);
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 1px solid rgba(26,18,9,.28);
  padding-bottom: .15rem;
}

.ess-co-membership {
  font-size: .8rem;
  color: var(--ess-commerce-gold);
  background: rgba(196,164,107,.08);
  border: 1px solid rgba(196,164,107,.25);
  border-radius: 6px;
  padding: .5rem .85rem;
  margin-bottom: 1.25rem;
}

.ess-co-form { margin: 0; }

.ess-co-section {
  border: 1px solid var(--ess-commerce-line);
  border-radius: 8px;
  padding: 1.25rem 1.25rem .75rem;
  margin-bottom: 1rem;
}

.ess-co-section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: .75rem;
}

.ess-co-section-title {
  font-size: .88rem;
  font-weight: 700;
  color: var(--ess-commerce-ink);
  margin: 0 0 .75rem;
  letter-spacing: .01em;
}

.ess-co-section-header .ess-co-section-title { margin: 0; }

.ess-co-signout {
  background: none;
  border: none;
  color: #2b6cb0;
  font-size: .8rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.ess-co-contact-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: .88rem;
  padding: .5rem 0 .25rem;
  border-bottom: 1px solid var(--ess-commerce-line);
  margin-bottom: .5rem;
}

.ess-co-label {
  display: flex;
  flex-direction: column;
  font-size: .75rem;
  font-weight: 600;
  color: var(--ess-commerce-muted);
  letter-spacing: .04em;
  text-transform: uppercase;
  gap: .3rem;
  width: 100%;
}

.ess-co-input {
  width: 100%;
  padding: .65rem .75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: .9rem;
  color: var(--ess-commerce-ink);
  background: #fff;
  outline: none;
  transition: border-color .15s;
  box-sizing: border-box;
}

.ess-co-input:focus { border-color: var(--ess-commerce-ink); }

.ess-co-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  margin-bottom: .6rem;
}

.ess-co-row--city {
  grid-template-columns: 1fr .8fr .7fr;
}

.ess-co-label.address-autocomplete { margin-bottom: .6rem; }

.ess-co-label + .ess-co-label,
.ess-co-label:not(:last-child) { margin-bottom: .6rem; }

.ess-co-checkbox {
  display: flex;
  align-items: center;
  gap: .5rem;
  font-size: .82rem;
  color: var(--ess-commerce-muted);
  cursor: pointer;
  margin-top: .5rem;
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
}

.ess-co-checkbox--legal {
  align-items: flex-start;
  color: rgba(26, 18, 9, .68);
  font-size: .76rem;
  line-height: 1.55;
}

.ess-co-checkbox--legal input {
  flex: 0 0 auto;
  height: 17px;
  margin: .12rem 0 0;
  width: 17px;
}

.ess-co-checkbox--legal a,
.ess-co-recurring-disclosure a {
  color: #8f5728;
  font-weight: 700;
  text-decoration: underline;
  text-underline-offset: .12em;
}

.ess-co-recurring-disclosure {
  background: rgba(196, 164, 107, .12);
  border: 1px solid rgba(153, 112, 51, .32);
  border-radius: 10px;
  color: rgba(26, 18, 9, .72);
  display: grid;
  font-size: .79rem;
  gap: .35rem;
  line-height: 1.55;
  margin-bottom: 1rem;
  padding: .9rem 1rem;
}

.ess-co-recurring-disclosure strong { color: #1a1209; }

.ess-co-legal-acceptance {
  background: #fff;
  border: 1px solid rgba(26, 18, 9, .14);
  border-radius: 10px;
  margin: 0 0 1rem;
  padding: .85rem .9rem;
}

/* ── Payment method selector ── */
.ess-express-checkout {
  margin-bottom: 20px;
}
#ess-express-checkout-element {
  min-height: 48px;
}
.ess-express-checkout__status {
  min-height: 18px;
  margin-top: 8px;
  color: rgba(26,18,9,.55);
  font-size: 12px;
  line-height: 1.4;
}
.ess-express-checkout.is-ready .ess-express-checkout__status {
  display: none;
}
.ess-express-checkout.is-unavailable #ess-express-checkout-element {
  display: none;
  min-height: 0;
}
.ess-express-checkout__divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0 4px;
  color: rgba(26,18,9,.45);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.ess-express-checkout.is-loading .ess-express-checkout__divider,
.ess-express-checkout.is-unavailable .ess-express-checkout__divider {
  display: none;
}
.ess-express-checkout__divider::before,
.ess-express-checkout__divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: rgba(26,18,9,.12);
}
.ess-pay-methods { display: flex; flex-direction: column; gap: 10px; margin-bottom: 20px; }
.ess-pay-method {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 16px; border-radius: 12px;
  border: 1.5px solid rgba(26,18,9,.14);
  background: #fdfcfa; cursor: pointer;
  text-align: left; width: 100%;
  transition: border-color .15s, background .15s;
}
.ess-pay-method.is-active {
  border-color: #c4a46b;
  background: rgba(196,164,107,.06);
}
.ess-pay-method__radio {
  width: 18px; height: 18px; border-radius: 50%;
  border: 2px solid rgba(26,18,9,.25); flex-shrink: 0;
  position: relative; transition: border-color .15s;
}
.ess-pay-method.is-active .ess-pay-method__radio {
  border-color: #c4a46b;
}
.ess-pay-method.is-active .ess-pay-method__radio::after {
  content: ''; position: absolute; inset: 3px;
  border-radius: 50%; background: #c4a46b;
}
.ess-pay-method__body { flex: 1; }
.ess-pay-method__body strong { display: block; font-size: 14px; font-weight: 700; color: #1a1209; }
.ess-pay-method__body span { font-size: 12px; color: rgba(26,18,9,.45); }
.ess-pay-method__icon { width: 42px; flex-shrink: 0; }

.ess-co-promo-section { padding-top: 1.25rem; }
.ess-co-promo-row {
  display: flex;
  gap: .5rem;
}
.ess-co-promo-input {
  flex: 1;
  font-size: .85rem;
  letter-spacing: .06em;
  text-transform: uppercase;
}
.ess-co-promo-btn {
  flex-shrink: 0;
  height: 42px;
  padding: 0 1.1rem;
  background: transparent;
  border: 1.5px solid rgba(26,18,9,.22);
  border-radius: 6px;
  font-size: .78rem;
  font-weight: 800;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: #1a1209;
  cursor: pointer;
  transition: background .15s, border-color .15s;
}
.ess-co-promo-btn:hover { background: rgba(26,18,9,.05); border-color: rgba(26,18,9,.4); }
.ess-co-promo-btn:disabled { opacity: .5; cursor: wait; }
.ess-co-promo-feedback {
  font-size: .78rem;
  margin-top: .4rem;
  min-height: 1.1em;
  line-height: 1.4;
}

.ess-co-footer {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  margin: 1.25rem 0 .5rem;
}

.ess-co-btn {
  background: #1a1209;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: .8rem 1.6rem;
  font-size: .9rem;
  font-weight: 600;
  cursor: pointer;
  transition: opacity .15s;
}

.ess-co-btn:hover { opacity: .85; }
.ess-co-btn:disabled { opacity: .4; cursor: not-allowed; }

.ess-co-btn--pay {
  min-width: 132px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .55rem;
}

.ess-co-btn--pay.is-loading {
  opacity: 1;
  cursor: wait;
}

.ess-co-btn__spinner {
  display: none;
  width: 15px;
  height: 15px;
  border: 2px solid rgba(255,255,255,.34);
  border-top-color: #fff;
  border-radius: 999px;
  animation: essCheckoutSpin .75s linear infinite;
}

.ess-co-btn--pay.is-loading .ess-co-btn__spinner {
  display: inline-block;
}

.ess-co-form.is-checkout-processing .ess-co-back {
  opacity: .4;
  cursor: not-allowed;
}

.ess-co-processing {
  min-height: 20px;
  color: rgba(26,18,9,.58);
  font-size: .78rem;
  font-weight: 700;
}

@keyframes essCheckoutSpin {
  to { transform: rotate(360deg); }
}

.ess-co-back {
  background: none;
  border: none;
  color: #2b6cb0;
  font-size: .85rem;
  cursor: pointer;
  padding: 0;
  text-decoration: underline;
}

.ess-co-page-footer {
  margin-top: 2rem;
  font-size: .78rem;
  color: var(--ess-commerce-muted);
}

.ess-co-page-footer a {
  color: #2b6cb0;
  text-decoration: none;
}

/* Aside — order summary */
.ess-co-items {
  border-bottom: 1px solid var(--ess-commerce-line);
  padding-bottom: 1rem;
  margin-bottom: 1rem;
}

.ess-co-item {
  display: grid;
  grid-template-columns: 68px minmax(0, 1fr) auto;
  align-items: start;
  gap: 1rem;
  padding: .85rem 0;
}

.ess-co-item__img-wrap {
  position: relative;
  flex-shrink: 0;
}

.ess-co-item__img-wrap img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  border-radius: 8px;
  border: 1px solid var(--ess-commerce-line);
  background: #fff;
}

.ess-co-item__qty {
  position: absolute;
  top: -7px;
  right: -7px;
  background: #6b7280;
  color: #fff;
  font-size: .65rem;
  font-weight: 700;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ess-co-item__info {
  min-width: 0;
}

.ess-co-item__info p {
  margin: 0;
  font-size: .88rem;
  font-weight: 750;
  color: var(--ess-commerce-ink);
}

.ess-co-item__info > span {
  display: block;
  margin-top: .18rem;
  color: rgba(26,18,9,.48);
  font-size: .72rem;
  line-height: 1.35;
}

.ess-co-item__price {
  font-size: .9rem;
  font-weight: 600;
  white-space: nowrap;
}

.ess-co-item__edit {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin-top: .7rem;
  flex-wrap: wrap;
}

.ess-co-qty-edit {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  border: 1px solid rgba(26,18,9,.14);
  border-radius: 999px;
  background: #fff;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(26,18,9,.04);
}

.ess-co-qty-edit button,
.ess-co-remove {
  border: 0;
  background: transparent;
  color: var(--ess-commerce-ink);
  cursor: pointer;
  font: inherit;
}

.ess-co-qty-edit button {
  width: 30px;
  height: 30px;
  font-size: .9rem;
  font-weight: 850;
  line-height: 1;
}

.ess-co-qty-edit button:hover {
  background: rgba(196,164,107,.14);
}

.ess-co-qty-edit span {
  min-width: 26px;
  text-align: center;
  color: var(--ess-commerce-ink);
  font-size: .76rem;
  font-weight: 850;
}

.ess-co-remove {
  min-height: 30px;
  padding: 0 .72rem;
  border: 1px solid rgba(26,18,9,.14);
  border-radius: 999px;
  background: rgba(255,255,255,.72);
  color: rgba(26,18,9,.62);
  font-size: .66rem;
  font-weight: 850;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.ess-co-remove:hover {
  border-color: rgba(164,36,36,.34);
  background: rgba(164,36,36,.06);
  color: #8f2020;
}

.ess-co-totals__row {
  display: flex;
  justify-content: space-between;
  font-size: .88rem;
  color: var(--ess-commerce-muted);
  padding: .3rem 0;
}

.ess-co-grand {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-top: .75rem;
  padding-top: .75rem;
  border-top: 1px solid var(--ess-commerce-line);
  font-size: .95rem;
  color: var(--ess-commerce-ink);
}

.ess-co-grand strong { font-size: 1.15rem; }

.ess-co-grand__currency {
  font-size: .75rem;
  color: var(--ess-commerce-muted);
  font-weight: 400;
}

@media (max-width: 860px) {
  .ess-co-body { grid-template-columns: 1fr; }
  .ess-co-aside {
    border-left: none;
    border-top: 1px solid var(--ess-commerce-line);
    order: -1;
    padding: 1.25rem;
  }
  .ess-co-main {
    max-width: 100%;
    padding: 1.25rem;
  }
}

@media (min-width: 861px) {
  .ess-co-header {
    gap: .4rem;
    padding: .75rem 2rem;
  }

  .ess-co-main,
  .ess-co-aside {
    padding: 1.35rem clamp(1rem, 2vw, 1.5rem);
  }

  .ess-co-section {
    margin-bottom: .7rem;
    padding: .9rem 1rem .55rem;
  }

  .ess-co-section-header,
  .ess-co-section-title {
    margin-bottom: .5rem;
  }

  .ess-co-row {
    gap: .45rem;
    margin-bottom: .45rem;
  }

  .ess-co-label.address-autocomplete,
  .ess-co-label + .ess-co-label,
  .ess-co-label:not(:last-child) {
    margin-bottom: .45rem;
  }

  .ess-co-input {
    padding: .58rem .7rem;
  }

  .ess-co-checkbox {
    margin-top: .35rem;
  }

  .ess-co-footer {
    margin: .75rem 0 .2rem;
  }

  .ess-co-page-footer {
    display: none;
  }

  .ess-co-aside-head,
  .ess-co-items {
    margin-bottom: .7rem;
    padding-bottom: .7rem;
  }

  .ess-co-item {
    padding: .55rem 0;
  }

  .ess-express-checkout,
  .ess-pay-methods {
    margin-bottom: 12px;
  }

  .ess-pay-methods {
    gap: 8px;
  }

  .ess-pay-method {
    padding: 10px 12px;
  }

  .ess-co-promo-section {
    padding-top: .9rem;
  }

  .ess-co-legal-acceptance {
    margin-bottom: .7rem;
    padding: .65rem .75rem;
  }
}

@media (max-width: 520px) {
  .ess-co-row,
  .ess-co-row--city { grid-template-columns: 1fr; }
}

/* ── Scent Match Banner (profile page) ──────────────────────────────────── */
.account-scent-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  padding: 2rem 2.5rem;
  margin-bottom: 2rem;
  background: linear-gradient(135deg, #1a1209 0%, #2c1d0e 100%);
  border: none;
  color: #f5efe8;
}

.account-scent-banner__left { flex: 1; min-width: 0; }

.account-scent-banner .commerce-eyebrow {
  color: var(--ess-commerce-gold);
  margin-bottom: .5rem;
}

.account-scent-banner__name {
  margin: 0 0 .5rem;
  font-size: clamp(1.4rem, 3vw, 2rem);
  color: #f5efe8;
}

.account-scent-banner__match {
  display: inline-block;
  background: var(--ess-commerce-gold);
  color: #1a1209;
  font-weight: 800;
  font-size: .8rem;
  letter-spacing: .08em;
  padding: .2rem .6rem;
  border-radius: 999px;
  margin-bottom: .75rem;
}

.account-scent-banner__notes {
  display: flex;
  flex-wrap: wrap;
  gap: .4rem;
  margin-bottom: .6rem;
}

.account-scent-note {
  font-size: .78rem;
  color: rgba(245,239,232,.65);
  border: 1px solid rgba(245,239,232,.2);
  border-radius: 999px;
  padding: .15rem .55rem;
}

.account-scent-banner__tags {
  display: flex;
  flex-wrap: wrap;
  gap: .35rem;
}

.account-scent-tag {
  font-size: .72rem;
  color: rgba(245,239,232,.45);
  text-transform: capitalize;
}

.account-scent-tag + .account-scent-tag::before {
  content: '·';
  margin-right: .35rem;
}

.account-scent-banner__actions {
  display: flex;
  flex-direction: column;
  gap: .75rem;
  flex-shrink: 0;
}

.account-scent-banner__actions .commerce-btn {
  text-align: center;
  white-space: nowrap;
}

@media (max-width: 680px) {
  .account-scent-banner {
    flex-direction: column;
    align-items: flex-start;
  }
  .account-scent-banner__actions {
    flex-direction: row;
    width: 100%;
  }
  .account-scent-banner__actions .commerce-btn { flex: 1; }
}

/* ── Post-Quiz Sales Profile ───────────────────────────────────────────── */

.profile-sales-shell {
  max-width: 1280px;
}

.profile-sales-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, .78fr);
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: stretch;
  min-height: 540px;
  margin-bottom: 1.2rem;
  border: 1px solid rgba(26,18,9,.08);
  border-radius: 8px;
  background:
    radial-gradient(circle at 18% 20%, rgba(196,164,107,.18), transparent 28rem),
    linear-gradient(135deg, #fbfaf7, #f2ebe2);
  overflow: hidden;
}

.profile-sales-hero__copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(2rem, 5vw, 4rem);
}

.profile-sales-hero__copy h1 {
  max-width: 10ch;
  margin: .4rem 0 .9rem;
  font-family: var(--font-h);
  font-size: clamp(4rem, 8vw, 7.5rem);
  font-weight: 400;
  line-height: .84;
  color: #17100a;
}

.profile-sales-hero__sub {
  max-width: 46ch;
  margin: 0 0 1.35rem;
  color: rgba(26,18,9,.58);
  font-size: 1rem;
  line-height: 1.7;
}

.profile-sales-score {
  display: inline-flex;
  align-items: center;
  gap: .75rem;
  width: fit-content;
  margin-bottom: 1.35rem;
  padding: .65rem .9rem;
  border: 1px solid rgba(196,164,107,.42);
  border-radius: 999px;
  background: rgba(255,255,255,.62);
}

.profile-sales-score strong {
  color: #a96b2f;
  font-size: 1.2rem;
  font-weight: 900;
}

.profile-sales-score span {
  color: rgba(26,18,9,.62);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.profile-sales-actions,
.profile-sales-side-actions {
  display: flex;
  gap: .75rem;
  flex-wrap: wrap;
}

.profile-sales-hero__visual {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 460px;
  background:
    radial-gradient(circle at 50% 18%, rgba(196,164,107,.34), transparent 19rem),
    #111;
}

.profile-sales-hero__visual img {
  width: min(78%, 420px);
  max-height: 480px;
  object-fit: contain;
  filter: drop-shadow(0 28px 34px rgba(0,0,0,.38));
}

.profile-sales-card {
  position: absolute;
  left: 1.2rem;
  right: 1.2rem;
  bottom: 1.2rem;
  padding: 1rem 1.1rem;
  border: 1px solid rgba(196,164,107,.34);
  border-radius: 8px;
  background: rgba(12,10,8,.86);
  color: #f5efe8;
  backdrop-filter: blur(12px);
}

.profile-sales-card span {
  display: block;
  margin-bottom: .4rem;
  color: var(--ess-commerce-gold);
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-sales-card strong {
  display: block;
  font-family: var(--font-h);
  font-size: 2rem;
  font-weight: 500;
}

.profile-sales-card p {
  margin: .35rem 0 0;
  color: rgba(245,239,232,.68);
  font-size: .84rem;
}

.profile-sales-profile {
  display: grid;
  grid-template-columns: 1fr;
  gap: 1rem;
  margin-bottom: 1.2rem;
}

.profile-sales-profile__panel {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, .72fr);
  gap: 1.2rem;
  align-items: stretch;
  min-height: 150px;
  padding: 1.6rem;
  border: 1px solid rgba(26,18,9,.08);
  border-radius: 8px;
  background: #fff;
}

.profile-sales-profile__copy {
  min-width: 0;
}

.profile-sales-profile__panel h2 {
  max-width: 18ch;
  margin: .3rem 0 1rem;
  font-family: var(--font-h);
  font-size: clamp(2rem, 4vw, 3.1rem);
  font-weight: 400;
  line-height: .96;
}

.profile-sales-profile .account-scent-banner__tags,
.profile-sales-profile .account-scent-banner__notes {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
}

.profile-sales-profile .account-scent-tag,
.profile-sales-profile .account-scent-note {
  border: 1px solid rgba(170,112,58,.22);
  border-radius: 999px;
  padding: .38rem .72rem;
  background: #fbf7f1;
  color: rgba(26,18,9,.68);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: .04em;
  text-transform: capitalize;
}

.profile-scent-strips {
  display: grid;
  gap: .55rem;
  align-content: center;
}

.profile-scent-strip {
  position: relative;
  display: grid;
  min-height: 58px;
  overflow: hidden;
  border: 1px solid rgba(170,112,58,.16);
  background: #111;
}

.profile-scent-strip span {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,.48), rgba(0,0,0,.26)), var(--note-image) center / cover no-repeat, #111;
  transform: scale(1.04);
}

.profile-scent-strip em {
  position: relative;
  z-index: 1;
  display: grid;
  place-items: center;
  min-height: 58px;
  padding: .55rem 1rem;
  color: #fff;
  font-size: .72rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: .14em;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 1px 12px rgba(0,0,0,.5);
}

.profile-match-section {
  padding: clamp(1.4rem, 4vw, 2.2rem);
  border: 1px solid rgba(26,18,9,.08);
  border-radius: 8px;
  background: #f8f4ee;
}

.profile-match-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.3rem;
}

.profile-match-section__head h2 {
  max-width: 17ch;
  margin: .3rem 0 0;
  color: #a9682b;
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 900;
  letter-spacing: .02em;
  line-height: .95;
  text-transform: uppercase;
}

.profile-match-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.profile-match-card {
  display: flex;
  min-height: 600px;
  flex-direction: column;
  background: #fff;
  border: 1px solid rgba(170,112,58,.14);
}

.profile-match-card--extra {
  display: none;
}

.profile-match-section.is-expanded .profile-match-card--extra {
  display: flex;
}

.profile-match-more {
  display: flex;
  width: fit-content;
  margin: 1.2rem auto 0;
  padding-inline: 2rem;
}

.profile-match-card__image {
  position: relative;
  display: grid;
  place-items: center;
  height: 300px;
  min-height: 300px;
  padding: 0;
  background: #fff;
  border-bottom: none;
  overflow: visible;
}

.profile-match-card__image img {
  width: 100%;
  height: 340px;
  object-fit: contain;
  object-position: center bottom;
  filter: none;
  transform: translateY(22px) scale(1.06);
  transform-origin: center bottom;
}

.profile-match-card--aura-58 .profile-match-card__image img {
  transform: translateY(22px) scale(1.06);
}

.profile-match-card--golden-entropy .profile-match-card__image img,
.profile-match-card--golden-temptation .profile-match-card__image img {
  transform: translateY(22px) scale(1.06);
}

.profile-match-card__image > span {
  position: absolute;
  top: 1rem;
  right: 1rem;
  border-radius: 999px;
  padding: .34rem .7rem;
  background: #fff;
  color: #a9682b;
  font-size: .66rem;
  font-weight: 900;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.profile-match-card__image > .profile-match-card__rank {
  left: 1rem;
  right: auto;
}

.profile-match-card__body {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 0 1.45rem 1.45rem;
  text-align: center;
  position: relative;
  z-index: 1;
}

.profile-match-card__rank {
  color: #b47438;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.profile-match-card h3 {
  margin: calc(.3rem + 6px) 0 .3rem;
  color: #b17035;
  font-size: 1.1rem;
  font-weight: 900;
  letter-spacing: .04em;
  text-transform: uppercase;
}

.profile-match-card__price {
  margin: .35rem 0 .8rem;
  color: rgba(26,18,9,.82);
  font-weight: 800;
}

.profile-match-card__price span {
  display: inline-block;
  margin-right: .45rem;
}

.profile-match-card__price em {
  color: rgba(26,18,9,.46);
  font-size: .72rem;
  font-style: normal;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
}

.profile-match-card__notes {
  display: grid;
  gap: .45rem;
  margin: .3rem 0 1.05rem;
  border-top: 1px solid rgba(170,112,58,.15);
  padding-top: 0;
}

.profile-match-note {
  position: relative;
  height: 60px;
  overflow: hidden;
  background: #111;
}

.profile-match-note + .profile-match-note {
  margin-left: 0;
}

.profile-match-note img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  filter: brightness(.6);
}

.profile-match-note em {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  font-size: .72rem;
  font-weight: 900;
  font-style: normal;
  letter-spacing: .14em;
  text-transform: uppercase;
  text-shadow: 0 1px 8px rgba(0,0,0,.6);
  z-index: 1;
}

.profile-match-card__desc {
  flex: 1;
  margin: 0 0 1rem;
  color: rgba(26,18,9,.82);
  font-size: .86rem;
  line-height: 1.55;
  text-align: left;
}

.profile-match-card__actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: .6rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(170,112,58,.28);
}

.profile-sales-footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 1rem;
  margin-top: 1.2rem;
}

@media (max-width: 980px) {
  .profile-sales-hero,
  .profile-sales-profile,
  .profile-sales-profile__panel,
  .profile-sales-footer {
    grid-template-columns: 1fr;
  }

  .profile-match-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 640px) {
  .profile-sales-hero__copy { padding: 1.5rem; }
  .profile-sales-hero__copy h1 { font-size: clamp(3.2rem, 18vw, 5rem); }
  .profile-match-grid { grid-template-columns: 1fr; }
  .profile-match-card { min-height: auto; }
  .profile-match-card__actions { grid-template-columns: 1fr; }
}

/* ── Account Dashboard ─────────────────────────────────────────────────── */
.acct-shell { max-width: 1080px; }

.acct-hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 2.6rem 2.4rem;
  border: 1px solid #c4a46b;
  background: linear-gradient(110deg, #0d0d0d, #24211d 65%, #0d0d0d);
  color: #fff;
  margin-bottom: 2.5rem;
}

.acct-hero::before {
  position: absolute;
  z-index: -1;
  inset: -1rem;
  content: "ESSENTRX   ESSENTRX   ESSENTRX   ESSENTRX";
  color: #e0b870;
  opacity: .075;
  font: 700 clamp(3rem, 8vw, 7rem)/1.3 Georgia, serif;
  letter-spacing: .1em;
  overflow: hidden;
  white-space: nowrap;
  pointer-events: none;
}

.acct-hero__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin: 0;
}

.acct-hero__avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  border: 1px solid #c4a46b;
  background: transparent;
  color: #e0b870;
  display: grid;
  place-items: center;
  font-size: 1.25rem;
  font-weight: 700;
  flex-shrink: 0;
}

.acct-hero__info { flex: 1; }
.acct-hero__eyebrow { display: block; margin-bottom: .7rem; color: #e0b870; font-size: .65rem; font-weight: 900; letter-spacing: .18em; text-transform: uppercase; }
.acct-hero__info h1 { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 500; color: #fff; margin: 0 0 .5rem; font-family: inherit; letter-spacing: -.035em; line-height: 1.15; }
.acct-hero__info p { font-size: .875rem; color: rgba(255,255,255,.78); margin: 0; }

.acct-badge {
  display: inline-block;
  font-size: .68rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .28rem .7rem;
  border-radius: 999px;
  background: rgba(196,164,107,.1);
  color: #7a5c2e;
  border: 1px solid rgba(196,164,107,.28);
}
.acct-badge--member {
  background: rgba(42,122,75,.08);
  color: #2a7a4b;
  border-color: rgba(42,122,75,.22);
}

.acct-hero__actions {
  display: flex;
  gap: 0;
  border-top: 1px solid rgba(170,112,58,.1);
  margin: 0 -20px;
  padding: 0 20px;
}

.acct-hero__actions .commerce-btn,
.acct-hero__actions a.commerce-btn {
  flex: 1;
  border-radius: 0;
  background: transparent;
  border: none;
  border-right: 1px solid rgba(170,112,58,.1);
  color: rgba(26,18,9,.6);
  font-size: .7rem;
  font-weight: 800;
  letter-spacing: .07em;
  text-transform: uppercase;
  padding: .9rem .5rem;
  text-align: center;
  white-space: nowrap;
  transition: background .15s, color .15s;
}

.acct-hero__actions .commerce-btn:last-child,
.acct-hero__actions a.commerce-btn:last-child {
  border-right: none;
}

.acct-hero__actions .commerce-btn:hover,
.acct-hero__actions a.commerce-btn:hover {
  background: rgba(196,164,107,.07);
  color: #b17035;
}

.acct-hero__actions .commerce-btn--gold {
  background: transparent;
  color: #b17035;
}

.acct-section { margin-bottom: 3.5rem; }

.acct-section__head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.acct-section__title {
  font-family: 'Cormorant Garamond', Georgia, serif;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  font-weight: 500;
  color: #1a1209;
  margin: .2rem 0 0;
  line-height: 1.1;
}

.acct-section__sub {
  font-size: .875rem;
  color: rgba(26,18,9,.48);
  margin: .4rem 0 0;
  max-width: 460px;
  line-height: 1.5;
}

/* Monthly grid */
.acct-monthly-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}
.acct-monthly-grid--6 {
  grid-template-columns: repeat(6, 1fr);
  gap: .75rem;
}

.acct-month-card {
  border: 1px solid rgba(170,112,58,.14);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  transition: border-color .2s, box-shadow .2s;
}
.acct-month-card:hover {
  border-color: rgba(196,164,107,.35);
  box-shadow: 0 4px 20px rgba(170,112,58,.08);
}
.acct-month-card--current {
  border-color: rgba(196,164,107,.4);
  box-shadow: 0 2px 16px rgba(196,164,107,.1);
}

.acct-month-card__month {
  padding: .55rem 1rem;
  font-size: .64rem;
  font-weight: 900;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: #7a5c2e;
  background: rgba(196,164,107,.08);
  border-bottom: 1px solid rgba(196,164,107,.1);
  display: flex;
  align-items: center;
  gap: .5rem;
}
.acct-month-card__check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #2a7a4b;
  flex-shrink: 0;
  margin-left: auto;
}
.acct-month-card--selected { border-color: rgba(42,122,75,.25); }
.acct-month-card--selected .acct-month-card__month { background: rgba(42,122,75,.07); color: #2a7a4b; border-color: rgba(42,122,75,.15); }
.acct-month-card--queued { border-color: rgba(196,164,107,.5); }
.acct-month-card--queued .acct-month-card__month { background: rgba(196,164,107,.1); color: #8a6534; border-color: rgba(196,164,107,.25); display: flex; align-items: center; justify-content: space-between; }
.acct-month-card__queued-badge { font-size: .55rem; font-weight: 900; letter-spacing: .14em; text-transform: uppercase; background: #c4a46b; color: #1a1209; border-radius: 999px; padding: 2px 7px; }
.acct-month-card--past { opacity: .55; }
.acct-month-card--missed .acct-month-card__month { background: rgba(26,18,9,.04); color: rgba(26,18,9,.35); border-color: rgba(26,18,9,.06); }
.acct-month-card__empty--dim svg { opacity: .4; }
.acct-month-card--current .acct-month-card__month {
  background: #c4a46b;
  color: #fff;
  border-color: #c4a46b;
}

.acct-month-card__img {
  aspect-ratio: 1;
  background: #f7f3ee;
  overflow: hidden;
  display: grid;
  place-items: center;
}
.acct-month-card__img img {
  width: 100%;
  height: 150%;
  object-fit: contain;
  object-position: center 35%;
  padding: 0;
}

.acct-month-card__empty {
  aspect-ratio: 1;
  background: #f7f3ee;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: .75rem;
}
.acct-month-card__empty p {
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .06em;
  text-transform: uppercase;
  color: rgba(26,18,9,.3);
  margin: 0;
}

.acct-month-card__body { padding: 1rem; }
.acct-month-card__name  { font-size: .9rem; font-weight: 800; color: #1a1209; margin: 0 0 .25rem; }
.acct-month-card__notes { font-size: .72rem; color: rgba(26,18,9,.45); margin: 0 0 .6rem; line-height: 1.4; }
.acct-month-card__change {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 32px;
  border-radius: 999px;
  border: 1px solid rgba(26,18,9,.16);
  background: #fff;
  color: #1a1209;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  cursor: pointer;
  margin: .15rem 0 .45rem;
}
.acct-month-card__change:disabled {
  opacity: .55;
  cursor: wait;
}
.acct-month-card__actions {
  display: flex;
  flex-direction: column;
  gap: .3rem;
  width: 100%;
  margin: .15rem 0 .45rem;
}
.acct-month-card__actions .acct-month-card__change {
  margin: 0;
}
.acct-month-card__quiz-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(196,164,107,.4);
  background: transparent;
  color: #b17035;
  font-size: .62rem;
  font-weight: 800;
  letter-spacing: .1em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: background .15s;
}
.acct-month-card__quiz-link:hover {
  background: rgba(196,164,107,.08);
}
.acct-month-card__source {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 34px;
  padding: 0 1rem;
  border-radius: 999px;
  background: #C4A46B;
  border: none;
  color: #1a1209;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-top: .25rem;
}
.acct-month-card__source--locked {
  background: rgba(26,18,9,.08);
  color: rgba(26,18,9,.55);
}
.acct-month-card__price { font-size: 1.1rem; font-weight: 900; color: #1a1209; margin: 0 0 .75rem; }
.acct-month-card__price em { font-size: .7rem; font-style: normal; color: rgba(26,18,9,.4); font-weight: 500; }
.acct-month-card__btn { width: 100%; font-size: .7rem; display: block; margin-bottom: .5rem; text-align: center; }
.acct-month-card__btn:last-child { margin-bottom: 0; }

/* Profile months read as one ordered sequence, rather than calendar tiles. */
.acct-monthly-timeline {
  display: flex;
  overflow-x: auto;
  overscroll-behavior-inline: contain;
  margin-bottom: .85rem;
  border: 1px solid #c4a46b;
  background: #fff;
}
.acct-monthly-timeline__month {
  display: flex;
  flex: 1 0 145px;
  flex-direction: column;
  align-items: flex-start;
  justify-content: space-between;
  gap: .55rem;
  min-height: 126px;
  padding: 1rem;
  border: 0;
  border-top: 3px solid #c4a46b;
  border-right: 1px solid #e2d9ca;
  border-radius: 0;
  background: #fff;
  color: #171411;
  text-align: left;
  cursor: pointer;
}
.acct-monthly-timeline__month:last-child { border-right: 0; }
.acct-monthly-timeline__month:hover { background: #f8f5ed; }
.acct-monthly-timeline__month:focus-visible { outline: 3px solid #9d733c; outline-offset: -4px; }
.acct-monthly-timeline__month[aria-pressed="true"] {
  border-top-color: #e5c383;
  background: #171411;
  color: #fff;
}
.acct-monthly-timeline__kicker {
  color: #6f6253;
  font-size: .62rem;
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.acct-monthly-timeline__name { font: 500 1.65rem/1.1 'Cormorant Garamond', Georgia, serif; }
.acct-monthly-timeline__name small { font: 700 .7rem/1 system-ui, sans-serif; color: #6f6253; }
.acct-monthly-timeline__status { color: #74542c; font-size: .72rem; font-weight: 800; }
.acct-monthly-timeline__month[aria-pressed="true"] :is(.acct-monthly-timeline__kicker, .acct-monthly-timeline__name small, .acct-monthly-timeline__status) { color: #f2d08f; }
.acct-monthly-panel[hidden] { display: none; }
.acct-monthly-list {
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(196,164,107,.48);
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
}
.acct-monthly-list .acct-month-card {
  display: grid;
  grid-template-columns: 165px 128px minmax(0, 1fr);
  min-height: 160px;
  border: 0;
  border-bottom: 1px solid rgba(26,18,9,.12);
  border-radius: 0;
  box-shadow: none;
  background: #fff;
}
.acct-monthly-list .acct-month-card:last-child { border-bottom: 0; }
.acct-monthly-list .acct-month-card:hover {
  background: #fffdf8;
  box-shadow: none;
}
.acct-monthly-list .acct-month-card--past { opacity: 1; }
.acct-monthly-list .acct-month-card--past .acct-month-card__body,
.acct-monthly-list .acct-month-card--past .acct-month-card__empty { opacity: .72; }
.acct-monthly-list .acct-month-card__month,
.acct-monthly-list .acct-month-card--selected .acct-month-card__month,
.acct-monthly-list .acct-month-card--missed .acct-month-card__month {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 1.2rem;
  background: #171411;
  color: #f2d08f;
  border: 0;
  font-size: .75rem;
  letter-spacing: .12em;
  line-height: 1.5;
}
.acct-monthly-list .acct-month-card--current .acct-month-card__month {
  background: #c4a46b;
  color: #171411;
}
.acct-monthly-list .acct-month-card__check {
  background: #c4a46b;
  color: #171411;
}
.acct-monthly-list .acct-month-card__check svg polyline { stroke: #171411; }
.acct-monthly-list .acct-month-card--current .acct-month-card__check { background: #171411; }
.acct-monthly-list .acct-month-card--current .acct-month-card__check svg polyline { stroke: #fff; }
.acct-monthly-list .acct-month-card__img,
.acct-monthly-list .acct-month-card__empty,
.acct-monthly-list .acct-month-card > div:nth-child(2) {
  width: 100%;
  height: 160px;
  aspect-ratio: auto;
  background: #f8f7f4;
  border-right: 1px solid rgba(26,18,9,.08);
}
.acct-monthly-list .acct-month-card__img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  object-position: center;
}
.acct-monthly-list .acct-month-card__empty { padding: .6rem; gap: .5rem; }
.acct-monthly-list .acct-month-card__empty p {
  color: #625a51;
  text-align: center;
  line-height: 1.35;
}
.acct-monthly-list .acct-month-card__body {
  display: flex;
  flex-wrap: wrap;
  align-content: center;
  align-items: center;
  gap: .45rem .8rem;
  min-width: 0;
  padding: 1.1rem 1.35rem;
}
.acct-monthly-list .acct-month-card__name,
.acct-monthly-list .acct-month-card__notes {
  flex-basis: 100%;
  margin: 0;
}
.acct-monthly-list .acct-month-card__name { font-size: 1.05rem; color: #171411; }
.acct-monthly-list .acct-month-card__notes { color: #625a51; }
.acct-monthly-list .acct-month-card__actions {
  flex-direction: row;
  flex-wrap: wrap;
  width: auto;
  margin: .3rem 0 0;
}
.acct-monthly-list .acct-month-card__change,
.acct-monthly-list .acct-month-card__quiz-link,
.acct-monthly-list .acct-month-card__btn {
  width: auto;
  min-height: 34px;
  margin: 0;
  padding: .45rem .9rem;
}
.acct-monthly-list .acct-month-card__change { border-color: #c4a46b; }
.acct-monthly-list .acct-month-card__quiz-link { color: #7a5826; }
.acct-monthly-list .acct-month-card__source {
  width: auto;
  margin: .3rem 0 0 auto;
  padding: 0 .9rem;
  background: #c4a46b;
  color: #171411;
}
.acct-monthly-list .acct-month-card__source--locked {
  background: #171411;
  color: #fff;
}
.acct-renewal-choice {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin: 0 0 1.25rem;
  padding: 1.35rem 1.5rem;
  border: 1px solid #c4a46b;
  border-radius: 16px;
  background: #171411;
  color: #fff;
}
.acct-renewal-choice__copy { display: grid; gap: .35rem; }
.acct-renewal-choice__eyebrow {
  color: #f2d08f;
  font-size: .65rem;
  font-weight: 900;
  letter-spacing: .18em;
  text-transform: uppercase;
}
.acct-renewal-choice__copy strong { color: #fff; font-size: 1.05rem; }
.acct-renewal-choice__date { color: #f2d08f; font-size: .82rem; font-weight: 800; }
.acct-renewal-choice__copy > span:last-child { color: rgba(255,255,255,.76); font-size: .82rem; }
.acct-renewal-choice__actions { display: flex; gap: .55rem; flex-wrap: wrap; }
.acct-renewal-choice__actions .commerce-btn:not(.commerce-btn--gold) {
  background: transparent;
  border-color: rgba(255,255,255,.6);
  color: #fff;
}

@media (max-width: 700px) {
  .acct-monthly-list .acct-month-card { grid-template-columns: 112px 92px minmax(0, 1fr); }
  .acct-monthly-list .acct-month-card__month { padding: .85rem; font-size: .67rem; }
  .acct-monthly-list .acct-month-card__body { padding: .85rem; }
  .acct-monthly-list .acct-month-card__name { font-size: .9rem; }
  .acct-monthly-list .acct-month-card__source { margin-left: 0; }
}
@media (max-width: 420px) {
  .acct-monthly-timeline__month { flex-basis: 140px; min-height: 120px; padding: .8rem; }
  .acct-monthly-list .acct-month-card { grid-template-columns: 84px 72px minmax(0, 1fr); }
  .acct-monthly-list .acct-month-card__month { padding: .55rem; font-size: .61rem; letter-spacing: .06em; }
  .acct-monthly-list .acct-month-card__body { padding: .6rem; gap: .35rem; }
  .acct-monthly-list .acct-month-card__empty p { font-size: .6rem; }
  .acct-monthly-list .acct-month-card__btn,
  .acct-monthly-list .acct-month-card__change,
  .acct-monthly-list .acct-month-card__quiz-link { width: 100%; font-size: .58rem; padding: .4rem; }
  .acct-renewal-choice { padding: 1.1rem; }
}

.monthly-select-head {
  align-items: end;
}

.monthly-select-lock {
  margin: -1.1rem 0 1.4rem;
  border: 1px solid rgba(26,18,9,.12);
  border-radius: 10px;
  background: rgba(26,18,9,.04);
  padding: .9rem 1rem;
  color: rgba(26,18,9,.62);
  font-size: .86rem;
  font-weight: 700;
}

.monthly-select-card::before {
  background:
    linear-gradient(180deg, rgba(0,0,0,.03), rgba(0,0,0,.78)),
    radial-gradient(circle at 50% 35%, rgba(255,255,255,.9), rgba(246,241,234,.4) 42%, rgba(16,13,9,.35) 72%),
    #100d09;
}

.monthly-select-card {
  min-height: 500px;
}

.monthly-select-card .commerce-badge {
  background: #d4ad61;
  border-color: #d4ad61;
  color: #1a1209;
}

.monthly-select-card__image {
  position: absolute;
  top: 0;
  right: 0;
  bottom: auto;
  left: 0;
  height: 21.25rem;
  z-index: 1;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #fff;
  pointer-events: none;
}

.monthly-select-card__image img {
  width: auto;
  height: 18rem;
  max-width: 100%;
  max-height: 18rem;
  object-fit: contain;
  filter: none;
}

/* Orders */
.acct-orders {
  border: 1px solid rgba(170,112,58,.12);
  border-radius: 12px;
  overflow: hidden;
  background: #fff;
}

.acct-order-row {
  display: grid;
  grid-template-columns: 1.2fr 2fr 1fr;
  gap: 1rem;
  align-items: center;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid rgba(170,112,58,.07);
  font-size: .875rem;
}
.acct-order-row:last-child { border-bottom: none; }
.acct-order-row__meta { display: flex; flex-direction: column; gap: .2rem; }
.acct-order-row__meta strong { color: #1a1209; font-weight: 800; }
.acct-order-row__meta span  { color: rgba(26,18,9,.4); font-size: .75rem; }
.acct-order-row__items { color: rgba(26,18,9,.6); font-size: .82rem; }
.acct-order-row__right { display: flex; flex-direction: column; align-items: flex-end; gap: .2rem; }
.acct-order-status { font-size: .68rem; font-weight: 800; letter-spacing: .08em; text-transform: uppercase; }

.acct-orders-empty { padding: 3rem; text-align: center; color: rgba(26,18,9,.45); }
.acct-orders-empty p:first-child { font-size: 1rem; font-weight: 700; margin-bottom: .35rem; }
.acct-orders-empty p:last-child  { font-size: .82rem; }

.acct-email-triggers {
  position: fixed;
  left: 1rem;
  bottom: 1rem;
  z-index: 950;
  display: grid;
  justify-items: start;
  gap: .55rem;
  max-width: calc(100vw - 2rem);
}

.acct-email-triggers__toggle {
  min-height: 42px;
  border: 1px solid rgba(26,18,9,.18);
  border-radius: 999px;
  background: #1a1209;
  color: #f5efe8;
  box-shadow: 0 12px 30px rgba(26,18,9,.2);
  padding: 0 1rem;
  font: inherit;
  font-size: .76rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
  cursor: pointer;
}

.acct-email-triggers__panel {
  display: none;
  width: min(310px, calc(100vw - 2rem));
  border: 1px solid rgba(196,164,107,.28);
  border-radius: 8px;
  background: rgba(20,14,8,.97);
  box-shadow: 0 20px 48px rgba(26,18,9,.26);
  color: #f5efe8;
  padding: 1rem;
}

.acct-email-triggers.is-open .acct-email-triggers__panel {
  display: grid;
  gap: .85rem;
}

.acct-email-triggers__head {
  display: grid;
  gap: .1rem;
}

.acct-email-triggers__head strong {
  font-size: .95rem;
  line-height: 1.2;
}

.acct-email-triggers__head span,
.acct-email-triggers__status {
  color: rgba(245,239,232,.62);
  font-size: .74rem;
  line-height: 1.4;
}

.acct-email-triggers__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .45rem;
}

.acct-email-triggers__grid button {
  min-height: 38px;
  border: 1px solid rgba(196,164,107,.32);
  border-radius: 6px;
  background: rgba(245,239,232,.08);
  color: #f5efe8;
  padding: .35rem .5rem;
  font: inherit;
  font-size: .72rem;
  font-weight: 800;
  line-height: 1.15;
  letter-spacing: 0;
  cursor: pointer;
}

.acct-email-triggers__grid button:hover,
.acct-email-triggers__grid button:focus-visible {
  border-color: rgba(196,164,107,.7);
  background: rgba(196,164,107,.18);
}

.acct-email-triggers__grid button:disabled {
  opacity: .58;
  cursor: wait;
}

.acct-email-triggers__status {
  min-height: 1.1rem;
  margin: 0;
}

@media (max-width: 1100px) {
  .acct-monthly-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px) {
  .acct-monthly-grid { grid-template-columns: repeat(2, 1fr); }
  .acct-monthly-grid--6 { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 620px) {
  .acct-hero__top { flex-wrap: wrap; }
  .acct-hero__actions { margin: 0 -16px; padding: 0; }
  .acct-monthly-grid, .acct-monthly-grid--6 { grid-template-columns: repeat(2, 1fr); }
  .acct-order-row { grid-template-columns: 1fr 1fr; }
  .acct-order-row__items { display: none; }
  .acct-section { margin-bottom: 2rem; }
  .acct-shell { padding-top: 1rem; }
  .acct-hero { margin-bottom: 1.25rem; }
  .acct-section__head { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
  .acct-section__head > div:first-child { width: 100%; text-align: left; }
  .acct-section__head .commerce-eyebrow,
  .acct-section__head .acct-section__title,
  .acct-section__head .acct-section__sub { text-align: left; display: block; width: 100%; }
  .acct-email-triggers {
    left: .75rem;
    bottom: .75rem;
  }
}

/* ── Membership Management Panel ───────────────────────────────────────── */
.acct-membership-panel {
  background: #fff;
  border: 1px solid rgba(196,164,107,.2);
  border-radius: 16px;
  margin-bottom: 3rem;
  overflow: hidden;
}

.acct-membership-panel__inner { padding: 2rem; }

.acct-membership-panel__head {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.5rem;
}

.acct-membership-panel__close {
  background: none;
  border: none;
  font-size: .8rem;
  font-weight: 700;
  color: rgba(26,18,9,.4);
  cursor: pointer;
  padding: .25rem .5rem;
  letter-spacing: .04em;
}
.acct-membership-panel__close:hover { color: rgba(26,18,9,.7); }

.acct-membership-rows {
  border: 1px solid rgba(196,164,107,.12);
  border-radius: 10px;
  overflow: hidden;
  margin-bottom: 1.5rem;
}

.acct-membership-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: .85rem 1.1rem;
  font-size: .875rem;
  border-bottom: 1px solid rgba(196,164,107,.08);
}
.acct-membership-row:last-child { border-bottom: none; }
.acct-membership-row span { color: rgba(26,18,9,.5); }
.acct-membership-row strong { color: #1a1209; font-weight: 700; }

.acct-membership-status { color: #2a7a4b !important; }

.acct-membership-actions { margin-bottom: 1rem; }

.acct-membership-note {
  font-size: .78rem;
  color: rgba(26,18,9,.38);
  line-height: 1.5;
}

.header-logo {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  margin-top: -10px;
  font-family: var(--font-b, 'Inter', sans-serif);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0;
  color: #342313;
  text-decoration: none;
}
.header-logo-img {
  height: 32px;
  width: auto;
  display: block;
  mix-blend-mode: multiply;
}
