@font-face{font-family:FrameThaiSerif;src:url('/assets/fonts/NotoSerifThai-Variable.ttf') format('truetype');font-weight:100 900;font-display:swap;unicode-range:U+0E00-0E7F}
@font-face{font-family:FrameDisplay;src:url('/assets/fonts/Marcellus-Regular.ttf') format('truetype');font-weight:400;font-display:swap}

/* Share the homepage's paper, ink and typography without changing product controls. */
body.photo-frames-page{--paper:#f7f5f0;--cream:#f7f5f0;--ink:#383c34;--line:#d5d4c9;--muted:#7b7b70;--yellow:#eeece5;--pink:#eeece5;--blue:#434a3c;--red:#686e5b;--cyan:#eeece5;--green:#68735c;background:var(--paper);color:var(--ink);font-family:'Noto Sans Thai','Be Vietnam Pro',sans-serif;font-weight:400;line-height:1.7}
.photo-frames-page :is(button,a,summary,input):focus-visible{outline:1px solid var(--ink);outline-offset:5px}
.photo-frames-page .product-detail{background:var(--paper)}
.photo-frames-page .detail-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);gap:24px;min-height:88px;padding:12px max(48px,calc((100% - 1280px)/2));background:#f7f5f0f5;border-bottom:1px solid #d5d4c970;backdrop-filter:blur(12px)}
.photo-frames-page .detail-wholesale{display:inline-flex;align-items:center;gap:12px;min-height:44px;font:400 14px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0;text-transform:none;white-space:nowrap;color:var(--ink)}
.photo-frames-page .detail-wholesale svg{width:20px;height:20px;flex:none;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.photo-frames-page .detail-home-short{display:none}
.photo-frames-page .detail-brand-home{min-height:44px;align-items:center}
.photo-frames-page .detail-wholesale:hover{color:#667455}
.photo-frames-page .silavii-detail-wordmark{width:128px}
.photo-frames-page .detail-layout{grid-template-columns:minmax(0,1.2fr) minmax(360px,.9fr);align-items:start;gap:clamp(36px,5vw,72px);min-height:0;max-width:1280px;width:calc(100% - 96px);margin:52px auto 84px}
.photo-frames-page .detail-gallery{min-height:0;aspect-ratio:1;padding:0;border:0;background:#eeece5;box-shadow:0 2px 4px #383c3410,0 9px 18px -5px #383c3426}
.photo-frames-page .detail-gallery>.detail-stage{position:absolute;inset:30px 7% 86px;min-width:0;min-height:0}
.photo-frames-page .detail-gallery>.detail-stage:has(>.detail-image[src*="/frame-product-"]){inset:30px 7%}
.photo-frames-page .detail-gallery:has(.frame-gallery-model,.frame-lifestyle-image)>.detail-stage{inset:0}
.photo-frames-page .detail-gallery::before{display:none}
.photo-frames-page .detail-gallery:not(:has(.frame-gallery-shaped))::after{content:"";position:absolute;z-index:3;left:0;right:0;bottom:0;height:60px;background:var(--paper);pointer-events:none}
.photo-frames-page .detail-gallery:has(.frame-gallery-model){background:#eeece5}
.photo-frames-page .detail-image{position:absolute;inset:0;width:100%;height:100%;max-height:100%;object-fit:contain;filter:drop-shadow(0 12px 14px #383c3410)}
/* Match the mask to the square source inside object-fit, hiding only its baked-in size captions. */
.photo-frames-page .detail-stage>.detail-image:is([src$="frame-product-main.png"],[src$="frame-product-6.png"],[src$="frame-product-8.png"],[src$="frame-product-10.png"]){mask-image:url('/assets/frame-product-mask.svg');mask-size:contain;mask-position:center;mask-repeat:no-repeat;mask-mode:alpha;filter:none}
.photo-frames-page .detail-stage>.detail-image:is([src$="frame-product-6.png"],[src$="frame-product-8.png"],[src$="frame-product-10.png"]){transform:translateY(1.7%)}
.photo-frames-page .detail-gallery-button{top:auto;bottom:9px;width:auto;min-width:44px;height:42px;padding:0 6px;border:0;border-radius:0;box-shadow:none;background:transparent;transform:none;font:400 13px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;white-space:nowrap;transition:color 220ms ease}
.photo-frames-page .detail-gallery-button:hover:not(:disabled),.photo-frames-page .detail-gallery-button:focus-visible{transform:none;box-shadow:none;color:#667455;background:transparent}
.photo-frames-page .detail-gallery-button:disabled{box-shadow:none;opacity:.4}
.photo-frames-page .detail-arrow-clip{display:block;position:relative;width:20px;height:20px;overflow:hidden}
.photo-frames-page .detail-gallery-prev .detail-arrow-clip{transform:rotate(180deg)}
.photo-frames-page .detail-arrow-clip svg{position:absolute;inset:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.2;stroke-linecap:round;stroke-linejoin:round;transition:transform 700ms cubic-bezier(.22,.68,.3,1),opacity 400ms ease}
.photo-frames-page .detail-arrow-in{transform:translateX(-24px);opacity:0}
.photo-frames-page .detail-gallery-button:focus-visible .detail-arrow-out{transform:translateX(24px);opacity:0}
.photo-frames-page .detail-gallery-button:focus-visible .detail-arrow-in{transform:translateX(0);opacity:1;transition-delay:100ms}
@media(hover:hover) and (pointer:fine){
 .photo-frames-page .detail-gallery-button:hover:not(:disabled) .detail-arrow-out{transform:translateX(24px);opacity:0}
 .photo-frames-page .detail-gallery-button:hover:not(:disabled) .detail-arrow-in{transform:translateX(0);opacity:1;transition-delay:100ms}
}
.photo-frames-page .drawn-arrow{width:20px;height:14px;flex-basis:20px}
.photo-frames-page .drawn-arrow::before{width:18px;height:1px;top:6px}
.photo-frames-page .drawn-arrow::after{width:6px;height:6px;top:3px;border-width:1px}
.photo-frames-page .detail-gallery-prev{left:auto;right:88px}.photo-frames-page .detail-gallery-next{right:24px}
.photo-frames-page .detail-gallery-count{display:flex;align-items:baseline;gap:5px;left:24px;bottom:20px;min-width:0;padding:0;border:0;background:transparent;font:400 14px/1.5 FrameDisplay,Georgia,serif;letter-spacing:.015em;color:#69715f;transform:none}
.photo-frames-page .detail-gallery-current,.photo-frames-page .detail-gallery-divider{font-size:inherit;color:inherit}
.photo-frames-page .detail-gallery-count[hidden]{display:none}
.photo-frames-page .detail-copy,.photo-frames-page .detail-copy.frame-preview-ready{align-self:stretch;padding:0;justify-content:flex-start;transition:none}
.photo-frames-page .detail-kicker{display:none}
html[lang='th'] .photo-frames-page .detail-title,.photo-frames-page .detail-title{font:400 clamp(31px,3.2vw,43px)/1.5 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0;margin:0 0 22px;max-width:600px;text-wrap:balance}
.photo-frames-page .frame-selection-summary{position:relative;margin:auto 0 28px}
.photo-frames-page .frame-selection-content{display:flow-root}
.photo-frames-page .frame-selection-outgoing{position:absolute;inset:0 0 auto;pointer-events:none}
.photo-frames-page .detail-meta{margin:0 0 14px;border:0;gap:0;background:transparent}
.photo-frames-page .detail-meta>div,.photo-frames-page .detail-meta .detail-prices{padding:0;background:transparent}
.photo-frames-page .detail-meta .detail-name-row{display:none}
.photo-frames-page .detail-meta .detail-name-row small{display:none}
.photo-frames-page .detail-meta strong{font-size:13px;line-height:1.8;font-weight:400}
.photo-frames-page .detail-meta .detail-price-row{gap:3px;padding:0;background:transparent}
.photo-frames-page .detail-meta .detail-price-row small{display:none}
.photo-frames-page .detail-meta .detail-price-row strong{font:400 30px/1.35 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:.01em;font-variant-numeric:lining-nums;color:var(--ink)}
.photo-frames-page .detail-variants{margin-top:0;padding-top:24px;border-top:1px solid var(--line)}
.photo-frames-page .frame-preview-info{max-width:400px;margin:0;font:400 13px/1.95 FrameThaiSerif,FrameDisplay,Georgia,serif;color:#73776b;text-wrap:pretty}
.photo-frames-page .frame-preview-info:empty{display:none}
.photo-frames-page .detail-variants-label{font:400 15px/1.8 FrameThaiSerif,FrameDisplay,Georgia,serif;margin-bottom:14px}
.photo-frames-page .detail-variant-options{width:100%;min-width:0;gap:9px;padding:0}
.photo-frames-page .detail-variant{min-height:54px;align-items:center;justify-content:center;padding:10px 6px;border:0;background:#faf9f5;transition:background-color 450ms ease}
.photo-frames-page .detail-variant[aria-pressed='true']{background:#e0e4d7}
.photo-frames-page .detail-variant strong{font:400 17px/1.7 FrameThaiSerif,FrameDisplay,Georgia,serif}.photo-frames-page .detail-variant span{font-size:11px;font-weight:400}.photo-frames-page .detail-variant .frame-cm{font-size:11px;font-weight:400;line-height:1.6;color:var(--muted)}
.photo-frames-page .detail-variant-options>.detail-variant>span{display:none}
.photo-frames-page .frame-controls-slot{margin:20px 0 0}
.photo-frames-page .frame-controls-slot .frame-photo-controls{padding:0;gap:10px;border:0;background:transparent;animation:none;box-shadow:none}
.photo-frames-page .frame-controls-slot button,.photo-frames-page .photo-actions button{padding:13px 14px;min-height:46px;border:1px solid #a4a895;background:transparent;color:var(--ink);font:500 14px/1.7 'Noto Sans Thai','Be Vietnam Pro',sans-serif;transition:background-color 400ms ease,border-color 400ms ease}
.photo-frames-page .frame-controls-slot button:hover{border-color:#737c64;background:#eeece5}
.photo-frames-page .frame-controls-slot .frame-photo-controls span{font-size:10px;line-height:1.8;color:var(--muted);font-weight:400}
.photo-frames-page .frame-controls-slot .frame-photo-controls.is-attention{animation:none;box-shadow:none;background:transparent}
.photo-frames-page .frame-edge-picker{border:0;padding:18px 0 0;background:transparent}
.photo-frames-page .frame-edge-picker.is-attention{animation:none;box-shadow:none}
.photo-frames-page .frame-edge-options{gap:7px}
.photo-frames-page .frame-edge-option{border:1px solid var(--line);font-size:11px;font-weight:400;padding:9px;background:transparent}
.photo-frames-page .frame-edge-option[aria-pressed='true']{background:#e9eae1;border-color:#7d856f;box-shadow:none}
.photo-frames-page .detail-actions{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-top:26px}
.photo-frames-page .detail-action-button{min-height:52px;padding:12px 14px;border:1px solid #969d89;box-shadow:none;font:500 14px/1.7 'Noto Sans Thai','Be Vietnam Pro',sans-serif;transition:background-color 450ms ease,border-color 450ms ease}
.photo-frames-page .detail-buy,.photo-frames-page .detail-direct,.photo-frames-page .detail-quote{background:#434a3c;color:#f7f5f0;border-color:#434a3c}
.photo-frames-page .detail-add-cart{background:transparent;color:var(--ink)}
.photo-frames-page .detail-action-button:hover{transform:none;box-shadow:none;background:#eeece5}
.photo-frames-page :is(.detail-buy,.detail-direct,.detail-quote):hover{background:#58614d;border-color:#58614d}
.photo-frames-page .detail-scroll-strip{display:none}
.photo-frames-page .detail-scroll-cue{font-size:9px;font-weight:400;letter-spacing:0;color:var(--muted)}
.photo-frames-page .detail-scroll-cue-arrow{animation:none;transform:rotate(90deg);margin-top:3px}
.photo-frames-page .cart-launch,body.photo-frames-page:has(.product-detail:not([hidden])) .cart-launch{position:static;grid-column:3;grid-row:1;justify-self:end;width:auto;min-height:44px;height:44px;padding:0;border:0;background:transparent;box-shadow:none;color:var(--ink);font:400 14px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;gap:8px;white-space:nowrap}
.photo-frames-page .cart-launch .cart-label{display:inline}
.photo-frames-page .cart-launch svg{width:20px;height:20px;stroke-width:1.25}
.photo-frames-page .cart-launch .cart-count{position:static;background:#e6e7df;color:var(--ink);min-width:20px;height:20px;border-radius:50%;font:400 11px/1 FrameDisplay,Georgia,serif;padding:0 4px}
.photo-frames-page .cart-launch:hover{background:transparent;color:#737c64}
.photo-frames-page .cart-fly{border:1px solid var(--line);background:#eeece5;box-shadow:0 4px 12px #383c3414;font-weight:400}

/* Continue the same calm surface through the existing detail content. */
.photo-frames-page .detail-more{border-top:0;background:var(--paper)}
.photo-frames-page .detail-more-inner{box-sizing:border-box;max-width:1280px;width:calc(100% - 96px);padding:0 0 100px;background:transparent}
.photo-frames-page .detail-story>.detail-section{margin-top:96px}
.photo-frames-page .detail-section-heading{justify-content:flex-start;border:0;padding:0;margin-bottom:22px}
.photo-frames-page :is(.detail-section-heading h4,.frame-model-head h3,.frame-lifestyle h3,.frame-specs h4){font:400 clamp(25px,2.5vw,36px)/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0}
.photo-frames-page .detail-value.frame-story-hero{display:grid;grid-template-columns:1.1fr .9fr;align-items:center;gap:clamp(36px,6vw,88px);min-height:0;margin:0;overflow:visible;background:transparent}
.photo-frames-page .frame-story-hero picture{position:relative;inset:auto;aspect-ratio:1.12;overflow:hidden}
.photo-frames-page .frame-story-hero picture img{object-fit:cover;object-position:left center}
.photo-frames-page .detail-story .frame-detail-shaped{display:none}
.photo-frames-page .detail-story.is-shaped-selection .frame-detail-standard{display:none}
.photo-frames-page .detail-story.is-shaped-selection .frame-detail-shaped{display:block}
.photo-frames-page .detail-story.is-shaped-selection .frame-story-hero picture{aspect-ratio:1}
.photo-frames-page .detail-story.is-shaped-selection .frame-story-hero picture img{object-fit:contain;object-position:center}
.photo-frames-page .frame-story-copy{position:static;width:auto;max-width:420px;padding:20px 0;transform:none;color:var(--ink)}
.photo-frames-page .frame-story-copy .detail-value-label{display:none}
.photo-frames-page .frame-story-hero .frame-story-copy h3{margin:0;font:400 clamp(27px,2.8vw,38px)/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0}
.photo-frames-page .frame-story-hero .frame-story-copy p{margin-top:24px;font-size:14px;line-height:2;font-weight:400;color:var(--muted)}
.photo-frames-page .frame-story-hero .frame-story-copy p+p{margin-top:16px}
.photo-frames-page .detail-value-label{font-size:10px;font-weight:400;letter-spacing:0}
.photo-frames-page :is(.frame-craft-intro,.frame-scene-lead,.frame-size-intro){font-size:13px;line-height:1.95;color:var(--muted);max-width:680px;margin-bottom:30px}
.photo-frames-page .frame-craft-grid{border:0;background:#eeece5;gap:0}
.photo-frames-page .frame-craft{display:grid;grid-template-columns:.9fr 1.1fr;gap:clamp(36px,6vw,88px);align-items:center}
.photo-frames-page .frame-craft-copy{min-width:0;max-width:470px}
.photo-frames-page .frame-craft-intro{margin-bottom:22px}
.photo-frames-page .frame-craft-visual{min-height:0;height:auto;aspect-ratio:1;background:#eeece5}
.photo-frames-page .frame-craft-points{padding:0}
.photo-frames-page .frame-craft-visual figcaption{padding:12px 18px;background:#f7f5f0e6;font-size:11px;font-weight:400}
.photo-frames-page .frame-craft-point{grid-template-columns:1fr;gap:0;border-color:var(--line);padding:18px 0}
.photo-frames-page .frame-craft-point b{display:none}
.photo-frames-page :is(.frame-craft-point h5,.frame-scene-card h5,.frame-order-step h5){font:400 20px/1.65 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0}
.photo-frames-page .frame-craft-point p{margin:6px 0 0;font-size:14px;line-height:1.8;color:var(--muted);font-weight:400}
.photo-frames-page .frame-faq{display:grid;grid-template-columns:.7fr 1.3fr;column-gap:clamp(40px,7vw,100px);align-items:start;padding-top:44px;border-top:1px solid var(--line)}
.photo-frames-page .detail-story .frame-occasions{display:block;padding:0;border:0}
.photo-frames-page .frame-faq>.frame-faq-list{grid-column:2}
.photo-frames-page .frame-scene-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:32px}
.photo-frames-page .frame-scene-card:nth-child(n){display:block;min-height:0;margin:0;padding:0;border:0;background:transparent;color:var(--ink)}
.photo-frames-page .frame-scene-card picture{display:block}
.photo-frames-page .frame-scene-image{display:block;width:100%;height:auto;aspect-ratio:3/2;object-fit:contain;background:#eeece5}
.photo-frames-page .detail-story.is-shaped-selection .frame-scene-image{aspect-ratio:1}
.photo-frames-page .frame-scene-card figcaption{margin-top:18px;font:400 17px/1.8 FrameThaiSerif,FrameDisplay,Georgia,serif}
.photo-frames-page .frame-scene-card::after{display:none}
.photo-frames-page .frame-scene-top{display:none}
.photo-frames-page .frame-scene-card h5{margin:0 0 10px}
.photo-frames-page .frame-scene-photo{display:none}
.photo-frames-page .frame-scene-photo::before{opacity:.5;transform:scale(.8)}
.photo-frames-page .frame-order-flow .frame-order-diagram{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:32px;margin:0;padding:12px 0 0;list-style:none}
.photo-frames-page .frame-order-flow .frame-order-diagram::before{display:none}
.photo-frames-page .frame-order-step{position:relative;display:flex;flex-direction:column;align-items:flex-start;min-width:0;min-height:0;padding:0;border:0;text-align:left}
.photo-frames-page .frame-order-art{display:block;flex:none;width:100%;aspect-ratio:1;margin:0 0 24px;border:0;border-radius:0;background:transparent}
.photo-frames-page .frame-order-art img{display:block;width:100%;height:100%;aspect-ratio:1;object-fit:contain}
.photo-frames-page .frame-order-step h5{display:flex;align-items:baseline;gap:12px;margin:0 0 8px;font:400 19px/1.65 FrameThaiSerif,FrameDisplay,Georgia,serif;color:var(--ink)}
.photo-frames-page .frame-order-step h5 b{flex:none;margin:0;font:400 13px/1.6 FrameDisplay,Georgia,serif;color:#69715f}
.photo-frames-page .frame-order-step p{max-width:none;margin:0;font-size:13px;line-height:1.95;color:var(--muted);font-weight:400}
.photo-frames-page .frame-order-step::before,.photo-frames-page .frame-order-step:not(:last-child)::after{display:none}
.photo-frames-page .frame-order-link{position:absolute;top:0;left:calc(100% + 2px);width:28px;height:auto;margin-top:calc(50% - 7px);object-fit:contain}
@media(max-width:760px){
 .photo-frames-page .frame-order-flow .frame-order-diagram{grid-template-columns:1fr;gap:64px;padding-top:4px}
 .photo-frames-page .frame-order-step{display:flex;flex-direction:column;align-items:flex-start;width:100%;max-width:420px;margin:0 auto;padding:0}
 .photo-frames-page .frame-order-art{width:100%;margin:0 0 20px}
 .photo-frames-page .frame-order-step h5{margin:0 0 8px;font-size:20px}
 .photo-frames-page .frame-order-step p{max-width:none;font-size:14px}
 .photo-frames-page .frame-order-link{top:auto;left:calc(50% - 20px);bottom:-44px;width:40px;height:auto;margin:0;transform:rotate(90deg)}
}
.photo-frames-page .frame-order-flow+.frame-order-reminder{max-width:900px;margin:20px 0 0;padding:0;border:0;background:transparent;box-shadow:none;font-size:13px;font-weight:400;line-height:1.8;color:var(--muted)}
.photo-frames-page .frame-order-reminder strong{background:none;padding:0;font-weight:500;color:var(--ink);font-size:12px;margin-bottom:10px}
.photo-frames-page .frame-size-grid{gap:30px}
.photo-frames-page .frame-size-card:nth-child(n){padding:0;border:0;background:transparent}
.photo-frames-page .frame-size-visual{height:280px;margin-bottom:24px;padding:30px 24px;background:#eeece5}
.photo-frames-page .frame-size-card strong{font:400 25px/1.5 FrameThaiSerif,FrameDisplay,serif}
.photo-frames-page .frame-size-card small{margin:8px 0 0;font-size:13px;font-weight:400;color:var(--muted)}
.photo-frames-page .frame-size-card em{font-size:13px;font-weight:500}
.photo-frames-page .frame-size-card p{font-size:12px;line-height:1.9;color:var(--muted)}
.photo-frames-page .frame-size-card>span{display:none}
.photo-frames-page .frame-faq-list{border-top:1px solid var(--line)}
.photo-frames-page .frame-faq-list details:nth-child(n){border-bottom:1px solid var(--line);background:transparent}
.photo-frames-page .frame-faq-list summary{padding:22px 36px 22px 0;font-size:14px;font-weight:500;line-height:1.8}
.photo-frames-page .frame-faq-list summary::after{right:5px;font-weight:400;font-size:20px;color:#8e9582}
.photo-frames-page .frame-faq-list p{padding:0 30px 24px 0;font-size:14px;line-height:1.85;color:var(--muted)}
.photo-frames-page .frame-model{border:1px solid var(--line);background:#eeece5}
.photo-frames-page .frame-model-head,.photo-frames-page .frame-model-tools{background:var(--paper);border-width:1px}
.photo-frames-page .frame-model-stage{background:radial-gradient(circle at 48% 35%,#f7f5f0,#eeece5)}
.photo-frames-page .frame-model-tools p,.photo-frames-page .frame-model-head p{font-size:11px;font-weight:400;color:var(--muted)}
.photo-frames-page .frame-model-views button{border:1px solid var(--line);font-size:11px;font-weight:400;background:var(--paper)}
.photo-frames-page .frame-model-views button[aria-pressed='true']{background:#e9eae1;border-color:#969d89}
.photo-frames-page .frame-lifestyle{border-top:1px solid var(--line);background:var(--paper)}
.photo-frames-page .frame-lifestyle figcaption{font-size:12px;font-weight:400}
.photo-frames-page .frame-scene-loading{border:1px solid var(--line);background:#f7f5f0ed;font-size:11px;font-weight:400;color:var(--muted)}
.photo-frames-page .frame-scene-progress{height:2px;background:#dedfd5}.photo-frames-page .frame-scene-progress>span{background:#8e9582}

/* Photo editor, purchase channels and cart belong to the same visual system. */
.photo-frames-page :is(.frame-photo-dialog,.channel-dialog,.cart-dialog){border:1px solid var(--line);background:var(--paper);color:var(--ink);box-shadow:0 18px 60px #383c3420}
.photo-frames-page :is(.frame-photo-dialog,.channel-dialog,.cart-dialog)::backdrop{background:#25291f70;backdrop-filter:blur(4px)}
.photo-frames-page .frame-photo-dialog{padding:28px}
.photo-frames-page :is(.frame-photo-dialog h3,.channel-dialog-title,.cart-header h2){font:400 26px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;letter-spacing:0}
.photo-frames-page .frame-photo-dialog p{font-size:12px;line-height:1.9;color:var(--muted)}
.photo-frames-page .frame-photo-dialog label{font-size:12px}.photo-frames-page input[type='range']{accent-color:#737c64}
.photo-frames-page .photo-actions button{font-size:11px;padding:10px 8px}
.photo-frames-page .photo-actions [data-apply]{background:#434a3c;border-color:#434a3c;color:var(--paper)}
.photo-frames-page .channel-dialog-close,.photo-frames-page .cart-close{border:0;background:transparent;font-weight:400}
.photo-frames-page .channel-option{border:1px solid var(--line);background:transparent;font-size:12px;font-weight:400}
.photo-frames-page .channel-option:hover{background:#eeece5}
.photo-frames-page .channel-dialog-kicker{font-size:10px;font-weight:400;color:var(--muted)}
.photo-frames-page .cart-panel{padding:28px}
.photo-frames-page .cart-header{border-bottom:1px solid var(--line)}
.photo-frames-page :is(.cart-market,.cart-item-copy,.cart-note){font-size:12px;line-height:1.8;font-weight:400}
.photo-frames-page :is(.cart-item-price,.cart-summary){font-weight:500}
.photo-frames-page :is(.cart-step,.cart-remove){border-color:var(--line);background:transparent;font-size:12px}
.photo-frames-page .cart-checkout{border:1px solid var(--line);font-size:12px;font-weight:400;background:#eeece5}
.photo-frames-page .variant-selection-hint{font-size:12px;font-weight:400;border-left:2px solid #969d89;background:#eeece5}

@media(max-width:1100px) and (min-width:761px){
 .photo-frames-page .detail-layout{width:calc(100% - 64px);grid-template-columns:minmax(0,1.1fr) minmax(330px,.9fr);gap:36px}
 .photo-frames-page .detail-more-inner{width:calc(100% - 64px)}
 .photo-frames-page .detail-gallery{aspect-ratio:.9}
 html[lang='th'] .photo-frames-page .detail-title{font-size:32px}
}
@media(max-width:960px) and (min-width:761px){.photo-frames-page .detail-gallery{aspect-ratio:.8}.photo-frames-page .detail-actions{grid-template-columns:1fr}}
@media(min-width:761px){
 .photo-frames-page .detail-layout{align-items:stretch}
 .photo-frames-page .detail-gallery{align-self:stretch;aspect-ratio:auto;min-height:clamp(460px,43vw,610px)}
}
@media(max-width:760px){
 .photo-frames-page .detail-layout{display:grid;grid-template-columns:1fr;width:calc(100% - 44px);gap:30px;margin:24px auto 72px}
 .photo-frames-page .detail-gallery{min-height:0;aspect-ratio:1.1;max-width:560px;width:100%;justify-self:center;padding:0;border:0}
 .photo-frames-page .detail-copy,.photo-frames-page .detail-copy.frame-preview-ready{padding:0;max-width:560px;width:100%;justify-self:center}
 .photo-frames-page .frame-selection-summary{margin-top:0}
 .photo-frames-page .detail-more-inner{width:calc(100% - 44px);padding:0 0 65px}
 .photo-frames-page .detail-story>.detail-section{margin-top:64px}
 .photo-frames-page .detail-value.frame-story-hero,.photo-frames-page .frame-craft{grid-template-columns:1fr;gap:28px}
 .photo-frames-page .frame-story-hero picture{aspect-ratio:1.12}
 .photo-frames-page .frame-story-copy{max-width:560px;padding:0}
 .photo-frames-page .frame-craft-visual{min-height:0;aspect-ratio:1.1;grid-row:1}
 .photo-frames-page .frame-craft-copy{max-width:560px}
 .photo-frames-page .frame-craft-points{grid-template-columns:1fr;gap:0}
 .photo-frames-page .frame-faq{display:block;padding-top:30px}
 .photo-frames-page .frame-size-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
 .photo-frames-page .frame-size-visual{height:210px;padding:22px 12px}
 .photo-frames-page .frame-size-card strong{font-size:23px}
}
@media(max-width:620px){
 .photo-frames-page .detail-bar{grid-template-columns:minmax(0,1fr) auto minmax(0,1fr);min-height:72px;padding:12px 22px;gap:8px}
 .photo-frames-page .silavii-detail-wordmark{width:96px}.photo-frames-page .detail-wholesale{font-size:14px;gap:8px}
 .photo-frames-page .detail-home-label{display:none}.photo-frames-page .detail-home-short{display:inline}
 .photo-frames-page .cart-launch,body.photo-frames-page:has(.product-detail:not([hidden])) .cart-launch{width:auto;height:44px;gap:6px}
 .photo-frames-page .cart-launch .cart-count{position:static;min-width:20px;height:20px;font-size:11px}
 .photo-frames-page .cart-launch svg{width:20px;height:20px}
 .photo-frames-page .detail-gallery{aspect-ratio:1;padding:0}
 .photo-frames-page .detail-gallery>.detail-stage{inset:20px 5% 68px}
 .photo-frames-page .detail-gallery>.detail-stage:has(>.detail-image[src*="/frame-product-"]){inset:20px 5%}
 .photo-frames-page .detail-gallery-button{bottom:11px;width:38px;height:38px}.photo-frames-page .detail-gallery-prev{left:auto;right:68px}.photo-frames-page .detail-gallery-next{right:18px}
 .photo-frames-page .detail-gallery-count{left:18px;bottom:20px;font-size:13px}
 html[lang='th'] .photo-frames-page .detail-title{font-size:29px;line-height:1.6;margin:0 0 16px}
 .photo-frames-page .detail-meta .detail-price-row strong{font-size:28px}
 .photo-frames-page .frame-selection-summary{margin-bottom:24px}
 .photo-frames-page .frame-preview-info{font-size:12px}
 .photo-frames-page .detail-variant .frame-cm{font-size:10px}
 .photo-frames-page .detail-actions{grid-template-columns:1fr;margin-top:24px;gap:10px}.photo-frames-page .detail-action-button{font-size:14px;padding-inline:12px}
 .photo-frames-page .detail-section-heading{margin-bottom:20px}
 .photo-frames-page .frame-scene-grid{grid-template-columns:1fr;gap:36px}.photo-frames-page .frame-scene-card h5{font-size:21px}
 .photo-frames-page .frame-craft-point h5{font-size:19px}.photo-frames-page .frame-craft-points{grid-template-columns:1fr;padding:0}
 .photo-frames-page .frame-size-grid{grid-template-columns:1fr;gap:30px}
 .photo-frames-page .frame-size-card:nth-child(n){display:grid;grid-template-columns:42% 1fr;column-gap:22px;padding:0}
 .photo-frames-page .frame-size-visual{grid-column:1;grid-row:1/3;height:210px;margin:0;padding:24px 14px}
 .photo-frames-page .frame-size-card>:not(.frame-size-visual){grid-column:2}
 .photo-frames-page .frame-size-card strong{align-self:end;font-size:26px}
 .photo-frames-page .frame-size-card small{margin:4px 0 14px}.photo-frames-page .frame-size-card p{font-size:11px}
 .photo-frames-page .frame-order-step p{max-width:none}
 .photo-frames-page .frame-order-flow+.frame-order-reminder{padding:0;font-size:13px}
 .photo-frames-page .frame-faq-list summary{font-size:13px}.photo-frames-page .frame-photo-dialog{padding:20px}
}
@media(prefers-reduced-motion:reduce){.photo-frames-page *,.photo-frames-page *::before,.photo-frames-page *::after{animation:none!important;transition:none!important}}

/* A permanent soft shadow gives controls depth while their position stays fixed. */
.photo-frames-page :is(.detail-variant,.frame-controls-slot button,.detail-action-button),.photo-frames-page :is(.detail-variant,.frame-controls-slot button,.detail-action-button):hover:not(:disabled){transform:none;box-shadow:0 2px 4px #383c3410,0 9px 18px -5px #383c3426;transition:background-color 450ms ease,border-color 450ms ease}
@media(prefers-reduced-motion:reduce){.photo-frames-page .detail-gallery-button .detail-arrow-out{transform:none!important;opacity:1!important}.photo-frames-page .detail-gallery-button .detail-arrow-in{display:none}}

/* Standard and shaped frames share one quiet selection and preview surface. */
.photo-frames-page .frame-type-picker{margin:0 0 20px}
.photo-frames-page .frame-type-label{display:block;margin-bottom:8px;font:400 15px/1.8 FrameThaiSerif,FrameDisplay,Georgia,serif}
.photo-frames-page .detail-story.is-shaped-selection .frame-size-guide{display:none}
.photo-frames-page .shaped-preview-loading{display:grid;place-content:center;height:100%;margin:0;padding:24px;text-align:center;font:400 14px/1.8 FrameThaiSerif,FrameDisplay,Georgia,serif;color:var(--muted)}
.photo-frames-page .shaped-product-stage canvas{touch-action:none;cursor:grab}
.photo-frames-page .shaped-product-stage canvas.dragging{cursor:grabbing}
.photo-frames-page .frame-type-options{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
.photo-frames-page .frame-type-button{min-width:0;min-height:46px;padding:10px 14px;border:0;background:#faf9f5;color:var(--ink);font:400 15px/1.65 FrameThaiSerif,FrameDisplay,Georgia,serif;cursor:pointer;text-align:center;box-shadow:0 2px 4px #383c3410,0 9px 18px -5px #383c3426;transform:none;transition:background-color 450ms ease,color 450ms ease}
.photo-frames-page .frame-type-button:hover{background:#f0f0e7;transform:none}
.photo-frames-page .frame-type-button[aria-pressed='true']{background:#e0e4d7;color:#30372b}
.photo-frames-page .frame-kind-controls[hidden],.photo-frames-page .frame-kind-status[hidden],.photo-frames-page .frame-type-picker[hidden]{display:none}
.photo-frames-page .frame-kind-controls{min-width:0}
.photo-frames-page .frame-kind-status{display:block}
.photo-frames-page .detail-variant.shaped-variant{text-align:center}
.photo-frames-page .shaped-variant strong,.photo-frames-page .shaped-variant .frame-cm{white-space:nowrap}
.photo-frames-page .frame-controls-slot .shaped-photo-controls{display:block}
.photo-frames-page .frame-controls-slot .shaped-photo-controls [data-upload]{width:100%;font-weight:400}
.photo-frames-page .frame-controls-slot .frame-photo-controls [data-upload]{display:flex;align-items:center;justify-content:center;min-height:48px;padding:8px 14px;line-height:1.6;text-align:center}
.photo-frames-page .detail-gallery:has(.frame-gallery-shaped)>.detail-stage{inset:0;display:block}
.photo-frames-page .detail-stage>.frame-gallery-shaped{position:absolute;inset:0;display:block;width:100%;height:100%;min-height:0;margin:0;background:transparent;box-shadow:none}
.photo-frames-page .shaped-product-viewer{position:relative;min-width:0;min-height:0;width:100%;height:100%;background:#eeece5}
.photo-frames-page .shaped-product-visuals{position:absolute;inset:0 0 60px}
.photo-frames-page .shaped-product-flat{position:absolute;inset:0;display:block;width:100%;height:100%;object-fit:cover}
.photo-frames-page .shaped-product-viewer .shaped-product-stage{position:absolute;inset:24px;width:auto;height:auto;min-height:0;overflow:hidden;background:transparent;box-shadow:none}
.photo-frames-page .shaped-product-stage canvas{display:block;width:100%;height:100%;filter:none;box-shadow:none}
.photo-frames-page .shaped-product-viewer [hidden]{display:none!important}
.photo-frames-page .shaped-view-switch{position:absolute;right:24px;bottom:8px;display:flex;align-items:center;gap:4px;color:#a4a895}
.photo-frames-page .shaped-view-switch button{position:relative;display:grid;place-items:center;min-width:44px;height:44px;padding:0;border:0;background:transparent;color:#8a8d80;font:400 14px/1.5 FrameDisplay,Georgia,serif;cursor:pointer;box-shadow:none;transform:none;transition:color 220ms ease}
.photo-frames-page .shaped-view-switch button[aria-pressed='true']{color:var(--ink)}
.photo-frames-page .shaped-view-switch button:hover{color:var(--ink);background:transparent;box-shadow:none;transform:none}
.photo-frames-page .shaped-view-switch button:disabled{opacity:.4;cursor:default}
.photo-frames-page .shaped-view-switch>span{font:400 12px/1.5 FrameDisplay,Georgia,serif}
.photo-frames-page .shaped-scene-navigation{position:absolute;left:24px;bottom:8px;display:flex;gap:4px;align-items:center;color:var(--ink)}
.photo-frames-page .shaped-scene-count{min-width:62px;margin-right:8px;font:400 14px/1.5 FrameDisplay,Georgia,serif;color:#69715f}
.photo-frames-page .shaped-scene-navigation button{display:grid;place-items:center;width:auto;min-width:44px;height:44px;padding:0 6px;border:0;background:transparent;color:var(--ink);font:400 13px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;white-space:nowrap;box-shadow:none;transform:none;cursor:pointer}
.photo-frames-page .shaped-scene-navigation button>span{display:grid;place-items:center;width:32px;height:32px;border:1px solid #aeb3a2;border-radius:50%;background:#f7f5f033;transition:background-color 220ms ease,border-color 220ms ease}
.photo-frames-page .shaped-scene-navigation button svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.photo-frames-page .shaped-scene-navigation button:hover{background:transparent;box-shadow:none;transform:none}
.photo-frames-page .shaped-scene-navigation button:hover>span{border-color:#7d856f;background:#f7f5f080}
.photo-frames-page .shaped-scene-navigation button:disabled{opacity:.35;cursor:default}
.photo-frames-page .shaped-product-viewer.is-catalog-view .shaped-product-visuals{inset:0}
.photo-frames-page .shaped-product-viewer.is-catalog-view .shaped-product-flat{object-fit:contain}
.photo-frames-page .is-catalog-view .shaped-scene-navigation{left:0;right:0;bottom:0;height:60px;padding:0 24px;gap:16px;box-sizing:border-box;background:var(--paper,#f7f5f0)}
.photo-frames-page .is-catalog-view .shaped-scene-count{margin-right:auto;min-width:0}
.photo-frames-page .is-catalog-view .shaped-scene-navigation button>span{width:42px;height:42px}
.photo-frames-page .is-catalog-view .shaped-scene-navigation button svg{width:20px;height:20px}
@media(max-width:600px){.photo-frames-page .is-catalog-view .shaped-scene-navigation{left:0;right:0;bottom:0;padding:0 18px;gap:8px}.photo-frames-page .is-catalog-view .shaped-scene-navigation button>span{width:38px;height:38px}}
@media(max-width:600px){.photo-frames-page .shaped-product-viewer .shaped-product-stage{inset:16px}.photo-frames-page .shaped-view-switch{right:16px;bottom:8px}.photo-frames-page .shaped-scene-navigation{left:16px;bottom:8px}.photo-frames-page .shaped-scene-count{min-width:48px;margin-right:0;font-size:13px}}
/* Photo editor: one complete product, one clearly grouped set of tools. */
.photo-frames-page .shaped-photo-dialog{width:min(94vw,960px);max-height:94dvh;padding:32px;border:1px solid #dddcd2;box-shadow:0 24px 100px #25291f2b;overflow-y:auto}
.photo-frames-page .shaped-editor-header{align-items:flex-start;gap:16px;margin:0}
.photo-frames-page .shaped-editor-heading{flex:1;min-width:0}
.photo-frames-page .shaped-editor-header h3{font:400 22px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif}
.photo-frames-page .shaped-photo-dialog .photo-close{display:grid;place-items:center;width:44px;height:44px;padding:0;flex-shrink:0;font:300 25px/1 Arial,sans-serif;color:var(--muted)}
.photo-frames-page .shaped-editor-body{display:flex;flex-direction:column;gap:24px}
.photo-frames-page .shaped-editor-preview{position:relative;min-width:0}
.photo-frames-page .shaped-composite-stage{display:grid;place-items:center;width:100%;height:100%;min-height:0;padding:24px;overflow:hidden;box-sizing:border-box;background:transparent}
.photo-frames-page .shaped-photo-dialog .shaped-composite-canvas{display:block;width:100%;height:100%;min-width:0;min-height:0;max-width:100%;max-height:100%;margin:0;border-radius:0;object-fit:contain;touch-action:none;cursor:grab}
.photo-frames-page .shaped-composite-canvas.dragging{cursor:grabbing}
.photo-frames-page .shaped-photo-dialog [hidden]{display:none!important}
.photo-frames-page .shaped-photo-dialog button:not(.photo-close){min-height:44px;padding:8px 0;border:0;background:transparent;color:var(--ink);font:400 14px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;cursor:pointer;box-shadow:none;transform:none;transition:background-color 220ms ease,color 220ms ease,opacity 220ms ease}
.photo-frames-page .shaped-photo-dialog button:not(.photo-close):hover{color:#667455;background:transparent;transform:none}
.photo-frames-page .shaped-editor-entry{display:flex;justify-content:flex-end;align-items:flex-end;min-height:44px}
.photo-frames-page .shaped-photo-dialog button.shaped-editor-action{display:flex;align-items:center;justify-content:flex-end;gap:16px;min-height:44px;padding:0;border:0;background:transparent;color:var(--olive,#434a3c);box-shadow:none}
.photo-frames-page .shaped-action-circle{display:grid;place-items:center;width:36px;height:36px;border:1px solid #b8baa9;border-radius:50%;flex:none;transition:border-color 240ms ease,background-color 240ms ease,box-shadow 240ms ease}
.photo-frames-page .shaped-action-arrow{display:block;position:relative;width:20px;height:20px;overflow:hidden}
.photo-frames-page .shaped-action-arrow svg{position:absolute;inset:0;width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round;transition:transform 650ms cubic-bezier(.22,.68,.3,1),opacity 400ms ease}
.photo-frames-page .shaped-action-arrow svg:last-child{transform:translateX(-24px);opacity:0}
.photo-frames-page .shaped-editor-action:hover .shaped-action-circle{border-color:#7d856f;background:#eaece330;box-shadow:0 0 0 4px #434a3c06}
.photo-frames-page .shaped-editor-action:hover .shaped-action-arrow svg:first-child{transform:translateX(24px);opacity:0}
.photo-frames-page .shaped-editor-action:hover .shaped-action-arrow svg:last-child{transform:translateX(0);opacity:1;transition-delay:100ms}
.photo-frames-page .shaped-editor-toolbar{display:flex;flex-direction:column;gap:24px;min-width:0}
.photo-frames-page .shaped-editor-selection{display:flex;flex-direction:row;justify-content:space-between;align-items:flex-start;gap:16px;width:100%;min-width:0}
.photo-frames-page .shaped-editor-slots{display:flex;flex:none;gap:12px;align-items:flex-start}
.photo-frames-page .shaped-photo-dialog .shaped-editor-slots button{display:flex;flex:none;flex-direction:column;align-items:center;gap:4px;width:52px;min-width:52px;min-height:44px;padding:0;border:0;background:transparent;color:var(--muted);opacity:1}
.photo-frames-page .shaped-photo-dialog .shaped-editor-slots button[aria-pressed='true']{color:var(--ink)}
.photo-frames-page .shaped-editor-slots button[aria-pressed='true'] .shaped-slot-image{opacity:1}
.photo-frames-page .shaped-photo-dialog .shaped-editor-slots button:hover{background:transparent;color:var(--ink)}
.photo-frames-page .shaped-slot-image{display:grid;place-items:center;width:44px;height:52px;background:#eeece5;overflow:hidden;opacity:.72;transition:opacity 220ms ease}
.photo-frames-page .shaped-photo-dialog .shaped-slot-image canvas{display:block;width:100%;height:100%;max-width:100%;max-height:100%;min-width:0;min-height:0;aspect-ratio:auto;margin:0;border-radius:0;object-fit:cover;pointer-events:none}
.photo-frames-page .shaped-slot-image>span{font:300 22px/1 Arial,sans-serif;color:#737e63}
.photo-frames-page .shaped-slot-label{font:400 13px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif}
.photo-frames-page .shaped-photo-dialog .shaped-editor-selection>[data-replace]{display:flex;align-items:center;justify-content:flex-end;flex:none;min-width:44px;min-height:52px;padding:0;text-align:right;text-decoration:none;white-space:nowrap}
.photo-frames-page .shaped-photo-dialog .shaped-zoom-control{display:flex;flex-direction:column;align-items:stretch;gap:4px;min-width:0;margin:0;color:var(--ink);font:400 14px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif}
.photo-frames-page .shaped-zoom-track{display:flex;gap:12px;align-items:center;min-height:36px;color:#737e63;font:400 18px/1 Arial,sans-serif}
.photo-frames-page .shaped-photo-dialog input[data-zoom]{display:block;appearance:none;flex:1;width:100%;min-width:0;height:24px;padding:0;margin:0;border:0;background:linear-gradient(#c7cabb,#c7cabb) center / 100% 1px no-repeat;cursor:pointer}
.photo-frames-page .shaped-photo-dialog input[data-zoom]::-webkit-slider-thumb{appearance:none;width:12px;height:12px;border:0;border-radius:50%;background:#667455;box-shadow:0 0 0 4px var(--paper)}
.photo-frames-page .shaped-editor-actions{display:grid;grid-template-columns:minmax(88px,1fr) 44px 44px;gap:12px 16px;align-items:center}
.photo-frames-page .shaped-photo-dialog .shaped-icon-button{display:flex;align-items:center;justify-content:center;gap:8px;min-width:44px;width:auto;height:44px;padding:0;border:0;background:transparent;color:var(--ink);box-sizing:border-box;white-space:nowrap}
.photo-frames-page .shaped-photo-dialog [data-rotate]{grid-column:1;grid-row:2;justify-content:flex-start;width:auto;white-space:nowrap}
.photo-frames-page .shaped-editor-actions>[data-more]{grid-column:2;grid-row:2}
.photo-frames-page .shaped-icon-button svg,.photo-frames-page .shaped-action-circle>svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.25;stroke-linecap:round;stroke-linejoin:round}
.photo-frames-page .shaped-editor-menu{grid-column:1/-1;grid-row:1;min-width:0;width:100%;padding:8px 12px;background:#fffefa;border:1px solid #d5d4c970;box-shadow:0 4px 16px #383c340a}
.photo-frames-page .shaped-photo-dialog .shaped-editor-menu button{display:block;width:100%;min-height:44px;text-align:left;padding:8px 4px;white-space:normal;font-size:14px}
.photo-frames-page .shaped-photo-dialog .shaped-editor-menu button+button{margin-top:8px;padding-top:16px;border-top:1px solid #d5d4c970}
.photo-frames-page .shaped-photo-dialog .shaped-editor-menu button:hover{color:#667455}
.photo-frames-page .shaped-photo-dialog .shaped-editor-actions>[data-apply]{grid-column:3;grid-row:2;justify-content:center;width:44px;min-width:44px;margin:0;color:#383c34}
.photo-frames-page [data-apply] .shaped-action-circle{border-color:#818b73;box-shadow:0 2px 4px #383c340a,0 6px 12px -4px #383c341a}
.photo-frames-page .shaped-photo-dialog button:disabled{opacity:.35;cursor:default}
.photo-frames-page .shaped-photo-dialog input:disabled{opacity:.4;cursor:default}
.photo-frames-page .shaped-photo-dialog .shaped-editor-status{margin:0;font-size:13px;line-height:1.6;color:#8b5348}
.photo-frames-page .shaped-photo-dialog .shaped-editor-hint{margin:2px 0 0;text-align:left;font:400 13px/1.6 FrameThaiSerif,FrameDisplay,Georgia,serif;color:var(--muted);pointer-events:none}
@media(min-width:841px){
 .photo-frames-page .shaped-photo-dialog[open]{display:grid;grid-template-columns:minmax(0,1fr) 260px;grid-template-rows:minmax(44px,auto) minmax(0,1fr) auto;gap:24px 32px}
 .photo-frames-page .shaped-editor-body{display:contents}
 .photo-frames-page .shaped-editor-header{grid-column:2;grid-row:1}
 .photo-frames-page .shaped-editor-preview{grid-column:1;grid-row:1/3;min-height:min(64dvh,520px)}
 .photo-frames-page .shaped-composite-stage{position:absolute;inset:0}
 .photo-frames-page .shaped-editor-toolbar,.photo-frames-page .shaped-editor-entry{grid-column:2;grid-row:2;align-self:end}
 .photo-frames-page .shaped-editor-status{grid-column:2;grid-row:3}
}
@media(max-width:840px){
 .photo-frames-page .shaped-photo-dialog{width:min(94vw,580px);padding:24px}
 .photo-frames-page .shaped-editor-header{margin-bottom:8px}
 .photo-frames-page .shaped-editor-body{gap:16px}
 .photo-frames-page .shaped-composite-stage{height:auto;aspect-ratio:var(--frame-ratio,1);max-height:42dvh;padding:16px}
 .photo-frames-page .shaped-editor-toolbar{gap:16px}
 .photo-frames-page .shaped-editor-actions{column-gap:16px}
 .photo-frames-page .shaped-editor-entry{justify-content:flex-end}
}
@media(max-width:400px){
 .photo-frames-page .shaped-photo-dialog{width:calc(100vw - 20px);padding:16px}
 .photo-frames-page .shaped-editor-selection{gap:8px}
}
@media(max-width:760px){
 .photo-frames-page .detail-variant-options{width:100%;min-width:0;grid-template-columns:repeat(3,minmax(0,1fr))}
 .photo-frames-page .detail-variant{min-height:54px;padding:10px 6px}
 .photo-frames-page .frame-type-picker{margin-bottom:18px}
 .photo-frames-page .frame-type-button{min-height:44px;font-size:14px}
}
@media(prefers-reduced-motion:reduce){
 .photo-frames-page .shaped-photo-dialog *{transition:none!important}
 .photo-frames-page .shaped-action-arrow svg:first-child{transform:none!important;opacity:1!important}
 .photo-frames-page .shaped-action-arrow svg:last-child{display:none}
}

@media(max-width:360px){.photo-frames-page .detail-bar{padding-inline:16px}.photo-frames-page .cart-launch .cart-label{display:none}.photo-frames-page .cart-launch{min-width:44px}}

/* The photo queue and its companion story share the opening section. */
.photo-frames-page .detail-story>.frame-choice{margin-top:0}
.photo-frames-page .frame-choice{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,1fr);gap:48px;align-items:start}
.photo-frames-page .frame-choice-visual{position:relative;min-width:0;aspect-ratio:4/3}
.photo-frames-page .frame-choice-visual iframe{position:absolute;inset:0;display:block;width:100%;height:100%;border:0}
.photo-frames-page .frame-choice-copy{min-width:0;align-self:center;padding-right:8px}
.photo-frames-page .frame-choice-copy h4{margin:0 0 20px;font:500 clamp(28px,2.6vw,32px)/1.55 FrameThaiSerif,FrameDisplay,Georgia,serif;color:var(--ink);letter-spacing:0}
.photo-frames-page .frame-choice-copy h4 span{display:block}
.photo-frames-page .frame-choice-copy p{max-width:320px;margin:0;color:#555b51;font:400 16px/1.9 FrameThaiSerif,FrameDisplay,Georgia,serif;text-wrap:pretty}
@media(max-width:840px){
 .photo-frames-page .frame-choice{grid-template-columns:minmax(0,1fr);gap:28px}
 .photo-frames-page .frame-choice-copy{max-width:520px;padding-right:0}
 .photo-frames-page .frame-choice-copy h4{font-size:28px}
 .photo-frames-page .frame-choice-copy p{max-width:none}
 .photo-frames-page .frame-choice-copy:empty{display:none}
}
@media(max-width:760px){
 .photo-frames-page .detail-gallery{touch-action:pan-y}
 .photo-frames-page .detail-gallery-button,.photo-frames-page .shaped-scene-navigation button{display:none}
}

.photo-frames-page .detail-footer-wordmark{display:block;width:112px;height:auto}
