/* /pets — Adorable Pet Gifts (standalone mobile flow) */
.pg { background: var(--bg); padding-bottom: 120px; }
.pg-head { display: flex; align-items: center; justify-content: center; gap: 8px; padding: 14px 16px 6px; }
.pg-head-tag { font-size: 0.72rem; font-weight: 800; letter-spacing: 0.08em; color: #d6336c; background: #fff; border-radius: 999px; padding: 3px 9px; margin-left: 4px; }
.pg-step { width: min(100% - 32px, 460px); margin: 0 auto; padding-top: 10px; }
.pg-center { text-align: center; padding-top: 40px; }
.pg-hero { font-family: var(--font-display); font-weight: 800; font-size: clamp(1.9rem, 7.4vw, 2.5rem); line-height: 1.08; text-align: center; margin: 8px 0 10px; letter-spacing: -0.02em; }
.pg-hero .hl { color: var(--pink); }
.pg-sub { text-align: center; color: var(--muted); font-weight: 700; margin: 0 0 16px; }
.pg-sub2 { text-align: center; color: var(--muted); font-weight: 700; font-size: 0.9rem; margin: 0 0 14px; }
.pg-title { font-family: var(--font-display); font-weight: 800; font-size: 1.6rem; text-align: center; margin: 6px 0 4px; }
.pg-title2 { font-family: var(--font-display); font-weight: 800; font-size: 1.15rem; margin: 18px 0 8px; text-align: center; }
.gift-step { display: block; width: max-content; margin: 0 auto 4px; }
/* home strip */
.pg-strip { display: flex; gap: 12px; overflow-x: auto; padding: 6px 4px 12px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pg-strip::-webkit-scrollbar { display: none; }
.pg-tile { flex: 0 0 116px; scroll-snap-align: start; text-align: center; }
.pg-tile-circle { width: 112px; height: 112px; border-radius: 50%; background: #fff; box-shadow: var(--shadow); display: flex; align-items: center; justify-content: center; margin: 0 auto 8px; overflow: hidden; }
.pg-tile-circle .pm { transform: scale(0.72); }
.pg-tile b { display: block; font-size: 0.88rem; }
.pg-tile small { color: var(--muted); font-weight: 700; }
.pg-cta-main { margin: 6px auto 22px; font-size: 1.45rem; padding: 20px 26px; }
.pg-how { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin: 0 0 22px; }
.pg-how div { background: #fff; border-radius: 16px; padding: 12px 8px; text-align: center; box-shadow: var(--shadow); }
.pg-how b { display: block; width: 28px; height: 28px; line-height: 28px; border-radius: 50%; background: var(--pink); color: #fff; margin: 0 auto 6px; }
.pg-how span { font-size: 0.8rem; font-weight: 700; color: var(--muted); }
.pg-proof { display: grid; gap: 12px; }
.pg-proof-card { display: grid; grid-template-columns: 64px 64px 1fr; gap: 10px; align-items: center; background: #fff; border-radius: 18px; padding: 12px; box-shadow: var(--shadow); }
.pg-proof-card img { width: 64px; height: 64px; object-fit: cover; border-radius: 12px; }
.pg-proof-card p { margin: 0; font-size: 0.86rem; }
.pg-proof-card small { color: var(--muted); font-weight: 700; }
/* selectable grids */
.pg-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.pg-card { background: #fff; border: 2px solid #f3e1e8; border-radius: 16px; padding: 10px 10px 12px; text-align: center; font-family: inherit; color: var(--ink); transition: border-color 0.15s, box-shadow 0.15s; }
.pg-card.on { border-color: #d6336c; box-shadow: 0 0 0 3px rgba(214, 51, 108, 0.12); }
.pg-card .pm { height: 118px; display: flex; align-items: center; justify-content: center; margin: 2px auto 8px; }
.pg-card-name { display: block; font-weight: 800; font-size: 0.95rem; }
.pg-card-sub { display: block; color: var(--muted); font-size: 0.76rem; font-weight: 700; margin: 2px 0 4px; }
.pg-card-price { display: block; color: #d6336c; font-weight: 800; font-size: 1.05rem; }
.pg-style-img { width: 100%; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 12px; margin-bottom: 8px; background: #fff; }
.pg-style-img.contain { object-fit: contain; padding: 8px; }
.pg-chip { position: absolute; top: -9px; right: 10px; background: #d6336c; color: #fff; font-size: 0.62rem; font-weight: 800; letter-spacing: 0.06em; padding: 3px 8px; border-radius: 999px; }
.pg-card { position: relative; }
/* upload */
.pg-upload { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: #fff; border: 2px dashed #f3c4d3; border-radius: 24px; padding: 44px 20px; margin: 10px 0 12px; cursor: pointer; box-shadow: var(--shadow); }
.pg-upload-icon { font-size: 2.4rem; }
.pg-upload-text { font-family: var(--font-display); font-weight: 800; font-size: 1.25rem; }
.pg-fine { text-align: center; color: var(--muted); font-size: 0.78rem; }
/* generating */
.pg-bar { height: 12px; border-radius: 999px; background: #fff; overflow: hidden; margin: 26px 0 12px; box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.08); }
.pg-bar-fill { height: 100%; width: 0; background: var(--cta-grad); border-radius: 999px; transition: width 0.4s ease; }
.pg-status { color: var(--muted); font-weight: 800; }
/* result */
.pg-art-wrap { background: #fff; border-radius: 24px; padding: 14px; box-shadow: var(--shadow); text-align: center; }
.pg-art { max-height: 46vh; width: auto; max-width: 100%; margin: 0 auto; display: inline-block; }
.pg-art.cover { width: 100%; max-height: none; aspect-ratio: 3 / 4; object-fit: cover; border-radius: 14px; }
.pg-edit { background: #fff; border-radius: 18px; padding: 12px; margin-top: 10px; box-shadow: var(--shadow); }
.pg-edit-title { margin: 0 0 8px; font-weight: 800; }
.pg-edit-title small { color: var(--muted); font-weight: 700; margin-left: 6px; }
.pg-edit-row { display: flex; gap: 8px; }
.pg-edit-row .print-input { flex: 1; margin: 0; }
.pg-edit-row .btn-coral { white-space: nowrap; }
.pg-mock { display: flex; align-items: center; justify-content: center; background: #fff; border-radius: 18px; padding: 16px; box-shadow: var(--shadow); min-height: 180px; }
.pg-mock .pm { transform: scale(1.25); margin: 20px 0; }
.pg-mock .pm img.cover { object-fit: cover; }
.pg-change { text-align: center; color: var(--muted); margin: 12px 0 0; font-weight: 700; }
/* checkout */
.pg-summary { display: flex; align-items: center; gap: 12px; background: #fff; border-radius: 16px; padding: 10px 12px; margin: 6px 0 12px; box-shadow: var(--shadow); }
.pg-summary img { width: 56px; height: 56px; object-fit: contain; border-radius: 10px; background: var(--bg); }
.pg-summary b { display: block; }
.pg-summary small { color: var(--muted); font-weight: 700; }
.pg-summary .price { margin-left: auto; color: #d6336c; font-weight: 800; font-size: 1.1rem; }
/* sticky cta bar */
.pg-bar-cta { position: fixed; left: 0; right: 0; bottom: 0; background: rgba(255, 255, 255, 0.96); backdrop-filter: blur(8px); padding: 10px 16px calc(12px + env(safe-area-inset-bottom)); box-shadow: 0 -8px 24px rgba(180, 90, 120, 0.12); z-index: 20; }
.pg-bar-cta .btn-unlock { width: min(100%, 428px); margin: 0 auto; display: block; }
.pg-bar-cta .btn-unlock:disabled { opacity: 0.45; }
.pg-cta-info { text-align: center; font-weight: 800; margin: 0 0 6px; }
.pg-cta-info small { color: var(--muted); font-weight: 700; margin-left: 6px; }
.pg-bar-cta .test-skip { margin-top: 8px; }
.toast { position: fixed; left: 50%; bottom: 110px; transform: translateX(-50%); background: #2b2333; color: #fff; padding: 12px 18px; border-radius: 999px; font-weight: 800; z-index: 30; max-width: 88%; text-align: center; }
/* sticker-pack mockup: three copies on a white sheet */
.pm-sheet { position: relative; width: 84px; height: 118px; background: #fff; border-radius: 8px; box-shadow: 0 8px 14px rgba(0, 0, 0, 0.14); display: flex; flex-direction: column; align-items: center; justify-content: space-around; padding: 6px 0; }
.pm-sheet img { width: 60%; height: 30%; object-fit: contain; }
.pm-sheet img:nth-child(1) { transform: rotate(-6deg); }
.pm-sheet img:nth-child(2) { transform: rotate(4deg); }
.pm-sheet img:nth-child(3) { transform: rotate(-3deg); }
/* fixes after first walkthrough */
.pg-edit-row .print-input { flex: 1 1 auto; min-width: 0; width: auto; }
.pg-edit-row .btn-coral { flex: 0 0 auto; padding-left: 18px; padding-right: 18px; }
.pg-step[data-step="result"], .pg-step[data-step="checkout"] { padding-bottom: 70px; }
.pg-mock { overflow: hidden; }
.pg-edit-row { display: flex; gap: 8px; align-items: stretch; }
.pg-edit-row .print-input { flex: 1 1 0 !important; width: auto !important; min-width: 0 !important; margin: 0 !important; }
.pg-edit-row .btn-coral { width: auto !important; flex: 0 0 auto !important; display: inline-flex; align-items: center; }

/* landing: photo → rotating gift showcase */
.pg-show { display: grid; grid-template-columns: 1fr auto 1fr; align-items: center; gap: 6px; margin: 4px 0 14px; }
.pg-show-photo { width: 100%; border: 4px solid #f3c4d3; border-radius: 22px; box-shadow: var(--shadow); aspect-ratio: 3 / 4; object-fit: cover; }
.pg-show-arrow { font-size: 1.6rem; font-weight: 900; color: #a8728f; }
.pg-show-stage { position: relative; height: 200px; display: flex; align-items: center; justify-content: center; }
.pg-show-stage .pm { position: absolute; opacity: 0; transition: opacity 0.5s ease; transform: scale(1.15); }
.pg-show-stage .pm.on { opacity: 1; }
.pg-pill { text-align: center; margin: 0 0 16px; }
.pg-gallery { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.pg-gal { background: #fff; border-radius: 16px; padding: 8px 6px 10px; text-align: center; box-shadow: var(--shadow); font-family: inherit; color: var(--ink); }
.pg-gal .pm { transform: scale(0.72); height: 96px; display: flex; align-items: center; justify-content: center; margin: -6px auto 0; }
.pg-gal b { display: block; font-size: 0.8rem; margin-top: 2px; }
.pg-gal small { color: var(--muted); font-weight: 700; font-size: 0.72rem; }
/* result: cart + add-another */
.pg-cart { display: grid; gap: 8px; margin: 12px 0 4px; }
.pg-cart-row { display: flex; align-items: center; gap: 10px; background: #fff; border-radius: 14px; padding: 10px 12px; box-shadow: var(--shadow); }
.pg-cart-row b { flex: 1; }
.pg-cart-row .price { color: #d6336c; font-weight: 800; }
.pg-qty { display: inline-flex; align-items: center; border: 2px solid #f3e1e8; border-radius: 999px; overflow: hidden; }
.pg-qty button { width: 32px; height: 32px; border: none; background: #fff; font-weight: 900; font-size: 1.1rem; color: #d6336c; }
.pg-qty span { min-width: 24px; text-align: center; font-weight: 800; }
.pg-addgrid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.pg-add { background: #fff; border: 2px solid #f3e1e8; border-radius: 14px; padding: 8px 4px 10px; text-align: center; font-family: inherit; color: var(--ink); }
.pg-add.on { border-color: #d6336c; }
.pg-add .pm { transform: scale(0.62); height: 84px; display: flex; align-items: center; justify-content: center; margin: -8px auto -2px; }
.pg-add b { display: block; font-size: 0.78rem; }
.pg-add small { display: block; color: #d6336c; font-weight: 800; font-size: 0.78rem; }
.pg-add em { display: block; font-style: normal; font-size: 0.7rem; color: var(--muted); font-weight: 700; margin-top: 2px; }

/* round 3 fixes */
.pm img.cover { width: 100% !important; height: 100% !important; object-fit: cover; }
.pm-mug-body img.cover { width: 72% !important; height: 74% !important; border-radius: 3px; }
.pm-sheet img.cover { width: 62% !important; height: 30% !important; border-radius: 4px; }
.pg-show-stage { height: 250px; }
.pg-show-stage .pm { transform: scale(1.55); }
.pg-mocks { display: flex; gap: 14px; overflow-x: auto; padding: 8px 4px 10px; scroll-snap-type: x mandatory; scrollbar-width: none; }
.pg-mocks::-webkit-scrollbar { display: none; }
.pg-mock-item { flex: 0 0 100%; scroll-snap-align: center; background: #fff; border-radius: 18px; padding: 14px 10px 10px; box-shadow: var(--shadow); text-align: center; overflow: hidden; }
.pg-mock-item .pm { transform: scale(1.25); margin: 24px auto 26px; }
.pg-mock-item b { display: block; font-size: 0.9rem; }
.pg-share { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin: 14px 0 0; padding: 12px; background: #fff; border: 2px solid #f3c4d3; border-radius: 999px; font-family: inherit; font-weight: 800; color: #d6336c; font-size: 0.95rem; }

/* photo mockups */
.pmk { position: relative; width: 100%; aspect-ratio: 1 / 1; overflow: hidden; border-radius: 14px; background: #f4f1ee; }
.pmk-in { position: absolute; inset: 0; }
.pmk-bg { width: 100%; height: 100%; object-fit: cover; display: block; }
/* zoom the wall shots so the art reads at thumbnail size */
.pmk-canvas .pmk-in { transform: scale(1.5); transform-origin: 50.5% 47.6%; }
.pmk-frame .pmk-in { transform: scale(1.8); transform-origin: 50% 50.2%; }
.pmk-art { position: absolute; display: block; mix-blend-mode: multiply; }
.pmk-mug .pmk-art { border-radius: 4px; }
.pg-card .pmk, .pg-gal .pmk, .pg-add .pmk { margin: 0 auto 8px; }
.pg-gal .pmk { width: 100%; margin-bottom: 4px; }
.pg-add .pmk { width: 100%; margin-bottom: 4px; border-radius: 10px; }
.pg-gal .pm, .pg-add .pm { height: auto; }
.pg-show-stage { height: auto; aspect-ratio: 1 / 1; }
.pg-show-stage .mk { position: absolute; inset: 0; opacity: 0; transition: opacity 0.5s ease; }
.pg-show-stage .pmk { width: 100%; height: 100%; }
.pg-show-stage .pm { position: absolute; inset: auto; left: 50%; top: 50%; transform: translate(-50%, -50%) scale(1.5); }
.pg-show-stage .mk.on { opacity: 1; }
.pg-mock-item .pmk { width: 86%; margin: 0 auto 8px; }
.pg-mock-item .pm { transform: scale(1.25); margin: 24px auto 26px; }

/* when the cart holds several gifts, let the next card peek so people know to swipe */
.pg-mocks.multi .pg-mock-item { flex-basis: 82%; scroll-snap-align: start; }
.pg-mocks.multi .pg-mock-item .pmk { width: 92%; }
.pg-mocks-hint { text-align: center; font-size: 0.78rem; color: #8a7c86; margin: -4px 0 10px; }

/* sale: countdown bar + anchors */
.pg-sale { display: flex; align-items: center; justify-content: center; gap: 4px; background: #1a1418; color: #fff; border-radius: 14px; padding: 9px 6px; margin: 2px 0 12px; font-weight: 800; }
.pg-sale-label { font-size: 0.74rem; letter-spacing: 0.06em; text-transform: uppercase; margin-right: 6px; white-space: nowrap; }
.pg-sale-box { display: inline-flex; flex-direction: column; align-items: center; background: #fff; color: #1a1418; border-radius: 8px; padding: 3px 0 2px; min-width: 40px; line-height: 1; }
.pg-sale-box b { font-size: 1.05rem; font-variant-numeric: tabular-nums; }
.pg-sale-box small { font-size: 0.55rem; letter-spacing: 0.06em; text-transform: uppercase; margin-top: 2px; color: #6b5f67; }
.pg-sale i { font-style: normal; font-weight: 900; opacity: 0.8; }
.pg-sale-line { text-align: center; color: #d6336c; font-weight: 800; font-size: 0.86rem; margin: -2px 0 12px; }
.pg-was { color: #9a8d95; font-weight: 700; margin-right: 4px; font-size: 0.85em; }
.pg-card-price .pg-was, .pg-summary .pg-was { font-size: 0.8em; }
/* checkout payment box */
.pg-paybox { background: #fff; border-radius: 18px; padding: 14px 12px 8px; margin: 12px 0 0; box-shadow: var(--shadow); }
.pg-or { text-align: center; color: var(--muted); font-weight: 700; font-size: 0.82rem; margin: 6px 0 10px; }
.pg-paybox .payment-element { min-height: 90px; margin-bottom: 6px; }
.pg-step[data-step="checkout"] { padding-bottom: 96px; }
/* delivery page */
.pg-done-ref { color: var(--muted); font-weight: 700; font-size: 0.8rem; margin: -6px 0 10px; }
.pg-done-art { background: #fff; border-radius: 20px; padding: 10px; box-shadow: var(--shadow); margin: 6px auto 4px; max-width: 260px; }
.pg-done-art img { width: 100%; display: block; border-radius: 12px; }
.pg-link { background: none; border: none; color: #d6336c; font-family: inherit; font-weight: 800; font-size: 0.95rem; padding: 10px; margin-top: 4px; }

/* checkout totals */
.pg-totals { background: #fff; border-radius: 14px; padding: 6px 12px; margin: -6px 0 12px; box-shadow: var(--shadow); font-size: 0.9rem; font-weight: 700; }
.pg-totals div { display: flex; justify-content: space-between; align-items: center; gap: 10px; padding: 5px 0; }
.pg-totals .muted { color: var(--muted); }
.pg-totals em { font-style: normal; font-size: 0.8rem; }
.pg-totals .tot { font-weight: 800; border-top: 1px solid #f3e1e8; margin-top: 2px; padding-top: 8px; font-size: 1rem; }

/* fact cards next to the review card */
.pg-proof-fact { grid-template-columns: 44px 1fr; }
.pg-proof-icon { font-size: 1.7rem; text-align: center; }
.pg-proof-fact p b { font-size: 0.92rem; }

.pg-local { text-align: center; color: var(--muted); font-weight: 800; font-size: 0.88rem; margin: 12px 0 6px; }
