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;
}

/* Wellnax custom styles */
.product-card {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(0,0,0,0.12) !important;
}

.category-card {
  transition: transform 0.2s ease;
}

.category-card:hover {
  transform: translateY(-2px);
}

.hero-section {
  background: linear-gradient(135deg, #0d6efd 0%, #0a58ca 100%) !important;
}

/* Star rating */
.star-rating {
  display: flex;
  flex-direction: row-reverse;
  gap: 4px;
}

.star-rating input[type="radio"] {
  display: none;
}

.star-rating label {
  color: #ccc;
  font-size: 1.5rem;
  cursor: pointer;
}

.star-rating input:checked ~ label,
.star-rating label:hover,
.star-rating label:hover ~ label {
  color: #f5c518;
}

/* Navbar category scroll */
.nav.flex-nowrap {
  overflow-x: auto;
  scrollbar-width: thin;
}

.nav.flex-nowrap::-webkit-scrollbar {
  height: 3px;
}

.nav.flex-nowrap::-webkit-scrollbar-thumb {
  background: #0d6efd;
  border-radius: 3px;
}
