/*
  Champro brand overrides for Bootstrap 5.3
  Ported from Skins/Skin_champro/less/variables.less (Bootstrap 3.3.6 LESS customization).
  Load order: bootstrap-5.3.8.min.css -> THIS FILE -> themestyles.css -> custom.css
  (themestyles/custom keep overriding component styles exactly as they did over BS3.)
*/

/* ---------- Theme colors (BS3 @brand-*) ---------- */
:root,
[data-bs-theme=light] {
  /* @brand-primary: #ed2b2b */
  --bs-primary: #ed2b2b;
  --bs-primary-rgb: 237, 43, 43;
  /* @brand-secondary: #333 */
  --bs-secondary: #333333;
  --bs-secondary-rgb: 51, 51, 51;
  /* @brand-danger: #e10700 (success/info/warning keep BS defaults, same as BS3 setup) */
  --bs-danger: #e10700;
  --bs-danger-rgb: 225, 7, 0;

  /* @body-bg / @text-color (@gray-dark = #333) */
  --bs-body-bg: #ffffff;
  --bs-body-color: #333333;

  /* @link-color: @brand-secondary; hover = darken 15% */
  --bs-link-color: #333333;
  --bs-link-color-rgb: 51, 51, 51;
  --bs-link-hover-color: #0d0d0d;
  --bs-link-hover-color-rgb: 13, 13, 13;

  /* @border-radius-base/large/small: 1px */
  --bs-border-radius: 1px;
  --bs-border-radius-sm: 1px;
  --bs-border-radius-lg: 1px;
  --bs-border-radius-xl: 1px;
}

/* ---------- Buttons (BS5 component vars don't follow --bs-primary automatically) ---------- */
/* ---------- Base typography (from COMPILED less/bootstrap.css; variables.less is stale) ---------- */
:root,
[data-bs-theme=light] {
  --bs-body-font-family: 'Arial Bold', Arial, sans-serif;
  --bs-body-font-size: 14px;
  --bs-body-line-height: 1.6;
}
/* Compiled build: underline exceptions kept as-is */
.continue-shopping-text a,
.form-group a {
  color: #333;
  text-decoration: underline;
}

/* BS3 .form-group (component removed in BS5; markup keeps the class) and label metrics */
.form-group {
  margin-bottom: 15px;
}
label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: bold;
  font-family: 'Roboto';
}
/* site markup uses .form-label since BS3 times; BS5's own .form-label sets 8px - keep prod's 5px */
.form-label {
  margin-bottom: 5px;
}
/* Same story for .form-text: base.css (loaded BEFORE bootstrap) styles it; BS3 had no such class, BS5's
   .form-text (.875em, 4px top) now beats base.css -> signin "forgot password" text 12.25px, one line
   instead of two (-25px @800). Restore base.css values in the post-bootstrap slot. */
.form-text {
  display: block;
  margin-top: 5px;
  margin-bottom: 10px;
  color: #737373;
  width: 100%;
  font-size: inherit;
}

/* BS3 .radio-inline/.checkbox-inline (removed in BS5; markup keeps them) */
.radio-inline,
.checkbox-inline {
  position: relative;
  display: inline-block;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  vertical-align: middle;
  cursor: pointer;
}
.radio-inline + .radio-inline,
.checkbox-inline + .checkbox-inline {
  margin-top: 0;
  margin-left: 10px;
}
.radio-inline input[type="radio"],
.checkbox-inline input[type="checkbox"] {
  position: absolute;
  margin-left: -20px;
}

/* BS3 validation states (removed in BS5; validation JS still toggles these classes).
   Values from the compiled build; feedback icon box matches the 57px form-control. */
.has-feedback {
  position: relative;
}
.has-feedback .form-control {
  padding-right: 71.25px;
}
.form-control-feedback {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: block;
  width: 57px;
  height: 57px;
  line-height: 57px;
  text-align: center;
  pointer-events: none;
}
.has-error .help-block,
.has-error .control-label,
.has-error label {
  color: #a94442;
}
.has-error .form-control {
  border-color: #a94442;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-error .form-control:focus {
  border-color: #843534;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #ce8483;
}
.has-error .form-control-feedback {
  color: #a94442;
}
.has-success .help-block,
.has-success .control-label,
.has-success label {
  color: #3c763d;
}
.has-success .form-control {
  border-color: #3c763d;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
}
.has-success .form-control:focus {
  border-color: #2b542c;
}
.has-success .form-control-feedback {
  color: #3c763d;
}

/* BS3 .form-control from the compiled build (hand-edited: 57px tall, 15px padding, #fdfdfd).
   BS5 default is 38px/6px - this was the per-field +19px vertical drift on every form page. */
.form-control {
  height: 57px;
  padding: 15px 15px;
  font-size: 16px;
  line-height: 1.6;
  color: #555555;
  background-color: #fdfdfd;
  border: 1px solid #ccc;
  border-radius: 1px;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075);
  transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}
textarea.form-control,
select[multiple].form-control,
select[size].form-control {
  height: auto;
}
/* GOTCHA #38: in BS3 the button rules came AFTER the form rules, so on `<input class="btn btn-primary
   form-control">` (impersonate Search, ...) .btn/.btn-primary won padding/colors/border while .form-control
   kept display:block/width:100%/57px. Our .form-control port sits after bootstrap and re-declares
   background/color/padding/border -> the black primary button rendered as a light input. Re-assert the
   .btn side. :where() = 0-1-0, so BS5 .btn:hover/:active (0-2-0) still win for the states. */
:where(.form-control).btn {
  padding: var(--bs-btn-padding-y) var(--bs-btn-padding-x);
  font-size: var(--bs-btn-font-size);
  line-height: var(--bs-btn-line-height);
  color: var(--bs-btn-color);
  background-color: var(--bs-btn-bg);
  border: var(--bs-btn-border-width) solid var(--bs-btn-border-color);
  border-radius: var(--bs-btn-border-radius);
  transition: all 0.4s ease;
}

/* BS3 .btn base metrics from the compiled build (BS5 default is 6px 12px / 1rem). */
.btn {
  --bs-btn-padding-y: 15px;
  --bs-btn-padding-x: 32px;
  --bs-btn-font-size: 16px;
  --bs-btn-line-height: 1.6;
  transition: all 0.4s ease;
  white-space: nowrap;
}
/* GOTCHA #44: the .btn block above (same 0-1-0, later than bootstrap) also beat BS5's .btn-lg/.btn-sm
   variables -> every btn-lg/btn-sm rendered at the base 16px / 15px 32px (Place Order 57px vs BS3 60px,
   text 16 vs 20). BS3 compiled-theme size modifiers, re-declared after .btn. */
.btn-lg,
.btn-group-lg > .btn {
  --bs-btn-padding-y: 16px;
  --bs-btn-padding-x: 16px;
  --bs-btn-font-size: 20px;
  --bs-btn-line-height: 1.3333333;
  --bs-btn-border-radius: 1px;
}
.btn-sm,
.btn-group-sm > .btn {
  --bs-btn-padding-y: 8px;
  --bs-btn-padding-x: 10px;
  --bs-btn-font-size: 14px;
  --bs-btn-line-height: 1.5;
  --bs-btn-border-radius: 1px;
}
/* BS3 .btn-default itself: markup keeps the class (rename-not-remove), BS5 has no such component.
   Declared BEFORE .btn-primary so combined "btn-default btn-primary" resolves like BS3 (primary wins). */
.btn-default {
  --bs-btn-color: #333333;
  --bs-btn-bg: #efefef;
  --bs-btn-border-color: #efefef;
  --bs-btn-hover-color: #333333;
  --bs-btn-hover-bg: #d6d6d6;
  --bs-btn-hover-border-color: #d0d0d0;
  --bs-btn-active-color: #333333;
  --bs-btn-active-bg: #d6d6d6;
  --bs-btn-active-border-color: #d0d0d0;
  --bs-btn-disabled-color: #333333;
  --bs-btn-disabled-bg: #efefef;
  --bs-btn-disabled-border-color: #efefef;
}
.btn-primary {
  /* From COMPILED less/bootstrap.css (hand-edited build!): base #000, hover/active #d31212. */
  --bs-btn-color: #fff;
  --bs-btn-bg: #000000;
  --bs-btn-border-color: #000000;
  --bs-btn-hover-color: #fff;
  --bs-btn-hover-bg: #d31212;
  --bs-btn-hover-border-color: #b20f0f;
  --bs-btn-active-color: #fff;
  --bs-btn-active-bg: #d31212;
  --bs-btn-active-border-color: #b20f0f;
  --bs-btn-disabled-color: #fff;
  --bs-btn-disabled-bg: #000000;
  --bs-btn-disabled-border-color: #000000;
  --bs-btn-focus-shadow-rgb: 0, 0, 0;
}
/* BS3 .btn-default equivalent (white / #ccc border / #333 text).
   Markup migration maps btn-default -> btn-outline-secondary; this keeps it looking like the old default. */
.btn-outline-secondary {
  --bs-btn-color: #333333;
  --bs-btn-bg: #efefef;
  --bs-btn-border-color: #efefef;
  --bs-btn-hover-color: #333333;
  --bs-btn-hover-bg: #d6d6d6;
  --bs-btn-hover-border-color: #d0d0d0;
  --bs-btn-active-color: #333333;
  --bs-btn-active-bg: #d6d6d6;
  --bs-btn-active-border-color: #d0d0d0;
}
/* BS3 .btn-xs replacement (removed in BS5): markup keeps a custom class */
.btn-xxs {
  --bs-btn-padding-y: 1px;
  --bs-btn-padding-x: 5px;
  --bs-btn-font-size: 14px;   /* (2026-11-06, BUG-88661-009 invoice Download/Print) was 12px = stock BS3; the
                                 COMPILED less/bootstrap.css (+ .min) has .btn-xs {font-size:14px; border-radius:1px} */
  --bs-btn-line-height: 1.5;
  --bs-btn-border-radius: 1px;
}

/* ---------- Grid / container ---------- */
/* BS3 container maxed at 1170px; BS5 goes to 1140 (xl) / 1320 (xxl).
   Keep the historical width so layouts don't stretch. Remove later if the wider xxl look is desired. */
