.account-page {
  min-height: 72vh;
  background: #f4f4f4;
  color: #111;
  font-family: Inter, ui-sans-serif, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}
.account-page-shell {
  width: min(1560px, calc(100% - 64px));
  margin: 0 auto;
  padding: 24px 0 72px;
}
.account-page-header {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding: 0 0 20px;
  border-bottom: 1px solid var(--dd-color-line, #d8d8d8);
}
.account-page-logout {
  min-width: 128px;
  height: 48px;
  margin-top: 0;
  padding: 0 18px 0 22px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  border-radius: var(--dd-radius-control, 10px);
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  transition: background .18s ease, color .18s ease, transform .18s ease;
}
.account-page-logout svg,
.account-profile-preview button svg,
.account-overview-card button svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-page-logout:hover { background: #111; color: #fff; transform: translateY(-1px); }

.account-page-layout {
  display: grid;
  grid-template-columns: 310px minmax(0, 1fr);
  gap: 36px;
  padding-top: 24px;
  align-items: start;
}
.account-page-sidebar {
  align-self: start;
  position: sticky;
  top: 88px;
  padding: 22px 18px 18px;
  border: 1px solid #e4e4e4;
  border-radius: var(--dd-radius-banner, 14px);
  background: #fff;
}
.account-user-card {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 0 4px 22px;
  border-bottom: 1px solid #e8e8e8;
}
.account-user-avatar {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: var(--dd-radius-control, 10px);
  background: #111;
  color: #fff;
  font-size: 16px;
  font-weight: 500;
  letter-spacing: .02em;
}
.account-user-copy { min-width: 0; display: grid; gap: 7px; }
.account-user-copy strong {
  font-size: 15px;
  line-height: 1.15;
  font-weight: 550;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-user-copy span {
  color: #777;
  font-size: 11px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.account-page-nav { display: grid; gap: 4px; padding-top: 18px; }
.account-page-nav button {
  width: 100%;
  min-height: 52px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 0;
  background: transparent;
  color: #666;
  padding: 0 12px;
  text-align: left;
  cursor: pointer;
  font: inherit;
  font-size: 12px;
  border-radius: var(--dd-radius-control, 10px);
  transition: background .16s ease, color .16s ease, transform .16s ease;
}
.account-page-nav button:hover { background: #f4f4f4; color: #111; }
.account-page-nav button.is-active { background: #f4f4f4; color: #111; font-weight: 550; }
.account-nav-main { display: inline-flex; align-items: center; gap: 14px; min-width: 0; }
.account-nav-icon {
  width: 24px;
  height: 24px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  color: #111;
}
.account-nav-icon svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.6;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-nav-count {
  min-width: 24px;
  height: 24px;
  padding: 0 7px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: #f4f4f4;
  color: #666;
  font-size: 10px;
  font-weight: 500;
}
.account-page-nav button.is-active .account-nav-count { background: #fff; color: #111; }

.account-page-content { min-width: 0; }
.account-panel { display: none; animation: accountPanelIn .18s ease; }
.account-panel.is-active { display: block; }
@keyframes accountPanelIn { from { opacity: 0; transform: translateY(4px); } to { opacity: 1; transform: translateY(0); } }
.account-panel-heading {
  min-height: 78px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 24px;
  margin-bottom: 20px;
}
.account-panel-heading--overview { min-height: 78px; }
.account-panel-heading h2 {
  margin: 8px 0 0;
  font-size: clamp(30px, 2.2vw, 40px);
  line-height: 1.03;
  font-weight: 500;
  letter-spacing: -.042em;
}
.account-panel-count { font-size: 12px; font-weight: 500; }
.account-overview-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) minmax(0, 1.08fr);
  gap: 14px;
}
.account-overview-card {
  position: relative;
  min-height: 286px;
  overflow: hidden;
  border: 1px solid #e2e2e2;
  border-radius: var(--dd-radius-banner, 14px);
  padding: 28px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  background: #fff;
}
.account-overview-label {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #222;
  font-size: 12px;
}
.account-overview-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #f4f4f4;
}
.account-overview-icon svg {
  width: 21px;
  height: 21px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.65;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-overview-card > strong {
  margin-top: 28px;
  font-size: clamp(29px, 2vw, 38px);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -.04em;
}
.account-overview-card p {
  margin: 14px 0 22px;
  color: #777;
  font-size: 12px;
  line-height: 1.55;
  max-width: 31ch;
}
.account-overview-card button {
  margin-top: auto;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  border: 0;
  padding: 0 0 4px;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.account-overview-card button svg { transition: transform .18s ease; }
.account-overview-card button:hover svg { transform: translateX(4px); }
.account-overview-card--dark {
  background: #111;
  border-color: #111;
  color: #fff;
  background-image:
    radial-gradient(circle at 90% 115%, rgba(255,255,255,.09) 0 13%, transparent 13.5%),
    radial-gradient(circle at 106% 90%, rgba(255,255,255,.055) 0 20%, transparent 20.5%),
    linear-gradient(145deg, #111 0%, #151515 50%, #0d0d0d 100%);
}
.account-club-top {
  width: 100%;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
  color: #fff;
  font-size: 10px;
  letter-spacing: .18em;
}
.account-club-crown {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255,255,255,.28);
  border-radius: 50%;
}
.account-club-crown svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.5;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-overview-card--dark > strong { margin-top: 18px; }
.account-overview-card--dark p { color: #b9b9b9; max-width: 28ch; }

.account-profile-preview {
  margin-top: 14px;
  min-height: 128px;
  padding: 24px 26px;
  background: #fff;
  border: 1px solid #e4e4e4;
  border-radius: var(--dd-radius-banner, 14px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
}
.account-profile-preview h3 { margin: 8px 0 7px; font-size: 21px; line-height: 1.1; font-weight: 500; letter-spacing: -.025em; }
.account-profile-preview p { margin: 0; color: #777; font-size: 11px; }
.account-profile-preview button,
.account-secondary-action {
  min-height: 46px;
  padding: 0 18px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border: 1px solid #111;
  background: #fff;
  color: #111;
  border-radius: var(--dd-radius-control, 10px);
  cursor: pointer;
  font: inherit;
  font-size: 11px;
  transition: background .18s ease, color .18s ease;
}
.account-profile-preview button:hover,
.account-secondary-action:hover { background: #111; color: #fff; }

.account-empty-state {
  min-height: 360px;
  border: 1px solid #e2e2e2;
  border-radius: var(--dd-radius-banner, 14px);
  background: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 44px;
}
.account-empty-index { font-size: 28px; color: #777; margin-bottom: 20px; }
.account-empty-state h3 { margin: 0 0 10px; font-size: 26px; font-weight: 500; letter-spacing: -.025em; }
.account-empty-state p { max-width: 470px; margin: 0 0 24px; color: #777; font-size: 12px; line-height: 1.55; }
.account-empty-state button {
  min-height: 44px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--dd-radius-control, 10px);
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}

.account-profile-form,
.account-address-form {
  border: 1px solid #e2e2e2;
  border-radius: var(--dd-radius-banner, 14px);
  padding: 28px;
  background: #fff;
}
.account-form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 22px 16px; }
.account-profile-form label,
.account-address-form label { display: grid; gap: 8px; font-size: 10px; color: #555; }
.account-profile-form input,
.account-address-form input {
  width: 100%;
  height: 48px;
  border: 1px solid #d8d8d8;
  border-radius: var(--dd-radius-control, 10px);
  background: #fff;
  color: #111;
  padding: 0 14px;
  font: inherit;
  font-size: 12px;
  outline: 0;
}
.account-profile-form input:focus,
.account-address-form input:focus { border-color: #111; }
.account-form-actions { display: flex; align-items: center; gap: 14px; margin-top: 24px; }
.account-form-actions button,
.account-address-form > button {
  min-height: 46px;
  padding: 0 20px;
  border: 0;
  border-radius: var(--dd-radius-control, 10px);
  background: #111;
  color: #fff;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
}
.account-form-actions span { font-size: 11px; color: #555; }
.account-address-layout { display: grid; grid-template-columns: minmax(320px, .8fr) minmax(0, 1.2fr); gap: 16px; align-items: start; }
.account-address-form { display: grid; gap: 15px; }
.account-address-form h3 { margin: 0 0 4px; font-size: 18px; font-weight: 500; }
.account-address-list { display: grid; gap: 10px; }
.account-address-card,
.account-address-empty {
  min-height: 124px;
  border: 1px solid #e2e2e2;
  border-radius: var(--dd-radius-banner, 14px);
  padding: 20px;
  background: #fff;
}
.account-address-card { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; }
.account-address-card strong { display: block; font-size: 13px; font-weight: 500; margin-bottom: 6px; }
.account-address-card span,
.account-address-empty { color: #777; font-size: 11px; line-height: 1.5; }
.account-address-card button { border: 0; background: transparent; padding: 0; cursor: pointer; font: inherit; font-size: 10px; text-decoration: underline; text-underline-offset: 3px; }

.account-bonus-hero {
  border-radius: var(--dd-radius-banner, 14px);
  background: #111;
  color: #fff;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 32px;
  min-height: 210px;
  background-image: radial-gradient(circle at 95% 115%, rgba(255,255,255,.09), transparent 32%);
}
.account-bonus-hero > div { display: grid; gap: 10px; }
.account-bonus-hero span { color: #aaa; font-size: 11px; }
.account-bonus-hero strong { font-size: 44px; font-weight: 500; letter-spacing: -.035em; }
.account-bonus-hero p { max-width: 380px; margin: 0; color: #bbb; font-size: 11px; line-height: 1.55; }
.account-bonus-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; margin: 12px 0 18px; }
.account-bonus-grid > div { min-height: 112px; padding: 20px; border: 1px solid #e2e2e2; border-radius: var(--dd-radius-banner, 14px); display: grid; align-content: center; gap: 7px; background: #fff; }
.account-bonus-grid strong { font-size: 23px; font-weight: 500; }
.account-bonus-grid span { color: #777; font-size: 10px; }

/* Demo orders */
.account-orders-list { display: grid; gap: 12px; }
.account-order-card { border: 1px solid #e2e2e2; border-radius: var(--dd-radius-banner,14px); background: #fff; padding: 22px 24px; }
.account-order-head { display:flex; justify-content:space-between; gap:24px; align-items:flex-start; padding-bottom:16px; border-bottom:1px solid #eee; }
.account-order-meta { display:grid; gap:5px; }
.account-order-meta strong { font-size:15px; font-weight:500; }
.account-order-meta span { font-size:10px; color:#777; }
.account-order-status { min-height:28px; display:inline-flex; align-items:center; padding:0 10px; border-radius:999px; background:#f4f4f4; font-size:10px; white-space:nowrap; }
.account-order-status.is-active { background:#111; color:#fff; }
.account-order-items { display:grid; gap:10px; padding:16px 0; }
.account-order-item { display:grid; grid-template-columns:minmax(0,1fr) auto; gap:20px; align-items:center; }
.account-order-item-copy { display:grid; gap:4px; }
.account-order-item-copy strong { font-size:12px; font-weight:500; }
.account-order-item-copy span { font-size:10px; color:#777; }
.account-order-item-price { font-size:11px; white-space:nowrap; }
.account-order-foot { border-top:1px solid #eee; padding-top:14px; display:flex; align-items:center; justify-content:space-between; gap:20px; }
.account-order-foot span { color:#777; font-size:10px; }
.account-order-foot strong { font-size:14px; font-weight:500; }

body.account-route-open #sharedSiteFooter { margin-top: 0; }



/* Account favorites use the same ProductCard component as the storefront. */
.account-favorites-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  align-items: start;
}
.account-favorites-grid[hidden],
.account-favorites-summary[hidden],
.account-favorites-more[hidden] {
  display: none;
}
.account-favorites-grid .dd-product-card {
  width: 100%;
  min-width: 0;
  max-width: none;
}
.account-favorites-grid .dd-product-card__media {
  background: #f4f4f4;
}
.account-favorites-more {
  display: flex;
  justify-content: flex-end;
  padding-top: 18px;
}
.account-favorites-more button {
  min-height: 42px;
  padding: 0 18px;
  border: 1px solid #111;
  border-radius: var(--dd-radius-control, 10px);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.account-favorites-more button:hover,
.account-favorites-more button:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
}

@media (max-width: 1220px) {
  .account-page-shell { width: min(100% - 40px, 1560px); }
  .account-page-layout { grid-template-columns: 260px minmax(0, 1fr); gap: 26px; }
  .account-overview-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-overview-card--dark { grid-column: 1 / -1; min-height: 235px; }
}
@media (max-width: 820px) {
  .account-page-shell { width: min(100% - 24px, 1560px); padding-top: 26px; }
  .account-page-header { padding-bottom: 16px; }
  .account-page-layout { grid-template-columns: 1fr; }
  .account-page-sidebar { position: static; }
  .account-page-nav { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .account-overview-grid, .account-form-grid, .account-address-layout, .account-bonus-grid { grid-template-columns: 1fr; }
  .account-overview-card--dark { grid-column: auto; }
  .account-profile-preview { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 1180px) {
  .account-favorites-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .account-favorites-grid { grid-template-columns: 1fr; }
}

/* v45 profile controls: masked phone + custom calendar */
.account-date-field { position: relative; z-index: 2; }
.account-date-control { position: relative; }
.account-date-control input { padding-right: 48px; cursor: pointer; }
.account-date-toggle {
  position: absolute;
  top: 50%;
  right: 8px;
  width: 34px;
  height: 34px;
  transform: translateY(-50%);
  display: grid;
  place-items: center;
  border: 0;
  border-radius: var(--dd-radius-small, 9px);
  background: transparent;
  color: #111;
  cursor: pointer;
  transition: background .16s ease;
}
.account-date-toggle:hover,
.account-date-toggle:focus-visible { background: #f4f4f4; outline: none; }
.account-date-toggle svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 1.55; stroke-linecap: round; stroke-linejoin: round; }
.account-date-picker {
  position: absolute;
  z-index: 20;
  top: calc(100% + 10px);
  left: 0;
  width: min(360px, 100%);
  padding: 16px;
  border: 1px solid #dedede;
  border-radius: var(--dd-radius-banner, 14px);
  background: #fff;
  box-shadow: 0 18px 46px rgba(0,0,0,.09);
}
.account-date-picker[hidden] { display: none; }
.account-date-picker-head { display: grid; grid-template-columns: 34px minmax(0, 1fr) 34px; align-items: center; gap: 8px; margin-bottom: 16px; }
.account-date-nav { width: 34px; height: 34px; border: 0; border-radius: var(--dd-radius-small, 9px); background: #f4f4f4; color: #111; font: inherit; font-size: 16px; cursor: pointer; }
.account-date-nav:disabled { opacity: .28; cursor: default; }
.account-date-selectors { display: grid; grid-template-columns: minmax(0, 1fr) 84px; gap: 7px; }
.account-date-selectors select {
  width: 100%;
  height: 34px;
  padding: 0 9px;
  border: 1px solid #dedede;
  border-radius: var(--dd-radius-small, 9px);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 11px;
  outline: none;
}
.account-date-selectors select:focus { border-color: #111; }
.account-date-weekdays,
.account-date-days { display: grid; grid-template-columns: repeat(7, 1fr); gap: 4px; }
.account-date-weekdays { margin-bottom: 5px; }
.account-date-weekdays span { display: grid; place-items: center; height: 24px; color: #999; font-size: 9px; }
.account-date-day {
  aspect-ratio: 1;
  min-width: 0;
  border: 0;
  border-radius: var(--dd-radius-small, 9px);
  background: transparent;
  color: #111;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: background .14s ease, color .14s ease;
}
.account-date-day:hover:not(:disabled) { background: #f4f4f4; }
.account-date-day.is-outside { color: #b7b7b7; }
.account-date-day.is-today { box-shadow: inset 0 0 0 1px #d8d8d8; }
.account-date-day.is-selected { background: #111; color: #fff; box-shadow: none; }
.account-date-day:disabled { opacity: .24; cursor: default; }
.account-profile-form input[aria-invalid="true"] { border-color: #111; box-shadow: inset 0 -2px 0 #111; }

/* v45 richer account orders */
.account-order-card { padding: 0; overflow: hidden; }
.account-order-head { padding: 20px 22px; }
.account-order-items { gap: 0; padding: 0; }
.account-order-item {
  display: grid;
  grid-template-columns: 92px minmax(0, 1fr) auto;
  gap: 18px;
  align-items: center;
  padding: 18px 22px;
  border-top: 1px solid #eee;
}
.account-order-item:first-child { border-top: 0; }
.account-order-media {
  width: 92px;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border: 0;
  border-radius: 0;
  background: #f4f4f4;
  color: #555;
  display: grid;
  place-items: center;
  cursor: pointer;
  padding: 0;
}
.account-order-media img { width: 100%; height: 100%; display: block; object-fit: cover; }
.account-order-media span { font-size: 9px; }
.account-order-item-copy { align-content: center; gap: 7px; }
.account-order-product-link {
  justify-self: start;
  border: 0;
  background: transparent;
  color: #111;
  padding: 0;
  font: inherit;
  font-size: 14px;
  font-weight: 550;
  text-align: left;
  cursor: pointer;
}
.account-order-product-link:hover { text-decoration: underline; text-underline-offset: 4px; }
.account-order-item-copy > span { font-size: 10px; color: #777; }
.account-order-product-action {
  justify-self: start;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: #111;
  padding: 0 0 2px;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.account-order-item-aside { min-width: 158px; display: grid; justify-items: end; gap: 13px; }
.account-order-item-price { color: #111; font-size: 13px; font-weight: 500; white-space: nowrap; }
.account-order-return {
  min-height: 38px;
  padding: 0 13px;
  border: 1px solid #111;
  border-radius: var(--dd-radius-control, 10px);
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.account-order-return:hover { background: #111; color: #fff; }
.account-order-return-status {
  min-height: 30px;
  padding: 0 10px;
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #f4f4f4;
  color: #111;
  font-size: 9px;
  white-space: nowrap;
}
.account-order-foot { margin: 0 22px; padding: 16px 0 18px; }

/* v45 return flow */
body.account-return-open { overflow: hidden; }
.account-return-overlay {
  position: fixed;
  z-index: 1200;
  inset: 0;
  display: grid;
  place-items: center;
  padding: 24px;
  background: rgba(17,17,17,.42);
  backdrop-filter: blur(3px);
}
.account-return-overlay[hidden] { display: none; }
.account-return-dialog {
  width: min(520px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border-radius: var(--dd-radius-banner, 14px);
  background: #fff;
  color: #111;
  box-shadow: 0 30px 80px rgba(0,0,0,.18);
  padding: 24px;
}
.account-return-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding-bottom: 20px; border-bottom: 1px solid #e8e8e8; }
.account-return-head span { color: #777; font-size: 9px; letter-spacing: .2em; text-transform: uppercase; }
.account-return-head h3 { margin: 7px 0 0; font-size: 25px; line-height: 1; font-weight: 500; letter-spacing: -.03em; }
.account-return-close { width: 38px; height: 38px; border: 0; border-radius: var(--dd-radius-control, 10px); background: #f4f4f4; color: #111; font: inherit; font-size: 22px; cursor: pointer; }
.account-return-product { display: grid; gap: 5px; padding: 18px 0; border-bottom: 1px solid #e8e8e8; }
.account-return-product strong { font-size: 13px; font-weight: 550; }
.account-return-product span { color: #777; font-size: 10px; }
.account-return-form { display: grid; gap: 16px; padding-top: 18px; }
.account-return-form label { display: grid; gap: 8px; color: #555; font-size: 10px; }
.account-return-form select,
.account-return-form textarea {
  width: 100%;
  border: 1px solid #d8d8d8;
  border-radius: var(--dd-radius-control, 10px);
  background: #fff;
  color: #111;
  padding: 0 13px;
  font: inherit;
  font-size: 11px;
  outline: none;
}
.account-return-form select { height: 46px; }
.account-return-form textarea { min-height: 104px; padding-top: 12px; resize: vertical; }
.account-return-form select:focus,
.account-return-form textarea:focus { border-color: #111; }
.account-return-form p { margin: 0; color: #777; font-size: 10px; line-height: 1.5; }
.account-return-actions { display: grid; grid-template-columns: 1fr 1.4fr; gap: 10px; padding-top: 4px; }
.account-return-actions button { min-height: 46px; border-radius: var(--dd-radius-control, 10px); font: inherit; font-size: 11px; cursor: pointer; }
.account-return-cancel { border: 1px solid #d8d8d8; background: #fff; color: #111; }
.account-return-submit { border: 1px solid #111; background: #111; color: #fff; }

@media (max-width: 820px) {
  .account-date-picker { width: min(360px, calc(100vw - 48px)); }
  .account-order-item { grid-template-columns: 78px minmax(0, 1fr); align-items: start; }
  .account-order-media { width: 78px; }
  .account-order-item-aside { grid-column: 2; min-width: 0; justify-items: start; grid-template-columns: auto auto; align-items: center; }
  .account-return-dialog { padding: 20px; }
}

/* v47 account polish: calendar arrows, readable selected date, improved phone hint */
.account-profile-form input::placeholder,
.account-address-form input::placeholder,
.account-return-form textarea::placeholder {
  color: #a6a6a6;
}
.account-date-toggle {
  right: 7px;
  width: 36px;
  height: 36px;
  border-radius: 10px;
}
.account-date-toggle:hover,
.account-date-toggle:focus-visible {
  background: #111;
  color: #fff;
}
.account-date-picker {
  padding: 18px;
  border-color: #e2e2e2;
  border-radius: 16px;
  box-shadow: 0 24px 60px rgba(0,0,0,.12);
}
.account-date-picker-head {
  grid-template-columns: 40px minmax(0, 1fr) 40px;
  gap: 10px;
  margin-bottom: 18px;
}
.account-date-nav {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
  color: #111;
  cursor: pointer;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.account-date-nav svg,
.account-date-toggle svg,
.account-return-close svg,
.account-return-select-icon svg,
.account-return-upload-button svg,
.account-return-attachment-remove svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-date-nav:hover:not(:disabled),
.account-date-nav:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
  outline: none;
}
.account-date-selectors {
  grid-template-columns: minmax(0, 1fr) 96px;
  gap: 9px;
}
.account-date-selectors select {
  height: 40px;
  padding: 0 13px;
  border-radius: 12px;
  font-size: 12px;
}
.account-date-weekdays,
.account-date-days {
  gap: 6px;
}
.account-date-weekdays span {
  height: 28px;
  font-size: 10px;
}
.account-date-day {
  min-height: 40px;
  aspect-ratio: auto;
  display: grid;
  place-items: center;
  border-radius: 12px;
  font-size: 11px;
}
.account-date-day:hover:not(:disabled) {
  background: #f4f4f4;
  color: #111;
}
.account-date-day.is-selected,
.account-date-day.is-selected:hover:not(:disabled),
.account-date-day.is-selected:focus-visible {
  background: #111;
  color: #fff;
  box-shadow: none;
  outline: none;
}
.account-date-day.is-today:not(.is-selected) {
  box-shadow: inset 0 0 0 1px #d8d8d8;
}
.account-date-day:focus-visible {
  outline: 0;
  box-shadow: inset 0 0 0 1px #111;
}

/* v47 return flow refresh */
.account-order-return-status {
  min-width: 158px;
  min-height: 48px;
  padding: 10px 12px;
  display: grid;
  justify-items: end;
  align-content: center;
  gap: 4px;
  border-radius: 12px;
  background: #f4f4f4;
  color: #111;
  white-space: normal;
  text-align: right;
}
.account-order-return-status strong {
  font-size: 10px;
  font-weight: 550;
  line-height: 1.2;
}
.account-order-return-status span {
  font-size: 9px;
  color: #666;
}
.account-return-dialog {
  width: min(640px, 100%);
  max-height: min(760px, calc(100vh - 48px));
  padding: 28px;
  border-radius: 18px;
}
.account-return-head {
  gap: 18px;
  padding-bottom: 18px;
}
.account-return-head h3 {
  margin-top: 9px;
  font-size: 32px;
  line-height: .98;
  letter-spacing: -.04em;
}
.account-return-description {
  max-width: 42ch;
  margin: 10px 0 0;
  color: #777;
  font-size: 12px;
  line-height: 1.55;
}
.account-return-close {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid #e2e2e2;
  background: #fff;
  transition: background .16s ease, color .16s ease, border-color .16s ease;
}
.account-return-close:hover,
.account-return-close:focus-visible {
  background: #111;
  border-color: #111;
  color: #fff;
  outline: none;
}
.account-return-product {
  gap: 6px;
  padding: 18px 0 20px;
}
.account-return-product strong {
  font-size: 16px;
  font-weight: 550;
}
.account-return-product span {
  font-size: 11px;
}
.account-return-form {
  gap: 18px;
  padding-top: 20px;
}
.account-return-form label {
  gap: 10px;
  font-size: 10px;
}
.account-return-form textarea {
  min-height: 118px;
  padding: 13px 14px;
  border-radius: 12px;
  font-size: 12px;
}
.account-return-select {
  position: relative;
}
.account-return-select-trigger {
  width: 100%;
  min-height: 52px;
  padding: 0 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  border: 1px solid #d8d8d8;
  border-radius: 12px;
  background: #fff;
  color: #111;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
  transition: border-color .16s ease, box-shadow .16s ease;
}
.account-return-select.is-open .account-return-select-trigger,
.account-return-select-trigger:hover,
.account-return-select-trigger:focus-visible {
  border-color: #111;
  outline: none;
}
.account-return-select-value {
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-return-select-icon {
  width: 18px;
  height: 18px;
  flex: 0 0 auto;
  color: #111;
}
.account-return-select-menu {
  position: absolute;
  z-index: 6;
  top: calc(100% + 8px);
  left: 0;
  right: 0;
  display: grid;
  gap: 4px;
  padding: 8px;
  border: 1px solid #d8d8d8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 18px 42px rgba(0,0,0,.1);
}
.account-return-option {
  min-height: 42px;
  padding: 0 12px;
  display: flex;
  align-items: center;
  border: 0;
  border-radius: 10px;
  background: transparent;
  color: #111;
  text-align: left;
  font: inherit;
  font-size: 12px;
  cursor: pointer;
}
.account-return-option:hover,
.account-return-option:focus-visible {
  background: #f4f4f4;
  outline: none;
}
.account-return-option.is-selected {
  background: #111;
  color: #fff;
}
.account-return-upload {
  padding: 14px;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fafafa;
}
.account-return-file-input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}
.account-return-upload-button {
  min-height: 44px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #111;
  border-radius: 12px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 11px;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.account-return-upload-button:hover,
.account-return-upload-button:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
}
.account-return-upload-meta,
.account-return-hint {
  margin: 12px 0 0;
  color: #777;
  font-size: 11px;
  line-height: 1.55;
}
.account-return-attachments {
  display: grid;
  gap: 8px;
  margin-top: 14px;
}
.account-return-attachment {
  min-height: 52px;
  padding: 10px 10px 10px 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid #e2e2e2;
  border-radius: 12px;
  background: #fff;
}
.account-return-attachment-copy {
  min-width: 0;
  display: grid;
  gap: 4px;
}
.account-return-attachment-copy strong {
  display: block;
  font-size: 11px;
  font-weight: 550;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.account-return-attachment-copy span {
  color: #777;
  font-size: 10px;
}
.account-return-attachment-remove {
  width: 34px;
  height: 34px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 10px;
  background: #f4f4f4;
  color: #111;
  cursor: pointer;
  transition: background .16s ease, color .16s ease;
}
.account-return-attachment-remove:hover,
.account-return-attachment-remove:focus-visible {
  background: #111;
  color: #fff;
  outline: none;
}
.account-return-actions {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.25fr);
  gap: 12px;
  padding-top: 2px;
}
.account-return-actions button {
  min-height: 48px;
  font-size: 12px;
}
@media (max-width: 820px) {
  .account-return-dialog {
    width: min(100%, 560px);
    padding: 22px;
  }
  .account-return-head h3 {
    font-size: 27px;
  }
  .account-return-actions {
    grid-template-columns: 1fr;
  }
  .account-order-return-status {
    justify-items: start;
    text-align: left;
  }
}

/* v48 return lifecycle: pending / approved / rejected */
.account-order-return-status.is-approved {
  background: #111;
  color: #fff;
}
.account-order-return-status.is-approved span { color: #bdbdbd; }
.account-order-return-status.is-rejected {
  background: #fff;
  box-shadow: inset 0 0 0 1px #111;
}
.account-order-return-details {
  margin-top: 2px;
  border: 0;
  border-bottom: 1px solid currentColor;
  background: transparent;
  color: inherit;
  padding: 0 0 2px;
  font: inherit;
  font-size: 9px;
  cursor: pointer;
}
.account-return-status-dialog {
  width: min(680px, 100%);
}
.account-return-status-body {
  padding-top: 22px;
}
.account-return-status-view {
  display: grid;
  gap: 18px;
}
.account-return-status-hero {
  min-height: 150px;
  padding: 22px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 22px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background: #f7f7f7;
}
.account-return-status-hero > div:first-child {
  display: grid;
  gap: 8px;
}
.account-return-status-hero span {
  color: #777;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-return-status-hero strong {
  font-size: 24px;
  line-height: 1.05;
  font-weight: 550;
  letter-spacing: -.03em;
}
.account-return-status-hero p {
  max-width: 48ch;
  margin: 4px 0 0;
  color: #666;
  font-size: 12px;
  line-height: 1.55;
}
.account-return-status-mark {
  width: 46px;
  height: 46px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border: 1px solid #d8d8d8;
  border-radius: 50%;
  background: #fff;
}
.account-return-status-mark svg {
  width: 22px;
  height: 22px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.account-return-status-view.is-approved .account-return-status-hero {
  background: #111;
  border-color: #111;
  color: #fff;
}
.account-return-status-view.is-approved .account-return-status-hero span,
.account-return-status-view.is-approved .account-return-status-hero p { color: #bdbdbd; }
.account-return-status-view.is-approved .account-return-status-mark {
  border-color: rgba(255,255,255,.26);
  background: transparent;
  color: #fff;
}
.account-return-status-view.is-rejected .account-return-status-hero {
  background: #fff;
  box-shadow: inset 0 0 0 1px #111;
}
.account-return-timeline {
  padding: 2px 4px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
}
.account-return-timeline-step {
  position: relative;
  min-height: 62px;
  padding: 0 12px 0 26px;
  display: flex;
  align-items: flex-start;
  gap: 10px;
}
.account-return-timeline-step::before {
  content: '';
  position: absolute;
  top: 8px;
  left: 8px;
  right: -8px;
  height: 1px;
  background: #dedede;
}
.account-return-timeline-step:last-child::before { right: calc(100% - 8px); }
.account-return-timeline-step > span {
  position: absolute;
  z-index: 1;
  top: 3px;
  left: 3px;
  width: 11px;
  height: 11px;
  border: 2px solid #cfcfcf;
  border-radius: 50%;
  background: #fff;
}
.account-return-timeline-step.is-complete > span,
.account-return-timeline-step.is-current > span {
  border-color: #111;
  background: #111;
}
.account-return-timeline-step.is-complete::before,
.account-return-timeline-step.is-current::before { background: #111; }
.account-return-timeline-step > div {
  display: grid;
  gap: 4px;
}
.account-return-timeline-step strong {
  font-size: 10px;
  font-weight: 550;
}
.account-return-timeline-step div span {
  color: #777;
  font-size: 9px;
  line-height: 1.35;
}
.account-return-status-details {
  padding: 20px;
  border: 1px solid #e2e2e2;
  border-radius: 16px;
  background: #fff;
}
.account-return-status-details h4 {
  margin: 0 0 14px;
  font-size: 16px;
  font-weight: 550;
}
.account-return-status-row {
  min-height: 42px;
  padding: 10px 0;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 18px;
  border-top: 1px solid #eee;
  align-items: start;
}
.account-return-status-row > span {
  color: #777;
  font-size: 10px;
}
.account-return-status-row > strong {
  font-size: 11px;
  font-weight: 500;
  line-height: 1.45;
}
.account-return-status-files {
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid #eee;
  display: grid;
  gap: 8px;
}
.account-return-status-files > span {
  color: #777;
  font-size: 10px;
}
.account-return-status-files > div {
  min-height: 42px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border-radius: 10px;
  background: #f4f4f4;
}
.account-return-status-files strong { font-size: 10px; font-weight: 550; }
.account-return-status-files div span,
.account-return-status-files p { margin: 0; color: #777; font-size: 9px; }
.account-return-next-step {
  padding: 18px 20px;
  border-radius: 16px;
  background: #f4f4f4;
}
.account-return-next-step > span {
  display: block;
  margin-bottom: 8px;
  color: #777;
  font-size: 10px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-return-next-step p {
  margin: 0;
  color: #111;
  font-size: 12px;
  line-height: 1.55;
}
.account-return-demo-controls {
  padding: 16px 18px;
  border: 1px dashed #bdbdbd;
  border-radius: 14px;
  background: #fff;
}
.account-return-demo-controls > span {
  display: block;
  margin-bottom: 10px;
  color: #777;
  font-size: 9px;
  letter-spacing: .08em;
  text-transform: uppercase;
}
.account-return-demo-controls > div {
  display: flex;
  gap: 8px;
}
.account-return-demo-controls button {
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid #111;
  border-radius: 10px;
  background: #fff;
  color: #111;
  font: inherit;
  font-size: 10px;
  cursor: pointer;
}
.account-return-demo-controls button:first-child {
  background: #111;
  color: #fff;
}
@media (max-width: 820px) {
  .account-return-timeline {
    grid-template-columns: 1fr;
    gap: 8px;
  }
  .account-return-timeline-step::before {
    top: 8px;
    bottom: -16px;
    left: 8px;
    right: auto;
    width: 1px;
    height: auto;
  }
  .account-return-timeline-step:last-child::before { display: none; }
  .account-return-status-row { grid-template-columns: 1fr; gap: 6px; }
}

/* v49 return status: cleaner premium layout */
.account-return-status-dialog {
  width: min(760px, 100%);
  max-height: min(820px, calc(100vh - 36px));
  padding: 0;
  overflow: hidden;
  border-radius: 18px;
}
.account-return-status-dialog > .account-return-head {
  padding: 28px 30px 22px;
  border-bottom: 1px solid #ececec;
  background: #fff;
}
.account-return-status-dialog .account-return-head h3 {
  margin-top: 8px;
  font-size: 30px;
  line-height: 1;
}
.account-return-status-body {
  max-height: calc(100vh - 150px);
  overflow: auto;
  padding: 24px 30px 30px;
  scrollbar-width: thin;
  scrollbar-color: #b8b8b8 transparent;
}
.account-return-status-body::-webkit-scrollbar { width: 7px; }
.account-return-status-body::-webkit-scrollbar-track { background: transparent; }
.account-return-status-body::-webkit-scrollbar-thumb {
  background: #b8b8b8;
  border-radius: 999px;
}
.account-return-status-view { gap: 16px; }
.account-return-status-hero {
  min-height: 132px;
  padding: 22px 24px;
  border: 0;
  border-radius: 14px;
  background: #f5f5f5;
}
.account-return-status-hero > div:first-child { gap: 7px; }
.account-return-status-hero span {
  font-size: 9px;
  letter-spacing: .18em;
}
.account-return-status-hero strong {
  font-size: 26px;
  line-height: 1.02;
  letter-spacing: -.035em;
}
.account-return-status-hero p {
  max-width: 52ch;
  margin-top: 2px;
  font-size: 11px;
  line-height: 1.55;
}
.account-return-status-mark {
  width: 44px;
  height: 44px;
  border-color: #dcdcdc;
}
.account-return-status-view.is-rejected .account-return-status-hero {
  background: #f5f5f5;
  box-shadow: none;
}
.account-return-timeline {
  position: relative;
  padding: 18px 18px 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  border: 1px solid #e7e7e7;
  border-radius: 14px;
  background: #fff;
  overflow: hidden;
}
.account-return-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: calc(16.666% + 8px);
  right: calc(16.666% + 8px);
  height: 1px;
  background: #dfdfdf;
}
.account-return-timeline-step {
  min-height: 72px;
  padding: 0 12px;
  display: grid;
  grid-template-rows: 20px auto;
  align-content: start;
  justify-items: center;
  gap: 9px;
  text-align: center;
}
.account-return-timeline-step::before { display: none; }
.account-return-timeline-step > span {
  position: relative;
  z-index: 2;
  top: auto;
  left: auto;
  width: 14px;
  height: 14px;
  border: 1px solid #cfcfcf;
  background: #fff;
  box-shadow: 0 0 0 5px #fff;
}
.account-return-timeline-step.is-complete > span,
.account-return-timeline-step.is-current > span {
  border-color: #111;
  background: #111;
}
.account-return-timeline-step > div {
  gap: 5px;
  justify-items: center;
}
.account-return-timeline-step strong {
  font-size: 10px;
  font-weight: 550;
  line-height: 1.25;
}
.account-return-timeline-step div span {
  max-width: 16ch;
  font-size: 9px;
  line-height: 1.35;
}
.account-return-status-details {
  padding: 20px 22px 8px;
  border: 1px solid #e7e7e7;
  border-radius: 14px;
}
.account-return-status-details h4 {
  margin-bottom: 12px;
  font-size: 17px;
  letter-spacing: -.015em;
}
.account-return-status-row {
  min-height: 0;
  padding: 12px 0;
  grid-template-columns: 126px minmax(0, 1fr);
  gap: 20px;
}
.account-return-status-row > span { font-size: 9px; }
.account-return-status-row > strong {
  font-size: 11px;
  line-height: 1.45;
}
.account-return-status-files {
  margin-top: 2px;
  padding: 14px 0 10px;
}
.account-return-status-files > div {
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid #e7e7e7;
  border-radius: 10px;
  background: #fafafa;
}
.account-return-next-step {
  padding: 18px 20px;
  border: 0;
  border-radius: 14px;
  background: #f5f5f5;
}
.account-return-next-step > span {
  margin-bottom: 7px;
  font-size: 9px;
  letter-spacing: .18em;
}
.account-return-next-step p {
  max-width: 62ch;
  font-size: 11px;
  line-height: 1.55;
}
.account-return-demo-controls {
  padding: 14px 16px;
  border: 1px solid #e2e2e2;
  border-radius: 14px;
  background: #fff;
}
.account-return-demo-controls > div { flex-wrap: wrap; }
@media (max-width: 820px) {
  .account-return-status-dialog > .account-return-head { padding: 22px 22px 18px; }
  .account-return-status-body { padding: 18px 22px 24px; }
  .account-return-timeline {
    grid-template-columns: 1fr;
    gap: 0;
    padding: 12px 16px;
  }
  .account-return-timeline::before { display: none; }
  .account-return-timeline-step {
    min-height: 58px;
    grid-template-columns: 20px 1fr;
    grid-template-rows: 1fr;
    justify-items: start;
    align-items: start;
    gap: 10px;
    padding: 9px 0;
    text-align: left;
  }
  .account-return-timeline-step > div { justify-items: start; }
  .account-return-status-row { grid-template-columns: 1fr; gap: 5px; }
}
