.skip-to-content {
  position: absolute;
  left: -9999px;
  top: 0;
  z-index: 9999;
  padding: 0.5rem 1rem;
  background: var(--bs-primary);
  color: #fff;
}

.skip-to-content:focus {
  left: 0;
}

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%;
}

.form-floating>.form-control-plaintext::placeholder,
.form-floating>.form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

a {
    text-decoration: none;
}

.form-floating>.form-control-plaintext:focus::placeholder,
.form-floating>.form-control:focus::placeholder {
  text-align: start;
}

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.product-card-img {
  aspect-ratio: 1 / 1;
  object-fit: cover;
  width: 100%;
}

/* Logo sizing */
.logo-navbar {
  width: 40px;
  height: 40px;
}

.logo-footer {
  width: 32px;
  height: 32px;
}

/* Carousel */
.carousel-image-container {
  height: 400px;
  overflow: hidden;
}

.carousel-image-container img {
  object-fit: cover;
  height: 100%;
}

/* Cart item thumbnail */
.cart-item-img {
  width: 60px;
  height: 60px;
  object-fit: cover;
  border-radius: 0.375rem;
}

@media (min-width: 992px) {
  .cart-item-img {
    width: 100%;
    height: auto;
  }
}

/* Textarea height */
.textarea-md {
  height: 200px;
}

.footer {
  padding: 1rem 0;
}

.footer a.text-muted:hover {
  color: var(--bs-primary) !important;
  transition: color 0.2s;
}

.footer .bi-instagram:hover {
  color: #e1306c !important;
}

.footer .bi-facebook:hover {
  color: #1877f2 !important;
}

.footer .bi-tiktok:hover {
  color: #25f4ee !important;
}

.footer .bi-linkedin:hover {
  color: #0a66c2 !important;
}

.form-control-readonly {
  background-color: var(--bs-tertiary-bg) !important;
  opacity: 0.8;
  cursor: not-allowed;
}

[aria-required="true"] ~ label::after {
  content: " *";
  color: var(--bs-danger);
}

.input-validation-error {
  border-color: var(--bs-danger) !important;
  box-shadow: 0 0 0 0.15rem rgba(var(--bs-danger-rgb), 0.25);
}

.field-validation-error {
  font-size: 0.875rem;
}

.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.text-truncate-3 {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

@media print {
  header, footer, nav, .pagination, .skip-to-content,
  .btn, .navbar, .loading-overlay {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
  }

  .card {
    border: none !important;
    box-shadow: none !important;
  }
}

