.gpl-photo-gallery{background:#faf9f7;border-radius:14px;overflow:hidden}
.gpl-photo-gallery-stage{position:relative;aspect-ratio:1;min-height:280px}
.gpl-photo-gallery-stage>img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain}
.gpl-photo-empty{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;flex-direction:column;gap:10px;color:#5b4e49;font-size:clamp(.85rem,2.4vw,1.1rem);pointer-events:none}
.gpl-photo-empty span{background:#faf9f7e6;padding:6px 12px;border-radius:20px}
.gpl-photo-gallery [hidden],.gpl-photo [hidden]{display:none!important}
.gpl-photo-gallery-thumbs{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;padding:12px}
.gpl-photo-gallery-thumbs button{padding:4px;background:#fff;border:1px solid #ddd3ce;border-radius:8px;margin:0;color:#322a28;min-height:44px;text-transform:none;line-height:1.2;font-size:.75rem;letter-spacing:0}
.gpl-photo-gallery-thumbs img{display:block;width:100%;height:auto;aspect-ratio:1;object-fit:contain;border-radius:5px}
.gpl-photo-gallery-thumbs button[aria-pressed=true]{border:2px solid #72263d;background:#faf3f5}
.gpl-photo{max-width:580px;color:#292325;--photo-accent:#72263d}
.gpl-photo-intro{font-size:1.05rem;margin:0 0 14px}
.gpl-photo-upload{position:relative;display:flex;align-items:center;justify-content:center;min-height:52px;border-radius:8px;background:var(--photo-accent);color:#fff;font-weight:700;cursor:pointer;margin:0}
.gpl-photo-upload input{position:absolute;inset:0;width:100%;height:100%;opacity:0;cursor:pointer}
.gpl-photo-upload:focus-within,.gpl-photo button:focus-visible,.gpl-photo-gallery button:focus-visible{outline:3px solid #b77d8e;outline-offset:3px}
.gpl-photo-help{font-size:.8rem;color:#71676b;margin:6px 0 10px}
.gpl-photo [role=status]{font-size:.84rem;min-height:1.4em;margin:8px 0}
.gpl-photo progress{width:100%}
.gpl-photo button{min-height:44px;border-radius:7px;line-height:1.3;white-space:normal;font-size:.83rem;margin:0;letter-spacing:0}
.gpl-photo-secondary{background:#fff!important;border:1px solid #dcd1d5!important;color:#502d39!important;padding:8px 12px!important;margin:0 6px 8px 0!important;text-transform:none!important}
.gpl-photo-resume{display:flex;justify-content:space-between;align-items:center;gap:8px;font-size:.82rem;padding:8px 0}
.gpl-photo-link{background:none!important;color:var(--photo-accent)!important;border:0!important;text-transform:none!important;padding:4px!important;text-decoration:underline}
.gpl-photo-section{border:0;border-top:1px solid #e5dfe1;margin:12px 0 0;padding:10px 0 0;min-width:0}
.gpl-photo-section legend{font-weight:600;font-size:.9rem;padding:0 8px 0 0;margin:0;width:auto}
.gpl-photo-section legend span{font-weight:400;color:#71676b}
.gpl-photo-line{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px;font-size:.8rem;margin:0 0 6px;font-weight:400}
.gpl-photo input[type=text],.gpl-photo select{margin:0;min-height:44px;border-radius:6px;font-size:.85rem;box-shadow:none}
.gpl-photo-masks{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:4px 0}
.gpl-photo-masks button{display:flex;align-items:center;flex-direction:column;justify-content:center;gap:3px;background:#fff;color:#392a30;border:1px solid #ddd3d7;padding:6px 3px;text-transform:none;font-size:.72rem}
.gpl-photo-masks img{width:44px;height:44px;object-fit:contain}
.gpl-photo-masks button[aria-pressed=true]{border:2px solid var(--photo-accent);background:#faf3f5;padding:5px 2px}
.gpl-photo-ideas{display:grid;grid-template-columns:minmax(0,1.3fr) minmax(0,1fr) auto;gap:6px;align-items:end;margin-top:10px}
.gpl-photo-ideas label,.gpl-photo-font{font-size:.8rem;margin:0;font-weight:500}
.gpl-photo-ideas select,.gpl-photo-font select{display:block;width:100%;margin-top:4px}
.gpl-photo-ideas button{margin:0!important;min-width:54px}
.gpl-photo-font{display:grid;grid-template-columns:72px minmax(0,1fr);align-items:center;gap:8px}
.gpl-photo-font-sample{min-height:48px;display:flex;align-items:center;font-size:1.15rem;line-height:1.6;padding:6px 10px;margin-top:6px;background:#faf8f7;border-radius:7px;overflow-wrap:anywhere;font-variant-ligatures:none}
.gpl-photo-total{display:flex;align-items:baseline;flex-wrap:wrap;gap:8px;margin:14px 0 8px}
.gpl-photo-total strong{font-size:1.6rem}
.gpl-photo-total small{display:block;width:100%;font-size:.8rem;color:#71676b}
.gpl-photo-pilot{font-size:.76rem;color:#71676b;border-left:3px solid #d9c7cd;padding-left:10px;margin:10px 0 16px}
.gpl-photo-dialog {width:min(95vw,680px);max-height:94dvh;border:0;border-radius:14px;padding:18px;background:#fff;box-shadow:0 20px 80px #0004;overflow:auto}
.gpl-photo-dialog::backdrop {background:#0009}
.gpl-photo-dialog h2 {font-size:1.35rem;margin:0 0 8px}
.gpl-photo-dialog p {font-size:.86rem;margin:0 0 8px}
.gpl-photo-dialog canvas {display:block;width:100%;max-height:58dvh;aspect-ratio:1;object-fit:contain;touch-action:none;border-radius:10px}
.gpl-photo-zoom {display:flex;align-items:center;gap:10px;padding:12px 0}
.gpl-photo-zoom label {flex:1;font-size:.8rem;margin:0}
.gpl-photo-zoom input {display:block;width:100%;margin:6px 0}
.gpl-photo-zoom button {min-width:44px}
.gpl-photo-actions {display:flex;justify-content:space-between;gap:6px}
.gpl-photo-actions button {text-transform:none;padding:8px 12px}
body.gpl-new-product:has(.gpl-photo) form.cart {display:block}
@media(max-width:549px){.gpl-photo-dialog{padding:12px}.gpl-photo-actions button{font-size:.8rem;padding:8px}.gpl-photo-upload{min-height:56px}.gpl-photo-gallery{margin-bottom:16px}}

.gpl-photo-methods{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin:4px 0}.gpl-photo-methods button{background:#fff;color:#392a30;border:1px solid #ddd3d7;padding:10px;text-transform:none}.gpl-photo-methods button[aria-pressed=true]{border:2px solid var(--photo-accent);background:#faf3f5;padding:9px}
/* The photo slice owns its four views; native Flatsome thumbnails stay in product metadata. */
body.gpl-photo-product .product-thumbnails,
body.gpl-photo-product .image-tools{display:none!important;}
.gpl-photo-idea{display:block;font-size:.8rem;margin:12px 0 0}.gpl-photo-idea select{display:block;width:100%;margin-top:4px}
.gpl-photo-font-picker{position:relative}.gpl-photo-font-picker>button{width:100%;background:#fff;border:1px solid #ddd3d7;text-align:left;color:#322a28;text-transform:none;font-size:1.1rem;padding:8px 12px}
.gpl-photo-font-picker [role=listbox]{position:absolute;z-index:30;left:0;right:0;max-height:320px;overflow:auto;border:1px solid #d9c7cd;border-radius:8px;background:white;box-shadow:0 8px 24px #322a2822}
.gpl-photo-font-picker [role=option]{display:block;width:100%;padding:9px 12px;text-align:left;background:white;color:#322a28;font-size:1.2rem;border:0;text-transform:none}
.gpl-photo-font-picker [aria-selected=true]{background:#faf3f5;color:#72263d}.gpl-photo-swatches{display:grid;grid-template-columns:repeat(6,1fr);gap:8px;margin:12px 0}.gpl-photo-swatches button{background:var(--swatch);border:1px solid #d9d2d5;min-height:44px;border-radius:8px}.gpl-photo-swatches [aria-pressed=true]{outline:2px solid #72263d;outline-offset:3px}
.gpl-photo-segments{display:flex;gap:6px;margin:10px 0}.gpl-photo-segments button{flex:1;background:#fff;border:1px solid #ddd3d7;color:#392a30;text-transform:none;padding:8px}.gpl-photo-segments [aria-pressed=true]{border:2px solid #72263d;background:#faf3f5}.gpl-photo-outline{font-size:.85rem;font-weight:400;display:flex;align-items:center;gap:8px;margin:10px 0}.gpl-photo-outline input{margin:0;width:18px;height:18px}.gpl-photo-physical{margin:0;padding:8px 12px;font-size:.82rem;color:#5b4e49;text-align:center}
.gpl-photo-caption-mover{position:absolute;border:2px dashed #72263d;background:#faf3f522;cursor:move;touch-action:none;border-radius:5px;min-width:16px;min-height:16px;outline-offset:4px}.gpl-photo-caption-mover::after{content:'↔';position:absolute;right:-12px;top:-12px;border-radius:50%;background:#72263d;color:#fff;width:24px;height:24px;text-align:center;font:18px/24px sans-serif}
[data-gallery-static]{display:block;width:100%;height:auto;object-fit:contain}.gpl-photo [data-uv-colors][hidden]{display:none!important}

.gpl-photo-package{padding:10px 12px;margin:12px 0 6px;border-radius:8px;background:#faf3f5;color:#502d39;font-size:.86rem}.gpl-photo-price-guide{border:1px solid #e5dfe1;border-radius:8px;padding:8px 12px;margin:8px 0}.gpl-photo-price-guide summary{cursor:pointer;min-height:36px;display:list-item;line-height:36px;font-size:.84rem}.gpl-photo-price-guide table{font-size:.82rem;margin:6px 0}.gpl-photo-price-guide th,.gpl-photo-price-guide td{padding:6px 8px}.gpl-photo-price-guide th{text-transform:none}

.gpl-photo-methods [data-photo-method=paper_insert]{grid-column:1/-1}
/* v006: one live preview stays inside the product configurator. */
.gpl-photo-upload{gap:10px;flex-wrap:wrap;padding:12px}.gpl-photo-upload.is-dragging{outline:3px dashed #b77d8e;outline-offset:3px;background:#502d39}.gpl-photo-outline-example{background:#76243d;padding:2px 9px;border-radius:5px;color:#161616;font-size:20px;-webkit-text-stroke:1px #fff}.gpl-photo-buy-two{display:block;width:100%;margin:10px 0;background:#72263d;color:white;font-weight:700;text-transform:none}.gpl-photo-buy-two:disabled{opacity:.5;cursor:wait}.gpl-photo-gallery .gpl-photo-price-guide{margin:4px 10px 10px;background:#fff}.gpl-photo-price-guide .is-featured{font-weight:600}.gpl-photo-price-guide [hidden]{display:none!important}.gpl-photo-gallery .gpl-photo-price-guide button{min-height:36px;text-transform:none;font-size:.8rem;color:#72263d;background:transparent;margin:0}.gpl-photo-physical{padding:5px 10px}.gpl-photo-gallery-thumbs{padding:6px 10px;gap:6px}.gpl-photo-gallery-thumbs img{max-height:54px;object-fit:contain}.gpl-photo-compact{position:sticky;top:var(--gpl-photo-top,8px);z-index:25;background:#faf9f7;border:1px solid #e5dfe1;border-radius:10px;margin:8px 0;justify-content:center;padding:4px;box-shadow:0 4px 12px #29232514}.gpl-photo-compact .gpl-photo-gallery-stage{width:min(132px,25vw,calc(var(--gpl-photo-view,100dvh)*.23));min-height:0;aspect-ratio:1}.gpl-photo-compact .gpl-photo-empty{display:none}.gpl-photo-compact .gpl-photo-caption-mover::after{right:-6px;top:-6px;width:18px;height:18px;font-size:14px;line-height:18px}
@media(min-width:850px){body.gpl-photo-product .product-gallery{position:sticky;top:var(--gpl-photo-top,8px);align-self:flex-start}.gpl-photo-gallery{overflow:visible}.gpl-photo-gallery-stage{width:min(100%,max(180px,calc(100dvh - var(--gpl-photo-top,8px) - 345px)));min-height:0;margin:auto}.gpl-photo-price-guide[open]>summary{cursor:default}.gpl-photo-price-guide table{font-size:.8rem}.gpl-photo-price-guide tbody{max-height:200px;overflow:auto}.gpl-photo-price-guide .gpl-photo-help{margin:3px 0;font-size:.75rem}.gpl-photo-price-guide summary{min-height:28px;line-height:28px}.gpl-photo-price-guide td,.gpl-photo-price-guide th{padding:4px 7px}.gpl-photo-compact{display:none!important}}
@media(max-width:849px){.gpl-photo-compact:not([hidden]){display:flex}.gpl-photo-price-guide{margin-top:4px}.gpl-photo-gallery-thumbs img{max-height:45px}.gpl-photo-gallery-stage{min-height:0}.gpl-photo-font-picker [role=listbox]{max-height:30dvh}.gpl-photo-section{margin-top:12px}}
@media(min-width:850px){.gpl-photo-tier-scroll{max-height:166px;overflow:auto}.gpl-photo-gallery .gpl-photo-price-guide{border-color:#e5dfe1}.gpl-photo-gallery .gpl-photo-price-guide[open]>summary::-webkit-details-marker{display:none}}
@media(min-width:850px){body.gpl-photo-product .gpl-photo-preview-column{position:sticky;top:var(--gpl-photo-top,8px);align-self:flex-start}}
/* v007: lightweight display layers, one object selected at a time. */
.gpl-photo-gallery-stage{position:relative;aspect-ratio:1}
.gpl-photo-interaction{position:absolute;inset:0;width:100%;height:100%;pointer-events:none}
.gpl-photo-object{position:absolute;border:2px solid transparent;cursor:grab;outline-offset:4px;box-sizing:border-box}
.gpl-photo-object-photo{z-index:3}.gpl-photo-object-caption{z-index:4}
.gpl-photo-object.is-selected{border-color:#343434}.gpl-photo-object:active{cursor:grabbing}
.gpl-photo-handle{position:absolute;width:44px;height:44px;min-width:44px;min-height:44px;padding:0!important;margin:0!important;background:transparent!important;border:0!important;cursor:nwse-resize;color:#333}
.gpl-photo-handle::after{content:'';position:absolute;inset:17px;background:white;border:2px solid #333;border-radius:2px}
.gpl-photo-handle-nw{left:-23px;top:-23px}.gpl-photo-handle-ne{right:-23px;top:-23px;cursor:nesw-resize}.gpl-photo-handle-sw{left:-23px;bottom:-23px;cursor:nesw-resize}.gpl-photo-handle-se{right:-23px;bottom:-23px}
.gpl-photo-aa{display:inline-block;font-size:18px;margin-right:6px;color:#555}.gpl-photo-aa-white{-webkit-text-stroke:1px white;text-shadow:0 0 2px #333}.gpl-photo-aa-black{color:white;-webkit-text-stroke:1px black}
[data-photo-object][hidden], [data-photo-interaction][hidden], [data-resize][hidden]{display:none!important}
/* v007 finish: column-based palette, quiet price table and native theme actions. */
.gpl-photo-style-container{container-type:inline-size}
.gpl-photo-swatches{grid-template-columns:repeat(auto-fit,minmax(44px,1fr));gap:6px}
.gpl-photo-swatches button{min-width:44px;min-height:44px;margin:0}
@container(min-width:494px){.gpl-photo-swatches{grid-template-columns:repeat(10,minmax(44px,1fr))}}
.gpl-photo-outline-options{flex-wrap:wrap}.gpl-photo-outline-options button{min-height:44px;font-size:.8rem;margin:0}
.gpl-photo-drop-label{display:block;flex-basis:100%;font-size:.8rem;font-weight:400}
.gpl-photo-gallery-stage.is-file-drop,.gpl-photo-upload.is-file-drop{outline:3px dashed #cc2828;outline-offset:3px;background:#fff4f4}
.gpl-photo-methods.is-single{grid-template-columns:1fr}.gpl-photo-methods.is-single button:disabled{opacity:1;cursor:default}
.gpl-photo-dialog[data-gallery-dialog]{position:fixed;padding:52px 12px 12px;border:1px solid #ddd;border-radius:14px;box-shadow:0 16px 60px #0004}
.gpl-photo-dialog [data-gallery-close]{position:absolute;right:8px;top:6px;width:44px;height:44px;min-width:44px;min-height:44px;border:0;border-radius:50%;background:#f0f0f0;color:#333;font:30px/1 sans-serif;padding:0;margin:0}
.gpl-photo-gallery .gpl-photo-price-guide{padding:14px 18px;background:#fff;border:1px solid #e5e5e5;border-radius:10px}
.gpl-photo-price-guide table{width:100%;margin:10px 0;border-collapse:collapse}.gpl-photo-price-guide th,.gpl-photo-price-guide td{padding:8px 0;border-bottom:1px solid #eee;font-variant-numeric:tabular-nums}.gpl-photo-price-guide td:last-child,.gpl-photo-price-guide th:last-child{text-align:right}.gpl-photo-price-guide .is-featured{background:#fff5f5;color:#a32222}
.gpl-photo-purchase{display:grid;grid-template-columns:1fr;gap:8px;align-items:stretch;margin:14px 0}.gpl-photo-purchase .quantity{justify-self:start;margin:0}.gpl-photo-purchase>button{width:100%;margin:0;min-height:44px;text-transform:uppercase}.gpl-photo-purchase.is-wide{grid-template-columns:auto minmax(0,1fr) minmax(0,1fr)}.gpl-photo-purchase.is-wide>button{font-size:.85rem}
@media(min-width:850px){body.gpl-photo-product .product-gallery,body.gpl-photo-product .gpl-photo-preview-column{position:static}.gpl-photo-gallery-stage{position:sticky;top:var(--gpl-photo-top,8px);z-index:6;width:min(100%,max(320px,calc(100dvh - var(--gpl-photo-top,8px) - 50px)));background:#faf9f7}.gpl-photo-tier-scroll{max-height:none;overflow:visible}.gpl-photo-price-guide tbody{max-height:none;overflow:visible}.gpl-photo-price-guide [data-price-expand]{display:none}.gpl-photo-gallery{overflow:visible}}
@media(max-width:849px){.gpl-photo-purchase>button{width:100%}.gpl-photo-purchase.is-wide{grid-template-columns:1fr}.gpl-photo-object .gpl-photo-handle::after{inset:18px}}
.gpl-photo-compact .gpl-photo-gallery-stage{width:min(220px,55vw,calc(var(--gpl-photo-view,100dvh)*.45))}
.gpl-photo [data-single-method]{margin:4px 0 8px;font-weight:600;font-size:.9rem}
/* Keep a short caption's centre free for moving; 44px corners stay outside its frame. */
@media(max-width:849px){
.gpl-photo-compact .gpl-photo-gallery-stage{width:var(--gpl-photo-compact-size,160px)}
.gpl-photo-handle-nw{left:-44px;top:-44px}.gpl-photo-handle-ne{right:-44px;top:-44px}.gpl-photo-handle-sw{left:-44px;bottom:-44px}.gpl-photo-handle-se{right:-44px;bottom:-44px}
.gpl-photo-handle::after{inset:auto;width:8px;height:8px}
.gpl-photo-handle-nw::after{right:-4px;bottom:-4px}.gpl-photo-handle-ne::after{left:-4px;bottom:-4px}.gpl-photo-handle-sw::after{right:-4px;top:-4px}.gpl-photo-handle-se::after{left:-4px;top:-4px}
.gpl-photo [data-photo-line]{scroll-margin-top:calc(var(--gpl-photo-top,8px) + var(--gpl-photo-compact-size,160px) + 32px)}
}
/* v008: optional caption, explicit coverage and perimeter-only photo-edge examples. */
.gpl-photo-masks{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.gpl-photo-masks button{min-width:0;padding:8px 4px;gap:6px;background:#f4f1ed}
.gpl-photo-masks button[aria-pressed=true]{padding:7px 3px}
.gpl-photo-masks img{display:block;width:min(100%,112px);height:auto;aspect-ratio:1;object-fit:contain}
.gpl-photo-masks span{min-height:2.6em;display:flex;align-items:center;justify-content:center;line-height:1.3}
.gpl-photo-coverage .gpl-photo-segments{margin:4px 0 6px}
.gpl-photo-coverage .gpl-photo-segments button{min-width:0;min-height:48px;font-size:.8rem;line-height:1.4}
.gpl-photo-caption{padding-top:0;border:1px solid #e5dfe1;border-radius:9px;overflow:visible}
.gpl-photo .gpl-photo-caption-toggle{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;padding:14px;text-align:left;text-transform:none;color:#392a30;background:#faf8f7;border:0;border-radius:9px;min-height:72px}
.gpl-photo-caption-toggle strong,.gpl-photo-caption-toggle small{display:block}
.gpl-photo-caption-toggle strong{font-size:.95rem;line-height:1.4}
.gpl-photo-caption-toggle small{font-size:.78rem;line-height:1.45;font-weight:400;color:#71676b;margin-top:3px}
.gpl-photo-caption-arrow{font-size:24px;line-height:1;transition:transform .15s ease}
.gpl-photo-caption-toggle[aria-expanded=true] .gpl-photo-caption-arrow{transform:rotate(180deg)}
.gpl-photo [data-caption-panel]{padding:4px 14px 14px}
.gpl-photo-caption-remove{display:block;margin:0 0 6px!important;font-size:.8rem!important}
.gpl-photo [data-photo-tools]{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.gpl-photo [data-photo-remove]{font-size:.8rem}
.gpl-photo-buy-two-detail{font-size:.8rem;line-height:1.45;margin:0;color:#5b4e49;grid-column:1/-1}
.gpl-photo-price-guide [data-price-guide-selection]{font-weight:600;color:#392a30}
@media(prefers-reduced-motion:reduce){.gpl-photo-caption-arrow{transition:none}}

/* v009: compact comparisons of the actual outer edge; help remains available to assistive technology. */
.gpl-photo-accessible-help{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip-path:inset(50%)!important;white-space:nowrap!important;border:0!important}
.gpl-photo-masks{gap:6px}
.gpl-photo-masks button{padding:6px 4px;gap:4px;background:#f7f6f3}
.gpl-photo-masks button[aria-pressed=true]{padding:5px 3px}
.gpl-photo-masks img{width:min(100%,82px);border-radius:4px}
.gpl-photo-masks span{min-height:2.6em;font-size:.72rem}
.gpl-photo [data-photo-price-detail]:empty{display:none}
.gpl-photo .gpl-photo-caption-toggle{min-height:62px;padding:12px 14px}

/* v010 icons: the form column chooses six compact controls; phones keep three columns. */
.gpl-photo-mask-choices{container-type:inline-size;container-name:gpl-photo-mask-options}
.gpl-photo-mask-choices .gpl-photo-masks{grid-template-columns:repeat(3,minmax(0,1fr));gap:6px}
.gpl-photo-mask-choices .gpl-photo-masks button{box-sizing:border-box;min-width:44px;min-height:74px;gap:4px;padding:6px 4px;border:1px solid #E4DED7;border-radius:7px;background:#FAF8F5;color:#594C43}
.gpl-photo-mask-choices .gpl-photo-masks button[aria-pressed=true]{padding:6px 4px;border:1px solid var(--photo-accent);background:#F6F0EC;box-shadow:inset 0 0 0 1px #72263d26}
.gpl-photo-mask-choices .gpl-photo-masks button:focus-visible{outline:2px solid var(--photo-accent);outline-offset:2px}
.gpl-photo-mask-choices .gpl-photo-masks img{width:40px;height:40px;max-width:100%;flex:none;border-radius:3px}
.gpl-photo-mask-choices .gpl-photo-masks span{min-height:1.4em;line-height:1.4;font-size:11px;overflow-wrap:anywhere}
@media(min-width:850px){@container gpl-photo-mask-options (min-width:360px){.gpl-photo-mask-choices .gpl-photo-masks{grid-template-columns:repeat(6,minmax(0,1fr));gap:4px}}}

/* v010: keep the caption glyph area free for dragging even for a very short line. */
.gpl-photo-object-caption .gpl-photo-handle-nw{left:-44px;top:-44px}
.gpl-photo-object-caption .gpl-photo-handle-ne{right:-44px;top:-44px}
.gpl-photo-object-caption .gpl-photo-handle-sw{left:-44px;bottom:-44px}
.gpl-photo-object-caption .gpl-photo-handle-se{right:-44px;bottom:-44px}
.gpl-photo-object-caption .gpl-photo-handle::after{inset:auto;width:10px;height:10px;box-sizing:border-box;pointer-events:none}
.gpl-photo-object-caption .gpl-photo-handle-nw::after{right:-4px;bottom:-4px}
.gpl-photo-object-caption .gpl-photo-handle-ne::after{left:-4px;bottom:-4px}
.gpl-photo-object-caption .gpl-photo-handle-sw::after{right:-4px;top:-4px}
.gpl-photo-object-caption .gpl-photo-handle-se::after{left:-4px;top:-4px}

/* v011: the existing native file input covers a quiet, compact upload card. */
.gpl-photo-upload{box-sizing:border-box;gap:8px;flex-wrap:nowrap;padding:12px 14px;border:1px solid #E4DED7;background:#FAF8F5;color:#594C43;font-family:inherit;font-size:.9rem;font-weight:600;line-height:1.4;text-align:center}
.gpl-photo-upload svg{width:22px;height:22px;flex:0 0 22px;color:#806D61}
.gpl-photo-upload [data-upload-label]{min-width:0;overflow-wrap:anywhere}
.gpl-photo-upload input{margin:0;max-width:none}
.gpl-photo-upload.is-file-drop,.gpl-photo-upload.is-dragging,.gpl-photo-gallery-stage.is-file-drop{border-color:#72263d;outline:2px dashed #72263d;outline-offset:2px;background:#F6F0EC}
.gpl-photo-upload:focus-within{outline:2px solid var(--photo-accent);outline-offset:3px}
.gpl-photo [data-photo-status]:empty{min-height:0;margin:0}
.gpl-photo-resume{display:inline-flex;align-items:center;gap:0;padding:0;margin-left:auto}
.gpl-photo-resume .gpl-photo-link{font-size:.76rem}
.gpl-photo [data-photo-tools] .gpl-photo-secondary{margin:0!important}

/* Native title price is a server quote for the active photo selection. */
[data-photo-unit-price]{white-space:nowrap;min-height:1.4em}
[data-photo-unit-value]{display:inline-block;min-width:3.6em}
.gpl-photo-unit-suffix{font-size:.55em;font-weight:400;color:inherit;white-space:nowrap}

/* v012: native quantity remains primary; Buy 2 is a secondary quantity-one shortcut. */
.gpl-photo-purchase>.gpl-photo-buy-two{background:#fff;color:var(--photo-accent,#72263d);border:1px solid #DCD1D5;box-shadow:none;font-weight:500;text-transform:none}
.gpl-photo-purchase>.gpl-photo-buy-two:hover:not(:disabled){background:#FAF8F5;border-color:var(--photo-accent,#72263d);color:var(--photo-accent,#72263d);box-shadow:none}
@media(min-width:850px){.gpl-photo-purchase.is-wide:not(.has-buy-two){grid-template-columns:auto minmax(0,1fr)}}
.gpl-photo-purchase [data-photo-buy-two][hidden],.gpl-photo-purchase [data-buy-two-detail][hidden]{display:none!important}
.gpl-photo-price-guide .is-active-tier{background:#FAF3F5;color:#72263d;font-weight:600}
