/* work/diy-letter-cord-20261107/src/diy.css */
.diy-page,
.diy-admin {
  --diy-rose: #b56e91;
  --diy-ink: #604d59;
  --diy-line: #e8d6df;
  color: var(--diy-ink);
  padding-top: 24px;
  padding-bottom: 48px;
}
.diy-page button,
.diy-admin button,
.diy-page input,
.diy-admin input,
.diy-admin select,
.diy-admin textarea {
  font: inherit;
}
.diy-top,
.diy-admin-title,
.diy-order header,
.diy-job header,
.diy-checkout-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}
.diy-top {
  margin-bottom: 24px;
  flex-wrap: wrap;
}
.diy-top > span,
.diy-admin-title small {
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--diy-rose);
  font-weight: 700;
}
.diy-top > div,
.diy-admin-title > div:last-child,
.diy-job-actions,
.diy-review-actions,
.diy-pager {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.diy-home-card {
  text-decoration: none;
  color: inherit;
}
.diy-home-card .store-hub-cover img {
  object-position: center 48%;
}
.diy-product-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 1fr);
  gap: 38px;
  align-items: start;
  max-width: 1100px;
  margin: 0 auto;
}
.diy-product-photo {
  border: 1px solid var(--diy-line);
  border-radius: 28px;
  background: #fffaf6;
  overflow: hidden;
}
.diy-product-photo > img {
  width: 100%;
  max-height: 590px;
  aspect-ratio: 4/5;
  object-fit: cover;
  object-position: center;
  display: block;
}
.diy-product-photo > div {
  padding: 24px;
}
.diy-product-photo small {
  color: var(--diy-rose);
  font-size: 10px;
  letter-spacing: 0.16em;
}
.diy-product-photo h1 {
  font-size: clamp(25px, 3vw, 34px);
  margin: 8px 0;
  line-height: 1.3;
}
.diy-product-photo p,
.diy-help {
  font-size: 14px;
  line-height: 1.75;
}
.diy-color-notice {
  display: grid;
  gap: 4px;
  margin: 10px 0 16px;
  padding: 12px 14px;
  background: #fff4df;
  border: 1px solid #ecdbb8;
  border-radius: 12px;
  color: #86683f;
  font-size: 13px;
  line-height: 1.65;
}
.diy-color-notice span {
  font-size: 12px;
}
.diy-price {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.diy-price small,
.diy-pay-note {
  display: block;
  color: #947d89;
  font-size: 12px;
}
.diy-price strong {
  font-size: 38px;
  color: #8c4d70;
}
.diy-price strong span {
  font-size: 17px;
}
.diy-price > span {
  font-size: 12px;
  padding: 8px 12px;
  border: 1px solid var(--diy-line);
  border-radius: 99px;
}
.diy-help {
  color: #87717d;
  margin: 12px 0 20px;
}
.diy-unit-editor {
  background: #fffcfa;
  border: 1px solid var(--diy-line);
  border-radius: 21px;
  padding: 20px;
  margin: 0 0 20px;
  min-width: 0;
}
.diy-unit-editor legend {
  padding: 0 8px;
  font-size: 13px;
  color: #98798b;
  font-weight: 700;
}
.diy-unit-editor legend button {
  background: transparent;
  border: 0;
  text-decoration: underline;
  color: #98798b;
  font-size: 12px;
  margin-left: 16px;
  cursor: pointer;
}
.diy-name-preview {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 92px;
  position: relative;
}
.diy-cord {
  width: 100%;
  height: 9px;
  position: absolute;
  border-radius: 20px;
  background: #bad8dd;
  box-shadow: inset 0 -2px 0 #0001;
}
.diy-unit-editor.pink .diy-cord {
  background: #edc6d4;
}
.diy-letters {
  display: inline-flex;
  gap: 5px;
  position: relative;
}
.diy-letters > span {
  font-family: Georgia, serif;
  font-weight: 800;
  font-size: 30px;
  color: #a16a86;
  width: 43px;
  height: 49px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff3eb;
  border: 1px solid #e2c9c6;
  border-radius: 10px;
  box-shadow: 0 3px 0 #dec4c2;
}
.diy-letters > span:nth-child(3n+2) {
  color: #7b9ca7;
  background: #f3f8f8;
}
.diy-letters > span:nth-child(3n) {
  color: #a78a5f;
  background: #fff8df;
}
.diy-unit-editor label,
.diy-catalog-editor > label,
.diy-queue-tools > label {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 7px;
  font-size: 13px;
  font-weight: 600;
}
.diy-unit-editor label > span {
  font-weight: 400;
  color: #a68c99;
}
.diy-unit-editor input,
.diy-catalog-editor input:not([type=checkbox]):not([type=file]),
.diy-catalog-editor textarea,
.diy-queue-tools input,
.diy-queue-tools select {
  width: 100%;
  padding: 13px 14px;
  background: white;
  border: 1px solid var(--diy-line);
  border-radius: 12px;
  color: var(--diy-ink);
  min-width: 0;
}
.diy-unit-editor input {
  font-size: 19px;
  letter-spacing: 0.1em;
}
.diy-unit-editor input:focus,
.diy-catalog-editor input:focus,
.diy-queue-tools input:focus {
  outline: 2px solid #d6a7bd;
  outline-offset: 2px;
}
.diy-colors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 13px;
}
.diy-colors button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  border: 1px solid var(--diy-line);
  border-radius: 12px;
  background: #fff;
  color: var(--diy-ink);
  cursor: pointer;
}
.diy-colors button.selected {
  border-color: #b77999;
  background: #f9eff4;
  box-shadow: inset 0 0 0 1px #b77999;
}
.diy-dot {
  display: inline-block;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  flex-shrink: 0;
  border: 1px solid #0001;
}
.diy-dot.blue {
  background: #bad8dd;
}
.diy-dot.pink {
  background: #edc6d4;
}
.diy-add {
  width: 100%;
  margin-bottom: 20px;
}
.diy-checkout-bar {
  border-top: 1px solid var(--diy-line);
  padding: 18px 0 8px;
}
.diy-checkout-bar small,
.diy-checkout-bar strong {
  display: block;
}
.diy-checkout-bar small {
  font-size: 12px;
  color: #9a8190;
}
.diy-checkout-bar strong {
  font-size: 26px;
}
.diy-pay-note {
  text-align: center;
  line-height: 1.6;
}
.diy-page button:disabled,
.diy-admin button:disabled {
  opacity: 0.5;
  cursor: wait;
}
.diy-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: #3b293d88;
  display: grid;
  place-items: center;
  padding: 20px;
  backdrop-filter: blur(4px);
}
.diy-review {
  max-height: calc(100dvh - 40px);
  overflow: auto;
  overscroll-behavior: contain;
  max-width: 540px;
  width: 100%;
  background: #fffaf6;
  border: 1px solid #ead2df;
  border-radius: 25px;
  padding: 28px;
  box-shadow: 0 20px 70px #30203944;
}
.diy-review h2 {
  margin: 0 0 20px;
  font-size: 24px;
}
.diy-review ul {
  list-style: none;
  margin: 0;
  padding: 0;
  max-height: 220px;
  overflow: auto;
}
.diy-review li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  border-bottom: 1px solid var(--diy-line);
  padding: 13px 0;
  font-size: 13px;
}
.diy-review li strong {
  letter-spacing: 0.1em;
  font-size: 20px;
}
.diy-address {
  display: grid;
  gap: 5px;
  background: #f7eff3;
  border-radius: 12px;
  padding: 14px;
  margin: 16px 0;
  font-size: 13px;
  line-height: 1.65;
}
.diy-review-total {
  display: grid;
  gap: 7px;
  margin: 20px 0;
  font-size: 14px;
}
.diy-review-total strong {
  font-size: 23px;
}
.diy-confirm {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  line-height: 1.7;
}
.diy-confirm input {
  width: 19px;
  height: 19px;
  flex-shrink: 0;
  accent-color: #b56e91;
  margin-top: 2px;
}
.diy-rules {
  font-size: 12px;
  line-height: 1.8;
  margin: 15px 0 20px;
}
.diy-rules summary,
.diy-instructions summary {
  cursor: pointer;
}
.diy-rules p {
  white-space: pre-line;
}
.diy-review-actions > .primary {
  flex: 1;
}
.diy-success {
  display: grid;
  gap: 6px;
  padding: 18px 22px;
  border: 1px solid #c4d9c7;
  background: #f0f8ef;
  border-radius: 15px;
  margin: 0 0 20px;
}
.diy-my-orders {
  max-width: 760px;
  margin: auto;
}
.diy-order-brief {
  margin: 12px 20px;
  padding: 14px 18px;
  border: 1px solid #e8d6df;
  background: #fffaf6;
  border-radius: 14px;
}
.diy-order-brief p {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 14px;
  margin: 8px 0;
}
.diy-order-brief p small {
  color: #98798b;
}
.diy-order-brief a {
  display: inline-block;
  font-size: 13px;
  color: #9e5f80;
  margin-top: 7px;
}
.diy-order,
.diy-job {
  border: 1px solid var(--diy-line);
  border-radius: 19px;
  padding: 19px;
  background: #fffcfa;
  margin-bottom: 16px;
}
.diy-order header,
.diy-job header {
  font-size: 12px;
  flex-wrap: wrap;
  margin-bottom: 15px;
}
.diy-order header small,
.diy-job header small {
  color: #9a8390;
}
.diy-order-unit {
  display: flex;
  gap: 12px;
  align-items: center;
  padding: 13px 0;
  border-top: 1px solid #eee3e8;
}
.diy-order-unit > div {
  flex: 1;
  display: grid;
  gap: 4px;
}
.diy-order-unit > div strong {
  font-size: 20px;
  letter-spacing: 0.06em;
}
.diy-order-unit small {
  color: #9a8390;
  font-size: 12px;
}
.diy-status {
  padding: 5px 10px;
  border-radius: 99px;
  background: #f5e9ef;
  font-size: 12px;
  white-space: nowrap;
}
.diy-status.ready {
  background: #e6f0e6;
  color: #527854;
}
.diy-status.making {
  background: #fff0d8;
  color: #a17942;
}
.diy-status.shipped {
  background: #e7eff7;
  color: #577e9c;
}
.diy-status.cancelled {
  background: #eee;
  color: #888;
}
.diy-empty {
  text-align: center;
  border: 1px dashed var(--diy-line);
  border-radius: 18px;
  padding: 32px;
  line-height: 1.8;
}
.diy-admin-title {
  align-items: flex-start;
  flex-wrap: wrap;
}
.diy-admin-title h1 {
  margin: 6px 0;
  font-size: 28px;
}
.diy-admin-title p {
  margin: 0 0 16px;
  color: #9a8390;
  font-size: 14px;
}
.diy-counts {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.diy-counts button {
  padding: 15px;
  display: grid;
  gap: 4px;
  text-align: center;
  border: 1px solid var(--diy-line);
  background: #fffaf6;
  border-radius: 17px;
  color: var(--diy-ink);
  cursor: pointer;
}
.diy-counts button strong {
  font-size: 26px;
}
.diy-counts button span {
  font-size: 12px;
}
.diy-counts button.selected {
  border-color: var(--diy-rose);
  background: #f7edf2;
}
.diy-instructions {
  background: #f8f2ee;
  padding: 16px;
  border-radius: 14px;
  font-size: 13px;
  line-height: 1.8;
  margin-bottom: 20px;
}
.diy-instructions ol {
  padding-left: 25px;
  margin-bottom: 0;
}
.diy-queue-tools {
  display: grid;
  grid-template-columns: minmax(150px, 1fr) 180px auto;
  align-items: end;
  gap: 12px;
  margin-bottom: 18px;
}
.diy-result-count {
  color: #9a8390;
  font-size: 12px;
}
.diy-job-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(min(100%, 340px), 1fr));
  gap: 16px;
}
.diy-job {
  margin: 0;
}
.diy-job header strong {
  font-weight: 700;
  color: #9e5f80;
}
.diy-job-name {
  padding: 16px 0;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  border-top: 1px solid #eee3e8;
  border-bottom: 1px solid #eee3e8;
}
.diy-job-name > span:last-child {
  display: flex;
  gap: 7px;
  align-items: center;
  font-size: 13px;
}
.diy-job p {
  display: grid;
  gap: 5px;
  font-size: 13px;
  line-height: 1.7;
}
.diy-job p small {
  color: #9a8390;
}
.diy-job-actions .primary,
.diy-job-actions .secondary {
  padding: 10px 15px;
  min-height: 44px;
}
.diy-catalog-editor {
  padding: 22px;
  border: 1px solid var(--diy-line);
  background: #fffaf6;
  border-radius: 20px;
  margin: 20px 0;
  display: grid;
  gap: 18px;
  max-width: 750px;
}
.diy-catalog-editor h2 {
  margin: 0;
  font-size: 21px;
}
.diy-catalog-editor p {
  font-size: 13px;
  line-height: 1.7;
}
.diy-catalog-editor textarea {
  min-height: 110px;
}
.diy-edit-photo {
  display: flex;
  gap: 20px;
  align-items: center;
}
.diy-edit-photo img {
  width: 120px;
  height: 145px;
  object-fit: cover;
  border-radius: 15px;
}
.diy-edit-photo label {
  cursor: pointer;
}
.diy-edit-photo input {
  display: none;
}
.diy-pager {
  justify-content: center;
  margin: 24px 0;
}
@media (max-width: 720px) {
  .diy-page {
    padding-top: 15px;
  }
  .diy-top {
    gap: 10px;
    margin-bottom: 15px;
  }
  .diy-top > span {
    font-size: 10px;
  }
  .diy-top > div {
    gap: 5px;
  }
  .diy-product-layout {
    grid-template-columns: 1fr;
    gap: 24px;
  }
  .diy-product-photo {
    border-radius: 20px;
  }
  .diy-product-photo > img {
    aspect-ratio: 4/3;
    max-height: 340px;
    object-position: center 47%;
  }
  .diy-product-photo > div {
    padding: 19px;
  }
  .diy-product-photo p {
    margin-bottom: 0;
  }
  .diy-price strong {
    font-size: 32px;
  }
  .diy-unit-editor {
    padding: 15px;
  }
  .diy-review {
    padding: 22px;
    border-radius: 20px;
  }
  .diy-modal-backdrop {
    padding: 12px;
  }
  .diy-review {
    max-height: calc(100dvh - 24px);
  }
  .diy-review h2 {
    font-size: 21px;
  }
  .diy-queue-tools {
    grid-template-columns: 1fr 1fr;
  }
  .diy-queue-tools > label:first-child {
    grid-column: 1 / -1;
  }
  .diy-job-name {
    gap: 12px;
  }
  .diy-job .diy-letters > span {
    width: 37px;
    height: 44px;
    font-size: 27px;
  }
}