@media (min-width: 1200px) {
  .container {
    max-width: 1170px;
  }
}

/* ---------- Gotcha #18: same-breakpoint column conflicts ----------
   BS3 bootstrap.css declares columns in DESCENDING order (12 -> 1), so on an element with two
   classes of the same breakpoint (e.g. "col-sm-2 col-sm-12", common in our XSLT) the SMALLER
   one wins. BS5 declares them ascending, so the larger one wins (related products stacked at
   100%). Re-declare every breakpoint's columns here in BS3 order. Values are identical to BS5,
   so elements with a single column class are unaffected. Must stay ABOVE any context rules
   that override column width (gotcha #15/#16 blocks further down). */
  .col-12 { flex: 0 0 auto; width: 100%; }
  .col-11 { flex: 0 0 auto; width: 91.666667%; }
  .col-10 { flex: 0 0 auto; width: 83.333333%; }
  .col-9 { flex: 0 0 auto; width: 75%; }
  .col-8 { flex: 0 0 auto; width: 66.666667%; }
  .col-7 { flex: 0 0 auto; width: 58.333333%; }
  .col-6 { flex: 0 0 auto; width: 50%; }
  .col-5 { flex: 0 0 auto; width: 41.666667%; }
  .col-4 { flex: 0 0 auto; width: 33.333333%; }
  .col-3 { flex: 0 0 auto; width: 25%; }
  .col-2 { flex: 0 0 auto; width: 16.666667%; }
  .col-1 { flex: 0 0 auto; width: 8.333333%; }
@media (min-width: 768px) {
    .col-md-12 { flex: 0 0 auto; width: 100%; }
    .col-md-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-md-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-md-9 { flex: 0 0 auto; width: 75%; }
    .col-md-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-md-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-md-6 { flex: 0 0 auto; width: 50%; }
    .col-md-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-md-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-md-3 { flex: 0 0 auto; width: 25%; }
    .col-md-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-md-1 { flex: 0 0 auto; width: 8.333333%; }
}
@media (min-width: 992px) {
    .col-lg-12 { flex: 0 0 auto; width: 100%; }
    .col-lg-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-lg-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-lg-9 { flex: 0 0 auto; width: 75%; }
    .col-lg-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-lg-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-lg-6 { flex: 0 0 auto; width: 50%; }
    .col-lg-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-lg-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-lg-3 { flex: 0 0 auto; width: 25%; }
    .col-lg-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-lg-1 { flex: 0 0 auto; width: 8.333333%; }
}
@media (min-width: 1200px) {
    .col-xl-12 { flex: 0 0 auto; width: 100%; }
    .col-xl-11 { flex: 0 0 auto; width: 91.666667%; }
    .col-xl-10 { flex: 0 0 auto; width: 83.333333%; }
    .col-xl-9 { flex: 0 0 auto; width: 75%; }
    .col-xl-8 { flex: 0 0 auto; width: 66.666667%; }
    .col-xl-7 { flex: 0 0 auto; width: 58.333333%; }
    .col-xl-6 { flex: 0 0 auto; width: 50%; }
    .col-xl-5 { flex: 0 0 auto; width: 41.666667%; }
    .col-xl-4 { flex: 0 0 auto; width: 33.333333%; }
    .col-xl-3 { flex: 0 0 auto; width: 25%; }
    .col-xl-2 { flex: 0 0 auto; width: 16.666667%; }
    .col-xl-1 { flex: 0 0 auto; width: 8.333333%; }
}

/* ---------- Glyphicon compatibility shim ---------- */
/* Only 7 glyphicons are used site-wide; map them onto the already-loaded Font Awesome 4.5.
   Lets DB Topics content keep working before/without content edits. Remove once all usages are migrated to fa-*. */
.glyphicon {
  display: inline-block;
  font: normal normal normal 14px/1 FontAwesome;
  font-size: inherit;
  text-rendering: auto;
  -webkit-font-smoothing: antialiased;
}
.glyphicon-plus::before         { content: "\002b"; }  /* BS3 char: works with inline font-family overrides */
.glyphicon-minus::before        { content: "\2212"; }  /* BS3 char */
.glyphicon-chevron-up::before   { content: "\f077"; }
.glyphicon-chevron-down::before { content: "\f078"; }
.glyphicon-remove::before       { content: "\f00d"; }
.glyphicon-refresh::before      { content: "\f021"; }
.glyphicon-ok::before           { content: "\f00c"; }
/* + 3 used only in topics (postcard-dsg 308, newsletter 98: carousel arrows; top-nav-right 88: phone) */
.glyphicon-chevron-left::before { content: "\f053"; }
.glyphicon-chevron-right::before { content: "\f054"; }
.glyphicon-earphone::before     { content: "\f095"; }
.glyphicon-hand-left::before   { content: "\f0a5"; }  /* FA4 hand-o-left - dashboard proof carousel arrows (C#) */
.glyphicon-hand-right::before  { content: "\f0a4"; }  /* FA4 hand-o-right */

/* ---------- BS3 markup shims (legacy markup kept as-is per migration rule: rename, don't remove) ---------- */
/* BS3 .caret (removed in BS5) - used by the yamm top-nav */
.caret {
  display: inline-block;
  width: 0;
  height: 0;
  margin-left: 2px;
  vertical-align: middle;
  border-top: 4px dashed;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
}
/* BS3 .navbar / .navbar-default / .navbar-brand base (compiled less/bootstrap.css). BS5 dropped the 1px
   navbar border (BS3: transparent, .navbar-default -> #f5f5f5 = the light line under the dark menu bar
   @768-1400) and the floated 60px brand block (BS5 brand = inline, 5px/0 padding -> .navbar-header
   collapsed to 32px instead of the 60px dark strip). Placed before the scoped mobile brand rules
   below so those (same specificity, later) still win. */
.navbar {
  border: 1px solid transparent;
}
@media (min-width: 768px) {
  .navbar {
    border-radius: 1px;
  }
}
.navbar-default {
  background-color: #f5f5f5;
  border-color: #f5f5f5;
}
.navbar-brand {
  float: left;
  height: 60px;
  padding: 17.5px 15px;
  margin-right: 0;
  font-size: 20px;
  line-height: 25px;
}
.navbar-brand:hover,
.navbar-brand:focus {
  text-decoration: none;
}
.navbar-brand > img {
  display: block;
}
.navbar-default .navbar-brand {
  color: #777;
}
.navbar-default .navbar-brand:hover,
.navbar-default .navbar-brand:focus {
  color: #5e5e5e;
  background-color: transparent;
}
/* BS3 clearfix on .navbar-header (always a block/float here, never a flex container): it contained the
   floated 60px brand; without it the header was 2px short @375 (59.4 vs 61.4) -> every page 2px up. */
.navbar-header::before,
.navbar-header::after {
  content: " ";
  display: table;
}
.navbar-header::after {
  clear: both;
}
/* ...and BS3's .navbar::before table stopped the nested yamm navbar's margin (-2px mobile, 25px @768+)
   from collapsing through the outer topnav. Only where the legacy navbars are forced back to block
   (<=1020, see the .main-header rules below); BS5 flex navbars must not get pseudo flex items. */
@media (max-width: 1020px) {
  .main-header .navbar.topnav::before,
  .main-header .navbar.yamm::before {
    content: " ";
    display: table;
  }
}
/* BS3 .navbar-header was a full-width block inside the (block) navbar; in BS5's flex navbar it
   shrinks to content and the floated toggle loses its right edge. Restore the block geometry.
   MOBILE ONLY: on desktop (>=768) BS3 floated the header to zero height; an unconditional
   width:100% block added a 30-32px empty row above the menu strip at wide viewports. */
@media (max-width: 1400px) {
  /* hamburger band (menu strip hidden up to 1400): header is the full-width bar holding the toggle */
  .navbar .navbar-header {
    display: block;
    width: 100%;
  }
}
@media (min-width: 1401px) {
  .navbar .navbar-header {
    float: left; /* BS3 desktop behavior; toggle is hidden here, so header takes no height */
  }
}
/* BS3 .navbar-toggle button box (BS5 navbar-toggler is a flex child, BS3 floated right) */
.navbar-toggle {
  position: relative;
  float: right;            /* BS3 block context */
  margin-left: auto;       /* BS5 flex context: float is ignored on flex items */
  order: 99;
  padding: 9px 10px;
  margin-top: 13px;
  margin-right: 15px;
  margin-bottom: 13px;
  background-color: transparent;
  background-image: none;
  border: 1px solid transparent;
  border-radius: 4px;
}
/* BS3 .navbar-toggle icon bars (BS5 navbar-toggler uses an svg background instead) */
.navbar-toggle .icon-bar {
  display: block;
  width: 22px;
  height: 2px;
  border-radius: 1px;
  background-color: #888;
}
.navbar-toggle .icon-bar + .icon-bar {
  margin-top: 4px;
}
/* BS3 .nav/.navbar-nav anchor metrics for the yamm top-nav:
   legacy markup has bare <a> without BS5 .nav-link, so restore BS3's block display (scoped). */
.yamm ul.nav > li > a,
.yamm .navbar-nav > li > a {
  position: relative;
  display: block;
}
/* BS5 auto-draws a caret via .dropdown-toggle::after; BS3 did not (caret was a separate element,
   which this legacy markup already has). Disable globally to match the BS3 look. */
.dropdown-toggle::after,
.dropdown-toggle::before {
  display: none;
}
/* (2026-11-03, Stan: phone menu - Football, Basketball, ... lost their '+'.) The mobile accordion's '+' / '-' IS
   a ::after (topic 177 CSS: .yamm .taber.collapsed:after {content:"+"; float:right}). Topic 175 menu items
   Football..Volleyball carry class="dropdown-toggle taber" (Baseball..Slowpitch only "taber"), so the rule above
   hid their '+'. Show the site's pseudo again and drop the BS5 caret geometry (borders, margin, vertical-align)
   that BS5 puts on every .dropdown-toggle::after; BS3 had none of it. */
