/* Nidoo CSS architecture bundle.
 * Gift-registry shortcut rendered above the WooCommerce shop loop.
 * Loaded only on product archives.
 */
/* Gift registry shortcut shown on shop when current visitor owns a list. */
.nidoo-shop-gift-registry-link {
  display: flex;
  justify-content: flex-end;
  margin: 0 0 18px;
}

.nidoo-shop-gift-registry-link a {
  display: inline-flex;
  align-items: center;
  gap: var(--nidoo-space-2);
  min-height: 44px;
  padding: 12px 20px;
  border: 1px solid var(--nidoo-accent-pink);
  border-radius: var(--nidoo-radius-md);
  background: var(--nidoo-accent-pink);
  color: var(--nidoo-surface);
  font-family: var(--nidoo-font-body);
  font-size: var(--nidoo-font-size-sm);
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nidoo-shop-gift-registry-link__icon {
  width: 16px;
  height: 16px;
  flex: 0 0 16px;
  background: currentColor;
  -webkit-mask: center/contain no-repeat var(--nidoo-icon-gift);
  mask: center/contain no-repeat var(--nidoo-icon-gift);
}

.nidoo-shop-gift-registry-link a:hover,
.nidoo-shop-gift-registry-link a:focus {
  transform: translateY(-1px);
}

@media (min-width: 922px) {
  /* Keep gift-list action with right-side shop actions, not filter control. */
  .nidoo-shop-gift-registry-link {
    order: 3 !important;
    margin: 0 !important;
    flex-shrink: 0;
  }
}
@media (max-width: 640px) {
  .nidoo-shop-gift-registry-link {
    justify-content: stretch;
  }
  .nidoo-shop-gift-registry-link a {
    justify-content: center;
    width: 100%;
  }
}
