/* Small static fabric assets, cached and reused; product pixels remain untouched. */
:root{--satin:url('/assets/fabric-grain.svg?v=3'),url('/assets/satin-ivory.svg?v=3');--velvet:url('/assets/velvet-nap.svg?v=1'),url('/assets/velvet-noir.svg?v=4');--utility-bottom:24px;--utility-side:25px;--utility-lift:60px}
/* One continuous satin canvas behind every adjoining light section.
   A fixed decorative layer also avoids mobile background-attachment limitations. */
body{position:relative;isolation:isolate;background-color:#fafaf8;background-image:none}
body:before{content:'';position:fixed;inset:0;z-index:-1;pointer-events:none;background-color:#fafaf8;background-image:var(--satin);background-size:128px 128px,100% 100%;background-repeat:repeat,no-repeat;background-position:0 0,center}
.hero,.page-intro,.catalog-promo,.contact-band,main>.section{background-color:transparent;background-image:none}
.dialog-copy,.cookie-dialog{background-color:#fafaf8;background-image:var(--satin);background-size:128px 128px,100% 100%;background-repeat:repeat,no-repeat}
header{background-color:#fafaf8;background-image:linear-gradient(#ffffff55,#ffffff55),var(--satin);background-size:auto,128px 128px,100% 600px;background-position:0 0,0 0,center top;background-repeat:no-repeat,repeat,no-repeat}
.ribbon,.story-split,.craft-panel,footer,.catalog-bar,.catalog-foot{background-color:#111;background-image:var(--velvet);background-size:128px 128px,100% 100%;background-repeat:repeat,no-repeat}
.aralya-loader{background-color:#fafaf8;background-image:radial-gradient(ellipse at 50% 40%,#ffffffa6,transparent 75%),var(--satin);background-size:auto,128px 128px,100% 100%}
/* The WhatsApp anchor must override the shared action's position:relative rule. */
a.floating-wa,body.show-top a.floating-wa{position:fixed;right:var(--utility-side);left:auto;bottom:var(--utility-bottom);z-index:27;display:flex;visibility:visible;opacity:1;margin:0;transform:translateY(0);transition:transform .42s cubic-bezier(.22,1,.36,1),background .25s,box-shadow .25s}
body.show-top a.floating-wa{transform:translateY(calc(-1 * var(--utility-lift)))}
.top-button{right:var(--utility-side);bottom:var(--utility-bottom);animation:utility-in .32s cubic-bezier(.22,1,.36,1) both}
.cookie-button{left:var(--utility-side);bottom:var(--utility-bottom);overflow:hidden;isolation:isolate;border:1px solid #a07730;color:#65420f;background:radial-gradient(ellipse at 28% 15%,#fff8dbb8,transparent 45%),conic-gradient(from 28deg,#b88b3f,#f5d981 14%,#a8782c 28%,#f6dc91 42%,#ffedb4 49%,#b58a40 64%,#efd18b 80%,#a97b30 92%,#b88b3f);box-shadow:inset 0 1px 1px #fff8df,inset 0 -2px 3px #69471188,0 0 0 1px #eed19255,0 5px 16px #5f431d38;transition:box-shadow .3s,filter .3s}
.cookie-button:before{content:'';position:absolute;inset:4px;border-radius:50%;border:1px solid #8f621e66;box-shadow:0 1px 0 #fff6cfb3,inset 0 1px 1px #fff1bd77;pointer-events:none}
.cookie-button:after{content:'';position:absolute;inset:-45%;background:linear-gradient(115deg,transparent 33%,#fff8dd00 40%,#fff8ddb3 49%,#fff8dd00 58%,transparent 65%);transform:translateX(-85%);animation:gold-coin-light 9s ease-in-out infinite;pointer-events:none;z-index:-1}
.cookie-button svg{width:24px;height:24px;filter:drop-shadow(0 1px 0 #fff0bba6);stroke-width:1.45;position:relative;z-index:1}
.cookie-button:hover{filter:brightness(1.08);box-shadow:inset 0 1px 1px #fff8df,inset 0 -2px 3px #69471188,0 0 0 1px #eed19288,0 5px 22px #a77a354d}
@keyframes gold-coin-light{0%,64%{transform:translateX(-85%)}84%,100%{transform:translateX(85%)}}
@keyframes utility-in{from{opacity:0;transform:translateY(9px) scale(.9)}to{opacity:1;transform:none}}
@media(max-width:800px){header nav.open{background-color:#fafaf8;background-image:var(--satin);background-size:128px 128px,100% 100%}}
@media(max-width:560px){:root{--utility-bottom:calc(14px + env(safe-area-inset-bottom,0px));--utility-side:14px;--utility-lift:58px}}
@media(prefers-reduced-motion:reduce){a.floating-wa,body.show-top a.floating-wa{transition:none}.top-button,.cookie-button:after{animation:none}}

/* Velvet uses the same viewport-anchored canvas as satin. Each section clips
   its fixed layer, so adjoining light surfaces remain light. No scroll JS. */
body :is(.ribbon,.story-split,.craft-panel,footer.site-footer,.diamond-scene){position:relative;isolation:isolate;clip-path:inset(0);background-color:#111;background-image:none}
body :is(.ribbon,.story-split,.craft-panel,footer.site-footer,.diamond-scene):after{content:'';position:fixed;inset:0;z-index:-4;pointer-events:none;background-color:#111;background-image:var(--velvet);background-size:128px 128px,100% 100%;background-repeat:repeat,no-repeat;background-position:0 0,center}
