.grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
}

.empty {
  padding: 48px 24px;
  text-align: center;
  font-size: 14px;
  color: var(--text-secondary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius);
}

.error {
  margin-bottom: 16px;
  padding: 12px 14px;
  font-size: 13px;
  color: #b91c1c;
  background: rgba(239, 68, 68, 0.08);
  border: 1px solid rgba(239, 68, 68, 0.25);
  border-radius: var(--radius-sm);
}

.fabDock {
  position: fixed;
  inset-inline-end: 32px;
  inset-inline-start: auto;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 10px;
  z-index: 110;
}

.cartFabStrip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  min-width: 280px;
  height: 56px;
  padding: 0 36px;
  border-radius: 50px;
  border: 1px solid rgba(var(--primary-rgb) / 0.3);
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  box-shadow: 0 8px 28px rgba(31, 38, 135, 0.12);
  transition: background 0.2s, border-color 0.2s, transform 0.2s;
  white-space: nowrap;
}

.cartFabStrip:hover {
  background: rgba(var(--primary-rgb) / 0.12);
  border-color: rgba(var(--primary-rgb) / 0.45);
  transform: translateY(-2px);
}

.cartFabCount {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  padding: 0 8px;
  border-radius: 50px;
  font-size: 12px;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--primary-dark) 100%);
}

.cartFabLabel {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
}

.addFab {
  position: static;
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  color: white;
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  box-shadow: 0 8px 24px rgba(var(--primary-rgb) / 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  flex-shrink: 0;
}

.addFab:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(var(--primary-rgb) / 0.45);
}

@media (min-width: 640px) {
  .grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 1024px) {
  .grid {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1280px) {
  .grid {
    grid-template-columns: repeat(6, 1fr);
  }
}

@media (max-width: 768px) {
  .fabDock {
    inset-inline-end: 20px;
    inset-inline-start: auto;
    bottom: 20px;
    gap: 8px;
  }

  .cartFabStrip {
    min-width: 220px;
    height: 52px;
    padding: 0 28px;
  }

  .cartFabLabel {
    font-size: 13px;
  }

  .addFab {
    width: 52px;
    height: 52px;
  }
}
