/* ========== DIDAC India 2025 floating FAB + toast ========== */

#didac-fab { position: relative; }

/* Keep FAB & Toast above your overlay */
#didac-fab .didac__fab,
#didac-fab .didac__toast {
  z-index: 2147483660;   /* higher than overlay */
  position: fixed;       /* ensure fixed stacking context */
}

/* ---------- Floating Circular Button (FAB) ---------- */
/* Works for <button> with a quick reset */
#didac-fab .didac__fab {
  right: 20px;
  bottom: 24px;

  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: radial-gradient(ellipse at 40% 35%, #101010, #000);
  color: #fff;
  display: grid;
  place-items: center;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(0,0,0,0.35),
    inset 0 0 0 1px rgba(255,255,255,0.08);
  isolation: isolate;
  will-change: transform, box-shadow;

  /* button reset */
  border: 0;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

#didac-fab .didac__fab-text {
  font: 600 12px/1.1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: .06em;
  opacity: .92;
}

/* Subtle glow + pulse ring */
#didac-fab .didac__fab::after {
  content: "";
  position: absolute; inset: 0;
  border-radius: 50%;
  box-shadow: 0 0 22px 6px rgba(0, 180, 255, 0.35);
  filter: blur(1px);
  z-index: -1;
  animation: didacGlow 2.2s ease-in-out infinite;
}

#didac-fab .didac__fab-ring {
  position: absolute; inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 180, 255, 0.25);
  animation: didacPulse 2.2s ease-out infinite;
  pointer-events: none;
}

@keyframes didacGlow {
  0%, 100% { box-shadow: 0 0 18px 5px rgba(0,180,255,0.30); }
  50%      { box-shadow: 0 0 26px 9px rgba(0,180,255,0.45); }
}

@keyframes didacPulse {
  0%   { transform: scale(0.92); opacity: 0.6; }
  70%  { transform: scale(1.08); opacity: 0.1; }
  100% { transform: scale(1.10); opacity: 0; }
}

/* Hover / focus states */
#didac-fab .didac__fab:hover { transform: translateY(-1px); }
#didac-fab .didac__fab:active { transform: translateY(0); }
#didac-fab .didac__fab:focus-visible { outline: 2px solid #00b4ff; outline-offset: 3px; }

/* ---------- Toast ---------- */
#didac-fab .didac__toast {
  right: 96px;   /* sits left of the button */
  bottom: 28px;

  width: clamp(260px, 38vw, 420px);
  max-width: 90vw;
  padding: 14px 16px 12px 16px;
  border-radius: 14px;
  background: rgba(10,10,10,0.96);
  color: #e9f6ff;
  border: 1px solid rgba(255,255,255,0.08);
  backdrop-filter: blur(6px);
  box-shadow:
    0 12px 40px rgba(0,0,0,0.40),
    0 0 0 1px rgba(0,180,255,0.10) inset;
  transform-origin: bottom right;
  opacity: 0;
  pointer-events: none;
  transform: translateY(6px) scale(0.98);
  transition: transform .28s ease, opacity .28s ease;
}

#didac-fab .didac__toast.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

/* Fly-into-fab animation on hide */
#didac-fab .didac__toast.is-hiding {
  transition: transform .42s cubic-bezier(.22,.84,.36,1), opacity .42s ease;
  transform: translate(var(--dx, 0px), var(--dy, 0px)) scale(.2);
  opacity: 0;
  pointer-events: none;
}

#didac-fab .didac__toast-title {
  margin: 0 26px 6px 0;
  font: 700 15px/1.25 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #fff;
}
#didac-fab .didac__toast strong { color: #9fe1ff; font-weight: 700; }

#didac-fab .didac__toast-lines {
  display: grid;
  gap: 4px;
  margin: 0 0 10px 0;
  font: 400 13px/1.35 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #cfefff;
}

#didac-fab .didac__toast-cta {
  display: inline-block;
  font: 600 13px/1 system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: #001016;
  background: linear-gradient(90deg, #66d3ff, #00b4ff);
  padding: 9px 12px;
  border-radius: 10px;
  text-decoration: none;
  box-shadow: 0 6px 18px rgba(0,180,255,0.28);
}
#didac-fab .didac__toast-cta:hover { filter: brightness(1.07); }
#didac-fab .didac__toast-cta:active { filter: brightness(0.96); }

