/* The approved store journey: one live object, quiet surfaces, explicit outcomes. */
:root {
  --muted: #707078;
}
.store-heading p {
  max-width: 340px;
  margin: auto;
}
.store-heading h1 {
  font-weight: 800;
}
.journey-discovery {
  margin: 0 0 22px;
}
.journey-search-row {
  display: flex;
  gap: 10px;
  align-items: center;
}
.journey-search {
  flex: 1;
  min-width: 0;
}
.journey-search > span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip-path: inset(50%);
}
.journey-search input,
.journey-search-row select {
  width: 100%;
  background: #eaeaee;
  border: 0;
  border-radius: 16px;
  min-height: 46px;
  padding: 12px 14px;
  font-size: 14px;
}
.journey-search-row select {
  width: 145px;
}
.journey-collections {
  display: flex;
  gap: 8px;
  overflow: auto;
  padding: 12px 0 4px;
  scrollbar-width: none;
}
.journey-collections button {
  border-radius: 999px;
  min-height: 42px;
  padding: 8px 16px;
  background: #eaeaee;
  font-size: 13px;
  white-space: nowrap;
}
.journey-collections button[aria-pressed='true'] {
  background: #242426;
  color: #fff;
}
.journey-results {
  display: flex;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--muted);
  min-height: 42px;
}
.journey-results > span {
  margin-right: auto;
}
.journey-results button {
  font: inherit;
  background: transparent;
  min-height: 44px;
  padding: 4px 0;
  color: var(--ink);
}
.journey-card {
  min-width: 0;
}
.journey-card > .product-card {
  width: 100%;
}
.journey-card-actions {
  display: flex;
  justify-content: space-between;
  gap: 4px;
  margin-top: 6px;
}
.journey-card-actions button {
  background: #eaeaee;
  border-radius: 999px;
  font-size: 11px;
  padding: 6px 10px;
  min-height: 36px;
  flex: 1;
  min-width: 0;
}
.journey-card-actions button[aria-pressed='true'] {
  background: #242426;
  color: white;
}
.journey-library-tabs,
.journey-builder-nav > div {
  display: flex;
  background: #e8e8ed;
  border-radius: 999px;
  padding: 4px;
  gap: 2px;
}
.journey-library-tabs {
  max-width: 420px;
  margin: 0 auto 24px;
}
.journey-library-tabs button,
.journey-builder-nav [data-build-group] {
  flex: 1;
  background: transparent;
  border-radius: 999px;
  padding: 10px 8px;
  min-height: 44px;
  font-size: 13px;
}
.journey-library-tabs button[aria-pressed='true'],
.journey-builder-nav [aria-pressed='true'] {
  background: white;
}
.journey-builder-nav {
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 24px;
}
.journey-builder-nav > div {
  flex: 1;
}
.journey-builder-nav > [data-undo] {
  background: #e8e8ed;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 16px;
  font-size: 12px;
}
.journey-artwork-button {
  background: none;
  font-size: 11px;
  color: var(--muted);
  padding: 4px;
  min-height: 36px;
}
.journey-selection-dock {
  position: fixed;
  z-index: 20;
  bottom: max(12px, env(safe-area-inset-bottom));
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  align-items: center;
  gap: 10px;
  width: calc(100% - 24px);
  max-width: 620px;
  padding: 12px;
  background: #ffffffee;
  backdrop-filter: blur(18px);
  border: 1px solid #e7e7ec;
  box-shadow: 0 8px 35px #00000015;
  border-radius: 24px;
}
.journey-selection-dock > div {
  min-width: 0;
  flex: 1;
}
.journey-selection-dock strong {
  font-size: 13px;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.journey-selection-dock small {
  font-size: 10px;
  color: var(--muted);
  display: block;
}
.journey-selection-dock button {
  border-radius: 999px;
  min-height: 44px;
  font-size: 12px;
  background: #eaeaee;
  padding: 10px 14px;
}
.journey-selection-dock .primary {
  width: auto;
  background: #242426;
  color: white;
}
.journey-selection-dock [data-dismiss] {
  padding: 8px;
  background: transparent;
  font-size: 11px;
}
.journey-has-selection #store {
  padding-bottom: 130px;
}
.journey-dialog {
  border: 0;
  padding: 20px 24px 28px;
  max-width: 520px;
  width: calc(100% - 24px);
  max-height: calc(100dvh - 24px);
  border-radius: 28px;
  background: #f5f5f7;
  color: #1d1d1f;
  font-family:
    'RecordBox Manrope',
    -apple-system,
    sans-serif;
  overscroll-behavior: contain;
  scrollbar-width: thin;
}
.journey-dialog::backdrop {
  background: #20202460;
  backdrop-filter: blur(8px);
}
.journey-dialog-close {
  display: block;
  margin: 0 0 12px auto;
  padding: 8px 12px;
  min-height: 44px;
  background: #eaeaee;
  border-radius: 999px;
  font-size: 12px;
}
.journey-dialog h2 {
  font-size: 32px;
  line-height: 1.1;
  letter-spacing: -0.045em;
  margin: 8px 0 16px;
  font-weight: 800;
}
.journey-dialog h3 {
  font-size: 18px;
  line-height: 1.25;
  margin: 12px 0 6px;
}
.journey-dialog p {
  font-size: 14px;
  line-height: 1.5;
  color: var(--muted);
}
.journey-dialog .primary {
  font-size: 14px;
  margin-top: 18px;
}
.journey-dialog .secondary {
  font-size: 13px;
}
.journey-product-preview,
.journey-build-preview {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  margin: 14px 0 20px;
}
.journey-product-preview .studio-preview-object,
.journey-build-preview .studio-preview-object {
  width: 90%;
  left: 5%;
}
.journey-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 12px 0;
}
.journey-inline-actions button,
.journey-inline-actions label {
  background: #eaeaee;
  border-radius: 999px;
  min-height: 44px;
  padding: 10px 14px;
  font-size: 12px;
  flex: 1;
  white-space: nowrap;
}
.journey-inline-actions input[type='file'] {
  display: none;
}
.journey-info,
.journey-help details {
  background: #eaeaee;
  border-radius: 18px;
  padding: 14px;
  margin: 12px 0;
}
.journey-info summary,
.journey-help summary {
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  min-height: 28px;
}
.journey-help p {
  font-size: 13px;
  margin-bottom: 0;
}
.journey-order {
  border-radius: 20px;
  background: #eaeaee;
  padding: 18px;
  margin: 20px 0;
}
.journey-order > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  font-size: 14px;
}
.journey-order > div + div {
  border-top: 1px solid #d9d9df;
  margin-top: 8px;
  padding-top: 16px;
}
.journey-order p {
  font-size: 12px;
  margin-bottom: 0;
}
.journey-compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.journey-compare section {
  min-width: 0;
}
.journey-compare h3 {
  font-size: 15px;
}
.journey-compare p {
  font-size: 12px;
}
.journey-compare .journey-product-preview {
  margin: 0;
  aspect-ratio: 1;
}
.journey-compare .primary {
  padding: 10px 8px;
  font-size: 12px;
}
.journey-dialog:has(.journey-compare) {
  max-width: 700px;
}
.journey-parts {
  padding: 16px;
  background: #eaeaee;
  border-radius: 20px;
}
.journey-parts > div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  padding: 10px 0;
  font-size: 13px;
}
.journey-parts > div + div {
  border-top: 1px solid #d9d9df;
}
.journey-parts span {
  color: var(--muted);
}
.journey-parts strong {
  text-align: right;
  font-weight: 600;
}
.journey-build-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.journey-build-grid article {
  min-width: 0;
}
.journey-builds h2 {
  font-size: 24px;
  letter-spacing: -0.035em;
}
.journey-build-grid h3 {
  font-size: 15px;
  margin: 8px 0 4px;
  overflow-wrap: anywhere;
}
.journey-build-grid small {
  font-size: 11px;
  color: var(--muted);
}
.journey-build-grid button {
  font-size: 11px;
  padding: 10px;
  min-height: 44px;
}
.journey-build-thumb {
  position: relative;
  width: 100%;
  aspect-ratio: 1;
  background: #eaeaee;
  border-radius: 20px;
}
.journey-empty {
  padding: 24px;
  background: #eaeaee;
  border-radius: 24px;
  text-align: center;
}
.journey-crop {
  width: 100%;
  height: auto;
  border-radius: 20px;
  display: block;
}
.journey-crop-controls {
  display: grid;
  gap: 10px;
  padding: 16px 0;
}
.journey-crop-controls label {
  display: flex;
  gap: 16px;
  align-items: center;
  font-size: 12px;
  color: var(--muted);
}
.journey-crop-controls input {
  flex: 1;
  min-width: 0;
  accent-color: #242426;
}
.journey-motion-controls {
  display: flex;
  gap: 20px;
  align-items: center;
}
.journey-motion-controls button {
  margin: 0;
  width: auto;
}
.journey-motion-controls label {
  font-size: 13px;
  display: flex;
  gap: 8px;
  align-items: center;
  min-height: 44px;
}
.journey-motion-controls input {
  accent-color: #242426;
}
.journey-record-list {
  display: grid;
  gap: 12px;
  margin: 18px 0;
}
.journey-record-list label {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border-radius: 20px;
  background: #eaeaee;
  cursor: pointer;
}
.journey-record-list img {
  width: 46px;
  height: 46px;
  object-fit: cover;
  border-radius: 10px;
}
.journey-record-list span {
  flex: 1;
  min-width: 0;
}
.journey-record-list strong {
  font-size: 14px;
}
.journey-record-list small {
  display: block;
  font-size: 12px;
  color: var(--muted);
}
.journey-record-list input {
  accent-color: #242426;
  width: 18px;
  height: 18px;
}
.journey-toast {
  position: fixed;
  bottom: 110px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 40;
  background: #242426;
  color: white;
  border-radius: 18px;
  padding: 14px 20px;
  font-size: 13px;
  max-width: calc(100% - 30px);
  width: max-content;
  box-shadow: 0 4px 24px #0002;
}
.journey-share-url {
  width: 100%;
  border: 1px solid #ccc;
  border-radius: 12px;
  padding: 12px;
  font-size: 13px;
}
.journey-auth-context {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 20px 0 32px;
  padding: 12px;
  background: #eaeaee;
  border-radius: 20px;
}
.journey-auth-context img {
  width: 85px;
  height: 85px;
  object-fit: contain;
}
.journey-auth-context strong,
.journey-auth-context small {
  display: block;
}
.journey-auth-context small {
  color: var(--muted);
}
@media (max-width: 600px) {
  #store {
    padding: 16px 18px 48px;
  }
  .product-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 14px;
  }
  .product-art:has(.complete-preview) {
    aspect-ratio: 1;
    border-radius: 20px;
  }
  .product-card h2 {
    font-size: 14px;
    font-weight: 600;
    margin-top: 8px;
  }
  .card-meta {
    font-size: 12px;
  }
  .journey-selection-dock {
    gap: 6px;
    padding: 10px;
  }
  .journey-selection-dock button {
    padding: 10px;
    font-size: 11px;
  }
  .journey-selection-dock [data-dismiss] {
    font-size: 10px;
  }
  .journey-dialog {
    padding: 16px 20px 24px;
  }
  .journey-dialog h2 {
    font-size: 30px;
  }
  .journey-search-row select {
    width: 126px;
    font-size: 12px;
  }
  .journey-search input {
    font-size: 16px;
  }
  .studio-preview-stage {
    --studio-header-fade: 18px;
  }
  .store-modes {
    margin-top: 4px;
    margin-bottom: 24px;
    width: 100%;
  }
  .store-modes button {
    flex: 1;
    padding: 11px 8px;
    font-size: 12px;
  }
  .journey-build-grid {
    gap: 14px;
  }
}
@media (min-width: 800px) {
  .product-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  .journey-discovery {
    max-width: 700px;
    margin: 0 auto 28px;
  }
  .journey-builder-nav {
    max-width: 600px;
    margin: 0 auto 24px;
  }
  .journey-build-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}