.dropdown-toggle.taber::after {
  display: block;
  border: 0;
  margin-left: 0;
  vertical-align: baseline;
}
/* BS5 .navbar is display:flex (BS3 was block): the nested yamm navbar becomes a shrink-to-fit
   flex item of the outer topnav navbar. Restore full width as in BS3. */
.navbar.topnav .navbar.yamm {
  width: 100%;
}
/* GOTCHA #39: legacy markup puts .row on a <table> (Custom Builder "added to cart" notice:
   <table class="row col-md-12">). BS3 .row was block-level, so the table kept table layout; BS5 .row
   is display:flex -> the table became a flex container and its cells collapsed to content width (the
   Shopping cart / Checkout buttons jumped from the right edge to right after the message @1229, text
   shifted 15px). Restore table layout; the -15px row margins stay as in BS3. */
table.row {
  display: table;
}

/* BS3 grid gutter was 30px; BS5 default is 24px (--bs-gutter-x: 1.5rem).
   Restore the historical gutter site-wide so column widths/positions match the BS3 layout. */
.row {
  --bs-gutter-x: 30px;
}
.container,
.container-fluid {
  --bs-gutter-x: 30px;
}
/* GOTCHA #33: BS3 clearfix on block containers (less/bootstrap.css 6448). BS5 dropped it from .container/
   .container-fluid, so a container whose content is all floats collapses: category pages (guided-nav
   sidebar + floated grid) ended the main area 45px early and the footer moved up (category-grid @1229).
   Not for containers inside a BS5 .navbar (flex, space-between -> pseudo elements would become items).
   .clearfix gets BS3's ::before too (BS5: ::after only) - the table box also stops top-margin collapse. */
.container:not(.navbar > .container)::before,
.container:not(.navbar > .container)::after,
.container-fluid:not(.navbar > .container-fluid)::before,
.container-fluid:not(.navbar > .container-fluid)::after,
.clearfix::before,
.dl-horizontal dd::before,
.dl-horizontal dd::after,
.form-horizontal .form-group::before,
.form-horizontal .form-group::after,
.pager::before,
.pager::after {
  content: " ";
  display: table;
}
.container:not(.navbar > .container)::after,
.container-fluid:not(.navbar > .container-fluid)::after,
.dl-horizontal dd::after,
.form-horizontal .form-group::after,
.pager::after {
  clear: both;
}
/* Flex wrapper for legacy bare-div column groups (BS3 floats needed no .row).
   Unlike .row it adds NO negative margins, matching the original BS3 geometry. */
.legacy-cols {
  /* Was display:flex. Switched to pure float mechanics (gotcha #10): flex made PLAIN (non-col)
     children shrink-to-content (e.g. #collapse in _RGridFilters -> 75px), while BS3 reality is
     floats for cols + normal block flow for everything else. Floats below reproduce that exactly. */
  display: block;
}
/* Gotcha #10: themestyles/custom set their own display on some of these containers
   (.c-row -> table, .champro-mobile-odd/-even -> flow-root), which overrides the flex above.
   BS3 laid those cells out with float:left on each col — restore that for direct col children.
   In flex contexts float is ignored, so this is a no-op where the flex path already works. */
/* Breakpoint-aware (2026-10-02): BS3 floated a column only while one of its classes was ACTIVE
   (col-xs-N always; col-sm-* from 768, col-md-* from 992, col-lg-* from 1200). Floating every col child at
   every width made inactive columns shrink-to-fit on mobile (footer headings @375: "+" glued to the text,
   footer 2-3x narrower). Mapping after the grid shift: BS3 xs/sm/md/lg = BS5 bare/md/lg/xl. */
.legacy-cols > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12) {
  float: left;
}
@media (min-width: 768px) {
  .legacy-cols > [class*="col-md-"] { float: left; }
}
@media (min-width: 992px) {
  .legacy-cols > [class*="col-lg-"] { float: left; }
}
@media (min-width: 1200px) {
  .legacy-cols > [class*="col-xl-"] { float: left; }
}
/* GOTCHA #34 (global twin of .legacy-cols): BS3 floated EVERY active grid column, whatever its parent;
   BS5 lays columns out only inside .row. Columns in plain block parents (product tab body col-md-12,
   related/upsell .product-page-footer.col-md-12, ...) stopped floating: parents now contain them and
   margins stop overlapping -> +25px on product pages @1229. Zero specificity (:where) so any site rule
   still wins; inside .row (flex) nothing changes, in flex/grid parents float is ignored anyway. */
:where(:not(.row) > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12)) {
  float: left;
}
@media (min-width: 768px) {
  :where(:not(.row) > [class*="col-md-"]) { float: left; }
}
@media (min-width: 992px) {
  :where(:not(.row) > [class*="col-lg-"]) { float: left; }
}
@media (min-width: 1200px) {
  :where(:not(.row) > [class*="col-xl-"]) { float: left; }
}
/* #34b (2026-10-30, Stan: Order History filter PROCESS - SPLASH/WAVE column dropped under CAPS/JUICE, indented).
   Site CSS makes .champro-block display:block (_RGridFilters inline, champro-grid-responsive.css,
   custom-order-dashboard.css - unconditionally), and it wins over .champro-grid-row/.row flex. So
   <div class="row champro-grid-row ... champro-block"> is a BLOCK row on prod and here. BS3 floated its
   columns and cleared them with the .row clearfix; #34 above skips .row parents, so here the columns
   stacked. Same per-breakpoint floats + the BS3 .row clearfix, only for these block rows. */
:where(.row.champro-block > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12)) {
  float: left;
}
@media (min-width: 768px) {
  :where(.row.champro-block > [class*="col-md-"]) { float: left; }
}
@media (min-width: 992px) {
  :where(.row.champro-block > [class*="col-lg-"]) { float: left; }
}
@media (min-width: 1200px) {
  :where(.row.champro-block > [class*="col-xl-"]) { float: left; }
}
.row.champro-block::before,
.row.champro-block::after {
  content: " ";
  display: table;
}
.row.champro-block::after {
  clear: both;
}
/* NO ::after clearfix here - deliberately. BS3 had a clearfix on .row but NOT on bare-div
   column groups: their containers COLLAPSE to 0 and the floated columns hang over the following
   flow (e.g. billing #collapse is 0px tall on prod with the filter column hanging). Containing
   the floats pushed everything below down by the container's height (+570px on billing@1920). */
/* GOTCHA #22: every BS3 grid column was `position: relative; min-height: 1px` (BS5 columns are static).
   Site CSS relies on it: absolutely positioned overlays inside a column (home bottom-row tiles
   .homepage-bottom-row-text {position:absolute; bottom:20px}) anchor to the column in BS3; without it
   they anchor to a far ancestor. Same cascade slot as BS3 (right after bootstrap), same specificity. */
[class^="col-"],
[class*=" col-"] {
  position: relative;
  min-height: 1px;
}
/* GOTCHA #21: BS3 .img-responsive was display:block (+max-width/height); BS5 .img-fluid keeps the
   image INLINE. Every .img-fluid in this skin was migrated from .img-responsive, so restore the
   BS3 display. Same cascade slot as BS3 (this file loads right after bootstrap, before site CSS),
   so site rules that set display on these images still win exactly as before.
   Symptom without it: inline img gets a line box -> extra gap/shift (section tiles, white-space rules). */
.img-fluid { display: block; }
/* ...and the BS3 class itself for markup the migrators cannot reach (C#-generated HTML, e.g. Topic.cs BS3 branch) */
.img-responsive { display: block; max-width: 100%; height: auto; }
/* BS3 media object shim (BS5 dropped .media; minicart items use media-left/media-body).
   Faithful port of BS3 3.3 media.less — rename-not-remove, markup keeps legacy classes. */
.media { margin-top: 15px; }
.media:first-child { margin-top: 0; }
.media, .media-body { overflow: hidden; zoom: 1; }
.media-left, .media-right, .media-body { display: table-cell; vertical-align: top; }
.media-body { width: 10000px; }
.media-left, .media > .float-start { padding-right: 10px; }
.media-right, .media > .float-end { padding-left: 10px; }
.media-object { display: block; }
.media-heading { margin-top: 0; margin-bottom: 5px; }
.media-list { padding-left: 0; list-style: none; }

/* Gotcha #15 (mobile/tablet): BS3 gave width:auto to grid classes with no ACTIVE breakpoint;
   BS5 forces width:100% on every .row child. Harmless in flex rows (same stacking), but it
   overflows in two legacy contexts:
   a) inside Kendo widgets, whose CSS makes everything content-box (100% + 30px padding);
   b) rows whose display legacy CSS overrides to block (header search row, champro-flex). */
