/* Small, deliberate interactions. The studio canvas keeps exact coordinates. */
header nav a{position:relative;padding-block:8px}
header nav a::after{content:'';position:absolute;bottom:0;left:0;right:0;height:1px;background:currentColor;transform:scaleX(0);transform-origin:left;transition:transform .3s cubic-bezier(.22,1,.36,1)}
header nav a:hover::after,header nav a:focus-visible::after{transform:scaleX(1)}
.dark,.secondary{transition:transform .22s cubic-bezier(.22,1,.36,1),background-color .22s,border-color .22s,box-shadow .22s}
.dark>span,.category h3>span{display:inline-block;transition:transform .3s cubic-bezier(.22,1,.36,1)}
.select-card,.design-tile{transition:transform .28s cubic-bezier(.22,1,.36,1),box-shadow .28s,border-color .22s,background-color .22s}
.category-art{transition:transform .45s cubic-bezier(.22,1,.36,1),box-shadow .45s}
.category-art img{transition:scale .65s cubic-bezier(.22,1,.36,1)}
.field input:not([type=range]),.field textarea,.field select,.size-picker select{transition:border-color .2s,box-shadow .2s}
.field input:focus,.field textarea:focus,.field select:focus,.size-picker select:focus{border-color:#8a9c76;box-shadow:0 0 0 3px #879d7014}
@media(hover:hover) and (pointer:fine){
 .dark:hover{box-shadow:0 5px 14px #27372d18}
 .dark:hover>span,.category:hover h3>span{transform:translate(2px,-2px)}
 .secondary:hover{transform:translateY(-2px);background-color:#f0f3e9;border-color:#91a180}
 .select-card:hover,.design-tile:hover{transform:translateY(-4px);box-shadow:0 10px 26px #263b2610}
 .category:hover .category-art{box-shadow:0 12px 28px #263b2610}
 .category:hover .category-art img{scale:1.025}
}
.dark:active:not(:disabled),.secondary:active:not(:disabled),.select-card:active,.design-tile:active{transform:translateY(0) scale(.985)}
#toast{animation:frameo-toast-in .24s ease-out}
@keyframes frameo-toast-in{from{opacity:0;translate:0 8px}to{opacity:1;translate:0 0}}
@media(prefers-reduced-motion:reduce){
 html{scroll-behavior:auto}
 *,*::before,*::after{animation:none!important;transition:none!important;scroll-behavior:auto!important}
 .dark:hover,.secondary:hover,.select-card:hover,.design-tile:hover,.category:hover .category-art,.dark:active,.secondary:active,.select-card:active,.design-tile:active{transform:none}
 .category:hover .category-art img{scale:1}
}
/* Hero design slideshow: the original two-frame composition stays in place. */
.has-slideshow .main-frame,.has-slideshow .back-frame{aspect-ratio:3/4}
.has-slideshow .main-frame img,.has-slideshow .back-frame img{width:100%;height:100%;object-fit:contain;background:#fff}
.has-slideshow img.hero-incoming{position:absolute;inset:10px;width:calc(100% - 20px);height:calc(100% - 20px)}
.has-slideshow .floating-note{bottom:104px;font-size:20px}
.hero-slideshow-controls{position:absolute;left:28px;right:28px;bottom:47px;z-index:4;display:flex;align-items:center;justify-content:space-between;gap:10px}
.hero-design-name{font-size:11px;color:#64705b;letter-spacing:.3px}
.hero-slide-buttons{display:flex;gap:6px;flex-shrink:0}
.hero-slide-buttons button{width:34px;height:34px;display:grid;place-items:center;border:1px solid #8c998544;background:#fafaf7b8;border-radius:50%;color:#46563f;font-size:14px;transition:background .2s,transform .2s}
.hero-slide-buttons button:hover{background:#fff;transform:translateY(-1px)}
.hero-slide-buttons button:active{transform:scale(.94)}
@media(max-width:700px){.hero-slideshow-controls{left:20px;right:20px;bottom:44px}.hero-slide-buttons button{width:38px;height:38px}.has-slideshow .floating-note{font-size:18px;bottom:101px}.hero-design-name{font-size:10px;max-width:47%}}
@media(prefers-reduced-motion:reduce){.hero-slide-buttons button:hover,.hero-slide-buttons button:active{transform:none}}
@media(min-width:701px){.has-slideshow .main-frame{width:44%;top:75px}.has-slideshow .back-frame{width:42%;top:62px}}
