/* Antigravity 3D POS terminal — extracted verbatim from the reference design.
   Scoped under .pos3d-scope: design tokens stay INSIDE the terminal. */
.pos3d-scope{
  /* Colors */
  --bg-deep: #08090C;
  --bg-surface: #111318;
  --bg-surface-elevated: #1a1d24;
  --accent-ruby: #8E2342;
  --accent-ruby-glow: rgba(142, 35, 66, 0.45);
  --accent-gold: #C5A880;
  --accent-gold-l: #E5C28F;
  --accent-gold-deep: #A9823C;
  --accent-gold-glow: rgba(197, 168, 128, 0.3);
  
  --text-primary: #FFFFFF;
  --text-secondary: #9FA6B2;
  --text-muted: #626975;
  --border-color: rgba(255, 255, 255, 0.08);
  --border-gold: rgba(197, 168, 128, 0.25);
  
  --green: #10B981;
  --green-glow: rgba(16, 185, 129, 0.35);
  --red: #EF4444;
  --red-glow: rgba(239, 68, 68, 0.35);
  
  /* Typography */
  --ff-primary: 'Outfit', system-ui, -apple-system, sans-serif;
  --ff-mono: 'Space Grotesk', monospace;
  --ff-arabic: 'Cairo', sans-serif;
  
  /* Layout & Speeds */
  --radius-lg: 24px;
  --radius-md: 16px;
  --radius-sm: 8px;
  --transition-smooth: 0.35s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: 0.2s ease;
  --max-w: 1200px;
}
/* ---------- CSS 3D POS VIEWPORT ASSEMBLY ---------- */
.pos-3d-container{
  width: 100%;
  height: 520px;
  position: relative;
  display: grid;
  place-items: center;
  cursor: grab;
}
.pos-3d-container:active{
  cursor: grabbing;
}
.pos-viewport{
  width: 420px;
  height: 420px;
  perspective: 1600px;
  display: grid;
  place-items: center;
  position: relative;
}
/* Floating widgets surrounding terminal */
.floating-badge{
  position: absolute;
  background: rgba(20, 23, 31, 0.72);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 12px 16px;
  z-index: 10;
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
  pointer-events: none;
  /* Removed transform transition to allow smooth tick RAF loop without lag */
  transition: border-color var(--transition-fast);
}
.stats-badge{
  width: 180px;
}
.stats-badge .badge-header{
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 700;
}
.stats-badge .trend-up{
  color: var(--green);
}
.stats-badge .badge-value{
  font-family: var(--ff-mono);
  font-size: 18px;
  font-weight: 700;
  margin: 4px 0;
  color: var(--text-primary);
}
.sync-badge{
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-primary);
}
.sync-badge .sync-dot{
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--green);
}
.sync-badge .sync-dot.offline{
  background: var(--red);
  box-shadow: 0 0 8px var(--red-glow);
}
.sync-badge .sync-dot.active{
  box-shadow: 0 0 8px var(--green-glow);
  animation: beacon 1.5s infinite;
}
/* 3D POS Assembly */
.pos-assembly{
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: preserve-3d;
  transform: rotateX(-12deg) rotateY(-18deg);
  /* Removed CSS transition on transform to let requestAnimationFrame spring loop control physics smoothly */
}
/* Base parts for 3D model */
.pos-part{
  position: absolute;
  transform-style: preserve-3d;
  background-color: var(--bg-surface);
  border: 1px solid rgba(255, 255, 255, 0.05);
}
/* Stand Base on Desk */
.stand-base{
  width: 180px;
  height: 180px;
  border-radius: 18px;
  left: 120px;
  top: 190px;
  transform: rotateX(90deg) translateZ(-50px);
  /* Specular metallic sheen shifting with rotation */
  background: linear-gradient(calc(135deg + var(--rot-y-deg, 0deg) * 0.35), #2b313d, #1a1e26 40%, var(--accent-gold-glow) 50%, #0e1014 60%);
  box-shadow: 
    0 15px 40px rgba(0, 0, 0, 0.8),
    inset 0 2px 4px rgba(255, 255, 255, 0.15),
    inset 0 -2px 6px rgba(0,0,0,0.6),
    0 0 0 2.5px var(--accent-gold),
    0 0 calc(6px + var(--rot-x-deg, 0deg) * -0.2) var(--accent-gold-glow); /* Dynamic golden border light bleed */
  transition: background 0.1s ease-out;
}
/* Neck support */
.stand-neck{
  width: 40px;
  height: 100px;
  left: 190px;
  top: 140px;
  transform: translate3d(0, 0, -25px) rotateX(25deg);
  /* Neck metallic sheen */
  background: linear-gradient(calc(90deg + var(--rot-y-deg, 0deg) * 0.45), #323947, #212630 40%, var(--accent-gold-glow) 50%, #1b1e26 60%, #111318);
  border-left: 2px solid rgba(255, 255, 255, 0.1);
  border-right: 1px solid rgba(0, 0, 0, 0.4);
  transition: background 0.1s ease-out;
}
/* Main POS Terminal Screen Chassis */
.main-screen-body{
  width: 320px;
  height: 220px;
  border-radius: var(--radius-md);
  left: 50px;
  top: 70px;
  transform: translate3d(0, -20px, 15px) rotateX(-20deg);
  background: #0E1015;
  border: 6px solid #1c1f26; /* Brushed dark titanium look bezel */
  box-shadow: 
    0 15px 45px rgba(0,0,0,0.8),
    inset 0 0 0 1px rgba(197, 168, 128, 0.35), /* Inner gold trim line */
    inset 0 0 20px rgba(0,0,0,0.7);
  display: flex;
  overflow: hidden;
}
/* POS Interface on Screen */
.pos-application-screen{
  width: 100%;
  height: 100%;
  background: #11141D;
  display: flex;
  flex-direction: column;
  user-select: none;
  font-family: var(--ff-primary);
  position: relative;
}
/* Luxury diagonal gloss reflection overlay on the screen */
.pos-application-screen::after{
  content: '';
  position: absolute;
  /* Larger boundaries so translated glare doesn't reveal hard edges */
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.09) 0%, rgba(255, 255, 255, 0.02) 45%, transparent 45.2%);
  pointer-events: none;
  z-index: 10;
  /* Translate glass reflection opposite to rotation for realistic static environment reflection */
  transform: translate3d(calc(var(--glare-x, 0px) * -1.25), calc(var(--glare-y, 0px) * -1.25), 0);
}
.app-header{
  background: #191E2A;
  padding: 4px 10px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1.5px solid #232A3B;
}
.app-brand{
  font-size: 10px;
  font-weight: 700;
  color: var(--accent-gold-l);
  font-family: var(--ff-mono);
  letter-spacing: 0.5px;
}
.app-status{
  display: flex;
  gap: 6px;
  font-size: 9px;
}
.wifi-icon.active{ color: var(--green); }
.wifi-icon.offline{ color: var(--red); }
.db-status{ opacity: 0.8; }
.app-body{
  flex: 1;
  display: grid;
  grid-template-columns: 45px 1fr 100px;
  overflow: hidden;
  height: 1px;
}
/* Categories side-menu inside POS */
.app-categories{
  background: #151923;
  border-right: 1.5px solid #232A3B;
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 4px;
}
.cat-btn{
  background: transparent;
  border: 0;
  padding: 6px 2px;
  font-size: 8.5px;
  color: var(--text-secondary);
  cursor: pointer;
  border-radius: 4px;
  transition: var(--transition-fast);
  font-weight: 600;
  font-family: inherit;
  position: relative;
  overflow: hidden;
}
.cat-btn:hover:not(.active) {
  color: var(--accent-gold-l);
  background: rgba(255, 255, 255, 0.04);
}
.cat-btn.active{
  background: linear-gradient(135deg, var(--accent-ruby), #600f24);
  color: var(--text-primary);
  box-shadow: 0 2px 6px rgba(142, 35, 66, 0.35);
}
/* Products grid inside POS */
.app-products{
  padding: 6px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
  overflow-y: auto;
}
/* Products card inside POS */
.pos-prod-card{
  background: rgba(29, 35, 49, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(4px);
  border-radius: 6px;
  padding: 6px 4px;
  text-align: center;
  cursor: pointer;
  /* 3D card setup */
  transform-style: preserve-3d;
  transition: transform 0.15s ease-out, border-color 0.25s ease, box-shadow 0.25s ease, background 0.25s ease;
  box-shadow: 0 3px 6px rgba(0,0,0,0.15);
}
.pos-prod-card:hover{
  background: rgba(37, 45, 62, 0.95);
  border-color: var(--accent-gold);
  box-shadow: 0 8px 18px rgba(197, 168, 128, 0.25);
  /* transform will be updated dynamically via mousemove listener in JS */
}
.pos-prod-card .emoji{
  font-size: 16px;
  display: inline-block;
  transition: transform 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}
.pos-prod-card .p-name{
  font-size: 9px;
  font-weight: 700;
  margin: 1px 0;
  color: var(--text-primary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.pos-prod-card .p-price{
  font-size: 8px;
  color: var(--accent-gold-l);
  font-family: var(--ff-mono);
  font-weight: 600;
}
/* Cart sidebar inside POS */
.app-sidebar{
  background: #151923;
  border-left: 1.5px solid #232A3B;
  display: flex;
  flex-direction: column;
  padding: 4px;
}
.sidebar-title{
  font-size: 8.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 2px;
  margin-bottom: 4px;
}
.cart-items{
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.cart-empty{
  font-size: 8px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 16px;
}
.cart-row{
  display: flex;
  justify-content: space-between;
  font-size: 8px;
  padding: 2px 0;
  color: #fff;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.10);
}
.cart-row .name{
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 60px;
}
.cart-totals{
  border-top: 1.5px solid #232A3B;
  padding-top: 4px;
}
.cart-totals .total-row{
  display: flex;
  justify-content: space-between;
  font-size: 8.5px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.btn-pay{
  width: 100%;
  background: linear-gradient(135deg, var(--green), #067c57);
  border: 0;
  color: white;
  border-radius: 4px;
  font-size: 9px;
  font-weight: 700;
  padding: 6px 0;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  transition: var(--transition-fast);
  box-shadow: 0 3px 8px rgba(16, 185, 129, 0.25);
}
.btn-pay:disabled{
  background: var(--text-muted);
  opacity: 0.4;
  cursor: not-allowed;
  box-shadow: none;
}
.btn-pay:not(:disabled):hover{
  background: linear-gradient(135deg, #10c58b, #059669);
  box-shadow: 0 4px 12px rgba(16, 185, 129, 0.45);
}
/* 3D Cash Drawer Underneath */
.cash-drawer{
  width: 320px;
  height: 250px;
  border-radius: 10px;
  left: 50px;
  top: 190px;
  transform: translate3d(0, 40px, -20px) rotateX(90deg);
  /* Cash drawer metallic sheen */
  background: linear-gradient(calc(180deg - var(--rot-x-deg, 0deg) * 0.4), #2c3342, #1f2430 45%, var(--accent-gold-glow) 50%, #14161c 55%);
  box-shadow: 
    0 15px 40px rgba(0,0,0,0.7),
    inset 0 1px 4px rgba(255,255,255,0.1),
    0 0 0 1.5px rgba(197, 168, 128, 0.2),
    0 0 calc(4px + var(--rot-x-deg, 0deg) * -0.15) var(--accent-gold-glow);
  overflow: visible;
  transition: background 0.1s ease-out;
}
.drawer-face{
  position: absolute;
  width: 100%;
  height: 25px;
  background: linear-gradient(180deg, #373f50, #1b1e26);
  bottom: 0;
  transform: rotateX(-90deg) translateZ(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  border-bottom: 2.5px solid #090b0e;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: inset 0 0 8px rgba(0,0,0,0.5);
}
.keyhole{
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #000;
  position: absolute;
  left: 20px;
}
.drawer-handle{
  width: 70px;
  height: 4px;
  background: #0D0E12;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}
/* Slid-out cash compartment tray */
.drawer-tray{
  position: absolute;
  width: 300px;
  height: 200px;
  background: #0D0E12;
  left: 10px;
  top: 10px;
  border-radius: 4px;
  border: 2px solid #1A1F29;
  z-index: -1;
  transform: translate3d(0, 0, -2px);
  /* Closing: Decelerating rapid slam shut */
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  padding: 10px;
  display: flex;
  align-items: flex-end;
}
.drawer-tray.open{
  transform: translate3d(0, 140px, -2px);
  /* Opening: Spring elastic bounce overshoot rebound */
  transition: transform 0.72s cubic-bezier(0.175, 0.885, 0.38, 1.35);
}
.cash-row{
  display: flex;
  gap: 15px;
  opacity: 0;
  transition: opacity 0.3s ease;
  transition-delay: 0.1s;
}
.drawer-tray.open .cash-row{
  opacity: 0.85;
}
.cash-bill{
  width: 50px;
  height: 30px;
  border-radius: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 8px;
  font-weight: 700;
  font-family: var(--ff-mono);
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}
.bill-200{ background: #3b82f6; color: white; }
.bill-100{ background: #10b981; color: white; }
.bill-50{ background: #f59e0b; color: white; }
/* 3D Receipt Printer Unit */
.receipt-printer{
  width: 80px;
  height: 80px;
  border-radius: 8px;
  left: 290px;
  top: 145px;
  transform: translate3d(100px, 30px, 20px) rotateY(-12deg);
  /* Printer body sheen */
  background: linear-gradient(calc(135deg + var(--rot-y-deg, 0deg) * 0.35), #2b313d, #1c2029 40%, var(--accent-gold-glow) 50%, #14171d 60%);
  box-shadow: 
    0 12px 25px rgba(0,0,0,0.6),
    inset 0 1px 2px rgba(255,255,255,0.12),
    0 0 0 1.5px rgba(197, 168, 128, 0.2),
    0 0 calc(4px + var(--rot-y-deg, 0deg) * 0.1) var(--accent-gold-glow);
  transition: background 0.1s ease-out;
}
.printer-feed-lip{
  width: 60px;
  height: 4px;
  background: #08090b;
  margin: 10px auto 0;
  border-radius: 2px;
  position: relative;
  border-bottom: 1.5px solid rgba(255,255,255,0.08);
  box-shadow: inset 0 2px 4px rgba(0,0,0,0.8);
}
/* Paper Receipt rolling out of printer */
.receipt-paper{
  position: absolute;
  width: 56px;
  background: #FAF8F5;
  left: 12px;
  top: 12px;
  max-height: 0px;
  height: 190px;
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  /* Transition handles height print slide-out and transform tear-off animations */
  transition: max-height 0.85s cubic-bezier(0.19, 1, 0.22, 1), transform 0.6s ease-out, opacity 0.5s ease;
  transform: translateZ(2px) rotateX(15deg);
  z-index: 10;
  color: #111;
  transform-origin: top center;
}
.receipt-paper.printed{
  max-height: 190px;
  cursor: pointer;
}
/* Visual perforated dashed rip line */
.receipt-paper.printed::before{
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, #ccc, #ccc 2px, transparent 2px, transparent 4px);
  opacity: 0.5;
}
/* Micro-interaction rip tag prompt */
.receipt-paper.printed::after{
  content: '✂️ RIP';
  position: absolute;
  top: 4px;
  left: 50%;
  transform: translateX(-50%) translateY(-2px);
  background: rgba(142, 35, 66, 0.85);
  color: var(--accent-gold);
  border: 0.5px solid var(--accent-gold);
  border-radius: 4px;
  font-family: var(--ff-primary);
  font-size: 5px;
  font-weight: 700;
  padding: 1px 3px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
  z-index: 20;
}
.receipt-paper.printed:hover::after{
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}
/* Mechanical print step jitter effect */
@keyframes print-jitter {
  0% { transform: translateZ(2px) rotateX(15deg) translateY(0); }
  10%, 30%, 50%, 70%, 90% { transform: translateZ(2px) rotateX(15deg) translateY(-0.8px); }
  20%, 40%, 60%, 80% { transform: translateZ(2px) rotateX(15deg) translateY(0.8px); }
  100% { transform: translateZ(2px) rotateX(15deg) translateY(0); }
}
.receipt-paper.printing {
  animation: print-jitter 0.85s steps(8) forwards;
}
/* Physics fall-off tear animation */
.receipt-paper.tearing {
  transition: transform 0.6s cubic-bezier(0.55, 0.055, 0.675, 0.19), opacity 0.55s ease !important;
  transform: translate3d(0, 80px, 20px) rotateX(55deg) rotateY(20deg) rotateZ(12deg) !important;
  opacity: 0 !important;
}
.receipt-content{
  width: 100%;
  padding: 10px 4px;
  text-align: center;
  font-family: Courier, monospace;
  font-size: 4.5px;
  line-height: 1.3;
}
.receipt-content h3{
  font-size: 5.5px;
  font-weight: 700;
  margin-bottom: 2px;
}
.receipt-subtitle{
  font-size: 4px;
  color: #555;
}
.receipt-meta{
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}
.receipt-items{
  text-align: left;
  margin: 4px 0;
  display: flex;
  flex-direction: column;
  gap: 1px;
}
.receipt-line{
  display: flex;
  justify-content: space-between;
  padding: 0 2px;
}
.receipt-total{
  display: flex;
  justify-content: space-between;
  font-weight: 700;
  padding: 0 2px;
  font-size: 5px;
}
.receipt-barcode{
  font-size: 7px;
  letter-spacing: 0.5px;
  margin-top: 5px;
}
.receipt-footer{
  margin-top: 4px;
  font-style: italic;
}
/* RTL overrides for POS simulator layout direction */
body.ar .app-body{
  grid-template-columns: 100px 1fr 45px;
}
body.ar .app-categories{
  border-right: 0;
  border-left: 1.5px solid #232A3B;
}
body.ar .app-sidebar{
  border-left: 0;
  border-right: 1.5px solid #232A3B;
}
@keyframes beacon{
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.3); opacity: 0.5; }
  100% { transform: scale(1); opacity: 1; }
}
/* embed adaptations (light page context) */
/* #pos3dHost hérite de la classe .device (ancien mockup navigateur) : sa
   perspective (1400px) imbriquée avec la perspective interne du viewport, son
   animation floaty et son ::before peuvent faire "disparaître" le terminal sur
   Safari/Firefox (preserve-3d imbriqué qui s'effondre). On les neutralise —
   le terminal a sa PROPRE perspective sur .pos-viewport. */
#pos3dHost{perspective:none !important;isolation:auto !important;animation:none !important;min-height:520px}
#pos3dHost::before{content:none !important}
.pos3d-scope{display:block;position:relative}
/* Reçu imprimé LISIBLE, flottant dans la vue (apparaît à l'encaissement) */
.pos3d-scope .pos-receipt-float{position:absolute;z-index:14;left:14px;top:112px;width:154px;background:#FEFCF8;color:#141414;font-family:'Courier New',Courier,monospace;font-size:9.5px;line-height:1.5;text-align:center;padding:16px 13px 14px;box-shadow:0 22px 46px rgba(0,0,0,.45);opacity:0;transform:translateY(22px) rotate(-1.5deg);pointer-events:none;transition:opacity .45s ease,transform .6s cubic-bezier(.2,1,.3,1)}
.pos3d-scope .pos-receipt-float.show{opacity:1;transform:translateY(0) rotate(-1.5deg)}
.pos3d-scope .pos-receipt-float::before,.pos3d-scope .pos-receipt-float::after{content:'';position:absolute;left:0;right:0;height:7px;background:linear-gradient(45deg,transparent 33%,#FEFCF8 33%) 0 0/8px 8px repeat-x,linear-gradient(-45deg,transparent 33%,#FEFCF8 33%) 0 0/8px 8px repeat-x}
.pos3d-scope .pos-receipt-float::before{top:-6px}
.pos3d-scope .pos-receipt-float::after{bottom:-6px;transform:scaleY(-1)}
.pos3d-scope .pos-receipt-float h3{font-size:12.5px;font-weight:800;margin:0 0 2px;letter-spacing:.4px;color:#111}
.pos3d-scope .pos-receipt-float p{margin:1px 0}
.pos3d-scope .pos-receipt-float .receipt-subtitle{font-size:8.5px;color:#666}
.pos3d-scope .pos-receipt-float .receipt-meta{display:flex;justify-content:space-between;font-size:8px;color:#555}
.pos3d-scope .pos-receipt-float .receipt-items{text-align:start;margin:2px 0}
.pos3d-scope .pos-receipt-float .receipt-line{display:flex;justify-content:space-between}
.pos3d-scope .pos-receipt-float .receipt-total{display:flex;justify-content:space-between;font-weight:800;font-size:11px;margin-top:1px;color:#111}
.pos3d-scope .pos-receipt-float .receipt-barcode{letter-spacing:1px;font-size:13px;margin:4px 0 2px;color:#111}
.pos3d-scope .pos-receipt-float .receipt-footer{font-size:8px;color:#777}
@media(max-width:640px){.pos3d-scope .pos-receipt-float{left:2px;top:64px;width:124px;font-size:8px;padding:12px 9px}}
.pos3d-scope .pos-3d-container{touch-action:none;user-select:none;-webkit-user-select:none}
.pos3d-controls{display:flex;align-items:center;justify-content:center;gap:14px;margin-top:14px}
.pos3d-reset{border:1px solid var(--line,#ECEAE6);background:#fff;color:#54514B;border-radius:30px;padding:7px 14px;font-size:12.5px;font-weight:600;cursor:pointer;font-family:inherit;transition:.2s}
.pos3d-reset:hover{border-color:rgba(142,35,66,.45);color:#8E2342}
.pos3d-hint{font-size:12px;color:#9AA0A8}
/* mobile : contrôles du terminal aérés (wrap + centrage) */
@media(max-width:640px){
  .pos3d-controls{flex-wrap:wrap;gap:8px;padding:0 10px}
  .pos3d-hint{flex-basis:100%;text-align:center}
}