@media (max-width: 767.98px) {
  .k-widget .row > *,
  .k-widget [class^="col-"],
  .k-widget [class*=" col-"] {
    box-sizing: border-box; /* restores the BS3 width:auto fit (prod: 354px, was 384px) */
  }
}
@media (max-width: 991.98px) {
  /* BS3: below md the search column (col-md-10 = BS5 col-lg-10) had no active width -> plain FULL-WIDTH
     block. In a flex row width:auto shrinks it to content (33px @768, search box collapsed). */
  .row.search-navigation-row {
    display: block;
  }
  :where(.row.search-navigation-row, .row.champro-flex) > [class*="col-lg-"],
  :where(.row.search-navigation-row, .row.champro-flex) > [class*="col-xl-"] {
    width: auto; /* BS3: no active breakpoint -> plain block */
  }
}
@media (max-width: 767.98px) {
  /* BS3 header rows were plain blocks on mobile; BS5 flex + flex-shrink:0 overflows
     (search col: margin-left 37 + forced width). Desktop keeps the flex header grid. */
  .row.header-row,
  .row.search-navigation-row {
    display: block;
  }
  /* BS3 floated these header cols (logo xs-6 + cart xs-4 share a line, search xs-12 wraps) */
  /* undo BS5 .row>* width:100% in these block rows - but NOT for xs columns (col-N), which keep
     their N/12 width exactly like BS3 col-xs-N (was: all children -> header-right-info 15px instead of 125px) */
  .row.header-row > *:not(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12),
  .row.search-navigation-row > *:not(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12) {
    width: auto;
  }
  /* BS3 floated ONLY xs columns below 768px; col-sm/md/lg-only columns were plain blocks */
  .row.header-row > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12),
  .row.search-navigation-row > :is(.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12) {
    float: left;
  }
  /* BS3 header markup had col-xs-pull-2 on the account column; the BS5 rewrite replaced push/pull by
     order-* (desktop). Reproduce the mobile pull only (desktop keeps the order-based layout). */
  .main-header .header-right-info {
    right: 16.66666667%;
  }
  .row.header-row::after,
  .row.search-navigation-row::after {
    content: "";
    display: block;
    clear: both;
  }
  /* Mobile nav strip (task #20): BS3 .navbar was a plain block - the floated "Menu" label and the
     yamm navbar shared ONE 60px line. BS5 flex navbars wrapped the yamm navbar to a 2nd line (+60px). */
  .main-header .navigationbar-mobile > .row,
  .main-header .navbar.topnav,
  .main-header .navbar.yamm {
    display: block;
  }
  /* ...and BS3 clearfixed both, so they contain the floated brand/label (prod .navbar-header = 61px dark strip) */
  .main-header .navbar.topnav::after,
  .main-header .navbar.yamm::after {
    content: "";
    display: table;
    clear: both;
  }
  /* BS3 .navbar-brand: floated block with 15px padding (BS5: inline-block, 5px/0 padding).
     :where() = BS3 specificity, so the .menu-label rule below and site CSS still win. */
  :where(.main-header) .navbar-brand {
    float: left;
    height: 50px;
    padding: 15px 15px;
    margin-right: 0;
    font-size: 18px;
    line-height: 20px;
  }
  /* BS3 .navbar-brand metrics for the mobile "Menu" label (BS5 brand padding is 5px) */
  .navbar .menu-label {
    height: 60px;
    padding-top: 17.5px;
    padding-bottom: 17.5px;
  }
}

/* Gotcha #23: BS5 .row > * (flex item, width:100%, gutter padding) also hits NON-column children,
   which BS3 left in plain flow. Product matrix colour swatch: <div class="row thumb_images"><img><div>
   -> the swatch img was stretched to the full cell (40px vs prod ~20px) and the label became a flex item.
   Scoped: BS3 block flow for this row, natural size for its children. */
.row.thumb_images {
  display: block;
}
.row.thumb_images > * {
  width: auto;
  padding-left: 0;
  padding-right: 0;
}
/* #23b (2026-10-30, Stan: product 2033 matrix) the reset above (0-2-0) also beat imageViewer.css
   img.champro_thumbactive {padding:5px} (0-1-1): the selected swatch lost its side gap inside the frame and no longer
   moved ~7px right on selection as on prod. Give the active swatch its own padding back. */
.row.thumb_images > img.champro_thumbactive {
  padding-left: 5px;
  padding-right: 5px;
}

/* 768-991: BS3 col-sm-push-5 put the account column at 7/12 (overlapping the search column); the BS5
   order-md-* layout puts it at 8/12 -> account icon 63px too far right @768 (partly off-screen). */
@media (min-width: 768px) and (max-width: 991.98px) {
  .main-header .header-right-info {
    right: 8.33333333%;
  }
}
/* 768-1020 (site CSS custom.css switches to the toggle menu at <=1020): keep BS3 block navbars too,
   otherwise BS5 flex align-items:center drops .navbar-header 14px and shrinks it (toggle 14px low @768). */
@media (min-width: 768px) and (max-width: 1020px) {
  .main-header .navbar.topnav,
  .main-header .navbar.yamm {
    display: block;
  }
  .main-header .navbar.topnav::after,
  .main-header .navbar.yamm::after {
    content: "";
    display: table;
    clear: both;
  }
}
/* Header row >=768 is a BS5 flex row: its legacy float-clearing child (div.clearfix.d-lg-none, shown 768-991)
   became a width:100% flex item placed right after the logo (order 0) and pushed search+account to a
   2nd line (header 161px vs prod 121px @768). In flex it has nothing to clear - make it a zero-size item. */
@media (min-width: 768px) {
  .row.header-row > .clearfix {
    width: 0;
    padding: 0;
    order: 99;
  }
}
/* GOTCHA #25: BS3 components BS5 dropped, used by legacy markup that keeps the classes (found with the
   LOCAL BS3 reference site): .panel family (guided-nav sidebar box = .panel-group > .panel.panel-default1
   bordered by guidednavigation.css border-color - invisible without BS3's border:1px solid) and the
   CUSTOMISED .img-thumbnail of the compiled less/bootstrap.css (padding 0, transparent border; BS5 draws a
   grey 1px border + 4px padding around every sub-category tile). Values copied from less/bootstrap.css. */
.img-thumbnail {
  padding: 0;
  line-height: 1.6;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 0;
  transition: all 0.2s ease-in-out;
  display: inline-block;
  max-width: 100%;
  height: auto;
}
.panel {
  margin-bottom: 25px;
  background-color: #fff;
  border: 1px solid transparent;
  border-radius: 1px;
  box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}
