:root {
  --ink: #151513;
  --muted: #6f6a66;
  --line: #ddd7d1;
  --paper: #fff;
  --warm: #f6f2ed;
  --blush: #fceee8;
  --sage: #315f4c;
  --sage-soft: #edf4ef;
  --leather: #a86738;
  --leather-dark: #6f3c1f;
  --leather-text: #4e2918;
  --leather-pattern: none;
}

* { box-sizing: border-box; }
html, body { margin: 0; color: var(--ink); background: var(--paper); font-family: Karla, Arial, sans-serif; }
body { min-width: 320px; }
body.modal-open { overflow: hidden; }
button, input, select { font: inherit; color: inherit; }
button { cursor: pointer; }
[hidden], .hidden { display: none !important; }
button:focus-visible, input:focus-visible, select:focus-visible, label:has(input:focus-visible) { outline: 3px solid rgba(49,95,76,.28); outline-offset: 2px; }

.announcement { height: 32px; display: grid; place-items: center; background: #111; color: #fff; font-size: 10px; font-weight: 700; letter-spacing: .12em; }
.site-header { height: 68px; padding: 0 30px; display: grid; grid-template-columns: 54px 70px 1fr 80px; align-items: center; gap: 20px; background: var(--blush); border-bottom: 1px solid #e2d8d2; position: relative; z-index: 5; }
.wordmark { display: grid; place-items: center; }
.wordmark img { width: 62px; height: 62px; object-fit: contain; }
.search-button { width: 29px; height: 29px; padding: 0; border: 0; background: transparent; }
.search-button span { width: 20px; height: 20px; display: block; border: 2px solid #111; border-radius: 50%; position: relative; }
.search-button span::after { content: ""; width: 8px; height: 2px; position: absolute; right: -6px; bottom: -3px; background: #111; transform: rotate(46deg); }
.site-header nav { display: flex; justify-content: center; gap: clamp(18px, 2.6vw, 38px); }
.site-header nav a { color: inherit; text-decoration: none; white-space: nowrap; font-size: 13px; }
.site-header nav a span { margin-left: 4px; }
.header-actions { display: flex; justify-content: flex-end; gap: 16px; }
.header-actions button { width: 26px; height: 30px; padding: 0; position: relative; border: 0; background: transparent; }
.account-button::before { content: ""; position: absolute; width: 8px; height: 8px; left: 8px; top: 2px; border: 2px solid #111; border-radius: 50%; }
.account-button::after { content: ""; position: absolute; width: 18px; height: 11px; left: 3px; bottom: 2px; border: 2px solid #111; border-bottom: 0; border-radius: 12px 12px 0 0; }
.bag-icon { position: absolute; left: 2px; top: 8px; width: 22px; height: 16px; border: 2px solid #111; border-top: 0; transform: skew(-5deg); }
.bag-icon::before { content: ""; position: absolute; left: 3px; top: -8px; width: 12px; height: 8px; border: 2px solid #111; border-bottom: 0; border-radius: 7px 7px 0 0; }
.bag-button b { position: absolute; right: -7px; top: -2px; min-width: 16px; height: 16px; display: grid; place-items: center; padding: 0 3px; border-radius: 50%; background: #111; color: #fff; font-size: 9px; }

.pdp-page { height: calc(100dvh - 100px); min-height: 590px; overflow: hidden; }
.breadcrumbs { max-width: 1100px; height: 38px; margin: 0 auto; display: flex; align-items: center; gap: 8px; color: #7b7672; font-size: 10px; }
.breadcrumbs a { color: inherit; text-decoration: none; }
.breadcrumbs strong { color: #2b2927; font-weight: 500; }
.pdp { max-width: 1100px; height: calc(100% - 38px); margin: 0 auto; display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(390px, .9fr); overflow: hidden; }
.gallery-column { min-width: 0; min-height: 0; display: grid; grid-template-rows: minmax(0, 1fr) 62px; gap: 9px; padding: 0 28px 16px 0; }
.live-proof-card { min-height: 0; display: grid; grid-template-rows: 30px minmax(0, 1fr) 28px; background: var(--warm); border: 1px solid #eee9e3; overflow: hidden; }
.proof-label, .proof-topline { padding: 0 14px; display: flex; justify-content: space-between; align-items: center; font-size: 9px; font-weight: 700; letter-spacing: .12em; }
.proof-label span, .proof-topline span { display: flex; align-items: center; gap: 7px; }
.proof-label i, .proof-topline i { width: 7px; height: 7px; border-radius: 50%; background: #4ea56f; box-shadow: 0 0 0 4px rgba(78,165,111,.15); }
.proof-label b, .proof-topline strong { color: var(--sage); font-size: 9px; letter-spacing: 0; }
.proof-benefits { display: flex; justify-content: center; align-items: center; gap: 22px; color: #5f5b57; font-size: 9px; }
.gallery-thumbs { display: flex; gap: 9px; }
.gallery-thumbs button { width: 58px; height: 58px; padding: 0; overflow: hidden; border: 1px solid transparent; background: #f3f0ec; }
.gallery-thumbs button.active { border-color: #111; }
.gallery-thumbs img { width: 100%; height: 100%; object-fit: cover; }
.gallery-thumbs button:last-child { display: grid; place-items: center; font-size: 9px; }

.product-info { min-width: 0; padding: 4px 0 0 28px; overflow: hidden; }
.made-label, .step-copy > span, .bundle-head > div > span { color: var(--sage); font-size: 8px; font-weight: 700; letter-spacing: .15em; }
.product-info h1 { max-width: 440px; margin: 7px 0 0; font: 400 clamp(24px, 2.3vw, 34px)/1.04 Georgia, serif; }
.price { margin: 10px 0 7px; font: 400 21px Georgia, serif; }
.meta { display: flex; align-items: center; justify-content: space-between; color: #77716d; font-size: 9px; }
.construction { margin: 8px 0 0; color: #6f6964; font-size: 9px; line-height: 1.35; }
.reviews { color: #b28b41; letter-spacing: .08em; }
.reviews b { color: #4c4845; letter-spacing: 0; }
.product-form { margin-top: 14px; padding: 15px 16px; background: #faf8f5; border: 1px solid #eee8e2; }
fieldset { margin: 0 0 13px; padding: 0; border: 0; }
legend, .field-label { display: block; margin-bottom: 7px; font-size: 10px; font-weight: 700; }
.format-choices, .editor-product-choices { display: grid; grid-template-columns: repeat(3, 1fr); gap: 7px; }
.format-choice { min-height: 45px; padding: 7px 8px; display: grid; align-content: center; gap: 2px; text-align: left; border: 1px solid var(--line); background: #fff; }
.format-choice strong { font-size: 9px; line-height: 1.08; }
.format-choice small { color: #77716d; font-size: 8px; }
.format-choice.active { border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); background: var(--sage-soft); }
.colour-swatches, .editor-colours { display: flex; flex-wrap: wrap; gap: 7px; }
.colour-swatch { width: 24px; height: 24px; padding: 0; border: 2px solid #fff; border-radius: 50%; background: var(--swatch); box-shadow: 0 0 0 1px #cfc8c1; }
.colour-swatch.active { box-shadow: 0 0 0 2px var(--sage); }
.selected-option { margin: 7px 0 0; display: flex; align-items: center; gap: 6px; color: #5f5a56; font-size: 8px; }
.selected-option i { width: 8px; height: 8px; border-radius: 50%; background: var(--leather); }
.selected-option b { margin-left: auto; color: var(--sage); }
select, input[type="text"] { width: 100%; height: 35px; padding: 0 9px; border: 1px solid #d9d3cd; border-radius: 0; background: #fff; font-size: 10px; }
.custom-wording, .editor-custom { margin-top: 7px; display: grid; grid-template-columns: 88px 1fr; align-items: center; gap: 8px; font-size: 9px; font-weight: 700; }
.personalise-button { width: 100%; min-height: 54px; margin-top: 12px; padding: 0 14px; display: grid; grid-template-columns: 28px 1fr 18px; align-items: center; text-align: left; border: 0; background: var(--sage); color: #fff; }
.personalise-button > span { font-size: 22px; font-weight: 300; }
.personalise-button strong b, .personalise-button strong small { display: block; }
.personalise-button strong b { font-size: 11px; }
.personalise-button strong small { margin-top: 3px; color: #d5e3da; font-size: 8px; font-weight: 400; }
.personalise-button > i { font-size: 18px; font-style: normal; }
.cart-button { width: 100%; height: 36px; margin-top: 7px; border: 1px solid #ddd7d1; background: #efedea; color: #99938e; font-size: 9px; }
.delivery-line { margin-top: 12px; display: flex; align-items: center; justify-content: space-between; color: #716c68; font-size: 8px; }
.delivery-line span b { display: block; margin-top: 2px; color: #222; }
.delivery-line i { font-style: normal; color: #aaa49f; }

/* Exact product proofs: the real 6 × 3cm case is shown open so the print area is never obscured. */
.render-host { position: relative; min-height: 0; overflow: hidden; background: radial-gradient(circle at 50% 38%,#fff 0 16%,#faf8f4 55%,#ebe6df 100%); isolation: isolate; }
.render-host::before { content: ""; position: absolute; width: 70%; height: 24%; left: 16%; bottom: 4%; border-radius: 50%; background: rgba(54,38,24,.14); filter: blur(26px); transform: scaleY(.3); }
.product-scene { position: absolute; width: 620px; height: 440px; left: 50%; top: 50%; transform: translate(-50%,-50%) scale(var(--scene-scale,1)); transform-origin: center; }
.page-render { --scene-scale: .69; }
.product-scene button { border: 0; }
.leather { position: absolute; background: var(--leather-pattern),linear-gradient(145deg,rgba(255,255,255,.12),transparent 32%),var(--leather); box-shadow: inset 0 0 0 1px rgba(255,255,255,.14),inset 0 -8px 15px rgba(44,22,8,.1),0 8px 17px rgba(45,30,20,.17); }
.leather::after, .leather-inside::after { content: ""; position: absolute; inset: 0; border-radius: inherit; opacity: .28; background-image: radial-gradient(rgba(255,255,255,.44) .5px,transparent .7px),radial-gradient(rgba(36,18,8,.32) .5px,transparent .8px); background-position: 0 0,3px 3px; background-size: 6px 6px; pointer-events: none; }
.exact-ring { position: absolute; z-index: 1; width: 91px; height: 91px; left: 14px; top: 2px; border: 12px solid #c8c7c2; border-radius: 50%; background: transparent; box-shadow: inset 0 0 0 3px #faf9f5,0 5px 10px rgba(0,0,0,.17); }
.exact-ring::after { content: ""; position: absolute; inset: -8px; border-radius: 50%; border-top: 4px solid #f4f3ef; transform: rotate(-30deg); }
.ring-strap { z-index: 4; width: 57px; height: 82px; left: 79px; top: 16px; border-radius: 16px 16px 6px 6px; }
.strap-rivet, .case-stud, .case-snap { position: absolute; border-radius: 50%; background: radial-gradient(circle at 30% 27%,#fff 0 5%,#e6e3dc 18%,#9f9d98 48%,#f5f2eb 66%,#777570 100%); box-shadow: 0 2px 3px rgba(0,0,0,.32); }
.strap-rivet { width: 25px; height: 25px; left: 16px; top: 18px; }
.open-keyring { position: absolute; width: 440px; height: 410px; left: 220px; top: 13px; transform: rotate(-3deg); }
.case-shell { position: absolute; z-index: 2; width: 170px; height: 374px; left: 77px; top: 27px; clip-path: polygon(18% 0,82% 0,100% 8%,100% 92%,82% 100%,18% 100%,0 92%,0 8%); background: var(--leather-pattern),linear-gradient(150deg,rgba(255,255,255,.32),transparent 35%,rgba(66,35,16,.08)),var(--leather); box-shadow: inset 0 0 18px rgba(255,255,255,.2),0 10px 20px rgba(45,30,20,.18); }
.case-snap { z-index: 4; width: 25px; height: 25px; left: 72px; }
.snap-top { top: 17px; }
.snap-bottom { bottom: 17px; }
.insert-hinge { position: absolute; z-index: 8; width: 48px; height: 31px; left: 139px; top: 197px; border-radius: 4px; background: var(--leather); box-shadow: 0 3px 5px rgba(40,22,12,.25); }
.exterior-proof { position: absolute; width: 156px; height: 258px; left: 38px; top: 126px; }
.exterior-proof > span { position: absolute; left: 0; top: -20px; color: #6e6965; font-size: 8px; font-weight: 700; letter-spacing: .16em; }
.closed-case { inset: 0; clip-path: polygon(17% 0,83% 0,100% 10%,100% 90%,83% 100%,17% 100%,0 90%,0 10%); }
.closed-case strong { position: absolute; inset: 0; display: grid; place-items: center; color: var(--personalisation-color,var(--leather-text)); font: 700 19px Georgia,serif; letter-spacing: .11em; text-shadow: 0 1px rgba(255,255,255,.18); }
.case-stud { width: 27px; height: 27px; left: 65px; bottom: 18px; }
.proof-card { position: absolute; padding: 0; transition: transform .2s ease,box-shadow .2s ease; }
.proof-card::after { content: attr(data-number); position: absolute; right: 7px; bottom: 7px; z-index: 4; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); color: #4f4b47; font-size: 8px; font-weight: 700; }
.proof-card.active { z-index: 20 !important; box-shadow: 0 0 0 4px #fff,0 0 0 7px var(--sage),0 14px 24px rgba(44,31,19,.27); }
.photo-viewport { width: 100%; height: 100%; overflow: hidden; position: relative; background: linear-gradient(145deg,#ece9e4,#d9d4ce); cursor: grab; touch-action: none; }
.photo-viewport:active { cursor: grabbing; }
.photo-viewport img { width: 100%; height: 100%; display: block; object-fit: cover; transform-origin: center; pointer-events: none; user-select: none; }
.photo-viewport.empty::before { content: "+"; position: absolute; inset: 0; z-index: 1; display: grid; place-items: center; color: #9a948e; font-size: 30px; }
.photo-viewport.empty::after { content: "ADD PHOTO"; position: absolute; left: 0; right: 0; top: 59%; z-index: 1; text-align: center; color: #8b8580; font-size: 8px; font-weight: 700; letter-spacing: .12em; }
.construction-note { position: absolute; left: 0; right: 0; bottom: 4px; text-align: center; color: #6b6661; font-size: 9px; font-weight: 700; letter-spacing: .04em; }

.scene-multi .open-keyring { left: 165px; }
.scene-multi .photo-leaves { position: absolute; z-index: 7; width: 335px; height: 210px; left: 202px; top: 143px; }
.leather-photo-leaf { width: 156px; height: 174px; padding: 7px; background: #eeeae3; clip-path: polygon(5% 0,95% 0,100% 88%,84% 100%,16% 100%,0 88%); box-shadow: 0 8px 15px rgba(42,27,17,.22); transform-origin: 15% 50%; }
.leather-photo-leaf .photo-viewport { clip-path: polygon(3% 0,97% 0,100% 87%,83% 100%,17% 100%,0 87%); }
.scene-multi .proof-card:nth-child(1) { left: 0; top: 11px; transform: rotate(-12deg); z-index: 6; }
.scene-multi .proof-card:nth-child(2) { left: 17px; top: 7px; transform: rotate(-5deg); z-index: 5; }
.scene-multi .proof-card:nth-child(3) { left: 34px; top: 5px; transform: rotate(3deg); z-index: 4; }
.scene-multi .proof-card:nth-child(4) { left: 51px; top: 9px; transform: rotate(11deg); z-index: 3; }
.scene-multi .proof-card.active { transform: translate(130px,-8px) rotate(0deg); }

.steel-plate-wrap { position: absolute; z-index: 9; width: 138px; height: 166px; left: 93px; top: 132px; }
.steel-photo-plate { inset: 0; width: 138px; height: 166px; padding: 8px; border-radius: 6px; background: linear-gradient(135deg,#f7f6f1,#a8a7a2 34%,#efeee9 72%,#8e8d88); box-shadow: 0 8px 15px rgba(35,25,17,.25); }
.steel-photo-plate .photo-viewport { border-radius: 3px; }
.steel-photo-plate.active { transform: translateX(5px); }
.scene-single .open-keyring, .scene-double .open-keyring { left: 278px; }
.side-switch { position: absolute; z-index: 20; left: 261px; top: 159px; display: grid; gap: 7px; }
.side-button { min-width: 58px; height: 29px; border: 1px solid #cfc8c1 !important; background: rgba(255,255,255,.94); color: #625d58; font-size: 8px; font-weight: 700; }
.side-button.active { border-color: var(--sage) !important; background: var(--sage); color: #fff; }

.editor-modal { position: fixed; inset: 0; z-index: 100; padding: 14px; display: grid; place-items: center; background: rgba(15,15,14,.76); }
.editor-dialog { width: min(1440px,100%); height: min(900px,100%); display: grid; grid-template-rows: 70px minmax(0,1fr); background: #fff; box-shadow: 0 24px 80px rgba(0,0,0,.36); overflow: hidden; }
.editor-header { padding: 0 28px; display: grid; grid-template-columns: 1fr auto 48px; align-items: center; gap: 24px; border-bottom: 1px solid var(--line); }
.editor-kicker { color: var(--sage); font-size: 9px; font-weight: 700; letter-spacing: .18em; }
.editor-header h2 { margin: 2px 0 0; font: 400 27px Georgia,serif; }
.editor-summary { display: flex; align-items: center; gap: 9px; color: #6c6763; font-size: 10px; }
.editor-summary strong { color: #111; font: 400 17px Georgia,serif; }
#close-editor { width: 42px; height: 42px; border: 0; background: #f4f1ed; font-size: 26px; line-height: 1; }
.editor-body { min-height: 0; display: grid; grid-template-columns: minmax(0,1.15fr) minmax(480px,.85fr); }
.preview-workspace { min-width: 0; min-height: 0; padding: 18px 22px 14px; display: grid; grid-template-rows: 28px minmax(0,1fr) 31px; background: var(--warm); }
.editor-render { min-height: 0; }
.editor-render .product-scene { --scene-scale: 1.05; }
.proof-caption { display: flex; align-items: center; justify-content: center; gap: 11px; text-align: center; }
.proof-caption strong { font-size: 10px; }
.proof-caption span { color: #716c68; font-size: 9px; }
.editor-panel { min-height: 0; display: grid; grid-template-rows: 58px minmax(0,1fr) 68px; padding: 0 28px; }
.editor-progress { list-style: none; margin: 0 -28px; padding: 0 28px; display: grid; grid-template-columns: repeat(4,1fr); align-items: center; border-bottom: 1px solid var(--line); }
.editor-progress li { min-width: 0; }
.editor-progress button { width: 100%; padding: 8px 4px; display: flex; align-items: center; gap: 7px; border: 0; border-radius: 4px; background: transparent; color: #9a9591; font-size: 9px; font-weight: 700; text-align: left; }
.editor-progress button:hover { background: #f7f5f2; color: var(--sage); }
.editor-progress button:focus-visible { outline: 2px solid var(--sage); outline-offset: 2px; }
.editor-progress button span { width: 23px; height: 23px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #f0eeeb; }
.editor-progress button.active { color: #111; }
.editor-progress button.active span { background: var(--sage); color: #fff; }
.editor-progress button.complete { color: var(--sage); }
.editor-progress button.complete span { background: var(--sage-soft); color: var(--sage); }
.editor-content { min-height: 0; overflow: hidden; }
.editor-step { display: none; min-height: 0; padding-top: 20px; }
.editor-step.active { display: block; }
.step-copy h3 { margin: 5px 0 5px; font: 400 28px/1.05 Georgia,serif; }
.step-copy p { margin: 0 0 14px; color: #6d6864; font-size: 10px; line-height: 1.42; }
.editor-product-choices .format-choice { min-height: 57px; }
.option-grid { margin-top: 15px; display: grid; grid-template-columns: 1.1fr .9fr; gap: 16px; }
.option-block > strong { display: block; margin-bottom: 8px; font-size: 9px; }
.option-block > small { display: block; margin-top: 7px; color: #6d6864; font-size: 8px; }
.editor-colours { gap: 6px; }
.editor-colours .colour-swatch { width: 23px; height: 23px; }
.gift-tag-row { min-height: 54px; margin-top: 16px; padding: 9px 11px; display: grid; grid-template-columns: 1fr 180px; align-items: center; gap: 10px; border: 1px solid var(--line); background: #faf8f6; }
.gift-tag-row strong, .gift-tag-row small { display: block; }
.gift-tag-row strong { font-size: 9px; }
.gift-tag-row small { margin-top: 2px; color: #746f6b; font-size: 8px; }
.back-message-row { margin-top: 12px; display: grid; grid-template-columns: 1fr 1fr; gap: 9px; }
.back-message-row label { display: grid; gap: 6px; }
.back-message-row strong { font-size: 8px; }
.photo-slots { display: grid; grid-template-columns: repeat(4,1fr); gap: 8px; }
.photo-slot { position: relative; aspect-ratio: 1.08; padding: 0; overflow: hidden; border: 1px solid #d8d2cc; background: #f3f0ec; }
.photo-slot.active { box-shadow: 0 0 0 2px var(--sage); }
.photo-slot img { width: 100%; height: 100%; object-fit: cover; }
.photo-slot > span { position: absolute; left: 5px; top: 5px; width: 19px; height: 19px; display: grid; place-items: center; border-radius: 50%; background: rgba(255,255,255,.94); font-size: 8px; font-weight: 700; }
.photo-slot > b { position: absolute; inset: 0; display: grid; place-items: center; padding-top: 15px; color: #8b8580; font-size: 8px; }
.photo-slot > i { position: absolute; right: 5px; bottom: 5px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #fff; font-size: 8px; font-style: normal; }
.photo-actions-row { margin-top: 11px; display: grid; grid-template-columns: 1fr auto; gap: 10px; align-items: stretch; }
.upload-zone { min-height: 58px; padding: 8px 11px; display: grid; grid-template-columns: 34px 1fr; align-items: center; column-gap: 9px; border: 1px dashed #9f9994; background: #fbfaf8; cursor: pointer; }
.upload-zone > span { grid-row: 1 / span 2; width: 32px; height: 32px; display: grid; place-items: center; border-radius: 50%; background: #111; color: #fff; font-size: 20px; }
.upload-zone strong { align-self: end; font-size: 9px; }
.upload-zone small { align-self: start; color: #777; font-size: 8px; }
.text-button { padding: 0 10px; border: 0; background: transparent; color: var(--sage); font-size: 9px; font-weight: 700; text-decoration: underline; }
.crop-bar { margin-top: 11px; padding: 10px 12px; background: var(--blush); }
.crop-bar > div { display: flex; justify-content: space-between; align-items: center; font-size: 9px; }
.crop-buttons { display: flex; gap: 5px; }
.crop-bar button { padding: 3px 5px; border: 0; background: transparent; color: var(--sage); font-size: 8px; font-weight: 700; }
.crop-bar > label { margin-top: 8px; display: grid; grid-template-columns: 40px 1fr; gap: 8px; align-items: center; font-size: 8px; }
input[type="range"] { accent-color: var(--sage); }
.crop-bar p { min-height: 38px; margin: 8px 0 0; padding: 6px 8px; display: flex; align-items: center; gap: 8px; background: rgba(255,255,255,.87); }
.crop-bar p > i { width: 24px; height: 24px; display: grid; place-items: center; flex: none; border-radius: 50%; background: #e5eee7; color: var(--sage); font-size: 9px; font-style: normal; font-weight: 700; }
.crop-bar p b, .crop-bar p small { display: block; }
.crop-bar p b { font-size: 8px; }
.crop-bar p small { margin-top: 2px; color: #777; font-size: 7px; }
.editor-error { margin: 7px 0 0; padding: 7px 9px; border-left: 3px solid #a3362b; background: #fff0ed; color: #82251d; font-size: 9px; }
.review-summary { display: grid; grid-template-columns: 39px 1fr auto; align-items: center; gap: 10px; padding: 10px; border: 1px solid var(--line); background: #faf8f6; }
.review-swatch { width: 39px; height: 39px; border-radius: 50%; background: var(--leather-pattern),var(--leather); box-shadow: inset 0 0 0 4px #fff,0 0 0 1px #ddd; }
.review-summary strong, .review-summary small { display: block; }
.review-summary strong { font-size: 9px; }
.review-summary small { margin-top: 3px; color: #716c67; font-size: 8px; }
.review-summary > b { font: 400 18px Georgia,serif; }
.proof-checks { margin: 10px 0 13px; display: grid; grid-template-columns: 1fr 1fr; gap: 6px 12px; color: var(--sage); font-size: 8px; }
.bundle-head { display: flex; justify-content: space-between; align-items: end; gap: 14px; }
.bundle-head > div > strong,
.bundle-head > div > small { display: block; }
.bundle-head > div > strong { margin-top: 4px; font-size: 11px; }
.bundle-head > div > small { margin-top: 3px; color: #746e69; font-size: 7px; line-height: 1.35; }
.bundle-head button { min-height: 32px; padding: 7px 10px; border: 1px solid var(--sage); background: #fff; color: var(--sage); font-size: 8px; font-weight: 700; white-space: nowrap; }
.bundle-head button:hover { background: var(--sage); color: #fff; }
.add-on-list { margin-top: 10px; display: grid; grid-template-columns: repeat(3,1fr); gap: 8px; }
.add-on-card { min-width: 0; min-height: 138px; padding: 0; position: relative; display: grid; grid-template-rows: 56px minmax(0,1fr); overflow: hidden; text-align: left; border: 1px solid var(--line); background: #fff; }
.add-on-card.active { border-color: var(--sage); background: var(--sage-soft); box-shadow: inset 0 0 0 1px var(--sage); }
.add-on-media { width: 100%; height: 56px; margin: 0; overflow: hidden; background: #eeeae5; }
.add-on-media img { width: 100%; height: 100%; display: block; object-fit: cover; transition: transform .25s ease; }
.add-on-card:hover .add-on-media img { transform: scale(1.025); }
.add-on-copy { min-width: 0; padding: 8px 9px 9px; display: flex; flex-direction: column; align-items: flex-start; }
.add-on-copy > span { display: inline-block; padding: 2px 4px; background: var(--blush); color: #8a5541; font-size: 5px; font-weight: 700; letter-spacing: .08em; }
.add-on-copy strong,
.add-on-copy small,
.add-on-copy b { display: block; }
.add-on-copy strong { margin-top: 6px; padding-right: 19px; font-size: 8px; line-height: 1.22; }
.add-on-copy small { margin-top: 3px; color: #746e69; font-size: 6.5px; line-height: 1.3; }
.add-on-copy b { width: 100%; margin-top: auto; padding-top: 7px; display: flex; align-items: center; justify-content: space-between; gap: 6px; font-size: 8px; }
.add-on-copy b em { color: var(--sage); font-size: 6px; font-style: normal; text-transform: uppercase; letter-spacing: .08em; }
.add-on-card > i { position: absolute; right: 7px; top: 64px; width: 18px; height: 18px; display: grid; place-items: center; border-radius: 50%; border: 1px solid var(--sage); background: #fff; color: var(--sage); font-size: 10px; font-style: normal; font-weight: 700; }
.add-on-card.active > i { background: var(--sage); border-color: var(--sage); color: #fff; }
.price-bridge { min-height: 42px; margin-top: 9px; padding: 7px 10px; display: grid; grid-template-columns: 1fr auto; align-items: center; background: #151513; color: #fff; }
.price-bridge > span { font-size: 8px; }
.price-bridge strong { font: 400 16px Georgia,serif; }
.price-bridge s { color: #aaa; font-size: 10px; }
.price-bridge small { grid-column: 1 / -1; color: #b7c8bd; font-size: 7px; }
.basket-card { padding: 11px; border: 1px solid var(--line); }
.basket-line { display: grid; grid-template-columns: 1fr auto; gap: 8px; padding: 7px 0; border-bottom: 1px solid #eeeae6; }
.basket-line:last-child { border-bottom: 0; }
.basket-line strong, .basket-line small { display: block; }
.basket-line strong { font-size: 9px; }
.basket-line small { margin-top: 2px; color: #736e69; font-size: 7px; }
.basket-line b { font-size: 9px; }
.basket-total { margin-top: 4px; padding-top: 9px; display: flex; justify-content: space-between; font: 700 12px Georgia,serif; }
.delivery-progress { margin-top: 11px; padding: 10px; background: var(--sage-soft); }
.delivery-progress > div:first-child { display: flex; justify-content: space-between; font-size: 8px; }
.progress-track { height: 5px; margin-top: 8px; overflow: hidden; border-radius: 9px; background: #d0ddd4; }
.progress-track i { display: block; width: 0; height: 100%; border-radius: inherit; background: var(--sage); transition: width .25s ease; }
.order-ready { margin-top: 11px; padding: 10px; display: grid; grid-template-columns: 30px 1fr; align-items: center; gap: 9px; border: 1px solid #b9cdbf; background: #f8fbf9; }
.order-ready > span { width: 28px; height: 28px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); color: #fff; }
.order-ready strong, .order-ready small { display: block; }
.order-ready strong { font-size: 8px; }
.order-ready small { margin-top: 3px; color: #647269; font-size: 7px; line-height: 1.35; }
.checkout-button { width: 100%; height: 47px; margin-top: 11px; padding: 0 14px; display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--sage); color: #fff; font-size: 10px; font-weight: 700; }
.checkout-note { margin: 7px 0 0; text-align: center; color: #837e7a; font-size: 7px; }
.editor-actions { margin: 0 -28px; padding: 10px 28px; display: flex; gap: 9px; border-top: 1px solid var(--line); }
.editor-actions button { height: 46px; padding: 0 15px; font-size: 10px; font-weight: 700; }
.editor-actions .primary { flex: 1; display: flex; justify-content: space-between; align-items: center; border: 0; background: var(--sage); color: #fff; }
.editor-actions .secondary { width: 85px; border: 1px solid var(--line); background: #fff; }
.toast { position: fixed; z-index: 150; right: 20px; bottom: 20px; width: min(355px,calc(100vw - 30px)); padding: 13px; display: grid; grid-template-columns: 31px 1fr; gap: 10px; align-items: center; background: #151513; color: #fff; transform: translateY(140%); opacity: 0; transition: .25s ease; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast > span { width: 29px; height: 29px; display: grid; place-items: center; border-radius: 50%; background: var(--sage); }
.toast strong, .toast small { display: block; }
.toast strong { font-size: 9px; }
.toast small { margin-top: 3px; color: #bac4bd; font-size: 8px; }

@media (max-width: 1100px) {
  .site-header { grid-template-columns: 54px 1fr 80px; }
  .site-header .wordmark { justify-self: center; }
  .site-header nav { display: none; }
  .pdp, .breadcrumbs { margin-left: 16px; margin-right: 16px; }
  .editor-body { grid-template-columns: minmax(0,1fr) 470px; }
  .editor-render .product-scene { --scene-scale: .82; }
}

@media (max-width: 760px) {
  .announcement { height: 29px; font-size: 8px; }
  .site-header { height: 59px; padding: 0 16px; grid-template-columns: 46px 1fr 68px; gap: 5px; }
  .site-header::before { content: "☰"; font-size: 21px; }
  .search-button { display: none; }
  .wordmark img { width: 54px; height: 54px; }
  .pdp-page { height: auto; min-height: 0; overflow: visible; }
  .breadcrumbs { height: 37px; margin: 0; padding: 0 12px; overflow: hidden; white-space: nowrap; }
  .pdp { height: auto; margin: 0; padding: 0 10px 30px; grid-template-columns: 1fr; overflow: visible; }
  .gallery-column { grid-template-rows: 340px 51px; padding: 0; }
  .page-render { --scene-scale: .50; }
  .proof-benefits { gap: 8px; font-size: 7px; }
  .gallery-thumbs button { width: 48px; height: 48px; }
  .product-info { padding: 20px 0 0; overflow: visible; }
  .product-info h1, .price { text-align: center; }
  .meta { justify-content: center; gap: 18px; }
  .product-form { padding: 13px; }
  .editor-modal { padding: 0; }
  .editor-dialog { width: 100vw; height: 100dvh; grid-template-rows: 54px minmax(0,1fr); }
  .editor-header { padding: 0 13px; grid-template-columns: 1fr 40px; gap: 8px; }
  .editor-header h2 { font-size: 20px; }
  .editor-summary { display: none; }
  #close-editor { width: 36px; height: 36px; font-size: 22px; }
  .editor-body { grid-template-columns: 1fr; grid-template-rows: 41% 59%; }
  .preview-workspace { padding: 8px 10px 6px; grid-template-rows: 22px minmax(0,1fr) 22px; }
  .proof-topline { padding: 0 4px; font-size: 7px; }
  .proof-topline strong { font-size: 7px; }
  .editor-render .product-scene { --scene-scale: .48; }
  .proof-caption { gap: 6px; }
  .proof-caption strong, .proof-caption span { font-size: 7px; }
  .editor-panel { grid-template-rows: 42px minmax(0,1fr) 57px; padding: 0 13px; }
  .editor-progress { margin: 0 -13px; padding: 0 13px; }
  .editor-progress button { justify-content: center; font-size: 0; }
  .editor-progress button span { width: 22px; height: 22px; font-size: 8px; }
  .editor-content { overflow-y: auto; scrollbar-width: thin; }
  .editor-step { padding-top: 11px; padding-bottom: 10px; }
  .step-copy h3 { margin: 3px 0; font-size: 21px; }
  .step-copy p { margin-bottom: 8px; font-size: 8px; }
  .format-choice { min-height: 42px; padding: 5px; }
  .format-choice strong { font-size: 7px; }
  .format-choice small { font-size: 7px; }
  .option-grid { margin-top: 9px; gap: 8px; }
  .editor-colours { max-height: 50px; overflow: hidden; gap: 5px; }
  .editor-colours .colour-swatch { width: 20px; height: 20px; }
  .gift-tag-row { min-height: 43px; margin-top: 8px; padding: 5px 7px; grid-template-columns: 1fr 145px; }
  .gift-tag-row select { height: 31px; font-size: 8px; }
  .back-message-row { margin-top: 7px; gap: 6px; }
  .back-message-row input, .back-message-row select { height: 30px; font-size: 8px; }
  .photo-slots { gap: 5px; }
  .photo-actions-row { margin-top: 7px; }
  .upload-zone { min-height: 45px; padding: 5px 7px; grid-template-columns: 29px 1fr; }
  .upload-zone > span { width: 27px; height: 27px; font-size: 17px; }
  .crop-bar { margin-top: 7px; padding: 7px; }
  .crop-bar p { min-height: 31px; margin-top: 5px; }
  .proof-checks { margin: 7px 0 8px; }
  .bundle-head { align-items: center; }
  .bundle-head > div > small { display: none; }
  .bundle-head button { min-height: 28px; padding: 5px 7px; font-size: 6px; }
  .add-on-list { margin-top: 6px; gap: 5px; }
  .add-on-card { min-height: 82px; padding: 0; grid-template-rows: 33px minmax(0,1fr); }
  .add-on-media { height: 33px; }
  .add-on-copy { padding: 4px 5px 5px; }
  .add-on-copy > span { display: none; }
  .add-on-copy strong { margin-top: 0; padding-right: 11px; font-size: 6px; line-height: 1.12; }
  .add-on-copy small { display: none; }
  .add-on-copy b { padding-top: 2px; font-size: 6.5px; }
  .add-on-copy b em { font-size: 5px; }
  .add-on-card > i { top: 38px; right: 4px; width: 13px; height: 13px; font-size: 7px; }
  .price-bridge { min-height: 36px; margin-top: 6px; padding: 5px 8px; }
  .basket-card { padding: 7px; }
  .basket-line { padding: 5px 0; }
  .delivery-progress, .order-ready, .checkout-button { margin-top: 7px; }
  .order-ready { padding: 7px; }
  .checkout-button { height: 40px; }
  .editor-actions { margin: 0 -13px; padding: 6px 13px; }
  .editor-actions button { height: 43px; }
}

@media (max-height: 700px) and (min-width: 761px) {
  .editor-dialog { height: 100%; }
  .editor-header { height: 58px; }
  .editor-dialog { grid-template-rows: 58px minmax(0,1fr); }
  .editor-panel { grid-template-rows: 48px minmax(0,1fr) 58px; }
  .editor-step { padding-top: 12px; }
  .step-copy p { margin-bottom: 8px; }
  .editor-render .product-scene { --scene-scale: .78; }
}

/* 2026 proof model: crop first, finished product second. */
.render-host {
  background: #f3f0eb;
  isolation: isolate;
}
.render-host::before { display: none; }

.reference-stage {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 170px;
  gap: 14px;
  overflow: hidden;
  background: #f3f0eb;
}
.reference-photo,
.finished-lifestyle {
  min-width: 0;
  min-height: 0;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #e8e3dc;
}
.reference-photo > img,
.finished-lifestyle > img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.reference-photo::after,
.finished-lifestyle::after {
  content: "";
  position: absolute;
  inset: 45% 0 0;
  background: linear-gradient(transparent, rgba(15, 14, 13, .58));
  pointer-events: none;
}
.reference-photo figcaption,
.finished-lifestyle figcaption {
  position: absolute;
  z-index: 2;
  right: 16px;
  bottom: 15px;
  left: 16px;
  color: #fff;
}
.reference-photo figcaption span,
.finished-lifestyle figcaption span,
.material-card > span,
.order-proof-head > span,
.proof-material-row small {
  display: block;
  margin-bottom: 4px;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .14em;
}
.reference-photo figcaption strong,
.finished-lifestyle figcaption strong {
  display: block;
  font: 400 16px/1.15 Georgia, serif;
}
.material-card {
  min-width: 0;
  padding: 13px;
  display: grid;
  grid-template-rows: auto 235px auto auto;
  align-content: start;
  background: #fff;
  border: 1px solid #e2dcd5;
  box-shadow: 0 12px 30px rgba(45, 34, 24, .07);
}
.material-card > span { align-self: start; color: var(--sage); }
.material-photo {
  height: 235px;
  margin: 4px -2px 10px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #ead5b8;
}
.material-photo img {
  width: 100%;
  height: auto;
  display: block;
}
.material-card > strong { padding: 10px 4px 0; font: 400 16px/1.15 Georgia, serif; }
.material-card > small { margin-top: 4px; padding: 0 4px 5px; color: #706b67; font-size: 9px; line-height: 1.35; }

.editor-render .reference-stage { padding: 22px; grid-template-columns: minmax(0, 1fr) 210px; gap: 18px; }
.editor-render .reference-photo figcaption strong { font-size: 20px; }
.editor-render .material-card { padding: 16px; }
.editor-render .material-card { grid-template-rows: auto 300px auto auto; }
.editor-render .material-photo { height: 300px; }

.crop-stage {
  width: 100%;
  height: 100%;
  padding: 18px;
  display: grid;
  grid-template-rows: 42px minmax(0, 1fr) 48px;
  place-items: center;
  overflow: hidden;
  background:
    radial-gradient(circle at 50% 48%, rgba(255, 255, 255, .96) 0 27%, rgba(255, 255, 255, .25) 58%, transparent 75%),
    #ece8e2;
}
.crop-stage-heading {
  width: min(430px, 100%);
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #6b6661;
  font-size: 8px;
  font-weight: 700;
  letter-spacing: .12em;
}
.crop-stage-heading span { color: var(--sage); }
.print-mat {
  height: min(94%, 520px);
  aspect-ratio: 27 / 32;
  padding: 13px;
  position: relative;
  background: linear-gradient(145deg, #f7f6f2, #b0aea8 42%, #f3f2ee 72%, #8e8c87);
  border-radius: 9px;
  box-shadow: 0 28px 48px rgba(45, 34, 25, .2), 0 3px 8px rgba(45, 34, 25, .14);
}
.print-mat.leather-insert {
  aspect-ratio: 29 / 32;
  padding: 10px;
  border-radius: 0;
  clip-path: polygon(6% 0, 94% 0, 100% 7%, 100% 87%, 84% 100%, 16% 100%, 0 87%, 0 7%);
  background: #eee9e2;
}
.print-surface {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  background: #ddd8d2;
}
.leather-insert .print-surface {
  border-radius: 0;
  clip-path: polygon(4% 0, 96% 0, 100% 6%, 100% 86%, 83% 100%, 17% 100%, 0 86%, 0 6%);
}
.print-surface .photo-viewport { cursor: grab; }
.print-surface .photo-viewport:active { cursor: grabbing; }
.safe-line {
  position: absolute;
  z-index: 3;
  inset: 7%;
  border: 1px dashed rgba(255, 255, 255, .9);
  box-shadow: 0 0 0 999px rgba(11, 10, 9, .05);
  pointer-events: none;
}
.crop-corner {
  position: absolute;
  z-index: 4;
  width: 17px;
  height: 17px;
  border-color: #fff;
  border-style: solid;
  pointer-events: none;
}
.crop-corner.tl { left: 7%; top: 7%; border-width: 2px 0 0 2px; }
.crop-corner.tr { right: 7%; top: 7%; border-width: 2px 2px 0 0; }
.crop-corner.bl { left: 7%; bottom: 7%; border-width: 0 0 2px 2px; }
.crop-corner.br { right: 7%; bottom: 7%; border-width: 0 2px 2px 0; }
.crop-instruction {
  height: 38px;
  padding: 0 14px 0 8px;
  display: flex;
  align-items: center;
  gap: 8px;
  border-radius: 20px;
  background: rgba(255, 255, 255, .9);
  border: 1px solid #ded8d1;
  box-shadow: 0 5px 20px rgba(47, 37, 27, .05);
}
.crop-instruction > span {
  width: 27px;
  height: 27px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--sage);
  color: #fff;
  font-size: 13px;
}
.crop-instruction strong,
.crop-instruction small { display: block; }
.crop-instruction strong { font-size: 9px; }
.crop-instruction small { margin-top: 1px; color: #77716c; font-size: 7px; }

.finished-proof {
  width: 100%;
  height: 100%;
  padding: 20px;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(255px, .75fr);
  gap: 17px;
  overflow: hidden;
  background: #ece8e2;
}
.order-proof-card {
  min-width: 0;
  min-height: 0;
  padding: 16px;
  display: grid;
  grid-template-rows: auto 110px minmax(0, 1fr) auto;
  gap: 11px;
  background: #fff;
  border: 1px solid #ded8d1;
  box-shadow: 0 14px 35px rgba(47, 36, 25, .08);
}
.order-proof-head { display: flex; align-items: center; justify-content: space-between; }
.order-proof-head > span { margin: 0; color: var(--sage); }
.order-proof-head i {
  padding: 4px 7px;
  border-radius: 12px;
  background: var(--sage-soft);
  color: var(--sage);
  font-size: 7px;
  font-style: normal;
  font-weight: 700;
}
.proof-material-row {
  min-height: 0;
  padding: 8px;
  display: grid;
  grid-template-columns: 70px 1fr;
  align-items: center;
  gap: 11px;
  background: #f7f4ef;
}
.proof-material-photo { width: 70px; height: 92px; overflow: hidden; background: #ead5b8; }
.proof-material-photo img { width: 100%; height: auto; display: block; }
.proof-material-row small { margin-bottom: 6px; color: #7c7670; font-size: 7px; }
.proof-material-row strong,
.proof-material-row b { display: block; }
.proof-material-row strong { font: 400 15px Georgia, serif; }
.proof-material-row b { margin-top: 4px; font-size: 10px; letter-spacing: .12em; }
.final-prints {
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 7px;
}
.final-prints.single { grid-template-columns: 1fr; }
.final-print {
  min-width: 0;
  min-height: 0;
  padding: 5px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d9d3cc;
  background: #efebe5;
}
.final-print.active { border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.final-print > span {
  position: absolute;
  z-index: 3;
  top: 8px;
  left: 8px;
  min-width: 18px;
  height: 18px;
  padding: 0 5px;
  display: grid;
  place-items: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, .92);
  color: #45413d;
  font-size: 7px;
  font-weight: 700;
}
.final-print > div { width: 100%; height: 100%; overflow: hidden; background: #ddd8d2; }
.final-print img { width: 100%; height: 100%; display: block; object-fit: cover; transform-origin: center; }
.final-print div > span { height: 100%; display: grid; place-items: center; color: #8a847e; font-size: 8px; }
.order-proof-card > p { margin: 0; color: #716b66; font-size: 8px; text-align: center; }

@media (max-width: 1100px) {
  .editor-render .reference-stage { grid-template-columns: minmax(0, 1fr) 165px; padding: 16px; gap: 12px; }
  .finished-proof { grid-template-columns: minmax(0, 1fr) 240px; padding: 14px; gap: 12px; }
  .order-proof-card { padding: 12px; grid-template-rows: auto 96px minmax(0, 1fr) auto; }
  .proof-material-photo { width: 62px; height: 78px; }
  .proof-material-row { grid-template-columns: 62px 1fr; }
}

@media (max-width: 760px) {
  .reference-stage { padding: 8px; grid-template-columns: minmax(0, 1fr) 102px; gap: 7px; }
  .editor-render .reference-stage { padding: 8px; grid-template-columns: minmax(0, 1fr) 110px; gap: 7px; }
  .material-card { padding: 7px; }
  .material-card,
  .editor-render .material-card { grid-template-rows: auto 120px auto auto; }
  .material-photo,
  .editor-render .material-photo { height: 120px; }
  .material-card > span { font-size: 6px; }
  .material-photo { margin: 2px 0 5px; }
  .material-card > strong { padding: 5px 2px 0; font-size: 10px; }
  .material-card > small { margin-top: 2px; padding: 0 2px 3px; font-size: 6px; }
  .reference-photo figcaption { right: 9px; bottom: 8px; left: 9px; }
  .reference-photo figcaption span { font-size: 6px; }
  .reference-photo figcaption strong,
  .editor-render .reference-photo figcaption strong { font-size: 11px; }
  .crop-stage { padding: 5px 8px; grid-template-rows: 27px minmax(0, 1fr) 33px; }
  .crop-stage-heading { width: min(260px, 100%); font-size: 6px; }
  .print-mat { padding: 7px; border-radius: 5px; }
  .print-mat.leather-insert { padding: 6px; }
  .crop-instruction { height: 29px; padding-right: 9px; }
  .crop-instruction > span { width: 21px; height: 21px; font-size: 10px; }
  .crop-instruction strong { font-size: 7px; }
  .crop-instruction small { display: none; }
  .finished-proof { padding: 7px; grid-template-columns: minmax(0, 1.15fr) minmax(130px, .85fr); gap: 7px; }
  .finished-lifestyle figcaption { right: 8px; bottom: 7px; left: 8px; }
  .finished-lifestyle figcaption span { font-size: 5px; }
  .finished-lifestyle figcaption strong { font-size: 9px; }
  .order-proof-card { padding: 7px; grid-template-rows: auto 58px minmax(0, 1fr); gap: 5px; }
  .order-proof-head > span { font-size: 5px; }
  .order-proof-head i { padding: 2px 4px; font-size: 5px; }
  .proof-material-row { padding: 4px; grid-template-columns: 38px 1fr; gap: 5px; }
  .proof-material-photo { width: 38px; height: 49px; }
  .proof-material-row small { margin-bottom: 2px; font-size: 5px; }
  .proof-material-row strong { font-size: 8px; }
  .proof-material-row b { margin-top: 2px; font-size: 6px; }
  .final-prints { gap: 3px; }
  .final-print { padding: 2px; }
  .final-print > span { top: 4px; left: 4px; min-width: 13px; height: 13px; padding: 0 3px; font-size: 5px; }
  .order-proof-card > p { display: none; }
}

/* In-product proof: approved crops are placed on calibrated CGL photography. */
.in-product-proof {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: 14px 18px 12px;
  display: grid;
  grid-template-rows: minmax(0, 1fr) 62px;
  gap: 10px;
  overflow: hidden;
  background: #ece8e2;
}
.composite-stage {
  min-width: 0;
  min-height: 0;
  display: grid;
  place-items: center;
}
.product-composite {
  height: 100%;
  max-width: 100%;
  aspect-ratio: 1;
  margin: 0;
  position: relative;
  overflow: hidden;
  background: #eee9e3;
  box-shadow: 0 18px 38px rgba(44, 33, 23, .12);
}
.product-proof-template {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}
.placed-photo {
  position: absolute;
  z-index: 2;
  overflow: hidden;
  background: #ded8d1;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .45);
}
.placed-photo img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transform-origin: center;
  filter: saturate(.92) contrast(.97);
}
.placed-photo > span {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  color: #827b74;
  font-size: 8px;
  font-weight: 700;
}
.multi-proof-canvas,
.multi-proof-occlusion {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  pointer-events: none;
}
.multi-proof-canvas {
  z-index: 2;
  filter: saturate(.9) contrast(.96) brightness(.99);
}
.multi-proof-occlusion {
  z-index: 3;
  object-fit: cover;
  clip-path: polygon(31.2% 33.2%, 42.1% 32.7%, 42.6% 40.2%, 32.1% 41%);
}
.multi-proof-empty {
  position: absolute;
  z-index: 2;
  left: 37%;
  top: 48%;
  color: #827b74;
  font-size: 8px;
  font-weight: 700;
}
.single-placement {
  left: 36.9%;
  top: 59.9%;
  width: 25.7%;
  height: 25.9%;
  clip-path: polygon(2% 0, 98% 1%, 100% 98%, 2% 100%);
  transform: rotate(-1deg);
}
.double-placement-one {
  left: 32.5%;
  top: 44.1%;
  width: 18.7%;
  height: 18.3%;
  border-radius: 2%;
  transform: rotate(-.5deg);
}
.double-placement-two {
  left: 65.4%;
  top: 43.6%;
  width: 18.2%;
  height: 18.5%;
  border-radius: 2%;
  transform: rotate(2deg);
}
.product-composite figcaption {
  position: absolute;
  z-index: 5;
  right: 12px;
  bottom: 12px;
  left: 12px;
  padding: 9px 11px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  background: rgba(255, 255, 255, .92);
  backdrop-filter: blur(8px);
  color: #282522;
}
.product-composite figcaption span {
  color: var(--sage);
  font-size: 7px;
  font-weight: 700;
  letter-spacing: .12em;
}
.product-composite figcaption strong {
  font-size: 8px;
  text-align: right;
}
.product-proof-footer {
  min-width: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 8px 10px;
  background: #fff;
  border: 1px solid #ded8d1;
}
.proof-finish {
  min-width: 0;
  display: flex;
  align-items: center;
  gap: 9px;
}
.proof-finish-swatch {
  width: 31px;
  height: 31px;
  flex: none;
  border-radius: 50%;
  background: var(--leather-pattern), var(--leather);
  border: 3px solid #fff;
  box-shadow: 0 0 0 1px #cfc8c1;
}
.proof-finish small,
.proof-finish strong { display: block; }
.proof-finish small { color: #7a746f; font-size: 6px; font-weight: 700; letter-spacing: .11em; }
.proof-finish strong { margin-top: 3px; font: 400 12px Georgia, serif; white-space: nowrap; }
.proof-photo-tabs { display: flex; gap: 6px; }
.proof-photo-tab {
  width: 42px;
  height: 44px;
  padding: 3px;
  position: relative;
  overflow: hidden;
  border: 1px solid #d4cec7;
  background: #eeeae5;
}
.proof-photo-tab.active { border-color: var(--sage); box-shadow: inset 0 0 0 1px var(--sage); }
.proof-photo-tab > span {
  position: absolute;
  z-index: 3;
  top: 5px;
  left: 5px;
  min-width: 13px;
  height: 13px;
  padding: 0 3px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  background: rgba(255, 255, 255, .92);
  font-size: 5px;
  font-weight: 700;
}
.proof-photo-tab > div { width: 100%; height: 100%; overflow: hidden; }
.proof-photo-tab img { width: 100%; height: 100%; display: block; object-fit: cover; transform-origin: center; }
.proof-photo-tab div > span { height: 100%; display: grid; place-items: center; font-size: 6px; }
.page-render .in-product-proof { padding: 10px; grid-template-rows: minmax(0, 1fr) 50px; gap: 7px; }
.page-render .product-composite figcaption { right: 8px; bottom: 8px; left: 8px; padding: 7px 8px; }
.page-render .product-proof-footer { padding: 5px 7px; }

/* Spacing pass across the control panel. */
@media (min-width: 761px) {
  .step-copy { padding: 0 2px; }
  .step-copy h3 { margin: 7px 0 7px; line-height: 1.1; }
  .step-copy p { margin-bottom: 16px; line-height: 1.5; }
  .format-choice { padding: 9px 10px; }
  select,
  input[type="text"] { padding-right: 11px; padding-left: 11px; }
  .upload-zone { padding: 10px 12px; }
  .crop-bar { padding: 11px 13px; }
  .crop-bar button { padding: 5px 7px; }
  .review-summary { padding: 12px 13px; gap: 12px; }
  .proof-checks { margin: 11px 2px 15px; gap: 8px 14px; line-height: 1.35; }
  .bundle-head { padding: 0 2px; }
  .bundle-head button { min-height: 29px; padding: 6px 9px; }
  .add-on-list { margin-top: 9px; gap: 9px; }
  .add-on-card { min-height: 138px; padding: 0; }
  .add-on-copy strong { line-height: 1.28; }
  .add-on-copy small { line-height: 1.35; }
  .price-bridge { margin-top: 10px; padding: 9px 12px; }
  .editor-actions .primary { padding-right: 18px; padding-left: 18px; }
}

@media (max-width: 760px) {
  .in-product-proof { padding: 5px 7px; grid-template-rows: minmax(0, 1fr) 43px; gap: 5px; }
  .product-composite { box-shadow: 0 8px 20px rgba(44, 33, 23, .1); }
  .product-composite figcaption { right: 5px; bottom: 5px; left: 5px; padding: 4px 5px; gap: 5px; }
  .product-composite figcaption span { font-size: 4px; }
  .product-composite figcaption strong { font-size: 5px; }
  .product-proof-footer { padding: 4px 5px; gap: 5px; }
  .proof-finish { gap: 5px; }
  .proof-finish-swatch { width: 22px; height: 22px; border-width: 2px; }
  .proof-finish small { font-size: 4px; }
  .proof-finish strong { margin-top: 1px; font-size: 7px; }
  .proof-photo-tabs { gap: 3px; }
  .proof-photo-tab { width: 28px; height: 30px; padding: 2px; }
  .proof-photo-tab > span { top: 3px; left: 3px; min-width: 9px; height: 9px; padding: 0 2px; font-size: 4px; }
}