/* Close button */
#didac-fab .didac__toast-close {
  position: absolute; top: 8px; right: 8px;
  width: 28px; height: 28px; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.12);
  background: rgba(255,255,255,0.06);
  color: #fff;
  font: 700 16px/26px ui-sans-serif, system-ui;
  text-align: center;
  cursor: pointer;
}

/* ---------- Responsive tweaks ---------- */
@media (max-width: 640px){
  #didac-fab .didac__fab {
    right: 14px;
    bottom: 18px;
    width: 58px; height: 58px;
  }
  #didac-fab .didac__toast {
    right: 12px;
    bottom: 92px;
    width: min(92vw, 360px);
  }
}

@media (min-width: 1200px){
  #didac-fab .didac__fab { right: 28px; bottom: 28px; }
}
























/* =========================
   Aniston Event Overlay Ticker (bottom overlay) + Compact Inline
   ========================= */
:root{
  /* ---------- Shared controls ---------- */
  --aniston-ticker-speed: 36s;      /* ? SPEED (lower = faster; e.g. 28s/24s) */
  --aniston-ticker-font: ui-sans-serif, system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans";
  --aniston-ticker-text: #000;

  /* ---------- Overlay-only controls ---------- */
  --aniston-ticker-height-lg: 104px; /* ? overlay ticker height */
  --aniston-overlay-img-h: 120px;    /* ? overlay product image height */
  --aniston-overlay-gap: 36px;       /* ? overlay spacing between items (JS may raise this) */
  --aniston-overlay-band-height: 40vh;      /* ? glass band height at bottom */
  --aniston-overlay-blur: 5px;              /* ? blur strength */
  --aniston-overlay-bg: rgba(255,255,255,0.28); /* ? tint/opacity */

  /* ---------- Compact inline controls ---------- */
  --aniston-ticker-height-md: 64px;  /* ? inline ticker height */
  --aniston-inline-img-h: 54px;      /* ? inline product image height */
  --aniston-inline-gap: 24px;        /* ? inline spacing between items */

  /* (Used only in inline text bullets) */
  --aniston-ticker-accent: #0096ff;
}

/* ---------- Overlay holder (covers full screen) ---------- */
.aniston-ticker__overlay{
  position: fixed;
  inset: 0;
  z-index: 2147483500;
  pointer-events: none;      /* page stays clickable except dock contents */
  background: transparent;
}

/* one bottom “transparent feel” band (BEHIND content) */
.aniston-ticker__overlay::after{
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  height: var(--aniston-overlay-band-height);
  width: 100%;
  background: var(--aniston-overlay-bg);
  backdrop-filter: blur(var(--aniston-overlay-blur)) saturate(140%);
  -webkit-backdrop-filter: blur(var(--aniston-overlay-blur)) saturate(140%);
  pointer-events: none;
  z-index: 0; /* behind dock + bar */
}

/* DOCK: sits exactly over the band and centers the block within it */
.aniston-ticker__dock{
  position: absolute;
  left: 0; right: 0;
  bottom: 0;
  height: var(--aniston-overlay-band-height);
  display: grid;
  grid-template-rows: auto 1fr auto; /* header / ticker / footer */
  align-items: center;
  justify-items: center;
  padding: 16px;
  pointer-events: none;  /* only specific children enabled below */
  z-index: 1;
}

/* ---------- Make overlay UI elements clickable ---------- */
.aniston-ticker__dock .aniston-ticker__bar,
.aniston-ticker__dock .aniston-ticker__close,
.aniston-ticker__dock .aniston-ticker__overlay-head,
.aniston-ticker__dock .aniston-ticker__overlay-foot{
  pointer-events: auto;   /* ? important: receives clicks despite overlay root being none */
}

/* ---------- Shared header & footer styles (overlay and inline) ---------- */
.aniston-ticker__overlay-head,
.aniston-ticker__overlay-foot,
.aniston-inline__head,
.aniston-inline__foot{
  font: 700 16px/1.2 var(--aniston-ticker-font);
  color: var(--aniston-ticker-text);
  text-align: center;
  letter-spacing: .2px;
  padding: 4px 10px;
  max-width: min(1100px, 92vw);
}