.panel-body { padding: 15px; }
.panel-heading {
  padding: 10px 15px;
  border-bottom: 1px solid transparent;
  border-top-right-radius: 0;
  border-top-left-radius: 0;
}
.panel-heading > .dropdown .dropdown-toggle { color: inherit; }
.panel-title { margin-top: 0; margin-bottom: 0; font-size: 18px; color: inherit; }
.panel-title > a, .panel-title > small, .panel-title > .small, .panel-title > small > a, .panel-title > .small > a { color: inherit; }
.panel-footer {
  padding: 10px 15px;
  background-color: #f5f5f5;
  border-top: 1px solid #ddd;
  border-bottom-right-radius: 0;
  border-bottom-left-radius: 0;
}
.panel-group { margin-bottom: 25px; }
.panel-group .panel { margin-bottom: 0; border-radius: 1px; }
.panel-group .panel + .panel { margin-top: 5px; }
.panel-group .panel-heading { border-bottom: 0; }
.panel-group .panel-heading + .panel-collapse > .panel-body,
.panel-group .panel-heading + .panel-collapse > .list-group { border-top: 1px solid #ddd; }
.panel-group .panel-footer { border-top: 0; }
.panel-group .panel-footer + .panel-collapse .panel-body { border-bottom: 1px solid #ddd; }
.panel-default { border-color: #ddd; }
.panel-default > .panel-heading { color: #333333; background-color: #f5f5f5; border-color: #ddd; }
.panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #ddd; }
.panel-default > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #ddd; }
.panel-body::before, .panel-body::after { content: " "; display: table; }
.panel-body::after { clear: both; }

/* GOTCHA #26: dashboard record rows (.row.champro-grid-row) are made flex by SITE CSS
   (champro-grid-responsive / custom-order-dashboard: display:flex). In BS3 that was a plain flex row:
   nowrap + flex-shrink:1, so the full-width xs columns (col-xs-12 image / info / buttons) SHRANK and sat
   side by side below 992px. BS5 .row adds flex-wrap:wrap and .row>* flex-shrink:0 -> every column wraps
   to its own line (proof/COD records ~2x taller @800). Restore the BS3 flex defaults; :where() keeps
   site CSS able to override, exactly like before. */
:where(.row).champro-grid-row { flex-wrap: nowrap; }
.champro-grid-row > * { flex-shrink: 1; }

/* GOTCHA #27: horizontal auto margins on a COLUMN. BS3 columns were floats - `margin: 0 auto` on a float
   computes to 0, so it had no effect. In a BS5 flex .row an auto margin absorbs all free space: the 4th
   home bottom-row tile (topic homepage-bottom-row-text, inline style="margin: 0 auto") jumped to the far
   right, leaving a hole. Only occurrence in topics/views/xmlpackages (scanned). Inline style -> !important. */
.row.homepage-bottom-row > .col-bottom-buttons {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

/* BS3 clearfix on .navbar-header (BS3-only class, BS5 has no equivalent) */
.navbar-header::before,
.navbar-header::after {
  content: " ";
  display: table;
}
.navbar-header::after {
  clear: both;
}
/* GOTCHA #24: BS3 .nav / .nav-tabs base styles (BS5 styles only .nav-link/.nav-item; legacy markup is
   <ul class="nav nav-tabs"><li class="active"><a data-bs-toggle="tab">). Without them the tab anchors are
   INLINE, so their inline width:150px is ignored (product DETAILS/SPECIFICATIONS tabs too narrow).
   Ported from the compiled less/bootstrap.css at BS3 specificity; :where(:not(.nav-link)) leaves real BS5
   nav markup alone. BS5 tab JS puts .active on the <a> (BS3: on the <li>) -> a.active twins added. */
.nav > li { position: relative; display: block; }
.nav > li > a:where(:not(.nav-link)) { position: relative; display: block; padding: 10px 15px; }
.nav > li > a:where(:not(.nav-link)):hover,
.nav > li > a:where(:not(.nav-link)):focus { text-decoration: none; background-color: #eeeeee; }
.nav > li > a > img { max-width: none; }
.nav-tabs > li { float: left; margin-bottom: -1px; }
.nav-tabs > li > a:where(:not(.nav-link)) {
  margin-right: 2px;
  line-height: 1.6;
  border: 1px solid transparent;
  border-radius: 1px 1px 0 0;
}
.nav-tabs > li > a:where(:not(.nav-link)):hover { border-color: #eeeeee #eeeeee #ddd; }
.nav-tabs > li.active > a,
.nav-tabs > li.active > a:hover,
.nav-tabs > li.active > a:focus,
.nav-tabs > li > a.active:where(:not(.nav-link)),
.nav-tabs > li > a.active:where(:not(.nav-link)):hover,
.nav-tabs > li > a.active:where(:not(.nav-link)):focus {
  color: #555555;
  background-color: #fff;
  border: 1px solid #ddd;
  border-bottom-color: transparent;
  cursor: default;
}
/* BS3 grey readonly/disabled inputs (product matrix TOTAL cells); BS5 leaves readonly white */
.form-control[disabled],
.form-control[readonly],
fieldset[disabled] .form-control {
  background-color: #eeeeee;
  opacity: 1;
}

/* Gotcha #16: in a BS5 flex .row a child's min-width:auto equals its CONTENT width, so a
   column holding a wide table (min-width'd cells) refuses to sit beside the filter column and
   flex-wrap drops it to the next line (billing/OH @>1400: table fell 570px below the filters).
   BS3 floats ignored min-content. Restore that: */
.row.champro-flex {
  flex-wrap: nowrap; /* site's own flex row: prod has no wrap, BS5 .row forces wrap - a 0.4px
                        basis overflow was wrapping the whole table below the filter column */
}
.row.champro-flex > * {
  min-width: 0;
  flex-shrink: 1; /* BS5 .row>* locks flex-shrink:0; champro-flex (site's own flex row, prod incl.)
                     relies on default shrinking to fit the table column beside the filters */
}

/* Dashboard filter-group headers carry class "row" but are BS3 float/inline rows
   (em float:left + label + span.selno float:right). BS5 flex stacks them - restore block. */
.row.champro-filter-header {
  display: block;
}
/* BS5 .row > * forces width:100% on children regardless of the parent's display -
   in this block legacy row it stacked the +/- glyph, the label and "clear" on separate
   lines (+30..50px per filter group). BS3 children were plain floats/inline. */
.row.champro-filter-header > * {
  width: auto;
}
/* ...and BS3's .row clearfix (faithful port; the header height is fixed by site CSS anyway). */
.row.champro-filter-header::before,
.row.champro-filter-header::after {
  content: " ";
  display: table;
}
.row.champro-filter-header::after {
  clear: both;
}
/* Dashboard filter bodies (#collapseD/S/P/V: "row champro-grid-row2 ... collapse in show") were BS3 block rows.
   As BS5 flex rows they are a BFC that sidesteps the header's overhanging floated +/- glyph -> the whole
   date-range box was pushed 37px right @375. Block again, only while shown (keeps .collapse:not(.show) hidden). */
.row.champro-grid-row2:not(.collapse),
.row.champro-grid-row2.collapse.show {
  display: block;
}

/* Dashboards' pager links are bare children of a BS5 .row (flex, width:100% per child).
   Restore BS3 inline flow for them. */
.row > [class*="champro-pager"] {
  width: auto;
  flex: 0 0 auto;
}

/* GOTCHA #37: BS3 modal geometry. All 9 site modals are legacy markup (close button first, then title;
   no BS5-authored modals, no .modal-lg/-sm/btn-close anywhere). BS5 makes .modal-header/.modal-footer
   flex rows (minicart: "switch to wishlist" link, X and title squeezed into one line; X lands on the
   left), sizes the dialog 500px (BS3 600px from 768) and adds .25rem margins to every footer child.
   Values from compiled less/bootstrap.css. Interaction-only: the static harness never opens modals. */
.modal-dialog {
  width: auto;
  max-width: none;
  margin: 10px;
}
@media (min-width: 768px) {
  .modal-dialog {
    width: 600px;
    margin: 65px auto;
  }
  .modal-content {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5);
  }
}
.modal-content {
  display: block;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 1px;
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
}
.modal-header {
  display: block;
  padding: 15px;
  border-bottom: 1px solid #e5e5e5;
}
.modal-header .close { margin-top: -2px; }
.modal-title { margin: 0; line-height: 1.6; }
.modal-body { position: relative; padding: 15px; }
.modal-footer {
  display: block;
  padding: 15px;
  text-align: right;
  border-top: 1px solid #e5e5e5;
}
.modal-footer > * { margin: 0; }
.modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; }
.modal-header::before,
.modal-header::after,
.modal-footer::before,
.modal-footer::after {
  content: " ";
  display: table;
}
.modal-header::after,
.modal-footer::after {
  clear: both;
}
/* #37b (2026-10-30, Stan: minicart vs prod) two more BS3 modal differences, found on the minicart:
   1) text colour. BS5 .modal-content sets color: var(--bs-modal-color) = --bs-body-color (#333); BS3 .modal-content set
      none and inherited the page colour, which yamm.css (linked from top-nav topic 175) makes #666 -> prod item
      details / prices / total are #666, ours were #333.
   2) footer row. `.modal-footer > * { margin: 0 }` above (undoing BS5's footer gap) also zeroed the -15px margins
      of the footer .row -> minicart 'Total' 15px further right, Close/Checkout 15px further left than prod. */
.modal-content {
  color: inherit;
}
.modal-footer > .row {
  margin-left: calc(-.5 * var(--bs-gutter-x));
  margin-right: calc(-.5 * var(--bs-gutter-x));
}

/* BS3 .close button (modal headers keep legacy markup with &times;); BS5's .btn-close draws its own X,
   so legacy markup keeps class "close" and gets the BS3 look here. */
.close {
  float: right;
  font-size: 21px;
  font-weight: 700;
  line-height: 1;
  color: #000;
  text-shadow: 0 1px 0 #fff;
  opacity: .2;
}
.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
  opacity: .5;
}
button.close {
  padding: 0;
  cursor: pointer;
  background: transparent;
  border: 0;
  -webkit-appearance: none;
  appearance: none;
}
/* BS3 col-md-push-1 on the header logo column (push = relative shift with overlap, NOT a flex offset).
   BS3 md breakpoint (992px) maps to BS5 lg. */
@media (min-width: 992px) {
  .main-header .logo-wrap {
    position: relative;
    left: 8.33333333%;
  }
}

/* ---------- BS3 push/pull compat (original class names, original breakpoints) ----------
   BS3 push/pull = position:relative + left/right N/12%, overlapping neighbours (NOT a flex offset).
   Kept as-is in legacy markup per the rename-don't-remove rule. xs = always, sm>=768, md>=992, lg>=1200. */
.col-xs-push-1 { position: relative; left: 8.33333333%; }
.col-xs-pull-1 { position: relative; right: 8.33333333%; }
.col-xs-push-2 { position: relative; left: 16.66666667%; }
.col-xs-pull-2 { position: relative; right: 16.66666667%; }
.col-xs-push-3 { position: relative; left: 25.00000000%; }
.col-xs-pull-3 { position: relative; right: 25.00000000%; }
.col-xs-push-4 { position: relative; left: 33.33333333%; }
.col-xs-pull-4 { position: relative; right: 33.33333333%; }
.col-xs-push-5 { position: relative; left: 41.66666667%; }
.col-xs-pull-5 { position: relative; right: 41.66666667%; }
.col-xs-push-6 { position: relative; left: 50.00000000%; }
.col-xs-pull-6 { position: relative; right: 50.00000000%; }
.col-xs-push-7 { position: relative; left: 58.33333333%; }
.col-xs-pull-7 { position: relative; right: 58.33333333%; }
.col-xs-push-8 { position: relative; left: 66.66666667%; }
.col-xs-pull-8 { position: relative; right: 66.66666667%; }
.col-xs-push-9 { position: relative; left: 75.00000000%; }
.col-xs-pull-9 { position: relative; right: 75.00000000%; }
.col-xs-push-10 { position: relative; left: 83.33333333%; }
.col-xs-pull-10 { position: relative; right: 83.33333333%; }
.col-xs-push-11 { position: relative; left: 91.66666667%; }
.col-xs-pull-11 { position: relative; right: 91.66666667%; }
.col-xs-push-0 { left: auto; }   /* #42 BS3 -0 resets, kept inside their breakpoint so wider breakpoints still win */
.col-xs-pull-0 { right: auto; }
@media (min-width: 768px) {
  .col-sm-push-1 { position: relative; left: 8.33333333%; }
  .col-sm-pull-1 { position: relative; right: 8.33333333%; }
  .col-sm-push-2 { position: relative; left: 16.66666667%; }
  .col-sm-pull-2 { position: relative; right: 16.66666667%; }
  .col-sm-push-3 { position: relative; left: 25.00000000%; }
  .col-sm-pull-3 { position: relative; right: 25.00000000%; }
  .col-sm-push-4 { position: relative; left: 33.33333333%; }
  .col-sm-pull-4 { position: relative; right: 33.33333333%; }
  .col-sm-push-5 { position: relative; left: 41.66666667%; }
  .col-sm-pull-5 { position: relative; right: 41.66666667%; }
  .col-sm-push-6 { position: relative; left: 50.00000000%; }
  .col-sm-pull-6 { position: relative; right: 50.00000000%; }
  .col-sm-push-7 { position: relative; left: 58.33333333%; }
  .col-sm-pull-7 { position: relative; right: 58.33333333%; }
  .col-sm-push-8 { position: relative; left: 66.66666667%; }
  .col-sm-pull-8 { position: relative; right: 66.66666667%; }
  .col-sm-push-9 { position: relative; left: 75.00000000%; }
  .col-sm-pull-9 { position: relative; right: 75.00000000%; }
  .col-sm-push-10 { position: relative; left: 83.33333333%; }
  .col-sm-pull-10 { position: relative; right: 83.33333333%; }
  .col-sm-push-11 { position: relative; left: 91.66666667%; }
  .col-sm-pull-11 { position: relative; right: 91.66666667%; }
  .col-sm-push-0 { left: auto; }
  .col-sm-pull-0 { right: auto; }
}
@media (min-width: 992px) {
  .col-md-push-1 { position: relative; left: 8.33333333%; }
  .col-md-pull-1 { position: relative; right: 8.33333333%; }
  .col-md-push-2 { position: relative; left: 16.66666667%; }
  .col-md-pull-2 { position: relative; right: 16.66666667%; }
  .col-md-push-3 { position: relative; left: 25.00000000%; }
  .col-md-pull-3 { position: relative; right: 25.00000000%; }
  .col-md-push-4 { position: relative; left: 33.33333333%; }
  .col-md-pull-4 { position: relative; right: 33.33333333%; }
  .col-md-push-5 { position: relative; left: 41.66666667%; }
  .col-md-pull-5 { position: relative; right: 41.66666667%; }
  .col-md-push-6 { position: relative; left: 50.00000000%; }
  .col-md-pull-6 { position: relative; right: 50.00000000%; }
  .col-md-push-7 { position: relative; left: 58.33333333%; }
  .col-md-pull-7 { position: relative; right: 58.33333333%; }
  .col-md-push-8 { position: relative; left: 66.66666667%; }
  .col-md-pull-8 { position: relative; right: 66.66666667%; }
  .col-md-push-9 { position: relative; left: 75.00000000%; }
  .col-md-pull-9 { position: relative; right: 75.00000000%; }
  .col-md-push-10 { position: relative; left: 83.33333333%; }
  .col-md-pull-10 { position: relative; right: 83.33333333%; }
  .col-md-push-11 { position: relative; left: 91.66666667%; }
  .col-md-pull-11 { position: relative; right: 91.66666667%; }
  .col-md-push-0 { left: auto; }
  .col-md-pull-0 { right: auto; }
}
@media (min-width: 1200px) {
  .col-lg-push-1 { position: relative; left: 8.33333333%; }
  .col-lg-pull-1 { position: relative; right: 8.33333333%; }
  .col-lg-push-2 { position: relative; left: 16.66666667%; }
  .col-lg-pull-2 { position: relative; right: 16.66666667%; }
  .col-lg-push-3 { position: relative; left: 25.00000000%; }
  .col-lg-pull-3 { position: relative; right: 25.00000000%; }
  .col-lg-push-4 { position: relative; left: 33.33333333%; }
  .col-lg-pull-4 { position: relative; right: 33.33333333%; }
  .col-lg-push-5 { position: relative; left: 41.66666667%; }
  .col-lg-pull-5 { position: relative; right: 41.66666667%; }
  .col-lg-push-6 { position: relative; left: 50.00000000%; }
  .col-lg-pull-6 { position: relative; right: 50.00000000%; }
  .col-lg-push-7 { position: relative; left: 58.33333333%; }
  .col-lg-pull-7 { position: relative; right: 58.33333333%; }
  .col-lg-push-8 { position: relative; left: 66.66666667%; }
  .col-lg-pull-8 { position: relative; right: 66.66666667%; }
  .col-lg-push-9 { position: relative; left: 75.00000000%; }
  .col-lg-pull-9 { position: relative; right: 75.00000000%; }
  .col-lg-push-10 { position: relative; left: 83.33333333%; }
  .col-lg-pull-10 { position: relative; right: 83.33333333%; }
  .col-lg-push-11 { position: relative; left: 91.66666667%; }
  .col-lg-pull-11 { position: relative; right: 91.66666667%; }
  .col-lg-push-0 { left: auto; }
  .col-lg-pull-0 { right: auto; }
}

/* dropsearchform package: BS3 floated its grid columns (zero-height form-group, content overlaps
   the rows below) - restore that flow for the header search block. */
/* :where() keeps BS3 specificity (0,1,0) so site CSS loaded later still wins (custom.css .div-search
   position:absolute at <=1020px - it was losing to this rule and the search took 46px of header height) */
:where(.search-form-group) [class*="col-"] {
  float: left;
  position: relative;
}

/* ---------- BS3 navbar & row-children geometry ---------- */
/* BS5 .row > * pads and sizes EVERY direct child; BS3 padded only .col-* children.
   :where() keeps specificity at 0-1-0 so element-own class rules still win. */
.row > :where(:not([class*="col-"])) {
  padding-left: 0;
  padding-right: 0;
}
/* BS3 .navbar: min-height from @navbar-height (60px in variables.less), no y-padding.
   BS5 has no min-height and adds 8px y-padding. */
.navbar {
  --bs-navbar-padding-y: 0;
  --bs-navbar-padding-x: 0;
  min-height: 60px;
}
/* BS3 hid .navbar-toggle from 768px up; yamm.css re-shows it below 1400px (its own media rule).
   Without this base rule the hamburger shows on desktop widths where BS3 never showed it. */
@media (min-width: 768px) {
  .navbar-toggle {
    display: none;
  }
}
/* BS3 carousel slides used .item (BS5 renamed to .carousel-item), so BS5 CSS no longer hides
   inactive slides and they all render stacked. Restore BS3 stacking for legacy carousel markup. */
.carousel-inner > .item {
  display: none;
  position: relative;
  transition: .6s ease-in-out left;
}
.carousel-inner > .item.active,
.carousel-inner > .item.next,
.carousel-inner > .item.prev {
  display: block;
}
/* Legacy .item slides that ALSO carry .carousel-item are driven by BS5 carousel JS (dashboard proof
   carousels from CSCustomOrderDashboardAsyncController, migrated topics): let BS5's transition
   states show them and restore BS5's transform transition (the BS3 'left' transition above wins on
   specificity otherwise -> slides jumped without animation and the incoming slide stayed hidden). */
.carousel-inner > .item.carousel-item {
  transition: transform .6s ease-in-out;
}
.carousel-inner > .item.carousel-item-next,
.carousel-inner > .item.carousel-item-prev {
  display: block;
}
/* BS3 .carousel-control arrows (removed in BS5; legacy markup keeps 'carousel-control left/right').
   Values from compiled less/bootstrap.css; custom-order-dashboard.css still overrides as over BS3. */
.carousel-control {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  width: 15%;
  opacity: 0.5;
  font-size: 20px;
  color: #fff;
  text-align: center;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6);
  background-color: rgba(0, 0, 0, 0);
}
.carousel-control.left {
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%);
  background-repeat: repeat-x;
}
.carousel-control.right {
  left: auto;
  right: 0;
  background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%);
  background-repeat: repeat-x;
}
.carousel-control:hover,
.carousel-control:focus {
  outline: 0;
  color: #fff;
  text-decoration: none;
  opacity: 0.9;
}
.carousel-control .icon-prev,
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-left,
.carousel-control .glyphicon-chevron-right {
  position: absolute;
  top: 50%;
  margin-top: -10px;
  z-index: 5;
  display: inline-block;
}
.carousel-control .icon-prev,
.carousel-control .glyphicon-chevron-left {
  left: 50%;
  margin-left: -10px;
}
.carousel-control .icon-next,
.carousel-control .glyphicon-chevron-right {
  right: 50%;
  margin-right: -10px;
}
.carousel-control .icon-prev,
.carousel-control .icon-next {
  width: 20px;
  height: 20px;
  line-height: 1;
  font-family: serif;
}
.carousel-control .icon-prev::before { content: '\2039'; }
.carousel-control .icon-next::before { content: '\203a'; }
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  line-height: 1;
}
/* (2026-10-30, Stan: COD record proof image cut off on the right) BS3 also put these slide images into the
   .img-responsive group (compiled less/bootstrap.css): display:block; max-width:100%; height:auto. Only the
   line-height part had been ported -> a 200x258 proof rendered at natural size in the 146px image column @1229
   and .carousel-inner (overflow:hidden) cut 54px. Ported verbatim. */
