/* Preview 20 — light editorial shop. Scoped to this page. */
html:has(#shop-page){color-scheme:light;}
#shop-page{background:#fff;color:#000;color-scheme:light;--font-meta:var(--font-body);--page-padding:var(--gutter);--line:#dedede;--text-soft:#555;--text-faint:#666;}
#shop-page .shop-wrap{min-height:0;padding:calc(78px + clamp(58px,6vw,100px)) var(--gutter) clamp(36px,5vw,76px);}
.shop-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,.9fr);gap:30px clamp(36px,7vw,110px);align-items:end;margin-bottom:clamp(42px,5vw,76px);}
#shop-page .shop-hero h1{margin:0;text-align:left;font-size:clamp(54px,6.5vw,99px);font-weight:500;letter-spacing:-.055em;line-height:1.02;}
.shop-hero p{max-width:590px;color:#444;font-size:clamp(16px,1.3vw,20px);line-height:1.55;text-wrap:pretty;}
.shop-grid{width:100%;max-width:none;gap:clamp(40px,5vw,80px) clamp(20px,2.2vw,36px);}
.shop-object-stage{aspect-ratio:4/3;background:#f4f4f4;overflow:hidden;padding:clamp(22px,3vw,52px);}
.shop-object-image{width:100%;height:100%;max-height:100%;object-fit:contain;transform:scale(1);}
.shop-object:hover .shop-object-image,.shop-object:focus-visible .shop-object-image{transform:scale(1.035);}
.shop-object-info{grid-template-columns:minmax(0,1fr) auto;gap:8px 12px;border-top:0;padding:22px 0 0;align-items:baseline;}
.shop-object-name{font-size:clamp(25px,2.5vw,38px);font-weight:500;letter-spacing:-.045em;line-height:1.12;width:fit-content;}
.shop-object-name::after{transition:transform .32s cubic-bezier(.22,.61,.36,1)!important;}
.shop-object-price{font-size:clamp(12px,1.04vw,15px);line-height:1.4;letter-spacing:0;color:#555;max-width:none;}
.shop-object-category,.shop-object-meta{font-family:var(--font-body);font-size:16px;line-height:1.4;letter-spacing:0;color:#444;}
.shop-object-meta{font-size:14px;color:#666;}
.shop-object-explore{grid-column:1/-1;width:fit-content;margin-top:12px;padding:4px 0;font-size:15px;font-weight:500;background:linear-gradient(currentColor,currentColor) left bottom / 0 1px no-repeat;transition:background-size .32s ease;}
.shop-object:is(:hover,:focus-visible) .shop-object-explore{background-size:100% 1px;}
/* Product view: white canvas and an optional original rotating video. */
.shop-detail-panel,.shop-request-panel{background:#fff;color:#000;}
.shop-detail-backdrop,.shop-request-backdrop{background:rgba(0,0,0,.4);}
.shop-detail-scroll{scrollbar-color:#aaa transparent;}
.shop-detail-scroll::-webkit-scrollbar-thumb{background:#aaa;}
.shop-detail-close{top:20px;right:var(--gutter);font-size:15px;letter-spacing:0;color:#333;background:#fff;padding:9px 14px;}
.shop-detail-close:is(:hover,:focus-visible),.shop-request-close:is(:hover,:focus-visible){color:#000;}
.shop-detail-hero{grid-template-columns:minmax(0,1.25fr) minmax(0,.85fr);gap:clamp(30px,5vw,80px);padding:clamp(85px,8vw,130px) var(--gutter) clamp(35px,5vw,75px);min-height:0;align-items:start;}
.shop-detail-object{display:block;padding:0;min-height:0;}
.shop-model-slot{width:100%;aspect-ratio:4/3;min-height:0;background:#f4f4f4;overflow:hidden;}
.shop-model-slot.has-image .shop-detail-image{inset:10%;width:80%;height:80%;}
.shop-model-slot.has-video{background:#f4f4f4;}
.shop-model-slot.has-video .shop-detail-video{inset:10%;width:80%;height:80%;transform:none;object-fit:contain;}
.shop-rotation-toggle{border:0;background:transparent;color:#000;padding:6px 0;margin-top:14px;font-size:15px;cursor:pointer;background-image:linear-gradient(currentColor,currentColor);background-repeat:no-repeat;background-position:left bottom;background-size:0 1px;transition:background-size .32s ease;}
.shop-rotation-toggle:is(:hover,:focus-visible){background-size:100% 1px;}
.shop-detail-copy{padding:0;gap:22px;}
.shop-detail-heading h2{font-size:clamp(42px,5vw,76px);font-weight:500;letter-spacing:-.055em;line-height:1.04;}
.shop-detail-subtitle,.shop-detail-label,.shop-detail-data,.shop-detail-description{color:#444;}
.shop-detail-subtitle,.shop-detail-label,.shop-detail-data p{font-size:12px;letter-spacing:.055em;line-height:1.5;}
.shop-detail-price{font-size:clamp(18px,1.7vw,25px);color:#000;}
.shop-detail-description{font-size:17px;line-height:1.55;text-wrap:pretty;}
.shop-detail-data{border-top-color:#dedede;}
.shop-variant-button{color:#555;}
.shop-variant-button:is(:hover,:focus-visible,.is-active){color:#000;}
.shop-project-link{color:#000;font-family:var(--font-body);font-size:14px;letter-spacing:0;line-height:1.45;text-transform:none;}
.shop-project-link:is(:hover,:focus-visible){color:#000;}
.shop-buy,.shop-request-submit{background:#000;color:#fff;border:1px solid #000;font-family:var(--font-body);font-size:14px;letter-spacing:.01em;line-height:1.35;padding:15px 19px;}
.shop-buy:is(:hover,:focus-visible),.shop-request-submit:is(:hover,:focus-visible){background:#333;border-color:#333;color:#fff;}
.shop-buy-secondary{background:#fff;color:#000;border-color:#999;}
.shop-buy-secondary:is(:hover,:focus-visible){background:#f1f1f1;color:#000;border-color:#000;}
.shop-gallery::before{background:#dedede;}
.shop-gallery-head{min-height:0;padding-top:30px;padding-bottom:24px;}
.shop-gallery-label,.shop-gallery-counter,.shop-gallery-drag,.shop-gallery-arrow{color:#555;font-size:14px;letter-spacing:.02em;}
.shop-gallery-arrow{font-size:25px;}
.shop-gallery-arrow:is(:hover,:focus-visible){color:#000;}
.shop-gallery-media{background:#f4f4f4;}
.shop-gallery-media img{object-fit:contain;}
.shop-request-panel{border-color:#ddd;}
.shop-request-close{font-size:14px;letter-spacing:0;color:#444;}
.shop-request-heading h2{font-weight:500;letter-spacing:-.04em;line-height:1.06;}
.shop-request-heading>p:first-child,.shop-request-intro,.shop-request-field>span,.shop-request-status,.shop-request-status.is-success,.shop-request-status.is-error{color:#444;}
.shop-request-field>span{font-size:12px;letter-spacing:.03em;}
.shop-request-intro{font-size:16px;}
.shop-request-field input,.shop-request-field textarea{border-bottom-color:#aaa;color:#000;font-size:16px;}
.shop-request-field input::placeholder,.shop-request-field textarea::placeholder{color:#777;}
.shop-request-field input:focus,.shop-request-field textarea:focus{border-bottom-color:#000;}
.shop-request-status{font-size:12px;letter-spacing:0;}
#shop-page [hidden]{display:none!important;}
#shop-page button:focus-visible,#shop-page a:focus-visible{outline:2px solid #777;outline-offset:4px;}
@media(max-width:900px){#shop-page .shop-wrap{padding-top:calc(66px + 48px)}.shop-hero{grid-template-columns:1fr;gap:22px;}.shop-detail-hero{grid-template-columns:1fr;gap:32px;padding-top:75px;}.shop-detail-object{min-height:0;}.shop-model-slot{min-height:0;}.shop-detail-copy{padding:0;}.shop-object-stage{padding:28px;}}
@media(max-width:600px){#shop-page .shop-hero h1{font-size:clamp(48px,12vw,64px);}.shop-grid{gap:45px;}.shop-object-stage{aspect-ratio:4/3;}.shop-object-name{font-size:32px;}.shop-object-info{padding-top:17px;}.shop-detail-close{right:var(--gutter);top:12px;}.shop-gallery-media{aspect-ratio:4/3;}.shop-request-panel{padding-top:54px;}}
@media(prefers-reduced-motion:reduce){.shop-object-image,.shop-object-name::after,.shop-object-explore,.shop-rotation-toggle{transition:none!important;}}
/* Keep tall and wide products fully visible inside identical frames. */
.shop-object-stage{padding:0;}
.shop-object-stage .shop-object-image{position:absolute;inset:10%;width:80%;height:80%;max-height:none;object-fit:contain;}
.shop-object-info{grid-template-rows:auto auto 20px auto;}
.shop-object-meta{grid-row:3;}
.shop-object-explore{grid-row:4;}
@media(max-width:600px){.shop-object-info{grid-template-rows:auto auto auto auto;}.shop-object-explore{grid-row:auto;}.shop-object-meta{grid-row:auto;}}

/* Rotating objects share the same light canvas as their first-frame posters. */
.shop-motion-bar{display:flex;justify-content:flex-end;margin:-18px 0 14px;min-height:0;}
.shop-motion-toggle{background:none;border:0;padding:4px 0;color:#555;font:inherit;font-size:13px;cursor:pointer;}
.shop-motion-toggle:hover{text-decoration:underline;text-underline-offset:4px;}
.shop-object-stage .shop-object-video{position:absolute;inset:10%;width:80%;height:80%;object-fit:contain;max-height:none;opacity:0;transform:scale(1);transition:transform .32s ease;}
.shop-object-stage.is-playing .shop-object-image{visibility:hidden;}
.shop-object-stage.is-playing .shop-object-video{opacity:1;}
.shop-object:hover .shop-object-video,.shop-object:focus-visible .shop-object-video{transform:scale(1.035);}
@media(prefers-reduced-motion:reduce){.shop-object-stage .shop-object-video{transition:none;}}

/* Preview 23: align page introductions and keep status clear of neighbouring cards. */
#shop-page .shop-hero h1{font-family:var(--font-display);}
.shop-grid{column-gap:clamp(28px,3.2vw,52px);}
.shop-object-info{grid-template-columns:minmax(0,1fr);grid-template-rows:auto auto auto auto auto;gap:7px;align-items:start;}
.shop-object-name{grid-row:1;grid-column:1;}
.shop-object-price{grid-row:2;grid-column:1;text-align:left;justify-self:start;max-width:100%;}
.shop-object-category{grid-row:3;grid-column:1;}
.shop-object-meta{grid-row:4;grid-column:1;}
.shop-object-explore{grid-row:5;grid-column:1;}
@media(min-width:601px){.shop-object-info{grid-template-rows:auto auto auto minmax(20px,auto) auto;}}

/* Preview 35: descriptions are server-delivered HTML, selected in the existing dialog. */
.shop-detail-description p {margin:0;}
.shop-no-script {margin:24px 0;color:#444;}
.shop-no-script a {text-decoration:underline;}

.shop-request-form .form-note{font-size:13px;line-height:1.55;color:#555;margin:0 0 12px;overflow-wrap:anywhere}.shop-request-form .form-note a{text-decoration:underline;text-underline-offset:3px}

/* Preview 43 — white background for product rotations and stills. */
.shop-object-stage,.shop-model-slot,.shop-model-slot.has-video{background:#fff;}
.shop-model-slot:not(.has-video) .shop-detail-video{opacity:0;}
.shop-model-slot.has-video .shop-detail-video{opacity:1;}
