/* Local proposal: one balanced glass control for the homepage collection. */
body.px-home .collection-tabs{position:relative;isolation:isolate;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:4px;width:100%;padding:5px;box-sizing:border-box;border:1px solid #d7b59358;border-radius:20px;background:radial-gradient(ellipse at 20% 0,#c3a0b026,transparent 70%),linear-gradient(145deg,#66435555,#211821a8);box-shadow:inset 0 1px 0 #fff4e51c,inset 0 -1px 0 #160d194d,0 12px 28px -16px #0b070dd9;backdrop-filter:blur(14px);-webkit-backdrop-filter:blur(14px)}
body.px-home .collection-tabs:before{content:'';position:absolute;z-index:0;left:5px;top:5px;bottom:5px;width:calc((100% - 14px)/2);box-sizing:border-box;border:1px solid #fff2d4;border-radius:15px;background:linear-gradient(115deg,#ffffff85,transparent 36%),linear-gradient(180deg,#fff8e9 0%,#f2e4ca 52%,#e0c49a 100%);box-shadow:inset 0 1px 0 #fffdf4,inset 0 -2px 0 #a88a5a55,0 5px 12px #120b1540;transform:translateX(0);transition:transform 250ms cubic-bezier(.22,.7,.2,1)}
body.px-home .collection-tabs:has([data-collection-type=botez][aria-pressed=true]):before{transform:translateX(calc(100% + 4px))}
body.px-home .collection-tabs button{position:relative;z-index:1;display:flex;align-items:center;justify-content:center;gap:9px;min-width:0;min-height:50px;padding:11px 12px;margin:0;border:0;border-radius:15px;background:transparent;color:#ead9e3;font:500 13px/1.4 Arial,sans-serif;letter-spacing:0;cursor:pointer;transition:color 250ms ease,background-color 200ms ease,box-shadow 200ms ease}
body.px-home .collection-tabs button[aria-pressed=true]{color:#402d39;font-weight:600;text-shadow:0 1px 0 #fffaf0c4}
body.px-home .collection-tabs button:after{content:none}
body.px-home .collection-tabs button:hover:not([aria-pressed=true]){color:#fff3df;background-color:#fff3e909;box-shadow:inset 0 1px 0 #fff3e90d}
body.px-home .collection-tabs button[aria-pressed=true] svg{stroke:#86643d;filter:drop-shadow(0 1px 0 #fff9e6)}
body.px-home .collection-tabs button:active{filter:brightness(.97)}
body.px-home .collection-tabs button:focus-visible{outline:2px solid #efc78a;outline-offset:-2px}
body.px-home .collection-tabs svg{width:19px;height:19px;flex:none;fill:none;stroke:currentColor;stroke-width:1.45;stroke-linecap:round;stroke-linejoin:round}
@media(min-width:761px){body.px-home .collection-side{min-width:330px}}
@media(max-width:760px){body.px-home .collections .section-heading{gap:25px}body.px-home .collection-side{width:100%;box-sizing:border-box}body.px-home .collection-side>p{margin-bottom:22px}body.px-home .collection-tabs{margin:0}body.px-home .collections .section-heading{margin-bottom:32px}}
@media(max-width:360px){body.px-home .collection-tabs button{gap:6px;padding-inline:7px;font-size:12px}}
@media(prefers-reduced-motion:reduce){body.px-home .collection-tabs:before,body.px-home .collection-tabs button{transition:none!important}}

/* Guard the new cards until the ring has laid them out; no page-height changes. */
body.px-home #model-grid[data-collection-phase=spinning]{visibility:hidden}
body.px-home #model-grid[data-collection-phase=spinning] .model-item{transition:none!important}
body.px-home .px-ring-shell:has(#model-grid[data-collection-phase=spinning]) :is(.px-ring-details,.px-ring-controls){visibility:hidden}
.px-collection-wheel{position:absolute;perspective:1200px;pointer-events:none;z-index:6;isolation:isolate}
.px-collection-wheel .px-wheel-card{position:absolute;left:50%;margin:0;pointer-events:none;transform-origin:50% 50%;will-change:transform;backface-visibility:hidden}
.px-collection-wheel .px-wheel-card :is(.model-meta,p){display:none}
.px-collection-wheel .px-wheel-card *{animation:none!important;transition:none!important}
@media(prefers-reduced-motion:reduce){.px-collection-wheel{display:none}}
body.px-home #model-grid[aria-busy=true]{pointer-events:none}

/* A brief warm glow accompanies the quicker turn, then clears at rest. */
.px-collection-wheel:before{content:'';position:absolute;inset:6% -4% 0;pointer-events:none;background:radial-gradient(ellipse at 50% 58%,#f5d49c35,transparent 68%);opacity:0;animation:px-collection-glow 950ms ease-out both}
@keyframes px-collection-glow{0%,100%{opacity:0}22%{opacity:.7}65%{opacity:.25}}
@media(prefers-reduced-motion:reduce){.px-collection-wheel:before{animation:none!important}}

/* v290: sclipire scurtă după ce praful auriu a rescris textul */
body.px-home .px-ring-details.px-dust-shine h3{animation:px-dust-shine 1.1s ease-out}
@keyframes px-dust-shine{0%{text-shadow:0 0 0 #fff0}30%{text-shadow:0 0 14px #ffe7b8,0 0 30px #e7c48c}100%{text-shadow:0 0 0 #fff0}}
@media(prefers-reduced-motion:reduce){body.px-home .px-ring-details.px-dust-shine h3{animation:none}}
body.px-home .px-ring-shell.px-dusting .px-ring-details{opacity:0;transition:none}
body.px-home .px-ring-shell:not(.px-dusting) .px-ring-details{transition:opacity .8s}
