/* Base typography */
html { font-size: 14px; }
@media (min-width: 768px) { html { font-size: 16px; } }

/* Theme palette (Bootstrap 5 variables) */
:root {
  --bs-primary: #0ea5a7;
  --bs-primary-rgb: 14, 165, 167;
  --bs-link-color: var(--bs-primary);
  --bs-link-hover-color: #0a7a7b;
}

/* App background and sections */
html { position: relative; min-height: 100%; }
body { background: #D5DAEE; }

/* Navbar enhancements */
.navbar-elevated { box-shadow: 0 .25rem .75rem rgba(0,0,0,.08); }

/* Focus styles */
.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem #fff, 0 0 0 0.25rem rgba(var(--bs-primary-rgb), .5);
}

/* Cards and utilities */
.card { border: 0; box-shadow: 0 .25rem .75rem rgba(0,0,0,.05); border-radius: 7px; }
.card .card-title {
  margin-bottom: .25rem;
  font-weight: 600;
  color: #373f66;
  padding-bottom: 10px;
  padding-top: 5px;
}
.card .card-text { color: #495057; }
/* Widescreen product image covers (2.22:1) */
.card-cover { position: relative; width: 100%; aspect-ratio: 2.22 / 1; background-color: #f8f9fa; overflow: hidden; border-radius: .5rem; box-shadow: 0 .25rem .5rem rgba(0,0,0,.06); }
.card-cover img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Footer spacing override (keep it visible) */
.footer { line-height: 1.6; }

/* Test settings banner and navbar sizing */
.env-banner { position: sticky; top: 0; z-index: 1080; padding: .25rem .5rem; font-size: .85rem; line-height: 1.1; }
.navbar-elevated { padding-top: 1.1rem; padding-bottom: 1.1rem; }

/* Rich HTML content styling */
.rich-text { overflow-wrap: anywhere; }
.rich-text p { margin-bottom: .5rem; }
.rich-text ul, .rich-text ol { margin: 0 0 .5rem 1.25rem; }
.rich-text li { margin: .125rem 0; }
.rich-text table { width: 100%; border-collapse: collapse; margin: .5rem 0; font-size: .95em; }
.rich-text th, .rich-text td { border: 1px solid #dee2e6; padding: .25rem .5rem; vertical-align: top; }
.rich-text thead th { background-color: #f8f9fa; }
.rich-text h1, .rich-text h2, .rich-text h3, .rich-text h4, .rich-text h5, .rich-text h6 { margin: .5rem 0 .25rem; line-height: 1.2; }
.rich-text img { max-width: 100%; height: auto; }
.rich-text a { color: var(--bs-link-color); text-decoration: underline; }
.rich-text blockquote { padding: .5rem .75rem; margin: .5rem 0; border-left: .25rem solid #dee2e6; color: #6c757d; background-color: #f8f9fa; }

/* Product details: hide legacy price line if present */
.product-details .d-flex.align-items-center.justify-content-between.mb-3 .h6.mb-0 { display: none; }

/* Overrides from cssdacorreggere.md */
.bg-primary {
  background-color: #373F66 !important;
}

.bg-light {
    --bs-bg-opacity: 1;
    background-color: transparent !important;
    padding: 25px 0px !important;
}

.py-2 {
    padding-top: .5rem !important;
    padding-bottom: .5rem !important;
    padding-left: 0px !important;
    padding-right: 0px !important;
}

.card-body {
    flex: 1 1 auto;
    padding: 2rem 1.5rem !important;
}

.product-details .badge.text-bg-primary {
    background: #373f66;
    font-weight: 600;
    border-radius: 5px;
}

questa è creata da me

.product-details .badge.text-bg-primary {
    background: #373f66;
    font-weight: 600;
    border-radius: 5px;
}

.border-top {
    border-top: 1px solid #49507529 !important;
}
 

h1.display-6.fw-semibold.mb-1 {
    font-weight: 600;
    color: #373F66;
}

.text-muted {
    --bs-text-opacity: 1;
    color: #373f66 !important;
    font-size: 20px !important;
    padding-top: 10px !important;
}


.btn-outline-light {
  border-color: #f8f9fa52;
}

.btn {
  padding: 0.5rem 1rem 0.7rem;
  border-radius: 25px;
}

.btn-primary {
  color: #CE0404;
  background-color: #FFF;
  border-color: #CE0404;
}

.me-1 {
  margin-right: .25rem !important;
  margin-top: 3px;
}

.btn-primary:hover {
  color: #fff;
  background-color: #373f66;
  border-color: #373f66;
}

.badge {
  display: inline-block;
  padding: .35em .85em .40em;
  font-size: 1em;
  font-weight: 700;
  line-height: 1;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  vertical-align: baseline;
  border-radius: 10px;
}
