/* store.css - components the compiled Tailwind build (styles.css) doesn't include.
   Loaded AFTER styles.css on every page. All classes are namespaced sb-* (plus a
   few backfilled utilities) so nothing here collides with the existing build. */

/* ---- backfilled utilities (absent from styles.css) ---- */
.sb-rotate-180{transform:rotate(180deg)}
.sb-hidden{display:none}

/* ---- Shop-all mega-menu ---- */
.sb-shopall{
  display:inline-flex;align-items:center;gap:6px;
  background:#1B335E;color:#fff;font-size:14px;font-weight:600;
  padding:8px 14px;border-radius:8px;border:0;cursor:pointer;line-height:1;
  transition:background .15s ease;
}
.sb-shopall:hover{background:#0a4ea2}
.sb-shopall .sb-chev{transition:transform .18s ease;font-size:16px}
.sb-shopall[aria-expanded="true"] .sb-chev{transform:rotate(180deg)}

.sb-mega{
  position:absolute;left:0;right:0;top:100%;
  background:#fff;border-top:1px solid #e2e8f0;border-bottom:1px solid #e2e8f0;
  box-shadow:0 24px 40px -24px rgba(14,42,71,.45);
  z-index:50;display:none;
}
.sb-mega.sb-open{display:block}
.sb-mega-inner{
  max-width:72rem;margin:0 auto;
  display:grid;grid-template-columns:200px 1fr;
}
.sb-rail{background:#f8fafc;border-right:1px solid #e2e8f0;padding:18px 18px 22px}
.sb-rail-h,.sb-grid-h{
  margin:0 0 12px;font-size:11px;font-weight:700;letter-spacing:.12em;
  text-transform:uppercase;color:#64748b;
}
.sb-rail-h{color:#0a4ea2}
.sb-rail a{display:flex;align-items:center;gap:9px;color:#334155;font-size:13.5px;
  text-decoration:none;padding:7px 0;border-radius:6px}
.sb-rail a:hover{color:#0a4ea2}
.sb-rail a .ti{font-size:17px;color:#0a4ea2}
.sb-rail a.sb-browse{color:#0a4ea2;font-weight:600;margin-top:4px}

.sb-deptwrap{padding:18px 22px 16px}
.sb-grid-head{display:flex;align-items:baseline;justify-content:space-between;margin-bottom:14px}
.sb-grid-head p{margin:0}
.sb-grid-head .sb-tag{font-size:12px;color:#94a3b8}
.sb-deptgrid{display:grid;grid-template-columns:repeat(3,1fr);gap:10px 14px}
.sb-dept{display:flex;gap:11px;align-items:flex-start;text-decoration:none;
  padding:6px;border-radius:10px;transition:background .12s ease}
.sb-dept:hover{background:#f1f5f9}
.sb-dept-ic{flex:none;width:34px;height:34px;border-radius:9px;background:#e6f1fb;
  color:#0a4ea2;display:flex;align-items:center;justify-content:center;font-size:17px}
.sb-dept-tt{display:block;font-size:13px;font-weight:600;line-height:1.25;color:#1B335E}
.sb-dept-sb{display:block;font-size:11.5px;color:#94a3b8;margin-top:2px}

.sb-programs{
  background:#1B335E;color:#cbd5e1;
  padding:11px 22px;display:flex;flex-wrap:wrap;align-items:center;gap:8px 18px;font-size:12px;
}
.sb-programs a{color:#cbd5e1;text-decoration:none;display:inline-flex;align-items:center;gap:6px}
.sb-programs a:hover{color:#fff}
.sb-programs .sb-pg-label{color:#C49A2C;font-weight:700;letter-spacing:.07em}
.sb-programs .sb-pg-note{margin-left:auto;color:#94a3b8}

.sb-mega-scrim{position:fixed;inset:0;background:transparent;z-index:40;display:none}
.sb-mega-scrim.sb-open{display:block}

@media (max-width:860px){
  .sb-mega-inner{grid-template-columns:1fr}
  .sb-rail{border-right:0;border-bottom:1px solid #e2e8f0}
  .sb-deptgrid{grid-template-columns:repeat(2,1fr)}
  .sb-programs .sb-pg-note{margin-left:0;flex-basis:100%}
}
@media (max-width:520px){
  .sb-deptgrid{grid-template-columns:1fr}
}

/* ---- accessibility ---- */
/* Skip link: hidden until focused (keyboard bypass-blocks, WCAG 2.4.1) */
.sb-skip{position:absolute;left:8px;top:-60px;z-index:100;background:#1B335E;color:#fff;
  padding:10px 16px;border-radius:8px;font-weight:600;text-decoration:none;transition:top .15s ease}
.sb-skip:focus{top:8px}
/* Visible focus for keyboard users (WCAG 2.4.7) - navy ring on light, gold halo on dark */
*:focus-visible{outline:3px solid #0a4ea2;outline-offset:2px;box-shadow:0 0 0 6px rgba(246,180,0,.55)}
/* Respect reduced-motion preferences */
@media (prefers-reduced-motion: reduce){
  *{animation-duration:.001ms!important;animation-iteration-count:1!important;transition-duration:.001ms!important;scroll-behavior:auto!important}
}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
/* WCAG 2.2: focus / anchored targets not obscured by the sticky header (2.4.11) */
html{scroll-padding-top:84px}
/* WCAG 2.2: minimum target size for small controls (2.5.8) */
.li-dec,.li-inc,.li-del{min-width:28px;min-height:28px;display:inline-flex;align-items:center;justify-content:center}
/* Base for the deepened (AA-passing) CTA green - compiled styles.css only had the hover variant */
.bg-gogreendark{background-color:#15702f}

/* Roomier quote line items - give the Item/product-link field the width (like the PDF) */
@media (min-width:640px){
  #liHead, .li-row{ grid-template-columns: minmax(0,1fr) 104px minmax(0,150px) 30px !important; }
}
