:root {
  --ink: #22241f;
  --muted: #66685e;
  --cream: #f8f5ee;
  --paper: #fffdf8;
  --white: #fff;
  --gold: #916a32;
  --line: #e5dfd2;
  --green: #304538;
  --green-dark: #1e3529;
  --red: #9a403b;
  --serif: Georgia, "Times New Roman", serif;
  --sans: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --radius: 12px;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  background: var(--paper);
  color: var(--ink);
  font: 15px/1.55 var(--sans);
  -webkit-font-smoothing: antialiased;
}
button,
input,
select,
textarea {
  font: inherit;
}
button,
a {
  touch-action: manipulation;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
button:disabled {
  cursor: not-allowed;
  opacity: 0.55;
}
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid #c1995f;
  outline-offset: 3px;
}
img {
  max-width: 100%;
  display: block;
}
svg {
  width: 24px;
  height: 24px;
  flex: none;
}
h1,
h2,
h3,
p {
  margin: 0;
}
h1,
h2 {
  font-family: var(--serif);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.06;
}
h1 {
  font-size: clamp(2.4rem, 5vw, 4.5rem);
}
h2 {
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}
h3 {
  font-size: 1.06rem;
  line-height: 1.3;
}
p {
  color: var(--muted);
}
.wrap {
  width: min(1200px, calc(100% - 64px));
  margin-inline: auto;
}
.skip {
  position: fixed;
  left: 12px;
  top: -80px;
  background: var(--green);
  color: white;
  padding: 12px;
  z-index: 50;
}
.skip:focus {
  top: 5px;
}
.announcement {
  background: var(--green-dark);
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 9px;
  font-size: 12px;
  letter-spacing: 0.025em;
  padding: 8px 12px;
  text-align: center;
}
.announcement span {
  color: #dcc497;
}
.header {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
  position: sticky;
  top: 0;
  z-index: 10;
}
.header-inner {
  height: 78px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
}
.brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.brand img {
  width: 182px;
  height: auto;
}
.header nav,
.header-actions {
  display: flex;
  align-items: center;
  gap: 22px;
}
.header nav a,
.link-action {
  font-size: 14px;
  font-weight: 550;
}
.header nav a:hover,
.link-action:hover,
.footer a:hover {
  color: var(--gold);
}
.link-action {
  display: flex;
  align-items: center;
  gap: 7px;
}
.basket {
  position: relative;
  display: flex;
  align-items: center;
  gap: 5px;
}
.basket span {
  font-size: 12px;
  font-weight: 700;
}
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 1px solid transparent;
  border-radius: 7px;
  padding: 13px 22px;
  font-weight: 650;
  line-height: 1.3;
  text-align: center;
  font-size: 15px;
  min-height: 47px;
  transition:
    0.15s background,
    0.15s transform;
}
.button:hover:not(:disabled) {
  transform: translateY(-1px);
}
.button.primary {
  background: var(--green);
  color: white;
}
.button.primary:hover:not(:disabled) {
  background: var(--green-dark);
}
.button.secondary {
  color: var(--green);
  background: transparent;
  border-color: #a8ad9e;
}
.button.secondary:hover:not(:disabled) {
  background: #f4f1e8;
}
.button.gold {
  background: #e2c18d;
  color: #2c2217;
}
.button.small {
  min-height: 38px;
  font-size: 13px;
  padding: 9px 15px;
}
.button.full {
  width: 100%;
}
.button.text {
  padding: 4px 0;
  min-height: auto;
  color: var(--green);
  text-decoration: underline;
  background: none;
  border: 0;
}
.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.17em;
  color: var(--gold);
  font-weight: 700;
  display: block;
  margin-bottom: 13px;
}
.hero {
  background: #eee8db;
  padding: 52px 0;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1.13fr;
  gap: 46px;
  align-items: center;
}
.hero-copy {
  padding: 16px 0;
  max-width: 510px;
}
.hero h1 {
  font-size: clamp(3rem, 5.4vw, 5rem);
  line-height: 0.99;
  margin-bottom: 21px;
}
.hero h1 em {
  font-weight: 500;
  color: var(--green);
  font-style: italic;
}
.hero p {
  font-size: 18px;
  max-width: 460px;
  line-height: 1.6;
  margin-bottom: 25px;
}
.hero-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  align-items: center;
}
.micro {
  font-size: 12px;
  color: var(--muted);
  margin-top: 12px;
}
.hero-art {
  position: relative;
  min-height: 370px;
}
.hero-image {
  width: 100%;
  height: 100%;
  min-height: 370px;
  aspect-ratio: 1.32;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 18px 40px #45382920;
}
.hero-tag {
  position: absolute;
  bottom: 15px;
  right: 14px;
  background: #fffff5e8;
  padding: 8px 13px;
  font-size: 11px;
  font-weight: 650;
  letter-spacing: 0.04em;
  border: 1px solid #dfd4b9;
}
.trust {
  background: #fffdf8;
  border-bottom: 1px solid var(--line);
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 18px 0;
  gap: 16px;
}
.trust-point {
  display: flex;
  gap: 11px;
  align-items: center;
  justify-content: center;
  font-weight: 600;
  font-size: 13px;
}
.trust-icon {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  color: var(--gold);
  font-size: 23px;
  line-height: 1;
}
.section {
  padding: 62px 0;
}
.section.tint {
  background: var(--cream);
}
.section-head {
  display: flex;
  justify-content: space-between;
  align-items: end;
  gap: 20px;
  margin-bottom: 27px;
}
.section-head p {
  margin-top: 9px;
}
.category-row {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 15px;
}
.category-card {
  text-align: center;
  font-size: 13px;
  font-weight: 650;
}
.category-card img {
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: 50%;
  border: 3px solid var(--paper);
  outline: 1px solid #e1d7c5;
  margin: 0 auto 10px;
  width: min(100%, 103px);
  transition: transform 0.2s;
}
.category-card:hover img {
  transform: scale(1.04);
}
.style-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 23px 20px;
}
.style-card {
  display: block;
  position: relative;
}
.style-card .art {
  border-radius: 6px;
  display: block;
  overflow: hidden;
  background: #d8c8b0;
  aspect-ratio: 3 / 4;
  position: relative;
}
#gallery .style-card .art {
  aspect-ratio: 2 / 3;
}
.style-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s;
}
.style-card:hover img {
  transform: scale(1.045);
}
.art-badge {
  position: absolute;
  left: 10px;
  top: 10px;
  background: #fffdf5e8;
  padding: 5px 9px;
  font-size: 10px;
  font-weight: 700;
  border-radius: 3px;
  color: #3b4735;
}
.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: start;
  gap: 8px;
  padding-top: 12px;
}
.card-meta h3 {
  font-family: var(--serif);
  font-size: 20px;
  font-weight: 500;
  letter-spacing: -0.03em;
}
.card-meta p {
  font-size: 12px;
  margin-top: 1px;
}
.card-meta .arrow {
  font-size: 22px;
  color: var(--gold);
}
.how-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.step {
  padding: 24px 0 0;
  border-top: 1px solid #c9bdac;
}
.step-no {
  display: inline-block;
  font: 25px var(--serif);
  color: var(--gold);
  margin-bottom: 16px;
}
.step h3 {
  font-size: 18px;
  margin-bottom: 8px;
}
.center {
  text-align: center;
}
.center p {
  margin: 8px auto 0;
  max-width: 650px;
}
.center .button {
  margin-top: 22px;
}
.showcase {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 44px;
  align-items: center;
}
.showcase img {
  width: 100%;
  max-height: 410px;
  object-fit: cover;
  border-radius: 5px;
}
.showcase p {
  margin: 15px 0 22px;
  font-size: 16px;
}
.faq {
  max-width: 800px;
  margin: 24px auto 0;
}
.faq details {
  padding: 18px 0;
  border-bottom: 1px solid var(--line);
}
summary {
  cursor: pointer;
  font-weight: 650;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 15px;
}
summary:after {
  content: "+";
  color: var(--gold);
  font-size: 22px;
}
details[open] summary:after {
  content: "−";
}
.faq p {
  margin-top: 10px;
}
.page {
  padding: 38px 0 72px;
  min-height: 55vh;
}
.page-head {
  margin: 12px 0 30px;
}
.page-head h1 {
  font-size: clamp(2.4rem, 4vw, 3.8rem);
}
.page-head p {
  margin-top: 10px;
  font-size: 16px;
}
.breadcrumb {
  font-size: 12px;
  color: var(--muted);
  display: flex;
  gap: 9px;
  align-items: center;
}
.breadcrumb a {
  text-decoration: underline;
  text-decoration-color: #d0c3a7;
  text-underline-offset: 3px;
}
.filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 9px;
  margin: 0 0 24px;
}
.filter {
  padding: 10px 15px;
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  border-radius: 6px;
  background: white;
  border: 1px solid var(--line);
  font-weight: 650;
  font-size: 13px;
}
.filter.active {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
  margin-bottom: 22px;
}
.search-row input {
  max-width: 290px;
}
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: start;
}
.product-art {
  overflow: hidden;
  border-radius: 8px;
  background: #e5d3b5;
  position: relative;
}
.product-art img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
}
.product-art span {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: #fffdf4e6;
  border-radius: 4px;
  padding: 7px 12px;
  font-size: 11px;
}
.product-copy h1 {
  font-size: clamp(2.5rem, 4vw, 3.65rem);
  margin-bottom: 9px;
}
.product-copy > p {
  font-size: 15px;
  margin: 10px 0 23px;
}
.panel {
  border: 1px solid var(--line);
  background: white;
  border-radius: var(--radius);
  padding: 25px;
}
.panel h2 {
  font-size: 26px;
  margin-bottom: 12px;
}
.panel h3 {
  margin-bottom: 8px;
}
.panel p {
  margin-bottom: 14px;
}
.upload-form {
  display: grid;
  gap: 15px;
}
.upload-zone {
  position: relative;
  border: 1.5px dashed #a5a68d;
  border-radius: 8px;
  text-align: center;
  padding: 30px 15px;
  background: #f9f8f2;
  color: var(--ink);
  cursor: pointer;
  min-height: 150px;
  display: grid;
  place-items: center;
}
.upload-zone:hover {
  border-color: var(--green);
  background: #f1f2e9;
}
.upload-zone input {
  position: absolute;
  inset: 0;
  opacity: 0;
  cursor: pointer;
  width: 100%;
  height: 100%;
}
.upload-zone:focus-within {
  outline: 3px solid #c1995f;
  outline-offset: 2px;
}
.upload-zone strong {
  font-size: 16px;
}
.upload-zone small {
  display: block;
  margin-top: 5px;
  color: var(--muted);
  font-size: 12px;
}
.upload-symbol {
  font-size: 29px;
  color: var(--gold);
  display: block;
  line-height: 1.2;
  margin-bottom: 8px;
}
.upload-previews {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
}
.upload-thumbnail {
  width: 70px;
  height: 70px;
  object-fit: cover;
  border-radius: 5px;
  border: 1px solid var(--line);
}
.check {
  display: flex;
  gap: 9px;
  align-items: flex-start;
  font-size: 12px;
  color: var(--muted);
  line-height: 1.5;
}
.check input {
  width: 18px;
  height: 18px;
  flex: none;
  accent-color: var(--green);
  margin: 1px 0;
}
.notice {
  font-size: 13px;
  line-height: 1.5;
  padding: 12px 14px;
  background: #f2eee4;
  border: 1px solid #e4daca;
  border-radius: 7px;
  color: #5b4b34;
}
.notice.demo {
  background: #edf0e8;
  border-color: #dce2d6;
  color: var(--green);
}
.error {
  color: #842c25;
  background: #fff1ed;
  border: 1px solid #e8b7ae;
  border-radius: 6px;
  padding: 11px 13px;
  font-size: 13px;
}
.error:empty {
  display: none;
}
.success {
  color: #304c36;
  background: #edf3e7;
  border: 1px solid #cbdcbe;
  border-radius: 6px;
  padding: 12px 15px;
}
.success:empty {
  display: none;
}
.field {
  display: grid;
  gap: 6px;
  font-size: 14px;
  font-weight: 600;
}
.field small {
  font-weight: 400;
  color: var(--muted);
  font-size: 12px;
}
input:not([type="checkbox"]):not([type="file"]):not([type="radio"]),
select,
textarea {
  width: 100%;
  border: 1px solid #bdb9ad;
  background: white;
  color: var(--ink);
  padding: 11px 12px;
  border-radius: 6px;
  min-height: 44px;
}
textarea {
  resize: vertical;
  min-height: 125px;
}
.form-stack {
  display: grid;
  gap: 15px;
}
.billing-details {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 14px;
}
.billing-details summary { cursor: pointer; font-weight: 650; }
.billing-details .form-stack { margin-top: 14px; }
.reminder-box { border-bottom: 1px solid var(--line); padding-bottom: 12px; }
.reminder-box .button { margin: 5px 0; }
.invoice-card { display: flex; align-items: center; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding: 14px; margin: 16px 0; border: 1px solid var(--line); border-radius: 8px; background: var(--cream); }
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
.form-narrow {
  max-width: 570px;
  margin: 0 auto;
}
.form-wide {
  max-width: 760px;
  margin: 0 auto;
}
.steps-bar {
  display: flex;
  justify-content: center;
  gap: 30px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  padding: 16px 0;
  background: #fffdf7;
  font-size: 13px;
  color: #858477;
}
.steps-bar .on {
  color: var(--green);
  font-weight: 700;
}
.steps-bar span {
  display: flex;
  align-items: center;
  gap: 7px;
}
.steps-bar b {
  display: grid;
  place-items: center;
  width: 23px;
  height: 23px;
  border: 1px solid #b7b6a6;
  border-radius: 50%;
  font-size: 11px;
}
.steps-bar .on b {
  background: var(--green);
  color: white;
  border-color: var(--green);
}
.studio-layout {
  display: grid;
  grid-template-columns: 1fr 360px;
  gap: 33px;
  align-items: start;
}
.studio-select {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.style-option {
  position: relative;
  display: block;
  cursor: pointer;
  border: 2px solid transparent;
  padding: 3px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 12px;
}
.style-option img {
  width: 100%;
  aspect-ratio: 3 / 4;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 5px;
}
.style-option input {
  position: absolute;
  top: 12px;
  right: 12px;
  accent-color: var(--green);
  width: 19px;
  height: 19px;
}
.style-option:has(input:checked) {
  border-color: var(--green);
  background: #e8eddf;
}
.sticky {
  position: sticky;
  top: 100px;
}
.preview-wrap {
  background: #e7dfd0;
  min-height: 300px;
  padding: 24px;
  display: grid;
  place-items: center;
  border-radius: 8px;
}
.preview-wrap img {
  max-height: 620px;
  max-width: 100%;
  object-fit: contain;
  box-shadow: 0 8px 25px #190f0829;
}
.loading-art {
  min-height: 380px;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 40px 20px;
}
.loader {
  display: block;
  width: 45px;
  height: 45px;
  border: 3px solid #c7c2b1;
  border-top-color: var(--green);
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin: 0 auto 20px;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
.generation-page {
  display: grid;
  align-content: center;
}
.generation-card {
  width: min(100%, 960px);
  margin-inline: auto;
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}
.generation-gallery {
  margin: 0;
  padding: 32px;
  display: grid;
  justify-items: center;
  align-content: center;
  gap: 20px;
  background: radial-gradient(ellipse at top, #455446, var(--green-dark));
  color: var(--paper);
  text-align: center;
}
.generation-frame {
  width: min(100%, 248px);
  padding: 9px;
  background: #ac8b54;
  border: 3px ridge #d3b27a;
  box-shadow: 0 10px 26px #111b16a0, inset 0 0 0 1px #68502d;
}
.generation-canvas {
  position: relative;
  overflow: hidden;
  background: var(--cream);
  aspect-ratio: 3 / 4;
}
.generation-canvas img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.generation-gallery figcaption strong {
  display: block;
  font-family: var(--serif);
  font-size: 21px;
  font-weight: 400;
}
.generation-gallery figcaption span {
  font-size: 11px;
  color: #e5dfd2;
}
.generation-details {
  padding: clamp(24px, 4.5vw, 52px);
  align-self: center;
}
.generation-details h1 {
  font-size: clamp(2.1rem, 4vw, 3.1rem);
  margin-bottom: 14px;
}
.generation-intro {
  font-size: 15px;
}
.generation-progress {
  margin: 28px 0 20px;
}
.generation-progress-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 6px;
  font-size: 13px;
}
.generation-progress-label strong {
  color: var(--green);
}
.generation-progress-label > span {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
}
.generation-live {
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 5px;
  border-radius: 50%;
  background: var(--green);
  animation: generation-pulse 2s ease-in-out infinite;
}
.generation-track {
  overflow: hidden;
  height: 5px;
  margin: 10px 0;
  border-radius: 5px;
  background: var(--line);
}
.generation-track span {
  display: block;
  height: 100%;
  width: 38%;
  border-radius: inherit;
  background: var(--gold);
  animation: generation-sweep 2.5s ease-in-out infinite;
}
@keyframes generation-sweep {
  from { transform: translateX(-100%); }
  to { transform: translateX(265%); }
}
@keyframes generation-pulse {
  50% { opacity: 0.45; }
}
.generation-progress p,
.generation-note {
  font-size: 13px;
}
.generation-steps {
  list-style: none;
  margin: 0;
  padding: 0;
  border-block: 1px solid var(--line);
}
.generation-steps li {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  font-size: 13px;
  color: var(--muted);
}
.generation-steps li + li {
  border-top: 1px solid var(--line);
}
.generation-steps li > span {
  flex: none;
  display: grid;
  place-items: center;
  width: 25px;
  height: 25px;
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 12px;
  font-weight: 700;
}
.generation-steps .complete > span {
  background: var(--green);
  color: var(--white);
  border-color: var(--green);
}
.generation-steps .current {
  color: var(--green);
  font-weight: 700;
}
.generation-steps .current > span {
  border-color: var(--green);
}
.generation-steps small {
  margin-left: auto;
  white-space: nowrap;
  font-size: 11px;
}
.generation-note {
  margin-top: 20px;
}
.generation-note a {
  color: var(--green);
  text-decoration: underline;
  font-weight: 650;
}
@media (max-width: 760px) {
  .generation-card { grid-template-columns: 1fr; }
  .generation-details { grid-row: 1; }
  .generation-gallery {
    grid-template-columns: 78px minmax(0, 1fr);
    justify-items: start;
    align-items: center;
    gap: 16px;
    text-align: left;
    padding: 16px 24px;
  }
  .generation-frame { padding: 3px; border-width: 2px; }
  .generation-gallery figcaption strong { font-size: 18px; }
}
@media (prefers-reduced-motion: reduce) {
  .generation-track span, .generation-live { animation: none; }
}
.format-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin: 16px 0;
}
.format-choice {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  cursor: pointer;
  background: var(--paper);
  font-size: 13px;
}
.format-choice input {
  accent-color: var(--green);
  margin: 4px 0;
}
.format-choice:has(input:checked) {
  border-color: var(--green);
  background: #eef0e8;
}
.format-choice small {
  display: block;
  color: var(--muted);
  font-size: 11px;
  margin-top: 3px;
}
.price {
  font-weight: 750;
  font-size: 22px;
  color: var(--green);
}
.price-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 5px;
}
.stack {
  display: grid;
  gap: 14px;
}
.cart-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(0, 1fr);
  gap: 30px;
  align-items: start;
}
.cart-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
  align-items: center;
}
.cart-item:first-child {
  padding-top: 0;
}
.cart-item img {
  width: 90px;
  height: 100px;
  object-fit: contain;
  background: #eee8da;
  border-radius: 4px;
}
.cart-item p {
  font-size: 13px;
  margin: 4px 0;
}
.cart-item select {
  max-width: 70px;
  padding: 6px;
  min-height: 36px;
}
.cart-item strong {
  white-space: nowrap;
}
.cart-actions {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-top: 6px;
}
.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 15px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.summary-line.total {
  font-size: 20px;
  font-weight: 700;
  border-bottom: none;
}
.status-tag {
  border-radius: 30px;
  padding: 5px 11px;
  background: #e8eddf;
  color: #36513d;
  display: inline-flex;
  font-size: 12px;
  font-weight: 650;
  text-transform: capitalize;
}
.status-tag.pending,
.status-tag.generating {
  background: #f6ead8;
  color: #79572b;
}
.status-tag.failed,
.status-tag.refunded {
  background: #f9e1dc;
  color: #822f27;
}
.order-list {
  display: grid;
  gap: 14px;
}
.order-list a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: white;
}
.order-list a:hover {
  border-color: var(--green);
}
.order-items {
  display: grid;
  gap: 16px;
  margin-top: 20px;
}
.order-item {
  display: flex;
  align-items: center;
  gap: 16px;
  border-bottom: 1px solid var(--line);
  padding: 14px 0;
}
.order-item img {
  width: 82px;
  height: 100px;
  object-fit: contain;
  background: #e7dfd0;
  border-radius: 5px;
}
.order-item > div {
  flex: 1;
  min-width: 0;
}
.order-item p {
  font-size: 13px;
  margin: 4px 0;
}
.order-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 22px 0;
  gap: 9px;
}
.order-timeline div {
  border-top: 3px solid var(--line);
  padding-top: 10px;
  font-size: 12px;
  color: var(--muted);
}
.order-timeline .done {
  border-color: var(--green);
  color: var(--green);
  font-weight: 700;
}
.empty {
  background: var(--cream);
  border: 1px dashed #d5cab6;
  border-radius: 9px;
  text-align: center;
  padding: 40px 20px;
}
.empty p {
  margin: 10px 0 20px;
}
.legal {
  max-width: 780px;
}
.legal h2 {
  font-size: 26px;
  margin: 28px 0 12px;
}
.legal p {
  margin: 10px 0;
  line-height: 1.7;
}
.legal ul {
  padding-left: 24px;
  color: var(--muted);
}
.footer {
  background: #eae5d8;
  border-top: 1px solid #dcd5c5;
  color: #45483e;
  padding: 45px 0 15px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1fr;
  gap: 32px;
}
.footer-brand {
  margin-bottom: 15px;
}
.footer p {
  font-size: 13px;
  max-width: 250px;
}
.footer h3 {
  font-size: 14px;
  margin-bottom: 12px;
}
.footer-grid > div:not(:first-child) a {
  display: block;
  font-size: 13px;
  margin: 8px 0;
}
.footer-bottom {
  border-top: 1px solid #d6cebd;
  padding: 15px 0 0;
  margin-top: 32px;
  display: flex;
  justify-content: space-between;
  gap: 15px;
  color: var(--muted);
  font-size: 11px;
}
.loading {
  padding: 80px 0;
  text-align: center;
  color: var(--muted);
}
.spacer {
  margin: 30px 0;
}
.muted {
  color: var(--muted);
}
.text-small {
  font-size: 12px;
}
.admin-shell {
  background: #f5f3ee;
  min-height: 100vh;
}
.admin-top {
  background: var(--green-dark);
  color: white;
  padding: 17px 0;
}
.admin-top .wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.admin-top a {
  color: #eee1cc;
  font-size: 13px;
}
.admin-top h1 {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--sans);
  font-size: 20px;
  letter-spacing: 0;
  font-weight: 650;
}
.admin-main {
  padding: 32px 0 60px;
}
.stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 13px;
  margin: 22px 0;
}
.stat {
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 18px;
}
.stat p {
  font-size: 12px;
}
.stat strong {
  display: block;
  font-size: 28px;
  color: var(--green);
  margin-top: 5px;
}
.admin-tabs {
  display: flex;
  gap: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 15px;
  margin-bottom: 18px;
  flex-wrap: wrap;
}
.admin-order {
  display: grid;
  gap: 10px;
  background: white;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 20px;
  margin-bottom: 12px;
}
.admin-order header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
}
.admin-order header h3 {
  margin: 0;
}
.admin-order .info {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  font-size: 13px;
}
.admin-order .info p {
  color: var(--ink);
  white-space: pre-line;
  overflow-wrap: anywhere;
}
.admin-order .item {
  padding: 10px 0;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 12px;
  align-items: center;
}
.admin-order .item p {
  font-size: 13px;
}
.admin-order .actions {
  display: flex;
  gap: 10px;
  align-items: end;
  flex-wrap: wrap;
}
.admin-order .actions input {
  max-width: 200px;
}
.admin-order .actions select {
  max-width: 200px;
}
.admin-text {
  overflow-wrap: anywhere;
  white-space: pre-wrap;
}
.admin-order .message {
  background: var(--cream);
  padding: 12px;
  border-radius: 5px;
  font-size: 13px;
}
.admin-order .message p {
  color: var(--ink);
}
.admin-login {
  max-width: 420px;
  margin: 55px auto;
}
/* Operations workspace: deliberately separate from the portrait storefront. */
.admin-shell { background: #f6f7f8; }
.admin-shell .admin-top { background: #172c27; }
.admin-shell .admin-main { max-width: 1540px; width: calc(100% - 48px); }
.ops-layout { display: grid; grid-template-columns: 208px minmax(0,1fr); gap: 26px; min-height: 75vh; }
.ops-sidebar { border: 1px solid #e0e5e2; background: white; border-radius: 14px; padding: 21px 14px; display: flex; flex-direction: column; align-self: start; min-height: 490px; }
.ops-kicker { font-size: 10px; font-weight: 750; letter-spacing: .12em; color: #71817a; margin: 0 12px 13px; }
.ops-sidebar .admin-tabs { display: grid; gap: 6px; border: 0; margin: 0; padding: 0; }
.ops-sidebar .filter { width: 100%; text-align: left; border: 0; border-radius: 7px; padding: 12px; background: transparent; color: #465a51; font-weight: 600; white-space: normal; }
.ops-sidebar .filter.active { background: #e6f0e9; color: #174c38; }
.ops-sidebar-bottom { margin-top: auto; padding: 20px 9px 0; font-size: 12px; }
.ops-sidebar-bottom p { line-height: 1.5; margin: 9px 0 15px; }
.ops-sandbox { font: 700 10px var(--sans); letter-spacing: .06em; padding: 5px 8px; border-radius: 5px; display: inline-block; color: #87550c; background: #fff0cc; }
.ops-workspace { min-width: 0; }
.ops-workspace .section-head { margin-bottom: 15px; align-items: end; }
.ops-workspace .section-head h2 { font: 720 clamp(24px,3vw,36px)/1.15 var(--sans); letter-spacing: -.035em; margin: 6px 0 5px; }
.ops-banner { border: 1px solid #e9e3ce; color: #6d5d31; background: #fefbf1; border-radius: 8px; padding: 10px 13px; font-size: 12px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.ops-workspace .stats { gap: 12px; margin: 17px 0 22px; }
.ops-show-detail .ops-workspace .stats { display: none; }
.ops-show-detail #admin-content { margin-top: 20px; }
.ops-workspace .stat { border: 1px solid #e1e5e2; border-radius: 11px; padding: 19px; }
.ops-workspace .stat p { font-size: 12px; color: #62736a; }
.ops-workspace .stat strong { font: 720 27px/1.2 var(--sans); color: #173c2e; letter-spacing: -.035em; }
.ops-panel { background: white; border: 1px solid #e1e5e2; border-radius: 12px; overflow: hidden; }
.ops-queue-tabs { display: flex; gap: 18px; padding: 0 18px; border-bottom: 1px solid #e8ece9; overflow-x: auto; }
.ops-queue { background: none; border: 0; border-bottom: 2px solid transparent; padding: 15px 2px 12px; white-space: nowrap; font-size: 13px; color: #63716b; cursor: pointer; }
.ops-queue.active { border-color: #2a694f; color: #1c563d; font-weight: 700; }
.ops-queue span { font-size: 10px; border-radius: 20px; background: #edf0ee; padding: 3px 6px; }
.ops-filters { display: flex; align-items: end; gap: 9px; padding: 16px; flex-wrap: wrap; border-bottom: 1px solid #e8ece9; }
.ops-filters .field { font-size: 12px; flex: 1 1 125px; }
.ops-filters .ops-search { flex: 3 1 245px; }
.ops-filters input,.ops-filters select { min-width: 0; width: 100%; }
.ops-table-scroll { overflow-x: auto; }
.ops-table { border-collapse: collapse; width: 100%; text-align: left; font-size: 13px; min-width: 850px; }
.ops-table th { background: #f8faf9; padding: 12px 13px; font-size: 11px; color: #64736b; font-weight: 650; }
.ops-table td { padding: 14px 13px; border-top: 1px solid #edf0ee; overflow-wrap: anywhere; }
.ops-table tr:hover { background: #f6faf7; }
.ops-table small, .ops-timeline small { font-size: 11px; display: block; color: #738079; margin-top: 5px; }
.ops-order-link,.ops-back { background: none; border: 0; padding: 0; font-weight: 700; color: #1c6549; cursor: pointer; text-align: left; }
.ops-order-link:hover,.ops-back:hover { text-decoration: underline; }
.ops-back { margin: 0 0 15px; font-size: 13px; }
.ops-pagination { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 15px; border-top: 1px solid #e8ece9; font-size: 12px; }
.ops-loading { padding: 35px; text-align: center; color: #63716b; }
.ops-detail-grid { display: grid; grid-template-columns: minmax(0,1.7fr) minmax(260px,1fr); gap: 15px; align-items: start; }
.ops-detail-head h3 { font-size: clamp(18px,2vw,25px); }
.ops-detail-status { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; justify-content: flex-end; }
.ops-detail-status strong { font-size: 19px; }
.ops-workspace .admin-order { border: 1px solid #e1e5e2; border-radius: 12px; }
.ops-workspace .admin-order h3 { font-family: var(--sans); font-weight: 700; }
.ops-line-item { display: grid !important; grid-template-columns: 76px minmax(0,1fr) auto; }
.ops-preview-placeholder,.ops-portrait { width: 76px; height: 92px; border-radius: 6px; object-fit: cover; }
.ops-preview-placeholder { border: 1px dashed #cbd7d0; background: #f3f7f4; color: #42705b; font-size: 11px; cursor: pointer; }
.ops-fulfill { border-top: 1px solid #e8ece9; padding-top: 15px; }
.ops-note { display: grid; gap: 9px; }
.ops-note button { justify-self: start; }
.ops-note small { color: #738079; font-size: 11px; }
.ops-timeline { list-style: none; padding: 8px 0 0; margin: 0; }
.ops-timeline li { position: relative; display: flex; gap: 12px; border-bottom: 1px solid #edf0ee; padding: 13px 0; font-size: 13px; }
.ops-event-dot { flex: 0 0 10px; width: 10px; height: 10px; border-radius: 50%; background: #4a876b; margin-top: 4px; }
.ops-timeline p { white-space: pre-wrap; overflow-wrap: anywhere; margin-top: 5px; }
.ops-totals { display: grid; grid-template-columns: 1fr auto; gap: 8px; font-size: 13px; }
.ops-totals dd { margin: 0; text-align: right; }
.ops-workspace .status-tag { white-space: nowrap; font-size: 11px; }
.ops-workspace .status-tag.unpaid,.ops-workspace .status-tag.awaiting-production { background: #fff0c8; color: #835407; }
.ops-workspace .status-tag.in-production,.ops-workspace .status-tag.shipped { background: #e2edf8; color: #225a8b; }
.ops-workspace .status-tag.not-started,.ops-workspace .status-tag.stopped { background: #ecefee; color: #58635d; }
@media (max-width: 1000px) { .ops-layout { grid-template-columns: 1fr; gap: 14px; } .ops-sidebar { min-height: 0; padding: 10px; } .ops-sidebar .admin-tabs { display: flex; } .ops-sidebar .filter { width: auto; } .ops-kicker,.ops-sidebar-bottom p { display: none; } .ops-sidebar-bottom { display: flex; align-items: center; justify-content: space-between; padding: 8px; } .ops-detail-grid { grid-template-columns: 1fr; } }
@media (max-width: 650px) { .admin-shell .admin-main { width: calc(100% - 24px); padding-top: 15px; } .ops-sidebar .admin-tabs { flex-wrap: wrap; } .ops-sidebar .filter { font-size: 11px; padding: 9px; } .ops-detail-head header { flex-wrap: wrap; } .ops-detail-status { justify-content: start; } .ops-workspace .stats { grid-template-columns: 1fr 1fr; } .ops-line-item { grid-template-columns: 64px minmax(0,1fr); } .ops-line-item > button:last-child:not([data-preview]) { grid-column: 2; justify-self: start; } .ops-preview-placeholder,.ops-portrait { width: 64px; height: 80px; } .ops-pagination { flex-wrap: wrap; } }
.view-all {
  font-weight: 650;
  color: var(--green);
  border-bottom: 1px solid var(--green);
  white-space: nowrap;
  padding: 5px 0;
}
.pill {
  display: inline-block;
  background: #e7dec9;
  color: #554627;
  font-size: 11px;
  font-weight: 650;
  border-radius: 30px;
  padding: 5px 10px;
}
.hide {
  display: none !important;
}
@media (max-width: 1000px) {
  .header nav {
    gap: 15px;
  }
  .header-actions {
    gap: 13px;
  }
  .header .link-action span {
    display: none;
  }
  .header-inner {
    gap: 14px;
  }
  .hero-grid {
    gap: 28px;
  }
  .hero-art,
  .hero-image {
    min-height: 310px;
  }
  .style-grid {
    gap: 17px;
  }
  .category-row {
    gap: 10px;
  }
  .split {
    gap: 28px;
  }
  .studio-layout {
    grid-template-columns: 1fr 310px;
    gap: 20px;
  }
  .wrap {
    width: min(1200px, calc(100% - 42px));
  }
}
@media (max-width: 760px) {
  .wrap {
    width: calc(100% - 32px);
  }
  .header {
    position: relative;
  }
  .header-inner {
    height: auto;
    min-height: 72px;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 0 10px;
    padding: 12px 0 9px;
  }
  .header nav {
    grid-column: 1/-1;
    grid-row: 2;
    justify-content: center;
    gap: 21px;
    border-top: 1px solid var(--line);
    margin-top: 11px;
    padding-top: 8px;
  }
  .header nav a {
    font-size: 12px;
  }
  .header-actions {
    grid-column: 2;
    grid-row: 1;
  }
  .header .desktop {
    display: none;
  }
  .brand img {
    width: 154px;
  }
  .announcement {
    font-size: 11px;
    gap: 6px;
  }
  .hero {
    padding: 30px 0;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .hero-copy {
    padding: 0;
    text-align: center;
    margin: auto;
  }
  .hero h1 {
    font-size: clamp(2.65rem, 9vw, 4rem);
    margin-bottom: 15px;
  }
  .hero p {
    font-size: 16px;
    margin-bottom: 18px;
  }
  .hero-actions {
    justify-content: center;
  }
  .hero-image {
    min-height: 240px;
    aspect-ratio: 1.45;
  }
  .hero-art {
    min-height: 0;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 10px 0;
  }
  .trust-point {
    justify-content: flex-start;
    font-size: 12px;
    gap: 5px;
  }
  .trust-icon {
    width: 25px;
    height: 25px;
    font-size: 18px;
  }
  .section {
    padding: 38px 0;
  }
  .section-head {
    gap: 10px;
    margin-bottom: 22px;
  }
  .section-head p {
    font-size: 13px;
  }
  .category-row {
    grid-template-columns: repeat(4, 1fr);
    gap: 15px 8px;
  }
  .category-card {
    font-size: 12px;
  }
  .category-card img {
    width: 70px;
  }
  .style-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 22px 12px;
  }
  .card-meta h3 {
    font-size: 17px;
  }
  .card-meta p {
    font-size: 11px;
  }
  .card-meta .arrow {
    font-size: 18px;
  }
  .how-grid,
  .showcase,
  .split,
  .studio-layout,
  .cart-layout {
    grid-template-columns: 1fr;
    gap: 23px;
  }
  .how-grid {
    gap: 16px;
  }
  .step {
    padding-top: 14px;
  }
  .step-no {
    margin-bottom: 8px;
  }
  .section-head .view-all {
    font-size: 12px;
  }
  .page {
    padding: 22px 0 45px;
  }
  .page-head {
    margin: 15px 0 23px;
  }
  .filters {
    gap: 6px;
  }
  .filter {
    min-height: 40px;
    padding: 7px 11px;
    font-size: 12px;
  }
  .search-row {
    flex-wrap: wrap;
  }
  .search-row input {
    max-width: none;
  }
  .panel {
    padding: 19px;
  }
  .sticky {
    position: static;
  }
  .studio-select {
    grid-template-columns: repeat(3, 1fr);
    gap: 7px;
  }
  .style-option {
    font-size: 11px;
  }
  .steps-bar {
    gap: 14px;
    font-size: 11px;
    padding: 13px 12px;
  }
  .steps-bar span {
    gap: 4px;
  }
  .steps-bar b {
    width: 20px;
    height: 20px;
  }
  .preview-wrap {
    min-height: 220px;
    padding: 15px;
  }
  .preview-wrap img {
    max-height: 500px;
    max-width: 100%;
  }
  .order-timeline {
    gap: 5px;
  }
  .order-timeline div {
    font-size: 10px;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 25px 16px;
  }
  .footer-grid > div:first-child {
    grid-column: 1/-1;
  }
  .footer-bottom {
    flex-direction: column;
    gap: 4px;
  }
  .cart-item {
    grid-template-columns: 65px 1fr auto;
    gap: 10px;
  }
  .cart-item img {
    width: 65px;
    height: 85px;
  }
  .cart-item h3 {
    font-size: 14px;
  }
  .cart-item p {
    font-size: 11px;
  }
  .cart-item select {
    min-height: 36px;
  }
  .cart-actions {
    gap: 6px;
  }
  .order-item {
    gap: 10px;
    flex-wrap: wrap;
  }
  .order-item .button {
    margin-left: auto;
  }
  .stats {
    grid-template-columns: 1fr 1fr;
  }
  .admin-order .info {
    grid-template-columns: 1fr;
  }
  .admin-order .item {
    flex-wrap: wrap;
  }
  .admin-top .wrap {
    gap: 12px;
  }
  .admin-top h1 {
    font-size: 17px;
  }
}
@media (max-width: 360px) {
  .wrap {
    width: calc(100% - 24px);
  }
  .header nav {
    gap: 12px;
  }
  .hero h1 {
    font-size: 2.5rem;
  }
  .hero .button {
    font-size: 13px;
    padding: 10px 14px;
  }
  .style-grid {
    gap: 17px 9px;
  }
  .card-meta h3 {
    font-size: 15px;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .category-card img {
    width: 59px;
  }
  .format-list {
    grid-template-columns: 1fr;
  }
  .order-list a {
    flex-wrap: wrap;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Preview, print customization and order flow. */
.steps-bar {
  position: relative;
}
.step-back {
  position: absolute;
  left: max(16px, calc((100% - 1200px) / 2));
  display: grid;
  place-items: center;
  width: 32px;
  height: 32px;
  border: 1px solid var(--line);
  border-radius: 50%;
  background: var(--paper);
  color: var(--green);
  font-size: 24px;
  line-height: 1;
}
.preview-page {
  padding-top: 18px;
}
.preview-heading {
  margin-bottom: 16px;
}
.preview-heading .eyebrow {
  margin-bottom: 6px;
}
.preview-heading h1 {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
}
.preview-stage {
  width: min(100%, 460px);
  margin: auto;
}
.portrait-review {
  position: relative;
  width: fit-content;
  max-width: 100%;
  margin: auto;
  background: #e7dfd0;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 8px 25px #231a1120;
}
.portrait-review > img {
  width: auto;
  max-width: 100%;
  max-height: clamp(260px, calc(100dvh - 375px), 620px);
  object-fit: contain;
}
.preview-image-controls {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
}
.preview-image-controls button {
  white-space: nowrap;
  border: 1px solid #ffffffb0;
  border-radius: 40px;
  background: #192219dc;
  color: white;
  font-weight: 650;
  padding: 9px 16px;
  min-height: 40px;
}
.preview-image-controls button:hover:not(:disabled) {
  background: #101a10;
}
.versions-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 18px 0 8px;
  font-size: 13px;
}
.version-list {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 4px 2px 10px;
}
.version-thumb {
  width: 62px;
  height: 74px;
  flex: none;
  border: 2px solid transparent;
  padding: 3px;
  border-radius: 6px;
}
.version-thumb.selected {
  border-color: var(--green);
}
.version-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 3px;
}
.preview-edit-panel {
  margin-top: 14px;
  padding: 15px;
}
.preview-edit-panel summary {
  font-size: 14px;
}
.preview-edit-panel[open] summary {
  margin-bottom: 12px;
}
.preview-edit-panel .notice {
  margin-bottom: 12px;
}
.preview-edit-panel .button {
  font-size: 12px;
  min-height: 40px;
}
.photo-tips,
.format-info {
  margin-top: 56px;
  padding: 32px 0;
  border-top: 1px solid var(--line);
}
.tip-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 12px;
  margin-top: 24px;
}
.tip-grid article {
  border: 1px solid var(--line);
  padding: 20px 16px;
  border-radius: 9px;
  background: white;
  text-align: center;
}
.tip-grid article > span {
  font-size: 22px;
  color: var(--gold);
  display: block;
  margin-bottom: 8px;
}
.tip-grid article h3 {
  font-size: 14px;
  margin-bottom: 5px;
}
.tip-grid article p {
  font-size: 12px;
}
.flow-action {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 20;
  background: var(--paper);
  border-top: 1px solid var(--line);
  box-shadow: 0 -6px 24px #29261912;
  padding: 12px 0 max(12px, env(safe-area-inset-bottom));
}
.flow-action-inner {
  width: min(1050px, calc(100% - 48px));
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
}
.flow-action-inner strong {
  font-size: 15px;
  display: block;
}
.flow-action-inner small {
  font-size: 12px;
  color: var(--muted);
  display: block;
}
.flow-action .button {
  min-width: 248px;
  white-space: nowrap;
}
body:has(.flow-action) .footer {
  padding-bottom: 100px;
}
.custom-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.08fr) minmax(0, 1fr);
  max-width: 1050px;
  margin: auto;
  align-items: start;
  gap: 36px;
}
.customize-page,
.cart-page,
.checkout-page {
  padding-top: 24px;
}
.customize-page .page-head {
  max-width: 1050px;
  margin: 0 auto 18px;
}
.customize-page .page-head h1,
.cart-page .page-head h1,
.checkout-page .page-head h1 {
  font-size: clamp(2.2rem, 3.5vw, 2.9rem);
}
.mockup-column {
  position: sticky;
  top: 100px;
}
.wall-mockup {
  position: relative;
  display: grid;
  place-items: center;
  width: 100%;
  aspect-ratio: 1;
  background: linear-gradient(145deg, #f5f2ec 3%, #e5dfd1 70%, #cec3ad);
  border: 1px solid #e5ddcf;
  border-radius: 9px;
  overflow: hidden;
}
#mock-product {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  container-type: size;
}
.mock-art {
  width: 65%;
  max-width: 350px;
  aspect-ratio: var(--art-ratio, 3/4);
  box-sizing: content-box;
  background: #fffdf6;
  display: grid;
  place-items: center;
  grid-template: minmax(0, 1fr) / minmax(0, 1fr);
  overflow: hidden;
  box-shadow: 8px 10px 18px #3927194a;
}
#mock-product .mock-art {
  width: min(65%, 350px, calc((100cqh - 64px) * var(--art-ratio, 3/4)));
}
.mock-art img {
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: cover;
  display: block;
  background: #fbf8f2;
}
.mock-art.format-poster.frame-none {
  box-shadow: 4px 6px 10px #3927193c;
}
.mock-art.format-canvas.frame-none {
  border: 0;
  box-shadow: 9px 12px 18px #39271952;
}
.mock-art.frame-black {
  border: 14px solid #22211e;
  padding: 6px;
  box-shadow:
    9px 12px 20px #30251b55,
    inset 0 0 0 1px #514c43;
}
.mock-art.frame-walnut {
  border: 14px solid #765032;
  padding: 6px;
  box-shadow:
    9px 12px 20px #30251b55,
    inset 0 0 0 2px #b28d65;
}
.mock-art.format-canvas {
  padding: 0;
}
.mock-art.format-digital {
  border: 0;
  box-shadow: 0 4px 20px #39271928;
}
.mock-art.format-digital img {
  object-fit: contain;
}
.zoom-art {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  background: white;
  border: 1px solid var(--line);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--ink);
}
.art-dialog {
  width: min(92vw, 620px);
  max-height: 90vh;
  border: none;
  border-radius: 10px;
  padding: 12px;
  background: var(--paper);
  box-shadow: 0 20px 100px #0005;
}
.art-dialog::backdrop {
  background: #1c2119b5;
}
.art-dialog img {
  width: 100%;
  max-height: 76vh;
  object-fit: contain;
  margin: 8px auto 0;
}
.art-dialog button {
  display: flex;
  margin-left: auto;
}
.custom-controls {
  padding: 22px;
}
#print-options {
  display: grid;
  gap: 20px;
}
#print-options[hidden] {
  display: none;
}
.option-field {
  position: relative;
  border: 0;
  padding: 0;
  margin: 0;
  min-width: 0;
}
.option-field legend {
  font-weight: 700;
  font-size: 15px;
  margin: 0 0 9px;
  padding: 0;
}
.choice-grid {
  display: grid;
  gap: 8px;
}
.choice-grid.two {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
.choice-grid.three {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
.product-choice {
  position: relative;
  display: flex;
  align-items: center;
  gap: 9px;
  cursor: pointer;
  background: var(--paper);
  border: 1px solid var(--line);
  border-radius: 7px;
  padding: 10px 8px;
  min-width: 0;
  min-height: 64px;
}
.product-choice:has(input:checked) {
  border-color: var(--green);
  background: #edf1e8;
  box-shadow: inset 0 0 0 1px var(--green);
}
.product-choice:has(input:focus-visible) {
  outline: 3px solid #c1995f;
  outline-offset: 2px;
}
.product-choice input {
  accent-color: var(--green);
  width: 16px;
  height: 16px;
  flex: none;
  margin: 0;
}
.product-choice strong {
  font-size: 12px;
  line-height: 1.35;
  display: block;
}
.product-choice small {
  font-size: 11px;
  line-height: 1.25;
  color: var(--muted);
  display: block;
  margin-top: 3px;
}
.material-swatch {
  width: 30px;
  height: 40px;
  flex: none;
  background: #fff;
  border: 1px solid #d0c8b9;
  border-radius: 2px;
  box-shadow: 2px 3px 2px #20221a16;
}
.material-canvas {
  border-right: 5px solid #c3b9a8;
  border-bottom: 4px solid #d8cab6;
  background: #f7f6f0;
}
.frame-choice,
.size-choice {
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  text-align: center;
  padding: 7px 6px;
}
.frame-choice input,
.size-choice input {
  position: absolute;
  top: 7px;
  right: 7px;
}
.frame-choice strong {
  margin-top: 3px;
}
.frame-swatch {
  height: 25px;
  width: 100%;
  border-radius: 4px;
  background: #eeebe3;
}
.frame-swatch-black {
  background: linear-gradient(145deg, #171918, #3d3b35 52%, #1d1e1a);
}
.frame-swatch-walnut {
  background: repeating-linear-gradient(
    8deg,
    #785037 0,
    #785037 4px,
    #916745 5px,
    #6b4832 8px
  );
}
.frame-swatch-none {
  background: #deddd6;
}
.size-choice {
  min-height: 70px;
  padding-top: 18px;
}
.unit-toggle {
  position: absolute;
  right: 0;
  top: -32px;
  display: flex;
  border: 1px solid var(--line);
  border-radius: 16px;
  padding: 2px;
  background: var(--paper);
}
.unit-toggle button {
  border: 0;
  background: none;
  padding: 3px 9px;
  font-size: 11px;
  color: var(--muted);
  border-radius: 14px;
}
.unit-toggle [aria-pressed="true"] {
  background: var(--green);
  color: white;
  font-weight: 650;
}
#size-note {
  margin-top: 6px;
  display: block;
}
.included-file {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 11px;
  background: #eef2e9;
  border: 1px solid #dce4d4;
  border-radius: 7px;
  color: var(--green);
}
.included-file > span {
  font-size: 22px;
  line-height: 1;
}
.included-file strong,
.included-file small {
  display: block;
  font-size: 12px;
}
.included-file small {
  font-size: 11px;
  color: var(--muted);
}
.included-file > b {
  margin-left: auto;
  font-size: 12px;
}
.digital-switch {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
  cursor: pointer;
}
.digital-switch:has(input:checked) {
  border-color: var(--green);
  background: #edf1e8;
}
.digital-switch input {
  width: 20px;
  height: 20px;
  accent-color: var(--green);
  flex: none;
}
.digital-switch span {
  flex: 1;
}
.digital-switch small,
.digital-switch strong {
  display: block;
  font-size: 12px;
}
.digital-switch small {
  color: var(--muted);
  font-size: 11px;
}
.quantity-field {
  max-width: 120px;
}
.new-cart-item {
  grid-template-columns: 104px minmax(0, 1fr) auto;
}
.basket-mockup {
  width: 104px;
  height: 108px;
  display: grid;
  place-items: center;
  background: #eee9dc;
  border: 1px solid var(--line);
  border-radius: 6px;
  container-type: size;
}
.basket-mockup .mock-art {
  width: min(64%, calc((100cqh - 20px) * var(--art-ratio, 3/4)));
  box-shadow: 2px 3px 5px #40352b38;
}
.basket-mockup .mock-art img {
  width: 100%;
  height: 100%;
  border-radius: 0;
}
.basket-mockup .mock-art.frame-black,
.basket-mockup .mock-art.frame-walnut {
  border-width: 4px;
  padding: 2px;
}
.basket-mockup .mock-art.format-canvas {
  padding: 0;
}
.included-text {
  color: var(--green);
  font-weight: 600;
}
.delivery-panel {
  margin-top: 22px;
}
.delivery-options {
  display: grid;
  gap: 8px;
}
.delivery-option {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  background: var(--paper);
  border-radius: 7px;
  cursor: pointer;
}
.delivery-option:has(input:checked) {
  border-color: var(--green);
  background: #edf1e8;
  box-shadow: inset 0 0 0 1px var(--green);
}
.delivery-option input {
  accent-color: var(--green);
  margin-top: 3px;
}
.delivery-option span {
  flex: 1;
}
.delivery-option strong,
.delivery-option small {
  display: block;
}
.delivery-option small {
  font-size: 12px;
  color: var(--muted);
}
.delivery-option b {
  white-space: nowrap;
  font-size: 13px;
}
#continue-checkout {
  margin-top: 15px;
}
.checkout-item {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid var(--line);
  font-size: 13px;
}
.checkout-item img {
  width: 48px;
  height: 62px;
  object-fit: contain;
  background: #eee9dc;
  border-radius: 4px;
}
.checkout-item strong,
.checkout-item small {
  display: block;
}
.checkout-item small {
  font-size: 11px;
  color: var(--muted);
}
.checkout-item small.included-text {
  color: var(--green);
}
@media (max-width: 760px) {
  .step-back {
    left: 8px;
    width: 28px;
    height: 28px;
    font-size: 20px;
  }
  .steps-bar:has(.step-back) {
    padding-left: 36px;
    gap: 8px;
  }
  .preview-stage {
    width: min(100%, 420px);
  }
  .photo-tips,
  .format-info {
    margin-top: 36px;
  }
  .tip-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .tip-grid article {
    padding: 16px 10px;
  }
  .flow-action-inner {
    width: calc(100% - 24px);
    gap: 10px;
  }
  .flow-action-inner strong {
    font-size: 12px;
  }
  .flow-action-inner small {
    font-size: 10px;
  }
  .flow-action .button {
    font-size: 12px;
    min-width: 0;
    min-height: 44px;
    padding: 10px 12px;
    white-space: normal;
  }
  .custom-layout {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .mockup-column {
    position: static;
  }
  .wall-mockup {
    max-height: 470px;
  }
  .custom-controls {
    padding: 15px;
  }
  .customize-page .page-head h1 {
    font-size: 2.3rem;
  }
  .product-choice {
    gap: 6px;
    padding: 7px 6px;
  }
  .material-swatch {
    width: 23px;
    height: 32px;
  }
  .new-cart-item {
    grid-template-columns: 76px minmax(0, 1fr) auto;
    gap: 9px;
  }
  .basket-mockup {
    width: 76px;
    height: 84px;
  }
  .cart-actions {
    flex-wrap: wrap;
  }
}
