/* Customer composition: editorial shop, guided forms and readable saved records. */
.customer-shell .customer-experience { gap: var(--s6); }

.customer-shell .catalog-masthead {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, .6fr);
  align-items: center;
  gap: var(--s6);
  padding: clamp(1.5rem, 3vw, 3rem);
  border-radius: 16px;
  background: var(--hover);
  overflow: hidden;
}
.customer-shell .catalog-masthead-copy {
  display: grid;
  justify-items: start;
  gap: var(--s3);
  min-inline-size: 0;
}
.customer-shell .catalog-masthead h1 {
  font-size: clamp(2rem, 3.1vw, 2.75rem);
  line-height: 1.45;
  color: var(--text);
}
.customer-shell .catalog-masthead p { max-inline-size: 38rem; color: var(--text-2); }
.customer-shell .catalog-masthead .customer-back { gap: var(--s2); color: var(--info); }
.customer-shell .catalog-masthead .customer-back .icon { inline-size: 20px; block-size: 20px; }
.customer-shell .catalog-masthead-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--s4) var(--s3);
  min-inline-size: 0;
  isolation: isolate;
}
.customer-shell .catalog-masthead-cover {
  inline-size: 42%;
  flex: 0 0 42%;
  aspect-ratio: 3 / 4;
  overflow: hidden;
  border-radius: 12px;
  box-shadow: var(--shadow-2);
  background: var(--surface);
}
.customer-shell .catalog-masthead-cover:first-child { transform: rotate(8deg); }
.customer-shell .catalog-masthead-cover:nth-child(2) { margin-inline: -11%; transform: translateY(-8px); z-index: 1; }
.customer-shell .catalog-masthead-cover:nth-child(3) { transform: rotate(-8deg); }
.customer-shell .catalog-masthead-cover img { display: block; inline-size: 100%; block-size: 100%; object-fit: cover; }
.customer-shell .customer-experience.catalog-page > .catalog-collection { display: grid; gap: var(--s5); }
.customer-shell .customer-experience .catalog-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s4) var(--s6);
  padding-block: 0 var(--s5);
  border-block-end: 1px solid var(--border);
}
.customer-shell .customer-experience .catalog-search { flex: 1 1 17rem; max-inline-size: 23rem; }
.customer-shell .catalog-search > label { font-size: var(--type-small); }
.customer-shell .catalog-search .input { background: var(--surface); border-radius: 10px; }
.customer-shell .customer-experience .catalog-filters { flex: 0 1 auto; gap: var(--s2); }
.customer-shell .customer-experience .catalog-filter {
  min-block-size: 44px;
  padding: var(--s2) var(--s4);
  border: 1px solid var(--border);
  border-radius: 999px;
  background: var(--surface);
  color: var(--text-2);
}
.customer-shell .customer-experience .catalog-filter:hover { background: var(--hover); border-color: var(--input-border); }
.customer-shell .customer-experience .catalog-filter[aria-pressed="true"] { background: var(--info); border-color: var(--info); color: var(--on-action); }
.customer-shell .catalog-results-heading { display: flex; align-items: baseline; justify-content: space-between; flex-wrap: wrap; gap: var(--s2) var(--s4); }
.customer-shell .catalog-results-heading h2 { font-size: var(--type-section); }
.customer-shell .catalog-results-heading .catalog-count { margin: 0; }
.customer-shell .catalog-page .product-process { margin-block-start: var(--s5); }

/* Product details put the artwork and actual next action in a deliberate showcase. */
.customer-shell .customer-experience .product-intro-grid {
  grid-template-columns: minmax(0, .95fr) minmax(0, 1fr);
  align-items: stretch;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 16px;
  overflow: hidden;
  background: var(--surface);
}
.customer-shell .customer-experience .product-intro-media {
  display: grid;
  align-items: center;
  inline-size: 100%;
  border-radius: 0;
  padding: var(--s6);
  background: var(--hover);
}
.customer-shell .product-intro-media img { border-radius: 12px; }
.customer-shell .customer-experience .product-intro-copy { padding: clamp(1.25rem, 3vw, 2.5rem); align-content: center; }
.customer-shell .product-intro-copy h1 { font-size: clamp(1.75rem, 2.5vw, 2.5rem); }
.customer-shell .customer-experience .product-intro-copy > .product-intro-format { color: var(--info); font-size: var(--type-small); }
.customer-shell .product-intro-copy > .customer-price { inline-size: 100%; padding-block: var(--s4); }
.customer-shell .product-intro-copy .product-intro-actions { inline-size: 100%; padding-block-start: var(--s2); }
.customer-shell .product-intro-actions > .btn { flex: 1 1 12rem; justify-content: space-between; }
.customer-shell .customer-experience .product-process {
  padding: var(--s6) 0;
  border-block: 1px solid var(--border);
  gap: var(--s5);
}
.customer-shell .customer-experience .product-process li {
  grid-template-columns: 2.25rem minmax(0, 1fr);
  gap: var(--s1) var(--s3);
}
.customer-shell .customer-experience .product-process li > span {
  grid-row: span 2;
  display: grid;
  place-items: center;
  align-self: start;
  min-block-size: 2.25rem;
  border-radius: 50%;
  background: var(--selected);
  color: var(--info);
}
.customer-shell .customer-experience .product-process li p { grid-column: 2; }

