/* =============================================================
   Public Storefront Styles
   Custom overrides for Bootstrap — branding via CSS custom properties
   ============================================================= */

/* Body layout for sticky footer */
body {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

main {
  flex: 1;
}

/* Navbar */
.navbar-brand {
  font-weight: 600;
  font-size: 1.25rem;
}

/* Product Cards */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.product-card .card-img-top {
  aspect-ratio: 3 / 4;
  object-fit: cover;
  background-color: #f8f9fa;
}

.product-card .card-title {
  font-size: 1rem;
  line-height: 1.4;
}

.product-card .card-title a:hover {
  color: var(--bs-primary) !important;
}

/* Hero Section */
.display-5 {
  letter-spacing: -0.02em;
}

/* Search bar in navbar */
.navbar .input-group {
  max-width: 280px;
}

@media (max-width: 991.98px) {
  .navbar .input-group {
    max-width: 100%;
    margin-top: 0.5rem;
  }
}

/* Breadcrumbs */
.breadcrumb {
  font-size: 0.875rem;
}

/* Download page */
.download-box {
  max-width: 500px;
  margin: 0 auto;
  padding: 2rem;
  border-radius: 0.5rem;
  background: #f8f9fa;
  text-align: center;
}

.download-box .btn-lg {
  padding: 0.75rem 2rem;
  font-size: 1.2rem;
}

/* Success page */
.success-box {
  max-width: 600px;
  margin: 0 auto;
}

/* Footer */
footer {
  font-size: 0.875rem;
}

footer a {
  text-decoration: none;
}

footer a:hover {
  text-decoration: underline;
}

/* Badge */
.badge {
  font-weight: 500;
  font-size: 0.75rem;
}

/* Sort dropdown */
.sort-dropdown .btn {
  font-size: 0.875rem;
}
