/* A private design folio: keep the ceramic images central and surrounding UI quiet. */
.chd-page{max-width:1400px;margin:auto;padding:48px var(--gutter) 80px;min-height:55vh}.chd-heading{max-width:760px;margin-bottom:30px}.chd-heading h1,.chd-page>h1{font-size:clamp(38px,4.7vw,66px);color:var(--berry);margin:14px 0 20px}.chd-heading p,.chd-page>p{font-size:14px;line-height:1.85;margin:14px 0;max-width:64ch}.chd-heading>.btn{margin-top:15px}.chd-link{display:inline-flex;align-items:center;min-height:44px;padding:8px 0;color:var(--berry);font-size:12px;font-weight:650;text-decoration:underline;text-underline-offset:4px;margin-right:22px}.chd-back{margin-bottom:10px}.chd-small,.chd-retention{font-size:11px!important;line-height:1.8;color:var(--muted);margin-top:18px!important;max-width:70ch}.chd-small a,.chd-heading p a,.chd-retention a{color:var(--berry);text-decoration:underline;text-underline-offset:3px}.chd-error{padding:15px 18px;margin:18px 0;background:#f9e9e9;color:#902e40;border-left:3px solid var(--berry);font-size:12px;overflow-wrap:anywhere}.chd-checkout>h2,.chd-empty>h2{font-size:clamp(30px,3vw,43px);color:var(--berry);margin-bottom:18px}.chd-checkout>p,.chd-empty>p{font-size:13px;margin-bottom:23px}.chd-checkout>.field-title{display:block;margin-bottom:9px}.chd-checkout>.btn{margin-top:18px}.chd-empty{padding:22px 0}.chd-empty>.btn{margin-top:8px}.chd-order-list{border-top:1px solid var(--line);margin:26px 0 32px;max-width:800px}.chd-order-list>a{display:flex;align-items:center;justify-content:space-between;gap:22px;padding:23px 0;border-bottom:1px solid var(--line);font-size:14px}.chd-order-list>a>span{font-size:11px;color:var(--berry);flex-shrink:0}.chd-design-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:24px;margin:32px 0}.chd-design{min-width:0;border:1px solid var(--line);border-radius:7px;overflow:hidden;background:#fff}.chd-design.is-selected{outline:2px solid var(--berry);outline-offset:2px}.chd-design-media{aspect-ratio:1;display:grid;place-items:center;background:#f2e7eb}.chd-design-media>img{width:100%;height:100%;object-fit:contain}.chd-design-media>p{padding:24px;font-size:12px;text-align:center;color:var(--muted)}.chd-design-caption{padding:19px}.chd-design-caption>h2{font-family:var(--body);font-size:16px;font-weight:700;letter-spacing:0;margin-bottom:15px}.chd-design-caption>.btn{width:100%;min-height:46px;font-size:12px;padding:12px}.chd-saved{padding:22px 25px;background:#edf1ec;border-left:3px solid var(--sage);margin:28px 0}.chd-saved>strong{font-size:16px}.chd-saved>p{font-size:13px;margin-top:7px}.chd-progress{display:flex;align-items:flex-start;gap:16px;margin:25px 0}.chd-progress>span{width:12px;height:12px;margin-top:7px;flex-shrink:0;background:var(--berry);border-radius:50%;box-shadow:0 0 0 7px #852d4310}.chd-progress p{font-size:14px;margin:0}.chd-resume{padding:12px 0 4px;text-align:center;font-size:11px;color:var(--berry)}.chd-resume a{text-decoration:underline;text-underline-offset:3px}.chd-photo-info{font-size:11px;color:var(--muted);line-height:1.8;margin-top:12px}.chd-photo-info a,.check-row a{text-decoration:underline;text-underline-offset:3px}.chd-live .stepper{max-width:720px}.chd-live .builder-visual>img{aspect-ratio:1;object-fit:cover}.chd-live .builder-actions .btn{min-width:0}.chd-live .builder-heading .eyebrow{display:none}
@media(max-width:850px){.chd-design-grid{gap:14px}.chd-design-caption{padding:14px}.chd-design-caption>.btn{font-size:11px}.chd-page{padding-top:32px}}
@media(max-width:580px){.chd-page{padding:25px 22px 60px}.chd-heading h1,.chd-page>h1{font-size:39px}.chd-design-grid{grid-template-columns:1fr;gap:25px}.chd-design-caption{display:flex;gap:15px;align-items:center;justify-content:space-between;padding:16px}.chd-design-caption>h2{margin:0;font-size:15px;white-space:nowrap}.chd-design-caption>.btn{width:auto;max-width:70%;font-size:12px;padding-inline:17px}.chd-page>p,.chd-heading p{font-size:13px}.chd-order-list>a{font-size:13px}.chd-checkout>h2,.chd-empty>h2{font-size:34px}.chd-checkout .field-input{font-size:16px}.chd-live .builder-visual>img{aspect-ratio:1.35}.chd-small,.chd-retention{font-size:11px!important}.chd-saved{padding:19px}.chd-saved>p{font-size:12px}.chd-live .step-item{font-size:9px}}
@media(prefers-reduced-motion:reduce){.chd-page *,.chd-checkout *{scroll-behavior:auto!important;transition:none!important}}

.subject-photos{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:12px}
.subject-photo{min-width:0;padding:14px;border:1px solid var(--line);border-radius:6px}
.subject-photo>.field-title{display:block;margin-bottom:8px}
.subject-file{display:block;max-width:100%;font:inherit;font-size:11px}
.subject-file::file-selector-button{min-height:42px;margin-right:8px;padding:5px 8px;color:var(--berry);background:#f7eeee;border:1px solid var(--line);border-radius:4px;cursor:pointer}
.subject-preview{display:flex;align-items:center;gap:8px;margin-top:8px;font-size:11px}
.subject-preview>img{flex:0 0 42px;width:42px;height:42px;object-fit:cover;border-radius:4px}
.subject-preview>span{min-width:0;overflow-wrap:anywhere}
.subject-preview>.chd-link{margin:0 0 0 auto;flex-shrink:0}
.chd-locked-builder .builder-visual>img{aspect-ratio:1;object-fit:contain}
.chd-locked-builder .config-caption{padding:14px 0 2px}
.chd-locked-builder .builder-visual:empty{display:none}
.chd-locked-builder .builder-visual:empty+.builder-form{grid-column:1/-1}
@media(max-width:580px){.subject-photos{grid-template-columns:1fr}.chd-locked-builder select.field-input{font-size:16px}}

.chd-chosen-mug{margin:0;display:grid;gap:12px}
.chd-chosen-mug>img{display:block;width:100%;aspect-ratio:1;object-fit:cover;border-radius:6px}
.chd-chosen-mug figcaption{display:grid;gap:4px;padding:12px 0}
.chd-chosen-mug figcaption strong{color:var(--berry);font-size:17px}
.chd-chosen-mug figcaption span{font-size:13px;color:var(--muted)}
.chd-request-details .field-title{display:block;margin:12px 0 6px}
.chd-request-details textarea.field-input{min-height:92px;resize:vertical}
.chd-photo-count{font-size:12px;color:var(--berry);margin-top:8px}
.subject-preview>img{flex-basis:56px;width:56px;height:56px}
.chd-fee-summary{display:flex;justify-content:space-between;align-items:flex-start;gap:16px;padding:16px 18px;border:1px solid var(--line);border-radius:6px;background:#faf4f4;margin-bottom:20px}
.chd-fee-summary h2{font:700 18px/1.3 var(--body);letter-spacing:0;color:var(--berry);margin:0 0 5px}
.chd-fee-summary p{font-size:13px;margin:0}
.chd-fee-summary>strong{font-size:24px;color:var(--berry)}
.chd-request-review{margin:0 0 20px;border-block:1px solid var(--line);padding:12px 0}
.chd-request-review>div{display:flex;justify-content:space-between;align-items:center;gap:12px}
.chd-request-review h2,.chd-request-review h3{font:700 15px/1.4 var(--body);letter-spacing:0;margin:0}
.chd-request-review .chd-link{margin:0;flex:none}
.chd-request-review ul{display:flex;flex-wrap:wrap;list-style:none;padding:0;margin:4px 0 12px;gap:12px}
.chd-request-review li{display:grid;gap:4px;justify-items:center;font-size:12px}
.chd-request-review li img{display:block;width:54px;height:54px;object-fit:cover;border-radius:5px}
.chd-request-review dl{margin:0;font-size:13px}
.chd-request-review dl div{display:grid;grid-template-columns:minmax(64px,auto) 1fr;gap:12px;margin:7px 0}
.chd-request-review dt{font-weight:700}
.chd-request-review dd{margin:0;white-space:pre-wrap;overflow-wrap:anywhere}
.chd-page .chd-request-review{max-width:760px;margin-top:20px}
@media(max-width:700px){
  .chd-builder-compact .chd-chosen-mug{grid-template-columns:76px minmax(0,1fr);align-items:center;gap:14px;padding:10px;border:1px solid var(--line);border-radius:6px}
  .chd-builder-compact .chd-chosen-mug figcaption{padding:0}
  .chd-builder-compact .chd-chosen-mug strong{font-size:15px}
  .chd-builder-compact .chd-chosen-mug span{font-size:12px}
}

.chd-edit-subjects{display:inline-flex;align-items:center;min-height:44px;padding:0 0 4px;color:var(--berry);font-size:13px;font-weight:650;text-decoration:underline;text-underline-offset:4px}
.chd-edit-subjects+.field-group,.chd-edit-subjects+div[hidden]+.field-group{margin-top:8px}
.chd-mug-order {
  max-width: 720px;
  margin: 30px 0;
  padding: clamp(18px, 4vw, 34px);
  border: 1px solid var(--line);
  border-top: 3px solid var(--berry);
  border-radius: 7px;
  background: #fff;
}
.chd-mug-order h2 {
  margin: 0 0 10px;
  color: var(--berry);
  font-size: clamp(27px, 4vw, 41px);
}
.chd-mug-order p, .chd-reference-consent {font-size: 13px; line-height: 1.65;}
.chd-mug-order .btn {min-height: 46px; max-width: 100%; margin-top: 15px;}
.chd-mug-order .btn[aria-disabled="true"] {opacity: .65; cursor: wait;}
.chd-mug-prices {margin: 20px 0 12px; max-width: 400px;}
.chd-mug-prices > div {display: flex; align-items: baseline; justify-content: space-between; gap: 18px; padding: 8px 0; font-size: 14px;}
.chd-mug-prices dd {margin: 0; font-weight: 650; white-space: nowrap; font-variant-numeric: tabular-nums;}
.chd-mug-prices .chd-mug-balance {margin-top: 6px; border-top: 1px solid var(--line); color: var(--berry); font-weight: 700;}
.chd-mug-order .chd-mug-shipping, .chd-mug-order .chd-reference-rules {margin-top: 8px; color: var(--muted); font-size: 12px;}
.chd-reference-form {margin-top: 16px;}
.chd-reference-fields {min-inline-size: 0; margin: 16px 0 0; padding: 0; border: 0;}
.chd-reference-fields > legend {padding: 0; color: var(--berry); font-size: 14px; font-weight: 700;}
.chd-reference-list {display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 10px 0 14px;}
.chd-reference-subject {padding: 0 12px 8px; background: #faf5f7; border: 1px solid var(--line); border-radius: 5px;}
.chd-reference-picker {position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 3px 10px; min-height: 44px; font-size: 13px;}
.chd-reference-picker strong {color: var(--berry); text-decoration: underline; text-underline-offset: 3px;}
.chd-reference-picker input {position: absolute; inset: 0; width: 100%; height: 100%; opacity: 0; cursor: pointer;}
.chd-reference-picker:focus-within {outline: 2px solid var(--berry); outline-offset: 2px; border-radius: 2px;}
.chd-mug-order .chd-reference-file {margin: 0; color: var(--muted); font-size: 12px;}
.chd-reference-consent {display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; cursor: pointer;}
.chd-reference-consent input {flex: none; width: 19px; height: 19px; margin: 2px 0 0; accent-color: var(--berry);}
.chd-reference-fields > .chd-link {margin: 0 18px 0 0;}

@media (max-width: 580px) {
  .chd-reference-list {grid-template-columns: 1fr;}
  .chd-mug-order .btn {width: 100%; white-space: normal;}
}
