/* Storefront hub — service action cards */
.storefront-action-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.storefront-action-card {
  --action-accent: #2563eb;
  --action-accent-soft: #dbeafe;
  --action-glow: rgba(37, 99, 235, .18);
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  min-height: 0;
  padding: 14px 12px 12px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, .9);
  text-decoration: none;
  color: inherit;
  background: linear-gradient(160deg, #fff 0%, #f8fafc 100%);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 10px 28px var(--action-glow),
    0 4px 14px rgba(15, 23, 42, .06);
  overflow: hidden;
  transition: transform .18s ease, box-shadow .18s ease;
}

.storefront-action-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 72px;
  height: 72px;
  border-radius: 0 0 0 72px;
  background: var(--action-accent-soft);
  opacity: .45;
  pointer-events: none;
}

a.storefront-action-card:hover,
a.storefront-action-card:focus-visible {
  transform: translateY(-3px);
  box-shadow:
    0 1px 0 rgba(255, 255, 255, .95) inset,
    0 16px 36px var(--action-glow),
    0 8px 20px rgba(15, 23, 42, .1);
  color: inherit;
}

.storefront-action-card--feature {
  grid-column: 1 / -1;
  flex-direction: row;
  align-items: center;
  gap: 14px;
  padding: 16px 14px;
  min-height: 88px;
  background: linear-gradient(135deg, #eff6ff 0%, #fff 42%, #f0f9ff 100%);
  border-color: rgba(147, 197, 253, .55);
}

.storefront-action-card--feature::before {
  width: 120px;
  height: 120px;
  border-radius: 0 0 0 100%;
  opacity: .55;
}

.storefront-action-card--feature .storefront-action-body {
  flex: 1;
  min-width: 0;
}

.storefront-action-card--feature .storefront-action-name {
  font-size: 1.15rem;
}

.storefront-action-card--feature .storefront-action-desc {
  font-size: .78rem;
}

.storefront-action-icon-wrap {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  border-radius: 16px;
  background: var(--action-accent);
  color: #fff;
  box-shadow: 0 8px 18px var(--action-glow);
}

.storefront-action-card--feature .storefront-action-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: 18px;
}

.storefront-action-icon-wrap svg {
  display: block;
  width: 26px;
  height: 26px;
}

.storefront-action-card--feature .storefront-action-icon-wrap svg {
  width: 30px;
  height: 30px;
}

.storefront-action-body {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.storefront-action-name {
  font-size: .95rem;
  font-weight: 900;
  line-height: 1.15;
  color: #0f172a;
  letter-spacing: -.02em;
}

.storefront-action-desc {
  font-size: .7rem;
  font-weight: 500;
  color: #64748b;
  line-height: 1.35;
}

.storefront-action-arrow {
  position: relative;
  z-index: 1;
  margin-left: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: rgba(255, 255, 255, .85);
  color: var(--action-accent);
  font-size: 1.1rem;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(15, 23, 42, .08);
  flex-shrink: 0;
}

.storefront-action-card:not(.storefront-action-card--feature) .storefront-action-arrow {
  display: none;
}

.storefront-action-tag {
  position: relative;
  z-index: 1;
  display: inline-block;
  padding: 2px 7px;
  border-radius: 6px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: var(--action-accent-soft);
  color: var(--action-accent);
}

.storefront-action-card.is-disabled {
  opacity: .65;
  cursor: not-allowed;
  pointer-events: none;
  filter: grayscale(.35);
}

.storefront-action-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  padding: 4px 9px;
  border-radius: 999px;
  font-size: .58rem;
  font-weight: 800;
  letter-spacing: .06em;
  text-transform: uppercase;
  background: #e2e8f0;
  color: #64748b;
}

/* Per-service accents */
.storefront-action-pabili {
  --action-accent: #1d4ed8;
  --action-accent-soft: #dbeafe;
  --action-glow: rgba(29, 78, 216, .22);
  background: linear-gradient(135deg, #eff6ff 0%, #fff 42%, #f0f9ff 100%);
}

.storefront-action-browse {
  --action-accent: #db2777;
  --action-accent-soft: #fce7f3;
  --action-glow: rgba(219, 39, 119, .18);
  background: linear-gradient(160deg, #fff 0%, #fdf2f8 100%);
}

.storefront-action-pasuyo {
  --action-accent: #059669;
  --action-accent-soft: #d1fae5;
  --action-glow: rgba(5, 150, 105, .18);
  background: linear-gradient(160deg, #fff 0%, #ecfdf5 100%);
}

@media (min-width: 400px) {
  .storefront-action-grid {
    gap: 12px;
  }

  .storefront-action-card:not(.storefront-action-card--feature) {
    min-height: 118px;
    padding: 16px 14px 14px;
  }
}
