/* pet-MAXXED create page, on top of site.css (The Gallery). */
.create .page-head { padding: 56px 24px 30px; }
.tries { margin: 14px 0 0; font-size: 13px; color: var(--muted); letter-spacing: .04em; }
.cstep { margin: 30px 0 60px; }
.cstep-h { display: flex; align-items: baseline; gap: 14px; font-size: 32px; font-weight: 500; margin: 0 0 22px; }
.cstep-h span { font-size: 40px; color: var(--gold); }

.pick-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.pick-grid.small { grid-template-columns: repeat(7, 1fr); gap: 14px; margin-top: 18px; }
.style { position: relative; display: block; align-self: start; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); }
.style .pics { position: relative; aspect-ratio: 1; background: #1f1a15; padding: 9px; box-shadow: 0 16px 30px -18px rgba(0, 0, 0, .5); outline: 3px solid transparent; outline-offset: 4px; transition: outline-color .2s, transform .2s; }
.style .pics img { position: absolute; inset: 9px; width: calc(100% - 18px); height: calc(100% - 18px); object-fit: cover; opacity: 0; transition: opacity .9s; }
.style .pics img.on { opacity: 1; }
.style:hover .pics { transform: translateY(-3px); }
.style[aria-pressed="true"] .pics { outline-color: var(--gold); }
.style .txt { padding: 14px 2px 0; }
.style .txt b { display: block; font-family: var(--serif); font-size: 24px; font-weight: 600; line-height: 1.1; }
.style .txt span { display: block; font-size: 13px; color: var(--muted); margin-top: 4px; line-height: 1.4; }
.style .tick { position: absolute; top: -10px; right: -10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; background: var(--gold); color: #fff; display: none; place-items: center; font-size: 15px; }
.style[aria-pressed="true"] .tick { display: grid; }
.pick-grid.small .style .txt b { font-size: 17px; }
.pick-grid.small .style .txt span { display: none; }
.more-link { margin-top: 22px; background: none; border: 0; padding: 0; font-size: 12.5px; letter-spacing: .18em; text-transform: uppercase; color: var(--ink); border-bottom: 1px solid var(--gold); padding-bottom: 4px; }

.drop { display: flex; align-items: center; gap: 18px; min-height: 130px; padding: 20px; border: 1px dashed #c9bba3; background: var(--paper); cursor: pointer; transition: border-color .2s; }
.drop:hover { border-color: var(--gold); }
.drop img { width: 96px; height: 96px; object-fit: cover; flex: none; }
.drop-text { color: var(--muted); font-size: 14px; }
.drop-text b { color: var(--ink); font-family: var(--serif); font-size: 22px; font-weight: 600; }
.go { margin-top: 16px; padding: 18px; }
.error { margin: 14px 0 0; padding: 12px 16px; background: #f6e3dc; color: #7a2b17; font-size: 14px; border-left: 3px solid #b5502e; }

.waiting { text-align: center; padding: 30px 0 40px; }
.easel { width: 220px; margin: 0 auto 26px; }
.shimmer { aspect-ratio: 1; background: linear-gradient(110deg, #efe7d8 30%, #fbf6ec 50%, #efe7d8 70%); background-size: 200% 100%; animation: sh 1.6s linear infinite; }
@keyframes sh { to { background-position: -200% 0; } }
.wait-title { font-family: var(--serif); font-size: 30px; margin: 0; }

.swipe { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; margin-top: 30px; }
.swipe::-webkit-scrollbar { display: none; }
.slide { flex: 0 0 100%; scroll-snap-align: center; position: relative; overflow: hidden; background: var(--paper); aspect-ratio: 1080 / 1350; box-shadow: 0 20px 40px -24px rgba(0, 0, 0, .4); }
.slide img { width: 100%; height: 100%; object-fit: cover; -webkit-user-drag: none; user-select: none; pointer-events: none; }
.slide .pending { position: absolute; inset: 0; display: grid; place-items: center; text-align: center; color: var(--muted); padding: 20px; font-family: var(--serif); font-size: 22px; }
.slide .label { position: absolute; left: 14px; bottom: 14px; padding: 7px 16px; background: var(--deep); color: var(--ivory); font-size: 11.5px; letter-spacing: .18em; text-transform: uppercase; }
.dots { display: flex; justify-content: center; gap: 8px; margin-top: 14px; }
.dots span { width: 7px; height: 7px; border-radius: 50%; background: var(--line); }
.dots span.on { background: var(--gold); }

.buy { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-top: 36px; }
.buy-card { text-align: left; padding: 26px; border: 1px solid var(--line); background: var(--paper); color: var(--ink); transition: border-color .2s; }
.buy-card:hover { border-color: var(--gold); }
.buy-card b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 6px 0 4px; }
.buy-card > span:last-child { display: block; color: var(--muted); font-size: 14px; }
.addon-line { text-align: center; color: var(--muted); font-size: 14px; margin: 18px 0 8px; }
.result .center .btn { margin-top: 18px; }

@media (min-width: 861px) {
  .swipe { display: grid; grid-template-columns: repeat(3, 1fr); overflow: visible; }
  .dots { display: none; }
}
@media (max-width: 860px) {
  .pick-grid { grid-template-columns: repeat(2, 1fr); gap: 18px; }
  .pick-grid.small { grid-template-columns: repeat(3, 1fr); }
  .buy { grid-template-columns: 1fr; }
  .cstep-h { font-size: 26px; }
}

.buy-card[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.checkout { margin-top: 18px; padding: 24px; background: var(--paper); border: 1px solid var(--line); }
.ck-h { font-family: var(--serif); font-size: 22px; margin: 0 0 12px; }
.size-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 10px; margin-bottom: 22px; }
.size-opt { padding: 14px 8px; border: 1px solid var(--line); background: var(--ivory); text-align: center; color: var(--ink); }
.size-opt b { display: block; font-family: var(--serif); font-size: 22px; font-weight: 600; }
.size-opt span { font-size: 13px; color: var(--muted); }
.size-opt[aria-pressed="true"] { border-color: var(--gold); box-shadow: 0 0 0 1px var(--gold); }
.st-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 0; border-bottom: 1px solid var(--line); }
.st-row .lbl { font-size: 15px; } .st-row .lbl span { color: var(--muted); font-size: 13px; margin-left: 6px; }
.qty { display: flex; align-items: center; gap: 12px; }
.qty button { width: 34px; height: 34px; border: 1px solid var(--line); background: var(--ivory); font-size: 18px; line-height: 1; }
.qty b { min-width: 16px; text-align: center; }
.total { display: flex; justify-content: space-between; align-items: baseline; margin: 22px 0 14px; font-size: 15px; }
.total b { font-family: var(--serif); font-size: 32px; font-weight: 600; }
@media (max-width: 860px) { .size-row { grid-template-columns: repeat(2, 1fr); } }

.looks { margin-top: 26px; padding: 22px; background: var(--paper); border: 1px solid var(--line); }
.looks-h { font-family: var(--serif); font-size: 24px; margin: 0 0 14px; }
.look-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; }
.look { display: block; align-self: start; padding: 0; border: 0; background: none; text-align: left; color: var(--ink); }
.look img { width: 100%; aspect-ratio: 4 / 5; object-fit: cover; background: #1f1a15; outline: 3px solid transparent; outline-offset: 3px; transition: outline-color .2s; }
.look[aria-pressed="true"] img { outline-color: var(--gold); }
.look b { display: block; font-family: var(--serif); font-size: 20px; font-weight: 600; margin-top: 10px; line-height: 1.1; }
.look span { display: block; font-size: 12.5px; color: var(--muted); margin-top: 2px; line-height: 1.35; }
@media (max-width: 860px) { .look-row { gap: 8px; } .look b { font-size: 16px; } .look span { display: none; } .looks { padding: 16px; } }

/* premium polish */
.create .page-head { padding: 72px 24px 34px; }
.cstep-h { font-weight: 500; letter-spacing: -.01em; }
.buy-card { padding: 0; overflow: hidden; background: var(--paper); box-shadow: 0 18px 40px -28px rgba(40, 25, 5, .45); transition: border-color .2s, transform .25s, box-shadow .25s; }
.buy-card:hover { transform: translateY(-3px); }
.buy-card .bc-img { width: 100%; aspect-ratio: 16 / 9; object-fit: cover; object-position: 50% 30%; }
.buy-card > .eyebrow, .buy-card > b, .buy-card > span:last-child { margin-left: 26px; margin-right: 26px; }
.buy-card > .eyebrow { margin-top: 20px; }
.buy-card > span:last-child { margin-bottom: 24px; }
.st-strip { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; margin: 0 0 14px; }
.st-strip img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.drop { background: var(--paper); border-color: #cdbf9f; }
.go { letter-spacing: .2em; }
.slide { box-shadow: 0 26px 50px -28px rgba(40, 25, 5, .5); }

.size-room { margin: 0 0 22px; position: relative; overflow: hidden; background: var(--wall); }
.size-room img { width: 100%; aspect-ratio: 3 / 2; object-fit: cover; }
.size-room figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 12px; color: #fff; font-size: 13px; background: linear-gradient(transparent, rgba(20,14,6,.72)); }
.size-opt small { display: block; font-size: 11px; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-top: 2px; }

.buy-card.row { display: flex; align-items: stretch; }
.buy-card.row .bc-img { width: 40%; flex: none; aspect-ratio: 3 / 4; object-position: 50% 30%; }
.buy-card.row .bc-txt { padding: 22px 24px; display: flex; flex-direction: column; justify-content: center; }
.buy-card.row .bc-txt .eyebrow { display: block; }
.buy-card.row .bc-txt b { display: block; font-family: var(--serif); font-size: 28px; font-weight: 600; margin: 6px 0 4px; }
.buy-card.row .bc-sub { display: block; color: var(--muted); font-size: 14px; }
.buy-card.row > .eyebrow, .buy-card.row > b { margin: 0; }

/* a chosen style: the grid folds away */
.cstep-h em { font-style: normal; }
.chosen-top { display: flex; align-items: center; gap: 24px; }
.chosen-pic { width: 150px; flex: none; padding: 8px; }
.chosen-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; }
.chosen-txt b { display: block; font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.05; }
.chosen-txt span { display: block; color: var(--muted); margin: 6px 0 14px; }
@media (max-width: 860px) { .chosen-pic { width: 104px; } .chosen-txt b { font-size: 28px; } .chosen-top { gap: 16px; } }

/* nothing is ever cropped: tall art gets a tall box */
.style .pics { aspect-ratio: 2 / 3; }
.style .pics img { object-fit: contain; }
.look img { aspect-ratio: 2 / 3; object-fit: contain; }
.chosen-pic img { aspect-ratio: 2 / 3; object-fit: contain; }
.pick-grid.small .style .pics { aspect-ratio: 2 / 3; }

/* three ways to buy, one clear list */
.buy { grid-template-columns: 1fr !important; gap: 14px; }
.buy-card.row .bc-img { width: min(34%, 200px); aspect-ratio: 3 / 4; }
.qty-row { display: flex; align-items: center; justify-content: space-between; margin: 0 0 18px; padding: 10px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); font-size: 15px; }
