/* Container for the 3D gift (gw-3d.js). The container sets the size; the canvas fills it. */
.gw3d { position: relative; overflow: hidden; }
.gw3d__canvas { position: absolute; inset: 0; width: 100% !important; height: 100% !important; display: block; opacity: 0; transition: opacity 1.4s ease; touch-action: pan-y; }
.gw3d.is-ready .gw3d__canvas { opacity: 1; }
.gw3d__loader { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 14px; transition: opacity .6s; pointer-events: none; color: var(--gw3d-loader, rgba(160, 130, 80, .9)); font: 500 13px/1.4 'DM Sans', system-ui, sans-serif; letter-spacing: .12em; text-transform: uppercase; }
.gw3d__loader span { width: 120px; height: 1px; background: linear-gradient(90deg, transparent, currentColor, transparent); background-size: 200% 100%; animation: gw3d-load 1.4s linear infinite; }
.gw3d__loader em { font-style: normal; }
.gw3d.is-ready .gw3d__loader, .gw3d.is-fallback .gw3d__loader { opacity: 0; }
.gw3d__fallback { position: absolute; inset: 6% 4%; display: grid; place-items: center; }
.gw3d__fallback > * { width: 100%; }
@keyframes gw3d-load { from { background-position: 200% 0; } to { background-position: -200% 0; } }
@media (prefers-reduced-motion: reduce) { .gw3d__loader span { animation: none; } .gw3d__canvas { transition: none; } }
