/* Shared guide and App Store actions on the app index and product pages. */
.product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
}

a.product-action {
  display: inline-flex;
  flex: 0 1 auto;
  align-items: center;
  justify-content: flex-start;
  gap: 10px;
  box-sizing: border-box;
  min-height: 48px;
  max-width: 100%;
  padding: 8px 14px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-family: inherit;
  font-size: .92rem;
  font-weight: 700;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  letter-spacing: 0;
  text-transform: none;
}

a.product-action--guide {
  border-color: #cbf9e8;
  background: linear-gradient(135deg, #c6f8de, #75e4cb 80%);
  color: #092a24;
  box-shadow: 0 6px 24px #51e8bb30;
}

a.product-action--store {
  min-height: 48px;
  padding: 0;
  border: 0;
  border-radius: 8px;
}

a.product-action--store img {
  display: block;
  width: auto;
  height: 48px;
  max-width: 100%;
}

.product-availability {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  min-height: 48px;
  padding: 0 4px;
  color: #cbd8e4;
  font-size: .91rem;
  font-weight: 620;
  line-height: 1.3;
}

.product-availability::before {
  width: 7px;
  height: 7px;
  flex: 0 0 7px;
  border-radius: 50%;
  background: #92b7db;
  box-shadow: 0 0 0 4px #92b7db18;
  content: "";
}

.product-actions .product-action--details {
  min-height: 44px;
  padding: 0 3px;
  margin-left: 3px;
  color: #c2d4e1;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.product-action__icon {
  display: grid;
  flex: 0 0 27px;
  width: 27px;
  height: 27px;
  place-items: center;
  border-radius: 50%;
  background: #ffffff24;
  font-size: 1rem;
  line-height: 1;
}

.product-action--guide .product-action__icon {
  background: #0a3f32;
  color: #dcfff2;
}

.product-action--guide .product-action__duration {
  padding: 4px 6px;
  border-radius: 5px;
  background: #17433721;
  color: #092a24;
  font-size: .77em;
  font-variant-numeric: tabular-nums;
  white-space: nowrap;
}

a.product-action:focus-visible {
  outline: 2px solid #ffffff;
  outline-offset: 4px;
}

@media (hover: hover) {
  a.product-action--guide:hover { background: #d6ffed; color: #092a24; }
  a.product-action--details:hover { color: #fff; }
}

@media (prefers-reduced-motion: no-preference) {
  a.product-action--guide { transition: transform .16s ease, box-shadow .16s ease; }
  a.product-action--guide:hover { transform: translateY(-2px); }
}

@media (max-width: 480px) {
  .product-actions { gap: 10px; }
  a.product-action--guide { padding-inline: 10px; }
}

a.product-action--manual {
  border-color: #a1dbcf77;
  background: #12403acc;
  color: #ebfff9;
}
.product-action--manual .product-action__icon { background: #e6fff523; font-weight: 700; }
@media (hover: hover) {
  a.product-action--manual:hover { background: #1b5048; color: #fff; }
}