/* Saved work reads as a collection of records, separate from the shop cards. */
.customer-shell .customer-experience .customer-library-header {
  align-items: center;
  padding: var(--s6);
  border-radius: 16px;
  background: var(--hover);
  gap: var(--s5);
}
.customer-shell .customer-library-header > div:first-child { max-inline-size: 40rem; }
.customer-shell .customer-library-header h1 { margin-block-end: var(--s2); }
.customer-shell .customer-experience .customer-library-toolbar { padding-block-end: var(--s4); border-block-end: 1px solid var(--border); }
.customer-shell .customer-experience .spec-grid { grid-template-columns: minmax(0, 1fr); }
.customer-shell .customer-experience .spec-card { display: grid; grid-template-columns: 11rem minmax(0, 1fr); border-radius: 16px; }
.customer-shell .customer-experience .spec-card-image { aspect-ratio: auto; max-block-size: none; block-size: 100%; }
.customer-shell .customer-experience .spec-card-copy { padding: var(--s5); }
.customer-shell .customer-experience .spec-card-copy > .customer-price { margin: 0; }
.customer-shell .spec-card .spec-status { justify-self: start; }
.customer-shell .customer-experience .spec-card-actions { padding-block-start: var(--s3); }
.customer-shell .customer-experience .spec-completion {
  padding: var(--s6);
  border: 0;
  border-radius: 16px;
  background: var(--hover);
  gap: var(--s3);
}
.customer-shell .customer-experience .spec-completion > .spec-status { color: var(--text); }
.customer-shell .customer-experience .spec-summary { padding: var(--s5); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.customer-shell .customer-experience .spec-summary > img { inline-size: 100%; }

/* Guided forms and order/account pages use the same page hierarchy without marketing. */
.customer-shell .customer-experience > .customer-section-heading {
  align-items: center;
  padding-block: var(--s2) var(--s5);
  border-block-end: 1px solid var(--border);
  gap: var(--s3) var(--s5);
}
.customer-shell .customer-experience > .customer-section-heading h1 { font-size: clamp(1.75rem, 2.7vw, 2.5rem); }
.customer-shell .customer-experience :is(.customer-form-section, .customer-summary, .customer-order-overview, .customer-reader, .customer-revision) { border-radius: 16px; padding: var(--s5); }
.customer-shell .customer-experience .customer-quote-panel { background: var(--hover); }
.customer-shell .customer-experience .customer-quote-panel h2 { padding-block-end: var(--s3); border-block-end: 1px solid var(--border); }
.customer-shell .customer-experience .customer-order-facts { padding: var(--s5); background: var(--surface); border: 1px solid var(--border); border-radius: 12px; }
.customer-shell .customer-experience:has(> .customer-form-section) { grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
.customer-shell .customer-experience:has(> .customer-form-section) > :is(header, .customer-back, .customer-form-section:first-of-type) { grid-column: 1 / -1; }
.customer-shell .customer-experience > .customer-form-section > h2 { padding-block-end: var(--s3); border-block-end: 1px solid var(--border); }
.customer-shell .customer-experience .intake-overview { gap: var(--s5); }
.customer-shell .customer-experience .intake-page-heading { padding-block-end: var(--s5); border-block-end: 1px solid var(--border); }
.customer-shell .customer-experience .intake-step { min-block-size: 52px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface); }
.customer-shell .customer-experience .intake-step[aria-current="step"] { border-color: var(--info); background: var(--selected); }
.customer-shell .intake-step[aria-current="step"] .intake-step-number { background: var(--info); border-color: var(--info); color: var(--on-action); }
.customer-shell .customer-experience .intake-form { padding: var(--s6); border-radius: 16px; gap: var(--s6); }
.customer-shell .customer-experience .intake-sidebar { padding: var(--s5); border: 1px solid var(--border); border-radius: 16px; background: var(--surface); }
.customer-shell .customer-experience .intake-answer-section > header { padding-block-end: var(--s3); }
.customer-shell .customer-experience .customer-empty { padding: var(--s7) var(--s5); border-style: solid; border-radius: 16px; background: var(--hover); }

@media (max-width: 960px) {
  .customer-shell .catalog-masthead { grid-template-columns: minmax(0, 1fr) minmax(10rem, .55fr); padding: var(--s5); }
  .customer-shell .customer-experience .product-intro-grid { grid-template-columns: minmax(0, 1fr); }
  .customer-shell .customer-experience .product-intro-media { padding: var(--s5); }
  .customer-shell .product-intro-media img { max-inline-size: 30rem; justify-self: center; }
  .customer-shell .customer-experience .spec-summary { position: static; }
  .customer-shell .customer-experience:has(> .customer-form-section) { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 700px) {
  .customer-shell .customer-experience { gap: var(--s5); }
  .customer-shell .catalog-masthead { grid-template-columns: minmax(0, 1fr); gap: var(--s3); }
  .customer-shell .catalog-masthead h1 { font-size: 2rem; }
  .customer-shell .catalog-masthead-art { inline-size: min(100%, 18rem); justify-self: center; max-block-size: 11rem; padding: var(--s2) var(--s3); }
  .customer-shell .catalog-masthead-cover { aspect-ratio: 4 / 3; }
  .customer-shell .customer-experience .catalog-toolbar { align-items: stretch; gap: var(--s4); }
  .customer-shell .customer-experience .catalog-search { flex: none; max-inline-size: none; inline-size: 100%; }
  .customer-shell .customer-experience .catalog-filters { flex: none; inline-size: 100%; }
  .customer-shell .customer-experience .catalog-filter { flex: 1 1 auto; padding-inline: var(--s3); }
  .customer-shell .catalog-results-heading h2 { font-size: var(--type-card); }
  .customer-shell .customer-experience .customer-library-header { padding: var(--s5); }
  .customer-shell .customer-library-header > .row { inline-size: 100%; }
  .customer-shell .customer-library-header > .row > .btn { flex: 1 1 auto; }
  .customer-shell .customer-experience .spec-card { grid-template-columns: 7rem minmax(0, 1fr); }
  .customer-shell .customer-experience .spec-card-copy { padding: var(--s4); }
  .customer-shell .customer-experience .spec-card-image img { object-position: center; }
  .customer-shell .customer-experience .spec-completion { padding: var(--s5); }
  .customer-shell .customer-experience :is(.intake-form, .intake-sidebar, .spec-summary) { padding: var(--s4); }
  .customer-shell .customer-experience .intake-step { min-block-size: 48px; }
  .customer-shell .customer-experience .product-intro-copy { padding: var(--s5); }
  .customer-shell .product-intro-actions > .btn { flex-basis: auto; }
}
@media (max-width: 380px) {
  .customer-shell .catalog-masthead { padding: var(--s4); }
  .customer-shell .customer-experience .spec-card { grid-template-columns: minmax(0, 1fr); }
  .customer-shell .customer-experience .spec-card-image { aspect-ratio: 16 / 9; }
  .customer-shell .customer-experience .product-intro-media { padding: var(--s4); }
  .customer-shell .customer-experience .product-intro-copy { padding: var(--s4); }
}
@media (forced-colors: active) {
  .customer-shell :is(.catalog-masthead, .customer-library-header, .spec-completion) { border: 1px solid CanvasText; }
  .customer-shell .catalog-masthead-cover { border: 1px solid CanvasText; box-shadow: none; }
}
@media(min-width:960px){
 .customer-shell .customer-experience .spec-card-copy{display:grid;grid-template-columns:minmax(0,1fr) auto;align-content:center;gap:.6rem 2rem}
 .customer-shell .spec-card-copy>:is(.spec-status,h2,p){grid-column:1}
 .customer-shell .spec-card-copy>.customer-price{grid-column:2;grid-row:1/3;align-self:center;min-inline-size:12rem}
 .customer-shell .customer-experience .spec-card-actions{grid-column:2;grid-row:3;padding:0;justify-content:flex-end;align-items:end}
}
