/*
 * Bootstrap compatibility shim — added 20 Aug 2026 (LixServerAdmin), server-admin #37 follow-up.
 *
 * Bootstrap 5.3 was loaded site-wide by the custom-category-page plugin until that plugin was
 * deactivated (sinspeed 19 Aug, turbo + staging 20 Aug). Nothing used its CLASSES in content,
 * but the theme silently depended on a handful of its rules. Removing it changed rendering in
 * ways no class scan could have predicted.
 *
 * Every rule below was identified by A/B measurement, not by reading Bootstrap: each page was
 * snapshotted with Bootstrap absent, then with Bootstrap re-injected, and every computed-style
 * difference was traced back to its source rule. The values are Bootstrap's own, made concrete
 * (its CSS custom properties are deliberately not reproduced -- only the resolved declarations
 * that were actually taking effect on these sites).
 *
 * Do NOT treat this as "Bootstrap is back". It is a fixed, closed list. If the theme is ever
 * updated to own these rules itself, this file should be deleted, not extended.
 */

/* Reboot: without this <th> falls back to the UA default (center), which centred every
   product variation label over its left-aligned options. */
th {
    text-align: inherit;
    text-align: -webkit-match-parent;
}

/* Reboot: icons sat on the text baseline once this was lost. */
svg {
    vertical-align: middle;
}

/* Reboot: list indentation. The theme's own `* { padding: 0 }` reset zeroes these,
   and Bootstrap's element selector was what beat it. */
ol,
ul {
    padding-left: 2rem;
}

/* Layout: the theme markup uses .container but never styled it -- Bootstrap did.
   Without this the header spans the full viewport instead of being centred. */
.container {
    width: 100%;
    padding-right: 0.75rem;
    padding-left: 0.75rem;
    margin-right: auto;
    margin-left: auto;
}

@media (min-width: 576px)  { .container { max-width: 540px; } }
@media (min-width: 768px)  { .container { max-width: 720px; } }
@media (min-width: 992px)  { .container { max-width: 960px; } }
@media (min-width: 1200px) { .container { max-width: 1140px; } }
@media (min-width: 1400px) { .container { max-width: 1320px; } }

/* Components: .btn is used by the shop filter button and was styled entirely by Bootstrap. */
.btn {
    padding: 0.375rem 0.75rem;
    font-weight: 400;
    line-height: 1.5;
    vertical-align: middle;
}
