.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 20px;
  border-radius: 8px;
  font-weight: 800;
}

.btn-primary {
  color: #ffffff;
  background: var(--accent);
  border-color: var(--accent);
  box-shadow: 0 12px 28px rgba(29, 78, 216, 0.22);
}

.btn-secondary {
  color: var(--text);
  border: 1px solid var(--line);
  background: #ffffff;
}

.category-grid,
.product-grid {
  display: grid;
  gap: 18px;
}

.category-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.category-card,
.product-card,
.step-item {
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
  box-shadow: var(--shadow);
}

.category-card {
  min-height: 220px;
  padding: 22px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.category-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.38);
}

.category-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 8px;
  color: var(--accent);
  background: rgba(29, 78, 216, 0.075);
  font-weight: 900;
}

.category-card h3,
.product-card h3,
.step-item h3 {
  margin-top: 18px;
  font-size: 1.08rem;
}

.category-card p,
.product-card p,
.step-item p,
.stl-cta p {
  color: var(--muted);
  line-height: 1.65;
}

.category-card p {
  margin-top: 12px;
}

.products-section {
  background: linear-gradient(180deg, transparent, rgba(255, 255, 255, 0.6), transparent);
}

.product-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.product-card {
  overflow: hidden;
  background: var(--panel);
}

.product-preview {
  min-height: 230px;
  display: grid;
  place-items: center;
  background:
    linear-gradient(145deg, rgba(29, 78, 216, 0.055), transparent 48%),
    #f8fafc;
}

.product-preview-orange {
  background-color: #f8fafc;
}

.product-preview-blue {
  background-color: #f8fafc;
}

.product-preview-green {
  background-color: #f8fafc;
}

.print-shape {
  width: 104px;
  height: 104px;
  display: block;
  border: 2px solid rgba(23, 32, 51, 0.24);
  box-shadow: 16px 16px 0 rgba(100, 116, 139, 0.08), 0 18px 36px rgba(23, 32, 51, 0.08);
}

.cube-shape {
  border-radius: 8px;
  transform: rotate(45deg) skew(-8deg, -8deg);
}

.ring-shape {
  border-radius: 50%;
  box-shadow: inset 0 0 0 24px rgba(255, 255, 255, 0.92), 0 18px 36px rgba(23, 32, 51, 0.08);
}

.stand-shape {
  width: 132px;
  height: 92px;
  border-radius: 8px 8px 24px 24px;
  transform: perspective(180px) rotateX(18deg);
}

.product-info {
  padding: 22px;
}

.product-tag {
  color: var(--accent);
  font-size: 0.76rem;
  font-weight: 900;
  text-transform: uppercase;
}

.product-info > p:not(.product-tag) {
  margin-top: 10px;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid var(--line);
  font-weight: 800;
}

.product-footer a,
.product-footer button {
  color: var(--accent);
}

.product-cart-form {
  margin: 0;
}

.product-footer button {
  border: 0;
  padding: 0;
  background: transparent;
  font: inherit;
  cursor: pointer;
}

.product-footer .product-cart-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 36px;
  padding: 0 14px;
  border: 1px solid rgba(29, 78, 216, 0.18);
  border-radius: 8px;
  color: #ffffff;
  background: var(--accent);
  font-size: 0.84rem;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(29, 78, 216, 0.16);
}

.product-footer .product-cart-button:hover {
  color: #ffffff;
  background: var(--accent-2);
  transform: translateY(-1px);
}

.stl-cta {
  padding-bottom: 110px;
}

.stl-cta-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 34px;
  align-items: center;
  padding: 40px;
  border: 1px solid rgba(29, 78, 216, 0.16);
  border-radius: 8px;
  background:
    linear-gradient(135deg, rgba(29, 78, 216, 0.18), rgba(29, 78, 216, 0.08)),
    var(--panel-solid);
  box-shadow: var(--shadow);
}

.stl-cta p {
  max-width: 740px;
  margin-top: 18px;
}

.btn,
.product-card,
.category-card,
.step-item,
.product-preview,
.print-shape,
.product-footer a,
.product-footer button {
  transition:
    color var(--transition-fast),
    background-color var(--transition-fast),
    border-color var(--transition-fast),
    box-shadow var(--transition),
    transform var(--transition);
}

.btn {
  border: 1px solid transparent;
  cursor: pointer;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary:hover {
  background: #173ea8;
  border-color: #173ea8;
  box-shadow: 0 14px 32px rgba(29, 78, 216, 0.26);
}

.btn-secondary:hover {
  border-color: rgba(29, 78, 216, 0.32);
  background: rgba(29, 78, 216, 0.1);
}

.product-card:hover {
  transform: translateY(-4px);
  border-color: rgba(29, 78, 216, 0.32);
  box-shadow: 0 20px 48px rgba(23, 32, 51, 0.14);
}

.product-card:hover .print-shape {
  border-color: rgba(23, 32, 51, 0.28);
  box-shadow: 18px 18px 0 rgba(100, 116, 139, 0.08), 0 18px 38px rgba(23, 32, 51, 0.1);
}

.product-footer a:hover,
.product-footer button:hover {
  color: var(--accent-2);
}

.product-footer .product-cart-button:hover {
  color: #ffffff;
}

