/* =========================================================
   GEMOBILE - GLOBALNY PANEL OPINII ALLEGRO
   ========================================================= */

/* Przycisk pływający - większy, po lewej */

.gemobile-allegro-floating-tab{
  position:fixed;
  left:24px;
  bottom:24px;
  z-index:99990;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  min-height:58px;
  padding:0 24px;
  border:0;
  border-radius:999px;
  background:#111;
  color:#fff;
  font-size:16px;
  font-weight:800;
  line-height:1;
  cursor:pointer;
  box-shadow:0 14px 38px rgba(0,0,0,.24);
  writing-mode:horizontal-tb;
  text-orientation:mixed;
  transition:transform .22s ease, background .22s ease, box-shadow .22s ease;
}

.gemobile-allegro-floating-tab span{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:30px;
  height:30px;
  border-radius:50%;
  background:#f3dfad;
  color:#111;
  font-size:17px;
  line-height:1;
  writing-mode:horizontal-tb;
}

.gemobile-allegro-floating-tab:hover{
  background:#222;
  transform:translateY(-3px);
  box-shadow:0 18px 46px rgba(0,0,0,.28);
}

/* Overlay */

.gemobile-allegro-panel-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.45);
  opacity:0;
  visibility:hidden;
  z-index:99991;
  transition:.25s ease;
}

.gemobile-allegro-panel-overlay.active{
  opacity:1;
  visibility:visible;
}

/* Panel boczny */

.gemobile-allegro-side-panel{
  position:fixed;
  top:0;
  right:-460px;
  width:430px;
  max-width:92vw;
  height:100%;
  background:#fff;
  z-index:99992;
  box-shadow:-20px 0 48px rgba(0,0,0,.20);
  transition:.3s ease;
  overflow-y:auto;
}

.gemobile-allegro-side-panel.open{
  right:0;
}

body.gemobile-allegro-panel-open{
  overflow:hidden;
}

/* Header panelu */

.gemobile-allegro-side-header{
  position:sticky;
  top:0;
  z-index:2;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:14px;
  padding:22px;
  border-bottom:1px solid #eee;
  background:#fff;
}

.gemobile-allegro-side-eyebrow{
  display:inline-flex;
  margin-bottom:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#f3dfad;
  color:#3a2a10;
  font-size:11px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.06em;
}

.gemobile-allegro-side-header h3{
  margin:0;
  font-size:25px;
  line-height:1.12;
  font-weight:800;
  color:#111;
  letter-spacing:-.02em;
}

.gemobile-allegro-side-close{
  width:34px;
  height:34px;
  border:0;
  border-radius:50%;
  background:#f4f4f4;
  color:#111;
  font-size:26px;
  line-height:1;
  cursor:pointer;
  flex-shrink:0;
  display:flex;
  align-items:center;
  justify-content:center;
  transition:.2s ease;
}

.gemobile-allegro-side-close:hover{
  background:#e9e9e9;
}

/* Zawartość panelu */

.gemobile-allegro-side-content{
  padding:22px;
  background:linear-gradient(180deg,#fffaf0 0%,#fff 260px);
}

.gemobile-allegro-side-intro{
  margin:0 0 18px;
  font-size:15px;
  line-height:1.6;
  color:#555;
}

/* Statystyki */

.gemobile-allegro-side-stats{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:10px;
  margin-bottom:18px;
}

.gemobile-allegro-side-stat{
  padding:15px;
  border-radius:18px;
  background:rgba(255,255,255,.88);
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 8px 22px rgba(0,0,0,.04);
}

.gemobile-allegro-side-stat strong{
  display:block;
  margin-bottom:5px;
  font-size:18px;
  line-height:1.15;
  font-weight:800;
  color:#111;
}

.gemobile-allegro-side-stat span{
  display:block;
  font-size:12px;
  line-height:1.35;
  color:#666;
}

/* Opinie */

.gemobile-allegro-side-reviews{
  display:grid;
  gap:12px;
}

.gemobile-allegro-side-review{
  padding:18px;
  border-radius:20px;
  background:#fff;
  border:1px solid rgba(0,0,0,.06);
  box-shadow:0 10px 26px rgba(0,0,0,.045);
}

.gemobile-allegro-side-stars{
  margin-bottom:10px;
  color:#d6a400;
  font-size:17px;
  letter-spacing:1px;
  line-height:1;
}

.gemobile-allegro-side-review p{
  margin:0 0 13px;
  font-size:14px;
  line-height:1.55;
  color:#222;
}

.gemobile-allegro-side-author{
  font-size:13px;
  font-weight:800;
  color:#111;
}

.gemobile-allegro-side-author span{
  display:block;
  margin-top:3px;
  font-size:12px;
  font-weight:600;
  color:#777;
}

/* Link do Allegro */

.gemobile-allegro-side-link{
  display:flex;
  align-items:center;
  justify-content:center;
  min-height:44px;
  margin-top:18px;
  padding:11px 16px;
  border-radius:999px;
  background:#111;
  color:#fff!important;
  text-decoration:none!important;
  font-size:14px;
  font-weight:800;
  transition:.2s ease;
}

.gemobile-allegro-side-link:hover{
  background:#222;
  transform:translateY(-1px);
}

/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width:768px){

  .gemobile-allegro-floating-tab{
    left:14px;
    right:auto;
    bottom:16px;
    min-height:50px;
    padding:0 18px;
    font-size:14px;
  }

  .gemobile-allegro-floating-tab span{
    width:26px;
    height:26px;
    font-size:15px;
  }

  .gemobile-allegro-floating-tab:hover{
    transform:translateY(-1px);
  }

  .gemobile-allegro-side-panel{
    right:-100%;
    width:100%;
    max-width:100%;
  }

  .gemobile-allegro-side-header{
    padding:18px;
  }

  .gemobile-allegro-side-content{
    padding:18px;
  }

  .gemobile-allegro-side-header h3{
    font-size:22px;
  }

  .gemobile-allegro-side-stats{
    grid-template-columns:1fr;
  }

  .gemobile-allegro-side-stat{
    padding:14px;
  }

  .gemobile-allegro-side-review{
    padding:16px;
  }

  .gemobile-allegro-side-link{
    min-height:42px;
    font-size:13px;
  }
}