/* ASG Conversion Kit v1.0.0: mobile action bar */
.asgck-bar {
  box-sizing: border-box;
  position: fixed;
  left: 10px;
  right: 10px;
  bottom: calc(10px + env(safe-area-inset-bottom, 0px));
  z-index: 99990;
  display: none;
  grid-template-columns: 1fr 1.35fr 1fr;
  gap: 6px;
  padding: 6px;
  border-radius: 20px;
  background: rgba(18, 40, 64, .94);
  -webkit-backdrop-filter: saturate(1.4) blur(14px);
  backdrop-filter: saturate(1.4) blur(14px);
  box-shadow: 0 14px 34px rgba(8, 20, 34, .32), 0 0 0 1px rgba(255, 255, 255, .07) inset;
  font-family: inherit;
  transform: translateY(calc(100% + 24px));
  opacity: 0;
  transition: transform .32s cubic-bezier(.2, .8, .2, 1), opacity .2s ease;
}
.asgck-bar *, .asgck-bar *::before, .asgck-bar *::after { box-sizing: border-box; }
.asgck-bar--two { grid-template-columns: 1fr 1.35fr; }
.asgck-bar.is-on { transform: translateY(0); opacity: 1; }

html body .asgck-bar .asgck-bar__btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 52px;
  padding: 7px 8px;
  border-radius: 14px;
  color: #fff !important;
  -webkit-text-fill-color: #fff !important;
  text-decoration: none !important;
  background: rgba(255, 255, 255, .08);
  line-height: 1.1;
  -webkit-tap-highlight-color: transparent;
  transition: background-color .15s ease, transform .15s ease;
}
html body .asgck-bar .asgck-bar__btn:active { transform: scale(.97); }
html body .asgck-bar .asgck-bar__btn:focus-visible { outline: 3px solid #7ec8f4; outline-offset: 2px; }
html body .asgck-bar .asgck-bar__btn--price,
html body .asgck-bar .asgck-bar__btn--primary { background: #ff654f; box-shadow: 0 6px 16px rgba(255, 101, 79, .35); }
html body .asgck-bar .asgck-bar__btn--price:hover,
html body .asgck-bar .asgck-bar__btn--primary:hover { background: #ed563f; }

.asgck-bar svg { width: 20px; height: 20px; flex: 0 0 20px; fill: currentColor; }
.asgck-bar__lbl {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  font-size: 15px;
  font-weight: 800;
  letter-spacing: -.01em;
  white-space: nowrap;
}
.asgck-bar__st {
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 3px;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0;
  color: rgba(255, 255, 255, .78);
  -webkit-text-fill-color: rgba(255, 255, 255, .78);
}
.asgck-bar__st--open::before,
.asgck-bar__st--closed::before {
  content: "";
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #4ade80;
  box-shadow: 0 0 0 3px rgba(74, 222, 128, .22);
}
.asgck-bar__st--closed::before { background: #fbbf24; box-shadow: 0 0 0 3px rgba(251, 191, 36, .2); }
.asgck-bar__btn--price .asgck-bar__st,
.asgck-bar__btn--primary .asgck-bar__st { color: rgba(255, 255, 255, .92); -webkit-text-fill-color: rgba(255, 255, 255, .92); }

@media (max-width: 1023px) {
  .asgck-bar { display: grid; }
  html.asgck-bar-on body { padding-bottom: calc(86px + env(safe-area-inset-bottom, 0px)); }
}
@media (max-width: 374px) {
  .asgck-bar { left: 6px; right: 6px; gap: 4px; padding: 5px; }
  .asgck-bar svg { display: none; }
  .asgck-bar__lbl { font-size: 14px; }
  .asgck-bar__st { font-size: 10px; }
}
@media (min-width: 560px) and (max-width: 1023px) {
  .asgck-bar { left: 50%; right: auto; width: 540px; margin-left: -270px; }
}
@media (prefers-reduced-motion: reduce) {
  .asgck-bar { transition: none; }
}
@media print { .asgck-bar { display: none !important; } }
