html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.form-floating > .form-control-plaintext::placeholder, .form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder, .form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.product-img-placeholder {
  height: 400px;
}

@media (max-width: 767.98px) {
  .product-img-placeholder {
    height: 220px;
  }
}

.product-card-img {
  height: 200px;
  object-fit: cover;
}

/* Homepage hero: dark gradient backdrop makes the translucent 3D gem (hero-scene.js) actually
   readable — it's rendered with alpha:true, so it composites straight onto whatever's behind it. */
.hero-section {
  background: linear-gradient(135deg, var(--shm-dark) 0%, var(--shm-primary) 100%);
}

.hero-3d-canvas {
  height: 340px;
  position: relative;
}

.hero-3d-canvas canvas {
  display: block;
  width: 100% !important;
  height: 100% !important;
}

@media (min-width: 992px) {
  .hero-3d-canvas {
    height: 420px;
  }
}