/* WWA Virtual Showroom — ngjyrat e "Human Touch" (krem / ink) */
.wwa-vs-page { overflow: hidden; }
.wwa-vs {
  --ink: #1a1815; --cream: #f4efe7; --line: #e2d9c9; --muted: #6b6457;
  position: fixed; inset: 0; z-index: 99990; background: var(--cream);
  font-family: Jost, "Helvetica Neue", Arial, sans-serif; color: var(--ink);
  user-select: none; -webkit-user-select: none; touch-action: none;
}
.wwa-vs canvas { display: block; width: 100%; height: 100%; cursor: grab; }
.wwa-vs canvas.is-dragging { cursor: grabbing; }

.wwa-vs-loading { position: absolute; inset: 0; z-index: 30; display: flex; align-items: center; justify-content: center; background: var(--cream); transition: opacity .6s; }
.wwa-vs-loading.is-hidden { opacity: 0; pointer-events: none; }
.wwa-vs-loading-in { text-align: center; padding: 0 24px; }
.wwa-vs-brand { font-family: "Cormorant Garamond", Georgia, serif; font-size: clamp(28px, 5vw, 44px); font-weight: 300; letter-spacing: .12em; text-transform: uppercase; }
.wwa-vs-loading-t { margin: 10px 0 22px; color: var(--muted); font-size: 15px; }
.wwa-vs-bar { width: 180px; height: 2px; margin: 0 auto; background: var(--line); overflow: hidden; }
.wwa-vs-bar span { display: block; width: 40%; height: 100%; background: var(--ink); animation: wwa-vs-bar 1.2s ease-in-out infinite; }
@keyframes wwa-vs-bar { from { transform: translateX(-100%); } to { transform: translateX(250%); } }
.wwa-vs-msg { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; }