.aniston-ticker__overlay-head,
.aniston-inline__head{ margin-bottom: 10px; }
.aniston-ticker__overlay-foot,
.aniston-inline__foot{ margin-top: 10px; font-weight: 600; }

/* ---------- Inline dock (compact variant after overlay collapses) ---------- */
.aniston-ticker__inline{ position:relative; }
.aniston-inline{
  display: grid;
  grid-template-rows: auto 1fr auto;
  align-items: center;
  justify-items: center;
  gap: 6px;
  padding: 8px 10px;
}

/* ---------- Ticker Bar (shared) ---------- */
.aniston-ticker__bar{
  position: relative;
  height: var(--aniston-ticker-height-md);  /* default inline height */
  display: flex;
  align-items: center;
  overflow: hidden;
  background: transparent;
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
          mask-image: linear-gradient(to right, transparent 0, #000 36px, #000 calc(100% - 36px), transparent 100%);
  border-radius: 10px;
}

/* Overlay bar is taller */
.aniston-ticker__bar.is-large{ height: var(--aniston-ticker-height-lg); }

/* Hide dots & labels for overlay images */
.aniston-ticker__bar.is-overlay .aniston-ticker__dot,
.aniston-ticker__bar.is-overlay .aniston-ticker__label{ display: none !important; }

/* Moving track (Right -> Left) */
.aniston-ticker__track{
  display:flex; align-items:center;
  gap: var(--aniston-inline-gap);    /* default = inline gap; overlay overrides below */
  white-space:nowrap;
  will-change:transform;
  animation: aniston-scroll-rtl var(--aniston-ticker-speed) linear infinite;
}
@keyframes aniston-scroll-rtl{
  from{ transform: translateX(0); }
  to  { transform: translateX(-50%); } /* two equal bands ? shift by one band width */
}

/* Overlay-only gap override + overlay image height */
.aniston-ticker__bar.is-overlay .aniston-ticker__track{ gap: var(--aniston-overlay-gap); }
.aniston-ticker__bar.is-overlay .aniston-ticker__img{ height: var(--aniston-overlay-img-h); }

/* Inline image height */
.aniston-ticker__img{ height: var(--aniston-inline-img-h); width:auto; object-fit:contain; filter:none; }

/* Band wrapper uses inherited gap to keep both bands identical */
.aniston-ticker__band{ display:inline-flex; align-items:center; gap:inherit; }

/* Inline-only dot/label (kept for your inline text+product mix if needed later) */
.aniston-ticker__dot{ width:9px; height:9px; border-radius:50%; background: var(--aniston-ticker-accent); }
.aniston-ticker__item{ display:inline-flex; align-items:center; gap:12px; font:600 16px/1.1 var(--aniston-ticker-font); color:var(--aniston-ticker-text); }
.aniston-ticker__label{ font:600 15px/1.1 var(--aniston-ticker-font); color:var(--aniston-ticker-text); }

/* Close (overlay only) — stack above the bar and be clickable */
.aniston-ticker__close{
  position: absolute;
  right: 16px;
  top: 12px;
  background: rgba(255,255,255,0.9);
  color:#000;
  border:1px solid rgba(0,0,0,0.25);
  border-radius:999px;
  font:600 12px/1 var(--aniston-ticker-font);
  padding:9px 11px;
  cursor:pointer;
  z-index: 5;             /* ? ensure it sits above the ticker bar */
  pointer-events: auto;   /* ? ensure it receives clicks */
}

/* Fade-out utility */
.aniston-hidden{ opacity:0; visibility:hidden; pointer-events:none; transition: opacity 220ms ease, visibility 220ms ease; }

/* A11y */
@media (prefers-reduced-motion: reduce){
  .aniston-ticker__track{ animation:none; }
}

/* Responsive */
@media (max-width:1024px){
  .aniston-ticker__item{ font-size:15px; }
  .aniston-ticker__label{ font-size:14px; }
}
@media (max-width:768px){
  .aniston-ticker__item{ font-size:14px; }
  .aniston-ticker__label{ font-size:13px; }
  .aniston-ticker__dot{ width:8px; height:8px; }
}



.aniston-ticker__bar.is-overlay .aniston-ticker__track {
  gap: 20px !important;
}