.carousel-inner > .item > img,
.carousel-inner > .item > a > img {
  display: block;
  max-width: 100%;
  height: auto;
}
/* navbar-expand-md forces flex-wrap:nowrap from 768px; the yamm navbar needs BS3's block flow:
   full-width header line, collapse dropping to its own full-width line below. */
.navbar.yamm {
  flex-wrap: wrap;
}
@media (max-width: 1400px) {
  .yamm .navbar-collapse {
    width: 100%;
  }
}
/* (2026-11-04, BUG-08: tablet 768px - phone menu laid the sports out in 3 rows with '+' next to the text.)
   navbar-expand-md turns .navbar-nav into a flex ROW from 768px. BS3 had a block .navbar-nav and yamm.css
   (max-width:1400px) sets .yamm .navbar-nav > li {float:none}, so in accordion mode (<=1200, topic 177 '+'
   rules) the items stacked full width. Restore BS3's block flow there; 1201-1400 is left to yamm.css's own
   display:flex rule. Also BS3's .navbar-collapse 15px side padding (BS5 has none), cancelled below 768 by
   BS3's .navbar-nav {margin: 7.5px -15px} -> list inset 15px on tablet, edge-to-edge on phone, as on prod. */
@media (max-width: 1200px) {
  .yamm .navbar-nav {
    display: block;
  }
  .yamm .navbar-collapse {
    padding-left: 15px;
    padding-right: 15px;
  }
}
@media (max-width: 767px) {
  .yamm .navbar-nav {
    margin-left: -15px;
    margin-right: -15px;
  }
}
/* BS3 .navbar-default skin for the legacy navbar bits (toggle + nav links) */
.navbar-default .navbar-toggle {
  border-color: #ddd;
}
.navbar-default .navbar-toggle:hover,
.navbar-default .navbar-toggle:focus {
  background-color: #ddd;
}
.navbar-default .navbar-toggle .icon-bar {
  background-color: #888;
}
.navbar-default .navbar-nav > li > a {
  color: #777;
}
.navbar-default .navbar-nav > li > a:hover,
.navbar-default .navbar-nav > li > a:focus {
  color: #333;
  background-color: transparent;
}
/* Gotcha #8: BS5 columns OUTSIDE a .row resolve var(--bs-gutter-x) to nothing -> zero padding.
   BS3 gave every column its 15px padding regardless of parent. Root-level default restores that;
   .row/.container still set their own value. */
:root {
  --bs-gutter-x: 30px;
  --bs-gutter-y: 0;
}
/* Hover mega-dropdown must open BELOW the menu strip (its BS3 static-flow position),
   not over it: anchor it to the bottom of the positioned .navbar.yamm. */
.yamm .yamm-fw > .dropdown-menu {
  top: 100%;
}
/* Gotcha #8 (part 2): BS5 pads columns only via `.row > *`; BS3 padded every .col-* directly.
   Zero-specificity rule so every other padding rule still wins. */
:where([class^="col-"], [class*=" col-"]) {
  padding-left: calc(var(--bs-gutter-x) * .5);
  padding-right: calc(var(--bs-gutter-x) * .5);
}
/* Gotcha #9: BS5 reboot underlines every link; BS3 underlined only on hover/focus.
   Restore BS3 defaults site-wide (theme CSS keeps overriding where it already does). */
a {
  text-decoration: none;
}
a:hover,
a:focus {
  text-decoration: underline;
}
/* (retired) "white outline around the dark nav block" emulation: the line is BS3's own .navbar-default
   1px #f5f5f5 border, now ported in the navbar base block above; the emulation drew a second line
   through the header (top edge of .navigationbar-mobile sits under the logo row). Original rule kept in
   bs5-migration/_removed/champro-bs5-overrides.css.before-typography. */


