/* Tačke na nameštaju u realističnom ambijentu (ambijent-tacke.js): beli kružić sa talasom iznad slike (sloj u pozornici) i kartica proizvoda (u main):
   desktop = mala plutajuća kartica pored tačke, telefon = mali donji list iznad panela dekora. Tokeni boja i .sr su iz podovi.css; tema prati sistem. */
.ab-dots { position: absolute; inset: 0; z-index: 2; overflow: hidden; pointer-events: none; }

/* tačka: dugme 44 x 44 (dodir), vidljivo je jezgro 16 px sa providnim oreolom i talas koji se širi */
.ab-dot { position: absolute; left: 0; top: 0; width: 44px; height: 44px; margin: -22px 0 0 -22px; padding: 0; border: 0; border-radius: 50%; background: none; cursor: pointer; pointer-events: auto; -webkit-tap-highlight-color: transparent; }
.ab-dot::before, .ab-dot::after { content: ''; position: absolute; left: 50%; top: 50%; width: 16px; height: 16px; margin: -8px 0 0 -8px; border-radius: 50%; }
.ab-dot::before { background: rgba(255, 255, 255, .7); animation: ab-dot-wave 2.4s cubic-bezier(.25, .6, .3, 1) infinite; }
.ab-dot::after { background: #fff; box-shadow: 0 0 0 5px rgba(255, 255, 255, .4), 0 2px 10px rgba(0, 0, 0, .35); transition: transform .2s, box-shadow .2s; }
.ab-dot[aria-expanded="true"]::before { animation: none; opacity: 0; }
.ab-dot[aria-expanded="true"]::after { transform: scale(1.15); box-shadow: 0 0 0 5px rgba(255, 255, 255, .92), 0 0 0 6.5px rgba(16, 21, 26, .28), 0 2px 12px rgba(0, 0, 0, .4); }
.ab-dot:focus-visible { outline: 3px solid var(--accent); outline-offset: -4px; border-radius: 50%; }
@media (hover: hover) { .ab-dot:hover::after { transform: scale(1.15); } }
@keyframes ab-dot-wave { 0% { transform: scale(1); opacity: .9; } 70%, 100% { transform: scale(2.9); opacity: 0; } }

/* kartica proizvoda */
.ab-pcard { position: absolute; z-index: 7; left: 0; top: 0; width: 300px; max-width: calc(100% - 24px); padding: 16px 16px 14px; border: 1px solid var(--glass-line); border-radius: 22px; background: var(--glass); -webkit-backdrop-filter: blur(24px) saturate(1.6); backdrop-filter: blur(24px) saturate(1.6); box-shadow: var(--shadow-2); color: var(--ink); outline: none; animation: ab-pcard-in .28s cubic-bezier(.2, .8, .2, 1); }
@keyframes ab-pcard-in { from { opacity: 0; transform: translateY(6px) scale(.98); } }
.ab-pcard__x { position: absolute; top: 10px; right: 10px; display: grid; place-items: center; width: 32px; height: 32px; padding: 0; border: 0; border-radius: 10px; background: transparent; color: var(--muted); transition: background-color .2s, color .2s; }
.ab-pcard__x:hover { background: var(--surface-2); color: var(--ink); }
.ab-pcard__x .ico { width: 18px; height: 18px; }
.ab-pcard__head { padding-right: 36px; }
/* logo (PNG je kvadratni sa providnom pozadinom, pa se kadrira kao u enterijer.css; bela pločica da boje ostanu iste i u tamnoj temi) */
.ab-pcard__logo { display: block; width: 116px; height: 38px; padding: 5px 10px; border-radius: 10px; background-color: #fff; background-origin: content-box; background-position: center 47%; background-size: 111% auto; background-repeat: no-repeat; box-shadow: inset 0 0 0 1px rgba(16, 21, 26, .08); }
.ab-pcard__brand { margin: 0; font-size: 11px; font-weight: 800; letter-spacing: .16em; text-transform: uppercase; color: var(--accent-ink); }
.ab-pcard__name { margin: 10px 0 0; font-size: 17px; line-height: 1.2; letter-spacing: -.02em; }
.ab-pcard__spec { display: grid; gap: 6px; margin: 12px 0 0; }
.ab-pcard__spec div { display: grid; grid-template-columns: 74px minmax(0, 1fr); gap: 10px; align-items: baseline; }
.ab-pcard__spec dt, .ab-pcard__lbl { margin: 0; font-size: 9.5px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); }
.ab-pcard__spec dd { margin: 0; font-size: 13px; font-weight: 700; line-height: 1.35; font-variant-numeric: tabular-nums; }
.ab-pcard__colors { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin-top: 12px; }
.ab-pcard__lbl { flex: 0 0 74px; }
.ab-pcard__colors ul { display: flex; gap: 9px; margin: 0; padding: 0; list-style: none; }
.ab-pcard__colors li { position: relative; display: block; }
.ab-pcard__colors i { display: block; width: 20px; height: 20px; border-radius: 50%; background: var(--c); box-shadow: inset 0 0 0 1px rgba(0, 0, 0, .18); }
.ab-pcard__colors li.on i { outline: 2px solid var(--ink); outline-offset: 2px; }
.ab-pcard__cur { font-size: 12px; font-weight: 700; color: var(--muted); }
.ab-pcard__opis { margin: 10px 0 0; font-size: 12.5px; line-height: 1.5; color: var(--muted); }
.ab-pcard__link { display: inline-flex; align-items: center; gap: 6px; margin-top: 12px; font-size: 13px; font-weight: 700; color: var(--accent-ink); text-decoration: none; }
.ab-pcard__link .ico { width: 16px; height: 16px; }
.ab-pcard__link:hover { text-decoration: underline; }

/* telefon: mali donji list u delu sa slikom, odmah iznad panela dekora (ne prekriva ga) */
@media (max-width: 760px) {
  .ab-pcard { top: auto; left: 10px; right: 10px; bottom: calc(var(--sheet, 320px) + 10px); width: auto; max-width: none; max-height: calc(100% - var(--sheet, 320px) - var(--top) - var(--bar-h) - 24px); overflow: auto; padding: 12px 14px; border-radius: 18px; overscroll-behavior: contain; }
  .ab-pcard__x { top: 7px; right: 7px; }
  .ab-pcard__head { display: flex; align-items: center; gap: 10px; padding-right: 34px; }
  .ab-pcard__logo { flex: none; width: 88px; height: 30px; padding: 4px 8px; border-radius: 8px; }
  .ab-pcard__name { margin: 0; font-size: 15px; }
  .ab-pcard__spec { gap: 3px; margin-top: 8px; }
  .ab-pcard__spec dd { font-size: 12.5px; }
  .ab-pcard__colors { margin-top: 8px; }
  .ab-pcard__colors i { width: 18px; height: 18px; }
  .ab-pcard__opis { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin-top: 6px; font-size: 12px; }
  .ab-pcard__link { margin-top: 6px; }
}
@media (prefers-reduced-motion: reduce) {
  .ab-dot::before { animation: none; opacity: 0; }
  .ab-dot::after, .ab-pcard__x { transition: none; }
  .ab-pcard { animation: none; }
}
