/* Fashionbymilox - quick-add size overlay on product grid cards, shown with
   plain CSS :hover (no JS/animation timing involved) so it's robust
   regardless of anything else going on with animations on this deployment. */
[data-framer-name="Desktop Product Card"] a[href*="product-page"] {
  position: relative;
}

.fbm-quickadd-overlay {
  position: absolute;
  left: 10px;
  right: 10px;
  bottom: 10px;
  z-index: 3;
  display: flex;
  flex-wrap: wrap;
  gap: 4px;
  justify-content: center;
  align-items: center;
  padding: 8px;
  background: rgba(255, 255, 255, 0.98);
  border-radius: 10px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.14);
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

[data-framer-name="Desktop Product Card"]:hover .fbm-quickadd-overlay {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.fbm-quickadd-size-btn {
  min-width: 38px;
  height: 34px;
  padding: 0 10px;
  border: none;
  border-radius: 6px;
  background: transparent;
  color: #000;
  font-size: 12px;
  font-weight: 500;
  font-family: inherit;
  cursor: pointer;
  transition: background 0.15s ease;
}

.fbm-quickadd-size-btn:hover:not(:disabled) {
  background: rgba(0, 0, 0, 0.08);
}

.fbm-quickadd-size-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
  text-decoration: line-through;
}