/* ---------- BS3 base typography (compiled less/bootstrap.css; same cascade slot as BS3) ----------
   BS5 reboot: headings mb .5rem, responsive rem sizes, body font; p mb 1rem; hr 25%-opacity currentColor;
   ul/ol padding 2rem. BS3 (Champro build): factoria headings, fixed px sizes, 12.5px rhythm.
   themestyles.css (loaded after) still sets heading margin-top:0 + line-height:1.6, as over BS3. */
h1, h2, h3, h4, h5, h6,
.h1, .h2, .h3, .h4, .h5, .h6 {
  font-family: factoria, serif;
  font-weight: 500;
  line-height: 1.1;
  color: inherit;
}
h1, .h1, h2, .h2, h3, .h3 { margin-top: 25px; margin-bottom: 12.5px; }
h4, .h4, h5, .h5, h6, .h6 { margin-top: 12.5px; margin-bottom: 12.5px; }
h1, .h1 { font-size: 41px; }
h2, .h2 { font-size: 34px; }
h3, .h3 { font-size: 28px; }
h4, .h4 { font-size: 20px; }
h5, .h5 { font-size: 16px; }
h6, .h6 { font-size: 14px; }
:is(h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6) :is(small, .small) {
  font-weight: normal;
  line-height: 1;
  color: #777777;
}
:is(h1, h2, h3, .h1, .h2, .h3) :is(small, .small) { font-size: 65%; }
:is(h4, h5, h6, .h4, .h5, .h6) :is(small, .small) { font-size: 75%; }
p { margin: 0 0 12.5px; }
.lead { margin-bottom: 25px; font-size: 18px; font-weight: 300; line-height: 1.4; }
@media (min-width: 768px) { .lead { font-size: 24px; } }
small, .small { font-size: 87%; }
b, strong { font-weight: bold; }
hr {
  box-sizing: content-box;
  height: 0;
  margin-top: 25px;
  margin-bottom: 25px;
  border: 0;
  border-top: 1px solid #eeeeee;
  opacity: 1;
}
ul, ol { margin-top: 0; margin-bottom: 12.5px; padding-left: 40px; }
ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; }
dl { margin-top: 0; margin-bottom: 25px; }
dt, dd { line-height: 1.6; }
dt { font-weight: bold; }
dd { margin-left: 0; margin-bottom: 0; }
blockquote {
  padding: 12.5px 25px;
  margin: 0 0 25px;
  font-size: 20px;
  border-left: 5px solid #eeeeee;
}
address { margin-bottom: 25px; font-style: normal; line-height: 1.6; }
th { text-align: left; }
/* BS3 normalize zeroed td/th padding - an AUTHOR rule, so it beat legacy cellpadding="4" attributes
   (presentational hints lose to author CSS). BS5 reboot dropped it -> cellpadding came alive and every
   nested-table level gained 4px (account Integration Settings @375: content shifted 8px, taller rows). */
table { border-collapse: collapse; border-spacing: 0; }
td, th { padding: 0; }
caption { padding-top: 8px; padding-bottom: 8px; color: #777777; text-align: left; }
legend {
  float: none;
  display: block;
  width: 100%;
  padding: 0;
  margin-bottom: 25px;
  font-size: 24px;
  line-height: inherit;
  color: #333333;
  border: 0;
  border-bottom: 1px solid #e5e5e5;
}

/* BS3 form-element base (compiled less/bootstrap.css 2517+): radios/checkboxes sat 4px down
   (BS5: browser default 3px 3px 0 5px -> product "Wave / Surge" radios 3px high, 2px further right). */
input[type="radio"],
input[type="checkbox"] {
  margin: 4px 0 0;
  line-height: normal;
}
input[type="file"] { display: block; }
input[type="range"] { display: block; width: 100%; }

/* GOTCHA #35: BS3 .input-group was a CSS table with .input-group-addon/.input-group-btn cells (both removed
   in BS5; markup keeps them: captcha on Contact Us/Sign-in, guided-nav search, checkout account/promo
   partials). As a BS5 flex row the captcha image sat at the top and the field shrank. Only groups that
   still contain BS3 addon/btn cells get the table back (:has scope; real BS5 groups untouched).
   Values from compiled less/bootstrap.css. */
.input-group:has(> .input-group-addon, > .input-group-btn) {
  display: table;
  border-collapse: separate;
}
.input-group:has(> .input-group-addon, > .input-group-btn) > .form-control {
  display: table-cell;
  position: relative;
  z-index: 2;
  float: left;
  width: 100%;
  margin-bottom: 0;
}
.input-group > .input-group-addon,
.input-group > .input-group-btn {
  display: table-cell;
  width: 1%;
  white-space: nowrap;
  vertical-align: middle;
}
.input-group > .input-group-addon {
  padding: 15px 15px;
  font-size: 16px;
  font-weight: normal;
  line-height: 1;
  color: #555555;
  text-align: center;
  background-color: #eeeeee;
  border: 1px solid #ccc;
  border-radius: 1px;
}
.input-group > .input-group-addon:first-child { border-right: 0; }
.input-group > .input-group-addon:last-child { border-left: 0; }
.input-group > .input-group-btn {
  position: relative;
  font-size: 0;
}
.input-group > .input-group-btn > .btn { position: relative; }
.input-group-btn:last-child > .btn { z-index: 2; margin-left: -1px; }
.input-group-btn:first-child > .btn { margin-right: -1px; }

/* ---------- .card: BS3 had no card component; every .card here is the site's own block ----------
   (ProgramQualificationStatus, its dashboard, fabric-guides topic). BS5 .card = flex column +
   border + radius: margins stop collapsing (benefit list grows), and the auto-margin gauge-wrap
   shrinks to 0 width inside the flex column (gauge image disappears). Same specificity as BS5's
   .card; site CSS loaded later still wins. Opt out for real BS5 cards with .bs5-card. */
.card:where(:not(.bs5-card)) {
  --bs-card-border-width: 0;
  position: static;
  display: block;
  min-width: auto;
  height: auto;
  word-wrap: normal;
  color: inherit;
  background-color: transparent;
  background-clip: border-box;
  border: 0;
  border-radius: 0;
}

/* Stock ContactUs view (skin copy: Views/ContactUs/Index.cshtml) carries BS5-only class names
   .form-check / .form-check-input that were INERT under BS3 (native checkbox, no indent). BS5 now
   styles them (1.5em indent, custom faded box). Scoped to that container: restore the BS3 rendering. */
.consent-container.form-check {
  min-height: 0;
  padding-left: 0;
  margin-bottom: 0;
}
.consent-container .form-check-input {
  -webkit-appearance: auto;
  appearance: auto;
  float: none;
  width: auto;
  height: auto;
  margin-left: 0;
  vertical-align: baseline;
  background: none;
  border: initial;
  border-radius: 0;
  flex-shrink: 1;
}

/* Product DETAILS/SPECIFICATIONS/SIZE GUIDES tabs: the <ul class="nav nav-tabs"> carries inline
   display:flex, which under BS3 meant the default nowrap (tabs overflow the column by design, prod
   @1229 shows all three on one line). BS5 .nav adds flex-wrap:wrap -> SIZE GUIDES dropped to a 2nd row. */
.product-page-footer > .nav-tabs {
  flex-wrap: nowrap;
}

/* #41 BS5 dropped .btn-block (use d-grid / w-100). Markup keeps the class (Place Order, Fortis save,
   billing history). BS3 rules verbatim. */
.btn-block {
  display: block;
  width: 100%;
}
.btn-block + .btn-block {
  margin-top: 5px;
}
input[type="submit"].btn-block,
input[type="reset"].btn-block,
input[type="button"].btn-block {
  width: 100%;
}

/* #43 BS5 dropped .input-sm/.input-lg/.form-group-sm/-lg (now .form-control-sm/-lg). Markup keeps the
   BS3 names (checkout cart quantity/price boxes: 57px tall instead of 39px). BS3 compiled-theme values. */
.input-sm,
.form-group-sm .form-control {
  height: 39px;
  padding: 8px 10px;
  font-size: 14px;
  line-height: 1.5;
  border-radius: 1px;
}
select.input-sm,
.form-group-sm select.form-control {
  height: 39px;
  line-height: 39px;
}
textarea.input-sm,
select[multiple].input-sm,
.form-group-sm textarea.form-control,
.form-group-sm select[multiple].form-control {
  height: auto;
}
.input-lg,
.form-group-lg .form-control {
  height: 61px;
  padding: 16px 16px;
  font-size: 20px;
  line-height: 1.3333333;
  border-radius: 1px;
}
select.input-lg,
.form-group-lg select.form-control {
  height: 61px;
  line-height: 61px;
}
textarea.input-lg,
select[multiple].input-lg,
.form-group-lg textarea.form-control,
.form-group-lg select[multiple].form-control {
  height: auto;
}

/* #45 BS5 grid columns carry `flex: 0 0 auto` at their breakpoint; BS3 columns had no flex props, so as
   items of a NON-.row flex container they shrank (flex-shrink 1). Checkout cart item: the Quantity /
   Sub Total labels (col-lg-6 inside the inline display:flex .cart-item-quantity) stayed at 50% and
   pushed the qty box 18-24px right @1229+. Scoped to that container. */
.cart-item .cart-item-quantity > [class*="col-"] {
  flex-shrink: 1;
}

/* #45b Same cause, generalised (2026-10-30, Stan: product 1990 'Create a Flier / Download Inventory / Download Image /
   Download Roster Template' row 130% wide, spilling out of its grey band on both sides). The four icon cells are
   col-md-4 (x4 = 133%) inside an inline display:flex wrapper (customized products, AdvancedImageViewer0). BS3 cells
   shrank to fit, BS5 cols do not. A markup scan found 5 such inline flex wrappers with col-* children, so: grid columns whose
   parent is an inline-style flex box (not a BS5 .row) get BS3's flex-shrink back. Also covers the fabric/lead-time chooser
   (col-6 + col-7 below 768px) and the minicart quantity row. */
:where([style*="display: flex"], [style*="display:flex"]):not(.row) > [class*="col-"] {
  flex-shrink: 1;
}

/* #46 BS3 dropdown menus (account menu = legacy <ul class="dropdown-menu dropdown-menu-right"><li><a>).
   BS5 positions dropdowns with Popper (inline inset/transform -> menu 90px left of the BS3 spot, ignoring
   .dropdown-menu-right) and styles only .dropdown-item. The account toggles now carry
   data-bs-display="static" (CSS positioning like BS3); below = BS3 compiled-theme menu metrics. */
.dropdown-menu {
  --bs-dropdown-min-width: 200px;
  --bs-dropdown-padding-y: 0;
  --bs-dropdown-spacer: 0;
  --bs-dropdown-font-size: 16px;
  --bs-dropdown-border-color: transparent;
  --bs-dropdown-border-radius: 1px;
  --bs-dropdown-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175);
  float: left;
  text-align: left;
  box-shadow: var(--bs-dropdown-box-shadow);
  background-clip: padding-box;
}
.dropdown-menu-right,
.dropdown-menu.pull-right,
.dropdown-menu-right[data-bs-popper] {
  left: auto;
  right: 0;
}
.dropdown-menu .divider {
  height: 1px;
  margin: 11.5px 0;
  overflow: hidden;
  background-color: #e5e5e5;
}
.dropdown-menu > li > a {
  display: block;
  padding: 8px 20px;
  font-size: 13px;
  clear: both;
  font-weight: normal;
  line-height: 1.6;
  color: #333333;
  white-space: nowrap;
}
.dropdown-menu > li > a:hover,
.dropdown-menu > li > a:focus {
  text-decoration: none;
  color: #262626;
  background-color: #f5f5f5;
}
.dropdown-menu > .active > a,
.dropdown-menu > .active > a:hover,
.dropdown-menu > .active > a:focus {
  color: #fff;
  text-decoration: none;
  outline: 0;
  background-color: #ed2b2b;
}

