.cart-tab-container {
  position: fixed;
  bottom: 80px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 48px);
  max-width: 500px;
  z-index: 1000;
  animation: slideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  transition: bottom 0.3s ease;
}

.cart-tab-container.has-footer {
  bottom: 90px;
}

@keyframes slideUp {
  from {
    transform: translate(-50%, 100%);
    opacity: 0;
  }
  to {
    transform: translate(-50%, 0);
    opacity: 1;
  }
}

.cart-tab {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: var(--surface);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-radius: 16px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  color: var(--text-dark);
}

.cart-left-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  cursor: pointer;
  padding-right: 12px;
  align-items: flex-start;
  min-width: 80px;
}

.cart-stats {
  display: flex;
  align-items: center;
  gap: 8px;
  line-height: 1;
  margin-bottom: 2px;
}

.cart-icon {
  color: var(--text-mid);
  flex-shrink: 0;
}

.cart-tab-count {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-mid);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  line-height: 1;
}

.cart-total {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
  margin-top: -2px;
}

.place-order-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px 24px;
  background: var(--primary);
  color: white;
  border-radius: 12px;
  font-weight: 700;
  font-size: 15px;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  box-shadow: 0 4px 15px rgba(35, 22, 81, 0.2);
}

.place-order-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(35, 22, 81, 0.3);
}

.place-order-btn:active {
  transform: scale(0.95);
}

.chevron-icon {
  animation: bounceRight 2s infinite;
}

@keyframes bounceRight {
  0%, 20%, 50%, 80%, 100% {transform: translateX(0);}
  40% {transform: translateX(4px);}
  60% {transform: translateX(2px);}
}

.safe-area-bottom {
  padding-bottom: 100px !important;
}
