.purchase-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:-140px;
  background:#172332;
  backdrop-filter:blur(14px);
  border-top:1px solid rgba(0,209,224,.32);
  box-shadow:0 -16px 30px rgba(15,23,42,.08);
  z-index:1200;
  opacity:0;
  visibility:hidden;
  transition:bottom var(--transition), opacity .22s ease, visibility .22s ease;
  overflow:visible;
}

[data-theme="light"] .purchase-bar{
  background:#eefbfe;
  border-top-color:rgba(11,141,151,.58);
}

.purchase-bar.active{
  bottom:0;
  opacity:1;
  visibility:visible;
}

.purchase-bar__inner{
  max-width:1280px;
  margin:0 auto;
  padding:14px 22px;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-wrap:wrap;
  gap:16px;
}

.purchase-bar__mobile-toggle{
  display:none;
}

.purchase-bar__left{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:14px;
  flex-wrap:wrap;
  flex:0 1 auto;
  order:2;
  text-align:center;
}

.purchase-bar__old{
  font-size:14px;
  color:#97a0ad;
  text-decoration:line-through;
}

.purchase-bar__price{
  font-size:32px;
  line-height:1;
  font-weight:900;
  color:var(--text);
}

.purchase-bar__copy{
  font-size:14px;
  color:var(--muted);
  font-weight:700;
}

.purchase-bar__buy{
  flex:0 0 auto;
  white-space:nowrap;
  order:3;
  align-self:center;
}

.purchase-bar__mobile-countdown{
  display:none;
  order:3;
  width:100%;
  text-align:center;
  font-size:11px;
  font-weight:700;
  color:var(--muted);
}

.purchase-bar__mobile-countdown-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  flex-wrap:nowrap;
}

.purchase-bar__mobile-countdown-value{
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
  color:#f4b400;
}

[data-theme="light"] .purchase-bar__mobile-countdown-value{
  color:#1c8f57;
}

.purchase-bar__icon-actions{
  display:flex;
  align-items:center;
  gap:12px;
  order:4;
  align-self:center;
}

.bar-icon-btn{
  width:48px;
  height:48px;
  flex:0 0 48px;
  border:1px solid rgba(15,127,134,.30);
  border-radius:10px;
  background:var(--cta-green);
  color:#f3fff7;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  box-shadow:none;
  transition:background-color .22s ease, border-color .22s ease, color .22s ease;
}

.purchase-bar__coupon-trigger{
  width:auto;
  min-width:104px;
  padding:0 14px;
  flex:0 0 auto;
}

.bar-icon-btn i{
  font-size:16px;
}

.bar-coupon-label{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:6px;
  font-size:13px;
  font-weight:800;
  letter-spacing:.02em;
}

.bar-coupon-currency{
  display:inline-block;
  font-size:19px;
  line-height:1;
  font-weight:700;
  font-family:Georgia, "Times New Roman", serif;
  transform:translateY(-1px);
}

.bar-icon-btn:hover{
  color:#ffffff;
  border-color:rgba(11,102,108,.52);
  background:var(--cta-green-dark);
  box-shadow:none;
}

[data-theme="light"] .bar-icon-btn{
  background:var(--cta-green);
  color:#ffffff;
  border-color:rgba(15,127,134,.30);
  box-shadow:none;
}

[data-theme="light"] .bar-icon-btn:hover{
  color:#ffffff;
  background:var(--cta-green-dark);
  border-color:rgba(11,102,108,.44);
  box-shadow:none;
}

.bar-btn{
  border:1px solid transparent;
  border-radius:10px;
  padding:13px 22px;
  font-size:14px;
  font-weight:800;
  cursor:pointer;
  transition:transform .25s ease, background-color .25s ease, color .25s ease, border-color .25s ease, box-shadow .25s ease;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap:10px;
}

.bar-btn--primary{
  border-color:#b86b00;
  background:linear-gradient(180deg, #ffc93d 0%, #f4b400 100%);
  color:#2b1700;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.24), 0 10px 22px rgba(122,76,6,.18);
}

.bar-btn--primary:hover{
  transform:translateY(-1px);
  box-shadow:inset 0 1px 0 rgba(255,255,255,.28), 0 14px 26px rgba(122,76,6,.24);
  border-color:#9e5c00;
  background:linear-gradient(180deg, #ffd35b 0%, #f7b500 100%);
}

.bar-btn.is-disabled,
.bar-btn:disabled{
  cursor:not-allowed;
  pointer-events:none;
  color:#7c8698;
  border-color:#d7dee9;
  background:linear-gradient(180deg, #eef2f7 0%, #e2e8f0 100%);
  box-shadow:none;
}

@media (max-width:1160px){
  .purchase-bar__inner{
    display:grid;
    grid-template-columns:1fr;
  }

  .purchase-bar__buy,
  .purchase-bar__icon-actions{
    max-width:none;
    justify-self:center;
  }

  .purchase-bar__icon-actions{
    display:flex;
    flex-direction:row;
    align-items:center;
    justify-content:center;
  }

  .purchase-bar__buy,
  .bar-btn{
    width:100%;
    text-align:center;
  }

  .purchase-bar__icon-actions{
    width:100%;
  }

}

@media (max-width:1080px){
  .purchase-bar__mobile-toggle{
    position:absolute;
    top:-1px;
    left:50%;
    transform:translate(-50%, -100%);
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-width:88px;
    height:24px;
    padding:0 12px;
    border:none;
    border-radius:10px 10px 0 0;
    background:linear-gradient(180deg,var(--cyan) 0%, var(--cyan-dark) 100%);
    color:#ffffff;
    font-size:10px;
    font-weight:800;
    letter-spacing:.02em;
    cursor:pointer;
    box-shadow:0 10px 20px rgba(61,135,244,.24);
    z-index:2;
  }

  [data-theme="light"] .purchase-bar__mobile-toggle{
    background:linear-gradient(180deg,var(--cyan) 0%, var(--cyan-dark) 100%);
    color:#ffffff;
    box-shadow:0 12px 24px rgba(15,23,42,.14);
  }

  .purchase-bar.is-mobile-collapsed .purchase-bar__left,
  .purchase-bar.is-mobile-collapsed .purchase-bar__mobile-countdown,
  .purchase-bar.is-mobile-collapsed .purchase-bar__icon-actions{
    display:none;
  }

  .purchase-bar.is-mobile-collapsed .purchase-bar__inner{
    display:grid;
    grid-template-columns:1fr;
    gap:0;
    padding:12px 14px;
  }

  .purchase-bar.is-mobile-collapsed .purchase-bar__buy{
    width:100%;
    order:1;
  }

  .purchase-bar.is-mobile-expanded .purchase-bar__mobile-countdown{
    display:block;
  }

  body,
  body.with-bar{
    padding-bottom:130px;
  }
}

@media (max-width:768px){
  .purchase-bar__inner{
    padding:12px 14px;
  }

  .purchase-bar__buy{
    order:2;
  }

  .purchase-bar__icon-actions{
    order:4;
  }
}