.wwa-vs-top { position: absolute; top: 0; left: 0; right: 0; z-index: 10; display: flex; align-items: center; gap: 16px; padding: 12px 16px; background: linear-gradient(rgba(244,239,231,.95), rgba(244,239,231,.75) 70%, rgba(244,239,231,0)); }
.wwa-vs-title { display: flex; flex-direction: column; line-height: 1.1; white-space: nowrap; }
.wwa-vs-title strong { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 22px; letter-spacing: .04em; }
.wwa-vs-title span { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wwa-vs-zones { display: flex; gap: 6px; flex: 1; justify-content: center; flex-wrap: wrap; }
.wwa-vs-zone { border: 1px solid var(--line); background: rgba(255,255,255,.8); color: var(--ink); padding: 8px 14px; font: 500 13px/1 Jost, Arial, sans-serif; cursor: pointer; border-radius: 999px; transition: background .2s, border-color .2s; }
.wwa-vs-zone:hover { background: #fff; border-color: var(--ink); }
.wwa-vs-actions { display: flex; align-items: center; gap: 8px; }
.wwa-vs-cart { display: inline-flex; align-items: center; gap: 8px; padding: 8px 14px; background: var(--ink); color: #fff !important; text-decoration: none !important; font-size: 13px; border-radius: 999px; }
.wwa-vs-cart b { background: #fff; color: var(--ink); border-radius: 999px; min-width: 20px; height: 20px; display: inline-flex; align-items: center; justify-content: center; font-size: 11px; padding: 0 6px; }
.wwa-vs-icon { width: 36px; height: 36px; display: inline-flex; align-items: center; justify-content: center; border: 1px solid var(--line); background: rgba(255,255,255,.85); color: var(--ink) !important; text-decoration: none !important; border-radius: 50%; cursor: pointer; font-size: 15px; padding: 0; }

.wwa-vs-tip { position: absolute; z-index: 9; pointer-events: none; background: var(--ink); color: #fff; font-size: 13px; padding: 6px 10px; border-radius: 4px; opacity: 0; transition: opacity .15s; white-space: nowrap; }
.wwa-vs-tip.is-on { opacity: 1; }
.wwa-vs-progress { position: absolute; left: 16px; bottom: 16px; z-index: 9; font-size: 12px; color: var(--muted); background: rgba(255,255,255,.85); padding: 6px 10px; border-radius: 999px; opacity: 0; transition: opacity .3s; }
.wwa-vs-progress.is-on { opacity: 1; }

.wwa-vs-card { position: absolute; z-index: 12; top: 76px; right: 16px; width: 320px; max-height: calc(100% - 92px); overflow: auto; background: #fff; border: 1px solid var(--line); box-shadow: 0 18px 50px rgba(26,24,21,.16); padding: 18px; transform: translateX(120%); transition: transform .35s ease; }
.wwa-vs-card.is-on { transform: none; }
.wwa-vs-card img { width: 100%; aspect-ratio: 1; object-fit: cover; background: var(--cream); margin-bottom: 12px; }
.wwa-vs-card h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 24px; line-height: 1.15; margin: 4px 0 6px; color: var(--ink); }
.wwa-vs-card-zone { font-size: 11px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.wwa-vs-card-price { font-size: 20px; font-weight: 600; margin-bottom: 8px; }
.wwa-vs-card-note { font-size: 13px; color: var(--muted); margin: 0 0 14px; }
.wwa-vs-card-btns { display: flex; flex-direction: column; gap: 8px; }
.wwa-vs-card-x { position: absolute; top: 8px; right: 8px; width: 32px; height: 32px; border: 0; background: rgba(255,255,255,.9); border-radius: 50%; cursor: pointer; font-size: 14px; color: var(--ink); }
.wwa-vs-btn { display: block; width: 100%; text-align: center; padding: 13px 16px; background: var(--ink); color: #fff !important; border: 1px solid var(--ink); font: 500 14px/1 Jost, Arial, sans-serif; letter-spacing: .04em; text-decoration: none !important; cursor: pointer; border-radius: 0; }
.wwa-vs-btn:disabled { opacity: .7; cursor: default; }
.wwa-vs-btn-line { background: #fff; color: var(--ink) !important; }

.wwa-vs-toast { position: absolute; z-index: 15; left: 50%; bottom: 28px; transform: translate(-50%, 20px); background: var(--ink); color: #fff; padding: 12px 18px; font-size: 14px; border-radius: 4px; opacity: 0; transition: opacity .25s, transform .25s; pointer-events: none; max-width: calc(100% - 32px); }
.wwa-vs-toast.is-on { opacity: 1; transform: translate(-50%, 0); }

.wwa-vs-help { position: absolute; inset: 0; z-index: 20; display: flex; align-items: center; justify-content: center; background: rgba(26,24,21,.35); transition: opacity .3s; }
.wwa-vs-help.is-hidden { opacity: 0; pointer-events: none; }
.wwa-vs-help-in { background: #fff; padding: 28px; max-width: 380px; width: calc(100% - 32px); }
.wwa-vs-help-in h3 { font-family: "Cormorant Garamond", Georgia, serif; font-weight: 400; font-size: 28px; margin: 0 0 12px; color: var(--ink); }
.wwa-vs-help-in ul { margin: 0 0 20px; padding-left: 18px; color: #3a352d; font-size: 15px; line-height: 1.6; }

.wwa-vs-joy { position: absolute; left: 22px; bottom: 26px; z-index: 11; width: 110px; height: 110px; border-radius: 50%; background: rgba(255,255,255,.55); border: 1px solid rgba(26,24,21,.15); display: flex; align-items: center; justify-content: center; touch-action: none; }
.wwa-vs-knob { width: 46px; height: 46px; border-radius: 50%; background: var(--ink); opacity: .85; transition: transform .05s; }

@media (max-width: 760px) {
  .wwa-vs-top { flex-wrap: wrap; gap: 8px; padding: 10px 12px; }
  .wwa-vs-title strong { font-size: 18px; }
  .wwa-vs-zones { order: 3; flex-basis: 100%; justify-content: flex-start; flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; }
  .wwa-vs-zone { white-space: nowrap; padding: 7px 12px; }
  .wwa-vs-actions { margin-left: auto; }
  .wwa-vs-cart span { display: none; }
  .wwa-vs-card { top: auto; bottom: 0; right: 0; left: 0; width: auto; max-height: 72%; transform: translateY(110%); border-left: 0; border-right: 0; }
  .wwa-vs-card img { aspect-ratio: 16/10; }
  .wwa-vs-progress { left: auto; right: 12px; bottom: 150px; }
}