/* #47 BS3 .radio/.checkbox blocks (BS5 has .form-check). Markup keeps them (dashboard Status/Process/Service
   filters inside closed accordions - found by the interaction pass, 10 uses). BS3 compiled-theme rules. */
.radio,
.checkbox {
  position: relative;
  display: block;
  margin-top: 10px;
  margin-bottom: 10px;
}
.radio label,
.checkbox label {
  min-height: 25px;
  padding-left: 20px;
  margin-bottom: 0;
  font-weight: normal;
  cursor: pointer;
}
.radio input[type="radio"],
.checkbox input[type="checkbox"] {
  position: absolute;
  margin-left: -20px;
}
.radio + .radio,
.checkbox + .checkbox {
  margin-top: -5px;
}
.radio.disabled label,
.checkbox.disabled label,
fieldset[disabled] .radio label,
fieldset[disabled] .checkbox label {
  cursor: not-allowed;
}

/* GOTCHA #49 (2026-10-12): BS3 utility .hide {display:none !important} is gone in BS5. Account/Create, Account/Edit,
   Account/AccountLinkRequest and the shared Account/UserAdmin start rows hidden with class="hide" and toggle it with
   jQuery add/removeClass('hide') -> under BS5 the Organization / tax-exemption / AX account / name-email-phone rows
   were always visible. Ported verbatim from the compiled less/bootstrap.css. (BS3 .show is NOT ported: in BS5 .show is
   the collapse/fade/dropdown state class.) */
.hide {
  display: none !important;
}

/* #50 (2026-11-06, BUG-88661-010, Buy Again /csreorder): three BS5 .row effects on legacy markup that BS3 left in
   plain block flow (Skin_champro/Views/CSReorder/Index.cshtml).
   a) Step list <ul class="ba-ul" style="margin-left:-20px"> is a direct .row child: our row-children reset above
      (.row > :where(:not([class*="col-"])) {padding:0}, 0-1-0) beat the BS3 ul padding (ul,ol {padding-left:40px},
      0-0-1) -> padding 0 + margin -20px pushed the bullets outside the content. BS3 kept 40px on any ul/ol.
      Scoped to .ba-ul: a generic .row > ul rule would also beat .nav / .list-unstyled / .dropdown-menu {padding:0}. */
.row > ul.ba-ul {
  padding-left: 40px;
}
/* b) Each order line <div class="row" id="OrderRow_N">: hr wrapper, then an absolutely positioned
      'Remove This Line/Design' button (no top -> static position), then <br><br>&nbsp; as a 3-line spacer, then the
      columns. In a BS5 flex row the spacer collapses into a tiny flex item and the abs button's static position
      goes to the row's top -> the button covered the top of the picture box. BS3: block row, floated columns
      (BS3 col-md = BS5 col-lg -> 992px), clearfix. */
.row[id^="OrderRow_"] {
  display: block;
}
@media (min-width: 992px) {
  :where(.row[id^="OrderRow_"] > [class*="col-lg-"]) {
    float: left;
  }
}
.row[id^="OrderRow_"]::before,
.row[id^="OrderRow_"]::after {
  content: " ";
  display: table;
}
.row[id^="OrderRow_"]::after {
  clear: both;
}
/* c) Download/Upload Template buttons and the 'ADD NEW ROSTER' caption sit directly in .row.champro-row (button /
      text node, no column): BS5 .row > * stretched the buttons to 100% and text-center / the mobile
      .ba-add-roster {text-align:center} no longer centred anything (flex items). BS3: block row, inline-block
      button at its own width, centred by text-align. */
.row.champro-row:has(> .download-template-button, > .upload-template-button),
.row.champro-row.ba-add-roster,
.row.champro-row.ba-add-players,   /* (2026-11-06, Stan) 'ADD PLAYER(S) TO ROSTER' - same text-node row, text-align:center */
.row.champro-row:has(> .ba-upload-roster-note) {   /* (2026-11-11, Dev #85571 Enhanced Roster note: BS3 block row + justify-items:center centred the 175px note under the buttons on phones; flex ignores it) */
  display: block;
}
.row.champro-row > :is(.download-template-button, .upload-template-button) {
  width: auto;
}
/* #50d (2026-11-06, Buy Again, reorderable line SO-3939493 @1440): the #45b cause on .row elements. CSReorder markup
   has five .row with an inline display:flex (<div class="row col-lg-12" style="display: flex;"> holding the
   'Add player(s) to roster' form col-lg-8 + 'Add new roster' col-lg-4, and the roster header/line templates). In BS3
   such a row was a plain nowrap flex box whose columns shrank to fit (Kendo makes them content-box: 66.7% + 33.3% +
   4x15px padding > 100%). BS5 .row adds flex-wrap:wrap and .row>* flex-shrink:0 -> the template buttons column
   dropped under the form. #45b excludes .row on purpose (BS5-native rows must keep wrapping); this targets only
   rows the legacy markup itself turned into inline flex boxes. */
.row:is([style*="display: flex"], [style*="display:flex"]) {
  flex-wrap: nowrap;
}
:where(.row:is([style*="display: flex"], [style*="display:flex"])) > [class*="col-"] {
  flex-shrink: 1;
}

/* #51 (2026-11-06, BUG-88661-009: invoice /account/generateinvoice on phone - qty block ORDERED/SHIPPED and the product
   block stacked instead of side by side). The invoice body is HTML that comes from outside the repo (Model.HTML,
   rendered raw) and still uses BS3 <div class="row"><div class="col-xs-3">..</div><div class="col-xs-9">..</div>.
   BS5 has no col-xs-*, so .row > * made both 100% wide. Port BS3 col-xs-N (always active, N/12) for elements that
   carry no other breakpoint class (mixed legacy col-md-4 col-xs-3 markup is left alone - BS5 md/lg differ from BS3).
   0-1-0 (:where on the guard): beats .row > * from bootstrap, site rules of the same weight loaded later still win.
   Outside a .row BS3 also floated them. */
.col-xs-1:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 8.33333333%; }
.col-xs-2:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 16.66666667%; }
.col-xs-3:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 25%; }
.col-xs-4:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 33.33333333%; }
.col-xs-5:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 41.66666667%; }
.col-xs-6:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 50%; }
.col-xs-7:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 58.33333333%; }
.col-xs-8:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 66.66666667%; }
.col-xs-9:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 75%; }
.col-xs-10:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 83.33333333%; }
.col-xs-11:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 91.66666667%; }
.col-xs-12:where(:not([class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) { flex: 0 0 auto; width: 100%; }
:where(:not(.row) > [class*="col-xs-"]:not([class*="col-xs-push"], [class*="col-xs-pull"], [class*="col-xs-offset"], [class*="col-sm-"], [class*="col-md-"], [class*="col-lg-"], [class*="col-xl-"])) {
  float: left;
}

/* #52 (2026-11-13, staging QA) four BS5 base-style changes that BS3 did not have:
   a) BUG-88661-014 (/checkoutcreditcard/creditcard "Card Type"): BS5 .form-control sets appearance:none (it expects
      selects to use .form-select with its own arrow). BS3 left select.form-control native -> the dropdown arrow
      disappeared on every legacy <select class="form-control">.
   b) Focus ring: our .form-control port (above) had no :focus state, so BS5's light-blue 0.25rem ring + white
      background showed on every field. BS3 compiled-theme focus restored (.has-error/.has-success :focus, 0-3-0, still win).
   c) BUG-88661-013 (/importdesign "Attach design"): BS5 reboot sets button { border-radius: 0 }, and in Chromium any
      author border-radius drops the native button look (flat grey, rounded) to the old outset-bordered fallback.
      revert = back to the browser default, as under BS3. Class rules (.btn, site css) are more specific and still win.
   d) Same page, text of that button darker than prod: BS3 normalize had button, input, optgroup, select, textarea
      { color: inherit; font: inherit }, BS5 reboot inherits only font-family/size/line-height -> unstyled controls
      fell back to the browser's black text (and normal weight). Element selectors (0-0-1): any class rule still wins. */
select.form-control:not(.form-select) {
  -webkit-appearance: auto;
  appearance: auto;
}
.form-control:focus {
  color: #555555;
  background-color: #fdfdfd;
  border-color: #66afe9;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 8px rgba(102, 175, 233, 0.6);
}
button {
  border-radius: revert;
}
button,
input,
optgroup,
select,
textarea {
  color: inherit;
  font: inherit;
}