@media (prefers-reduced-motion: reduce) {
  .journey-dialog::backdrop {
    backdrop-filter: none;
  }
}
/* Selection stays beside the shopper; edition information opens explicitly. */
#complete-selection {
  display: none;
}
.journey-product-preview.complete-object,
.journey-build-preview.complete-object,
.journey-build-thumb.complete-object {
  height: auto;
  aspect-ratio: 1;
  position: relative;
}
.journey-product-preview > .studio-preview-stage,
.journey-build-preview > .studio-preview-stage,
.journey-build-thumb > .studio-preview-stage {
  position: absolute;
  inset: 0;
  height: 100%;
  margin: 0;
}
.journey-build-preview.complete-object {
  max-width: 280px;
  aspect-ratio: 1/1.25;
  margin: 12px auto 18px;
}
.journey-build-preview .studio-preview-object {
  width: 85%;
  left: 7.5%;
}
.journey-build-thumb.complete-object {
  aspect-ratio: 1/1.2;
}
.journey-build-thumb .studio-preview-object {
  width: 82%;
  left: 9%;
}
.journey-component-note {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
  margin: -8px 0 22px;
}
.journey-media-nav {
  display: flex;
  gap: 8px;
  margin: 0 0 20px;
}
.journey-media-nav button {
  flex: 1;
  border-radius: 18px;
  background: #eaeaee;
  min-height: 46px;
  font-size: 13px;
}
.journey-media-nav button[aria-pressed='true'] {
  box-shadow: inset 0 0 0 2px #99999f;
  background: #fff;
}
body:has(#detail:not([hidden])) .store-navigation {
  justify-content: center;
  margin-bottom: 12px;
}
body:has(#detail:not([hidden])) .store-navigation a:last-child {
  display: none;
}
.account-panel {
  margin: 24px auto;
}
.account-panel h2 {
  font-size: 34px;
}
.account-panel .journey-auth-context {
  margin: 18px 0;
}
.account-panel > .eyebrow {
  display: none;
}
.journey-library-account {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
  margin: -12px 0 22px;
  font-size: 11px;
  color: var(--muted);
}
.journey-library-account button,
.journey-library-account a {
  background: none;
  color: var(--ink);
  font-size: 12px;
  min-height: 44px;
  padding: 10px;
}
