﻿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;
}

a {
  color: var(--brand-primary);
}

.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;
}

.checkout-loading-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.6);
  z-index: 1;
  border-radius: inherit;
}

.card {
  border: 1px solid rgba(0, 0, 0, 0.14);
  border-top: 4px solid var(--brand-primary);
  border-radius: 8px;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.14);
  overflow: hidden;
  transition: box-shadow 0.15s ease-in-out;
}

.card:hover {
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.18);
}

.login-center {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 2rem 1rem;
}

.login-card {
  width: 100%;
  max-width: 26rem;
}

.card > .card-header {
  background-color: transparent;
  border-bottom: 1px solid rgba(0, 0, 0, 0.075);
  padding: 1rem 1.25rem;
}

.card > .card-header h3 {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brand-primary);
}

.card > .card-body {
  padding: 1.25rem;
}

.card-highlight {
  border-width: 2px;
  border-top-width: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.24);
}

.card-highlight > .card-header {
  border-bottom-width: 2px;
}

.card-highlight > .card-header h3 {
  font-size: 1.2rem;
}

.product-tile-image {
  height: 180px;
  background-color: var(--bs-tertiary-bg);
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-tile-image img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

.product-tile-ribbon {
  position: absolute;
  top: 26px;
  left: -32px;
  width: 150px;
  padding: 0.25rem 0;
  text-align: center;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transform: rotate(-45deg);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  z-index: 2;
}

.product-tile-ribbon p {
  margin-bottom: 0;
}

.item-detail-tag p {
  margin-bottom: 0;
}

.stock-status-in-stock {
  color: #157347;
}

.stock-status-backordered {
  color: #b45309;
}

.stock-status-sold-out {
  color: #b91c1c;
}

.delivery-status-dot {
  display: inline-block;
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background-color: currentColor;
  margin-right: 0.35rem;
}
