/*
  site.css — Lymphedema Products LLC
  Shared stylesheet for the redesigned site (design signed off Nov 16, 2026).
  Mobile first. No framework. Loaded by includes/site_head.html.

  Contents
   1. Design tokens
   2. Base and type
   3. Layout helpers
   4. Links
   5. Buttons
   6. Boxes: info (blue), help/caution (yellow), dark panel
   7. Badges, chips, labels
   8. Forms and fields
   9. Search bar
  10. Header (phone + desktop), member bar, announcement bar
  11. Pinned slim bar (phone)
  12. Menus: phone menu, All Categories panel, filters panel
  13. Cards and lists
  14. Product page pieces (price block, ship-date box, options)
  15. Cart and checkout pieces
  16. Footer
  17. Rollovers (mouse only) and tap feedback (touch)
  18. Utilities, motion, print
*/

/* 1. Design tokens ------------------------------------------------------ */
:root {
  /* ink and text */
  --ink: #14202C;
  --text-2: #3E4853;
  --text-3: #4A535E;
  --text-on-dark: #FFFFFF;
  --text-on-dark-2: #D5DCE3;
  --text-on-dark-3: #C2CBD4;

  /* surfaces and lines */
  --page: #F7F8FA;
  --surface: #FFFFFF;
  --surface-2: #F3F4F6;
  --placeholder: #E5E8EC;
  --line: #DCE0E5;
  --line-strong: #C1C7CF;
  --field-line: #858D97;

  /* blue: information, status, selection */
  --blue: #1275B9;
  --blue-hover: #0E5FA0;
  --blue-dark: #0B4F80;
  --blue-ink: #123651;
  --blue-tint: #E4ECF7;      /* small badges, labels */
  --blue-pale: #EAF2FB;      /* bordered info boxes */
  --blue-hover-bg: #F5F9FD;  /* card rollover */

  /* yellow: help, caution, primary accent buttons */
  --yellow: #F2B33D;
  --yellow-hover: #E3A21F;
  --yellow-pale: #FFF4DB;
  --yellow-ink: #6B4700;
  --yellow-icon: #7A5200;

  /* dark panels */
  --navy: #14202C;
  --navy-hover: #2D3946;

  /* errors */
  --error: #A12B19;
  --error-line: #B4321F;

  /* member level badge colors: fill / border / text */
  --lv-bronze: #F4E1CF; --lv-bronze-b: #A8714A; --lv-bronze-t: #4A2A10;
  --lv-silver: #ECEEF1; --lv-silver-b: #8A939E; --lv-silver-t: #2A323B;
  --lv-gold: #F9E9B0;   --lv-gold-b: #B8921C;   --lv-gold-t: #433300;
  --lv-plat: #E8EAF3;   --lv-plat-b: #6C779E;   --lv-plat-t: #242B47;

  /* type */
  --font: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, Arial, sans-serif;
  --fs-body: 18px;
  --fs-small: 16px;
  --fs-label: 15px;
  --lh-body: 1.5;
  --lh-long: 1.6;
  --lh-small: 1.4;
  --lh-label: 1.2;
  --lh-heading: 1.1;
  --lh-subhead: 1.25;

  /* shape and space */
  --r-sm: 8px;
  --r-md: 14px;
  --r-lg: 18px;
  --r-xl: 22px;
  --gutter: 16px;
  --max: 1240px;

  /* focus */
  --focus: 3px solid var(--blue);
}

@media (min-width: 1024px) {
  :root { --fs-body: 19px; --gutter: 24px; }
}

/* 2. Base and type ------------------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

html {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
@media (min-width: 1024px) {
  html { scrollbar-gutter: stable; }   /* desktop pages don't shift sideways */
}

body {
  margin: 0;
  background: var(--page);
  color: var(--ink);
  font-family: var(--font);
  font-size: var(--fs-body);
  line-height: var(--lh-body);
  text-wrap: pretty;
}

img, svg { max-width: 100%; }
img { height: auto; }

h1, h2, h3, h4 { margin: 0; color: var(--ink); text-wrap: balance; }
h1 { font-size: 32px; line-height: var(--lh-heading); letter-spacing: -0.02em; font-weight: 700; }
h2 { font-size: 26px; line-height: var(--lh-subhead); letter-spacing: -0.01em; font-weight: 700; }
h3 { font-size: 21px; line-height: var(--lh-subhead); font-weight: 700; }

.lp-display { font-size: 44px; line-height: var(--lh-heading); letter-spacing: -0.02em; font-weight: 700; }
.lp-h1-lg   { font-size: 38px; }
.lp-section-title { font-size: 32px; line-height: var(--lh-heading); letter-spacing: -0.02em; }

@media (min-width: 1024px) {
  h1 { font-size: 40px; }   /* page titles: 32 phone / 40 desktop (Nov 19; was 38 / 52) */
  h2 { font-size: 30px; }
  .lp-display { font-size: 72px; }
  .lp-h1-lg { font-size: 52px; }
  .lp-section-title { font-size: 40px; }
}

p { margin: 0 0 16px; }
.lp-long p, .lp-long li { line-height: var(--lh-long); }
.lp-small { font-size: var(--fs-small); line-height: var(--lh-small); }
.lp-muted { color: var(--text-2); }
.lp-quiet { color: var(--text-3); }
.lp-eyebrow {               /* small uppercase labels: brand names, section labels */
  font-size: var(--fs-label);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-3);
  line-height: var(--lh-small);
}
.lp-bal { text-wrap: balance; }
.lp-nowrap { white-space: nowrap; }

/* option lines: "20–30 mmHg · Sand · Size III · Regular"
   Templates join options with "&nbsp;· " so a line never starts with a dot,
   and use &nbsp; inside "20–30&nbsp;mmHg", "Size&nbsp;III", "Qty&nbsp;2". */
.lp-options { color: var(--text-2); font-size: 17px; line-height: var(--lh-small); }

/* 3. Layout helpers ----------------------------------------------------- */
.lp-wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }
.lp-stack > * + * { margin-top: 16px; }
.lp-row { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; }
.lp-split { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.lp-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); }
.lp-main { padding-top: 20px; padding-bottom: 48px; }
@media (min-width: 1024px) { .lp-main { padding-top: 32px; padding-bottom: 64px; } }

.lp-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; }

/* 4. Links -------------------------------------------------------------- */
a { color: var(--blue); text-decoration: none; }
/* links inside a sentence: subtle underline; the period goes outside the link */
a.lp-inline, .lp-prose a {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
  font-weight: 700;
}
.lp-on-yellow a.lp-inline { color: var(--yellow-ink); }
a:focus-visible, button:focus-visible, summary:focus-visible, [tabindex]:focus-visible {
  outline: var(--focus);
  outline-offset: 2px;
}
.lp-breadcrumb { font-size: var(--fs-small); color: var(--text-3); line-height: var(--lh-small); margin-bottom: 8px; }
@media (min-width: 1024px) { .lp-breadcrumb { font-size: 17px; margin-bottom: 12px; } }

/* 5. Buttons ------------------------------------------------------------ */
.lp-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 56px;
  padding: 0 24px;
  border: 2px solid transparent;
  border-radius: 16px;
  font: inherit;
  font-weight: 700;
  font-size: 18px;
  line-height: 1.2;
  text-align: center;
  text-decoration: none;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
}
.lp-btn--lg { min-height: 64px; font-size: 21px; border-radius: 18px; }
.lp-btn--sm { min-height: 48px; padding: 0 16px; border-radius: 14px; font-size: 17px; }
.lp-btn--block { display: flex; width: 100%; }

.lp-btn--blue   { background: var(--blue);   color: #FFFFFF; }
.lp-btn--yellow { background: var(--yellow); color: var(--ink); }
.lp-btn--navy   { background: var(--navy);   color: #FFFFFF; }
.lp-btn--outline { background: var(--surface); color: var(--ink); border-color: var(--ink); }
.lp-btn--outline-dark { background: transparent; color: #FFFFFF; border-color: #FFFFFF; }  /* on dark panels */

/* paired buttons that stack on narrow screens (cart sign-in box, help panels) */
.lp-btn-pair { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-btn-pair > .lp-btn { flex: 1 1 auto; min-width: 120px; white-space: nowrap; }

/* text-style buttons ("Change", "Remove", "No Thanks") */
.lp-textbtn {
  min-height: 44px;
  padding: 0 4px;
  border: 0;
  background: transparent;
  color: var(--blue);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
  border-radius: var(--r-sm);
}

/* square icon buttons in headers */
.lp-iconbtn {
  flex: 0 0 auto;
  width: 52px;
  height: 52px;
  border: 0;
  border-radius: var(--r-md);
  background: var(--surface-2);
  color: var(--ink);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}
.lp-iconbtn--blue { background: var(--blue); color: #FFFFFF; }

/* 6. Boxes -------------------------------------------------------------- */
/* Blue with a border = information or status (ship date, Select Shipping note,
   account help line, professional accounts note). */
.lp-info {
  background: var(--blue-pale);
  border: 2px solid var(--blue);
  border-radius: 16px;
  padding: 14px 18px;
  color: var(--blue-ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-info svg { flex: 0 0 auto; color: var(--blue); }

/* Yellow with a border = help or caution ("Not sure which brand?", sizing tip,
   long-wait ship dates, errors that need action). */
.lp-help {
  background: var(--yellow-pale);
  border: 2px solid var(--yellow);
  border-radius: var(--r-lg);
  padding: 14px 18px;
  color: var(--ink);
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.lp-help svg { flex: 0 0 auto; color: var(--yellow-icon); }
.lp-help a { color: var(--yellow-ink); }

/* Dark panel (help panels, "Questions Before You Order?") */
.lp-panel-dark {
  background: var(--navy);
  color: #FFFFFF;
  border-radius: var(--r-xl);
  padding: 22px;
}
.lp-panel-dark h2, .lp-panel-dark h3 { color: #FFFFFF; }
.lp-panel-dark p { color: var(--text-on-dark-2); }

/* White card */
.lp-card {
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 16px;
}
@media (min-width: 1024px) { .lp-card { border-radius: var(--r-xl); padding: 24px; } }

/* 7. Badges, chips, labels --------------------------------------------- */
.lp-badge {                    /* small blue labels: feature badges, compression levels */
  display: inline-flex;
  align-items: center;
  padding: 4px 12px;
  border-radius: var(--r-sm);
  background: var(--blue-tint);
  color: var(--blue-dark);
  font-size: var(--fs-label);
  font-weight: 700;
  line-height: var(--lh-small);
}
.lp-badges { display: flex; flex-wrap: wrap; gap: 8px; }

/* member level and Select Shipping badges: full size everywhere (17px text),
   compact only in tight spots */
.lp-level, .lp-select {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 30px;
  padding: 0 12px;
  border-radius: 15px;
  border: 1px solid;
  font-size: 17px;
  font-weight: 700;
  line-height: 1;
  white-space: nowrap;
}
.lp-level--bronze   { background: var(--lv-bronze); border-color: var(--lv-bronze-b); color: var(--lv-bronze-t); }
.lp-level--silver   { background: var(--lv-silver); border-color: var(--lv-silver-b); color: var(--lv-silver-t); }
.lp-level--gold     { background: var(--lv-gold);   border-color: var(--lv-gold-b);   color: var(--lv-gold-t); }
.lp-level--platinum { background: var(--lv-plat);   border-color: var(--lv-plat-b);   color: var(--lv-plat-t); }
.lp-level--professional { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }
.lp-select { background: var(--blue-tint); border-color: var(--blue); color: var(--blue-dark); padding: 0 12px 0 10px; }
.lp-select svg { width: 21px; height: 21px; }

/* the member bar sits on dark: lighter borders */
.lp-memberbar .lp-level--gold { border-color: #D9B43A; }
.lp-memberbar .lp-level--silver { border-color: #AEB6C0; }
.lp-memberbar .lp-level--bronze { border-color: #C9926A; }
.lp-memberbar .lp-level--platinum { border-color: #9AA3C4; }
.lp-memberbar .lp-select { border-color: #7FB3E0; }

.lp-stock-out {
  align-self: flex-start;
  font-size: var(--fs-label);
  font-weight: 700;
  padding: 2px 9px;
  border-radius: var(--r-sm);
  background: var(--yellow-pale);
  border: 1px solid var(--yellow);
  color: var(--yellow-ink);
  line-height: var(--lh-small);
}

/* filter chips (removable) and related-category chips */
.lp-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 44px;
  padding: 0 14px;
  border-radius: 999px;
  border: 2px solid var(--blue);
  background: var(--blue-tint);
  color: var(--blue-dark);
  font: inherit;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
}
.lp-pill {                       /* "More for the Arm" style links */
  display: inline-flex;
  align-items: center;
  min-height: 52px;
  padding: 0 18px;
  border-radius: var(--r-md);
  background: var(--surface);
  border: 1px solid var(--line);
  color: var(--ink);
  font-weight: 700;
  font-size: 17px;
}

/* 8. Forms and fields --------------------------------------------------- */
.lp-field { margin-bottom: 16px; }
.lp-label { display: block; font-weight: 700; margin-bottom: 6px; line-height: var(--lh-label); }
.lp-hint { font-size: var(--fs-small); color: var(--text-3); line-height: var(--lh-small); margin-top: 6px; }
.lp-input, .lp-select-field, .lp-textarea {
  width: 100%;
  min-height: 56px;
  padding: 0 14px;
  border: 2px solid var(--field-line);
  border-radius: 12px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: max(16px, 1em);    /* 16px minimum stops phones zooming in */
}
.lp-textarea { padding: 12px 14px; min-height: 120px; }
.lp-input:focus, .lp-select-field:focus, .lp-textarea:focus {
  outline: var(--focus);
  outline-offset: 1px;
  border-color: var(--blue);
}
.lp-input[aria-invalid="true"] { border-color: var(--error-line); }
.lp-error { font-size: var(--fs-label); color: var(--error); font-weight: 600; margin-top: 6px; line-height: var(--lh-small); }
.lp-note  { font-size: var(--fs-label); color: var(--blue-dark); font-weight: 600; margin-top: 6px; line-height: var(--lh-small); }

/* "Did you mean …?" email suggestion */
.lp-suggest {
  margin-top: 8px;
  padding: 10px 14px;
  border-radius: 12px;
  background: var(--yellow-pale);
  border: 1px solid var(--yellow);
  font-size: 16px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 4px 12px;
  line-height: var(--lh-small);
}
.lp-suggest button { min-height: 40px; border: 0; background: transparent; font: inherit; font-weight: 700; color: var(--blue-dark); text-decoration: underline; cursor: pointer; }

/* large checkboxes (filters, agreements) */
.lp-check { display: flex; align-items: center; gap: 12px; min-height: 48px; cursor: pointer; font-size: 18px; }
.lp-check input { width: 26px; height: 26px; accent-color: var(--blue); flex: 0 0 auto; }

/* option buttons (compression level, size, width) */
.lp-opt {
  min-height: 52px;
  padding: 8px 14px;
  border: 2px solid var(--line-strong);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}
.lp-opt[aria-pressed="true"], .lp-opt[aria-checked="true"], .lp-opt.is-selected {
  border-color: var(--blue);
  background: var(--blue-pale);
}

/* 9. Search bar --------------------------------------------------------- */
/* One focus outline around the whole bar: field + gold button light up as one. */
.lp-search {
  display: flex;
  border-radius: 16px;
}
.lp-search:focus-within { outline: var(--focus); outline-offset: 2px; }
.lp-search input {
  flex: 1;
  min-width: 0;
  height: 56px;
  padding: 0 16px;
  border: 2px solid var(--ink);
  border-right: 0;
  border-radius: 16px 0 0 16px;
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-size: max(16px, 1em);
  -webkit-appearance: none;
  appearance: none;
}
.lp-search input:focus { outline: none; }
.lp-search button {
  flex: 0 0 60px;
  height: 56px;
  border: 2px solid var(--ink);
  border-radius: 0 16px 16px 0;
  background: var(--yellow);
  color: var(--ink);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

/* 10. Header ----------------------------------------------------------- */
.lp-announce {                 /* optional bar for timely notices; hidden when empty */
  background: var(--navy);
  color: #FFFFFF;
  font-size: var(--fs-label);
  text-align: center;
  padding: 10px var(--gutter);
  line-height: var(--lh-small);
}
.lp-announce a { color: #FFFFFF; font-weight: 700; text-decoration: underline; text-underline-offset: 3px; }

.lp-callbar {                  /* phone only: "Questions? Call (866) 445-9674" */
  background: var(--navy);
  color: #FFFFFF;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 var(--gutter);
  min-height: 44px;
  font-size: 16px;
}
.lp-callbar a { color: #FFFFFF; font-weight: 700; display: flex; align-items: center; gap: 6px; min-height: 44px; }

/* phone header: menu · logo · cart, then the search bar */
.lp-header { background: var(--surface); }
.lp-header__row { display: flex; align-items: center; gap: 8px; padding: 12px var(--gutter); }
.lp-header__logo { flex: 1; display: flex; justify-content: center; align-items: center; }
.lp-header__logo img { height: 58px; width: auto; display: block; }
.lp-header__search { padding: 0 var(--gutter) 14px; border-bottom: 1px solid var(--line); }
.lp-cartcount {
  position: absolute;
  top: -6px;
  right: -6px;
  min-width: 24px;
  height: 24px;
  padding: 0 6px;
  border-radius: 12px;
  background: var(--yellow);
  color: var(--ink);
  font-size: 14px;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lp-cartbtn { position: relative; }

/* desktop header pieces hidden on phones, phone pieces hidden on desktop */
@media (max-width: 1023.98px) { .lp-desk-only { display: none !important; } }
@media (min-width: 1024px) {
  .lp-phone-only { display: none !important; }
  .lp-header__row { max-width: var(--max); margin: 0 auto; gap: 24px; padding: 18px var(--gutter); }
  .lp-header__logo { flex: 0 0 auto; justify-content: flex-start; }
  .lp-header__logo img { height: 70px; }
  .lp-header__row .lp-search { flex: 1 1 260px; }
  .lp-header__search { display: none; }
}

/* desktop member bar: dark bar with greeting, badges and Sign Out */
.lp-memberbar { background: var(--navy); color: #FFFFFF; }
.lp-memberbar__inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 8px var(--gutter);
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 52px;
}
.lp-memberbar__notice { flex: 1; font-size: var(--fs-label); line-height: var(--lh-small); }
.lp-memberbar__status { margin-left: auto; display: flex; align-items: center; gap: 12px; }
.lp-memberbar__hello {
  font-size: 17px;
  font-weight: 600;
  max-width: 16ch;              /* long names end in "…" so badges never move */
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.lp-memberbar__divider { width: 1px; height: 24px; background: #3A4756; }
.lp-memberbar a { color: #FFFFFF; font-weight: 700; }

/* desktop header links beside the search bar */
.lp-headlink { display: flex; flex-direction: column; line-height: 1.25; color: var(--ink); padding: 6px 0; border-bottom: 4px solid transparent; }
.lp-headlink small { font-size: var(--fs-label); color: var(--text-3); font-weight: 500; }
.lp-headlink b { font-size: 18px; }
.lp-headlink[aria-current="page"] { border-bottom-color: var(--blue); }

/* desktop category bar */
.lp-catbar { background: var(--blue); }
.lp-catbar__inner { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); display: flex; flex-wrap: wrap; }
.lp-catbar__inner > a, .lp-catbar__inner > button {
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 54px;
  padding: 0 14px;
  color: #FFFFFF;
  font: inherit;
  font-size: 17px;
  font-weight: 700;
  background: transparent;
  border: 0;
  border-bottom: 4px solid transparent;
  cursor: pointer;
}
.lp-catbar__inner > [aria-current="page"], .lp-catbar__inner > [aria-expanded="true"] { border-bottom-color: #FFFFFF; }

/* checkout header (cart, details, review): logo, phone, steps; no search */
.lp-checkout-head { background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-steps { display: flex; gap: 8px; padding: 10px var(--gutter) 14px; }
.lp-step { flex: 1; display: flex; flex-direction: column; gap: 8px; font-size: var(--fs-label); font-weight: 600; color: var(--text-3); }
.lp-step::before { content: ""; height: 6px; border-radius: 3px; background: var(--line); }
.lp-step.is-done::before, .lp-step.is-current::before { background: var(--blue); }
.lp-step.is-current { color: var(--ink); font-weight: 700; }
@media (min-width: 1024px) {
  .lp-checkout-head .lp-header__logo { flex: 1; justify-content: center; }
  .lp-steps { max-width: 720px; margin: 0 auto; }
}

/* 11. Pinned slim bar (phone) -------------------------------------------
   Appears once the full header's search bar has scrolled off the top;
   disappears when it scrolls back. Sits over the content (no page jump). */
.lp-slimbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 4px 12px rgba(20, 32, 44, 0.08);
  padding: 6px var(--gutter);
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.1s linear, visibility 0s linear 0.1s;
}
.lp-slimbar.is-on { opacity: 1; visibility: visible; transition: opacity 0.1s linear; }
.lp-slimbar .lp-iconbtn { width: 48px; height: 48px; }
.lp-slimbar__search {
  flex: 1;
  min-width: 0;
  height: 48px;
  border: 2px solid var(--ink);
  border-radius: var(--r-md);
  background: var(--surface);
  color: var(--ink);
  font: inherit;
  font-weight: 700;
  font-size: 17px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
}
@media (min-width: 1024px) { .lp-slimbar { display: none; } }

/* 12. Menus ------------------------------------------------------------ */
/* phone menu (full screen) */
.lp-phonemenu[hidden] { display: none; }
.lp-phonemenu { position: fixed; inset: 0; z-index: 60; background: var(--surface); overflow-y: auto; }
.lp-acc-btn {
  width: 100%;
  min-height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 8px 0;
  border: 0;
  border-top: 1px solid var(--line);
  background: transparent;
  font: inherit;
  text-align: left;
  color: var(--ink);
  cursor: pointer;
}
.lp-acc-btn .lp-chev {
  display: flex;
  width: 44px;
  height: 44px;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  background: var(--surface-2);
  flex: 0 0 auto;
}
.lp-acc-btn[aria-expanded="true"] .lp-chev { background: var(--navy); color: #FFFFFF; transform: rotate(180deg); }

/* account box at the top of the phone menu */
.lp-acctbox { margin: 16px var(--gutter) 0; padding: 16px; background: var(--page); border: 1px solid var(--line); border-radius: var(--r-lg); display: flex; flex-direction: column; gap: 14px; }
.lp-acctbtn {
  min-height: 68px;
  padding: 10px 14px 10px 16px;
  border: 2px solid var(--ink);
  border-radius: 16px;
  background: var(--surface);
  color: var(--ink);
  display: flex;
  align-items: center;
  gap: 12px;
}
.lp-acctbtn b { display: block; font-size: 19px; line-height: 1.25; }
.lp-acctbtn small { display: block; font-size: var(--fs-label); color: var(--text-2); line-height: var(--lh-small); }

/* stacked link list with arrows (Help & Support) */
.lp-linklist { display: flex; flex-direction: column; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.lp-linklist a {
  min-height: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: var(--ink);
  font-weight: 700;
}
.lp-linklist a + a { border-top: 1px solid var(--line); }
.lp-linklist a::after {
  content: "";
  flex: 0 0 auto;
  width: 10px;
  height: 10px;
  border-right: 2.6px solid var(--blue);
  border-bottom: 2.6px solid var(--blue);
  transform: rotate(-45deg);
  margin-right: 6px;
}

/* desktop All Categories panel */
.lp-allcats[hidden] { display: none; }
.lp-allcats {
  position: absolute;
  left: 0;
  right: 0;
  z-index: 40;
  background: var(--surface);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 18px 40px rgba(20, 32, 44, 0.18);
}
.lp-allcats__head { background: var(--blue); color: #FFFFFF; padding: 14px var(--gutter); font-weight: 700; }

/* phone filters: full-screen panel */
.lp-filters[hidden] { display: none; }
.lp-filters { position: fixed; inset: 0; z-index: 60; background: var(--surface); display: flex; flex-direction: column; }
.lp-filters__head { display: flex; justify-content: space-between; align-items: center; padding: 14px 20px; border-bottom: 1px solid var(--line); }
.lp-filters__body { flex: 1; overflow-y: auto; padding: 0 20px; }
.lp-filters__foot { display: flex; gap: 10px; padding: 14px 20px 20px; border-top: 1px solid var(--line); }
.lp-filters fieldset { border: 0; margin: 0; padding: 14px 0 0; border-top: 1px solid var(--line); }
.lp-filters legend { padding: 0; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--blue-dark); margin-bottom: 6px; }
@media (min-width: 1024px) {
  /* on desktop the filters sit in the left column; site.js keeps them shown there */
  .lp-filters { position: static; inset: auto; z-index: auto; background: transparent; }
  .lp-filters__head .lp-btn, .lp-filters__foot { display: none; }
}

/* 13. Cards and lists -------------------------------------------------- */
.lp-prodcard {
  display: flex;
  gap: 14px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: 20px;
  padding: 12px;
  color: var(--ink);
}
.lp-prodcard__img { flex: 0 0 104px; height: 136px; border-radius: var(--r-md); background: var(--placeholder); object-fit: cover; }
.lp-prodcard__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-prodcard__name { font-weight: 700; font-size: 19px; line-height: var(--lh-subhead); }
.lp-prodcard__price { font-weight: 700; font-size: 20px; margin-top: auto; }
@media (min-width: 1024px) {
  .lp-prodcard { flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--r-xl); }
  .lp-prodcard__img { flex: none; width: 100%; height: 220px; border-radius: 0; }
  .lp-prodcard__body { padding: 16px 18px 20px; gap: 8px; }
}

.lp-tile {                       /* category tiles with arrow */
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  min-height: 72px;
  padding: 12px 16px;
  background: var(--surface);
  border: 1px solid var(--line);
  border-radius: var(--r-lg);
  color: var(--ink);
}
.lp-tile b { display: block; font-size: 19px; }
.lp-tile small { display: block; font-size: var(--fs-label); color: var(--text-3); line-height: var(--lh-small); }

/* 14. Product page ----------------------------------------------------- */
.lp-pd { display: flex; flex-direction: column; }
.lp-pd__brand { margin-bottom: 8px; }
.lp-pd__name { margin-bottom: 8px; font-size: 28px; }   /* product names are long: one step under the 32/40 page title (Nov 18: 28 / 32) */
@media (min-width: 1024px) { .lp-pd__name { font-size: 32px; } }
.lp-pd__price { display: flex; align-items: baseline; flex-wrap: wrap; gap: 12px; margin-top: 8px; }
.lp-pd__price b { font-size: 30px; }
@media (min-width: 1024px) { .lp-pd__price b { font-size: 32px; } }

/* spacing steps under the price, so each piece stands on its own */
.lp-pd__member  { margin-top: 14px; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.lp-pd__paylater{ margin-top: 18px; font-size: var(--fs-small); color: var(--text-2); line-height: var(--lh-small); }
.lp-pd__ship    { margin-top: 20px; }
.lp-pd__badges  { margin-top: 20px; }
.lp-pd__desc    { margin-top: 24px; color: var(--text-2); }

/* ship-date box: blue normally; yellow when lead time is long (set by site.js) */
.lp-ship {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: var(--blue-pale);
  border: 2px solid var(--blue);
  border-radius: 16px;
  font-size: 17px;
  line-height: var(--lh-small);
}
.lp-ship svg { flex: 0 0 auto; color: var(--blue); }
.lp-ship b { white-space: nowrap; }
.lp-ship.is-long { background: var(--yellow-pale); border-color: var(--yellow); }
.lp-ship.is-long svg { color: var(--yellow-icon); }
@media (min-width: 1024px) {
  .lp-ship { align-self: flex-start; padding: 12px 18px; font-size: 18px; }
}

/* 15. Cart and checkout ------------------------------------------------ */
.lp-summary-line { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 6px 0; }
.lp-summary-line--discount { color: var(--blue-dark); }
.lp-summary-total { display: flex; justify-content: space-between; align-items: baseline; border-top: 1px solid var(--line); padding-top: 12px; margin-top: 6px; font-weight: 700; }
.lp-summary-total b { font-size: 26px; }
.lp-qty { display: inline-flex; align-items: center; border: 2px solid var(--ink); border-radius: var(--r-md); height: 48px; }
.lp-qty button { width: 48px; height: 44px; border: 0; background: transparent; font: inherit; font-size: 22px; font-weight: 700; cursor: pointer; color: var(--ink); }
.lp-qty input { width: 44px; border: 0; text-align: center; font: inherit; font-weight: 700; background: transparent; }
.lp-seals { display: flex; justify-content: center; flex-wrap: wrap; gap: 8px; }
.lp-seals img { width: 100px; height: auto; }

/* 16. Footer ----------------------------------------------------------- */
.lp-footer { background: var(--navy); color: #FFFFFF; margin-top: 40px; }
.lp-footer__inner { max-width: var(--max); margin: 0 auto; padding: 40px var(--gutter); display: flex; flex-wrap: wrap; gap: 32px 48px; justify-content: space-between; }
.lp-footer__brand { flex: 1 1 280px; display: flex; flex-direction: column; gap: 12px; }
.lp-footer__brand img { height: 76px; width: auto; align-self: flex-start; }
.lp-footer__fine { font-size: var(--fs-small); color: var(--text-on-dark-3); max-width: 40ch; line-height: var(--lh-small); }
.lp-footer__cols { display: flex; flex-wrap: wrap; gap: 32px 48px; font-size: 17px; }
.lp-footer__col { display: flex; flex-direction: column; gap: 10px; }
.lp-footer__col b { font-weight: 700; }
.lp-footer a { color: #FFFFFF; }
.lp-footer__trust { border-top: 1px solid var(--navy-hover); }
.lp-footer__trust-inner { max-width: var(--max); margin: 0 auto; padding: 18px var(--gutter); display: flex; flex-wrap: wrap; gap: 12px 16px; align-items: center; }
.lp-footer__trust span { font-size: var(--fs-label); color: var(--text-on-dark-3); font-weight: 600; }

/* 17. Rollovers (mouse only) and tap feedback (touch) -------------------- */
@media (hover: hover) and (pointer: fine) {
  .lp-btn--blue:hover   { background: var(--blue-hover); }
  .lp-btn--yellow:hover { background: var(--yellow-hover); }
  .lp-btn--navy:hover   { background: var(--navy-hover); }
  .lp-btn--outline:hover, .lp-opt:hover, .lp-iconbtn:hover { background: var(--placeholder); }
  .lp-btn--outline-dark:hover { background: rgba(255, 255, 255, 0.14); }
  .lp-search button:hover { background: var(--yellow-hover); }
  .lp-prodcard:hover, .lp-tile:hover, .lp-pill:hover { background: var(--blue-hover-bg); border-color: var(--blue); }
  .lp-chip:hover { background: #C9DBF0; }
  a.lp-inline:hover, .lp-prose a:hover { text-decoration: none; }
  .lp-textbtn:hover { text-decoration: underline; text-underline-offset: 3px; }
  .lp-headlink:hover { border-bottom-color: var(--blue); }
  .lp-catbar__inner > a:hover, .lp-catbar__inner > button:hover { border-bottom-color: #FFFFFF; }
  .lp-footer a:hover { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
  .lp-linklist a:hover { color: var(--blue); }
  .lp-gallery__thumb:hover { border-color: var(--blue); }
  .lp-swatch:hover { background: var(--blue-hover-bg); }
  .lp-picker__item:hover { background: var(--blue-hover-bg); border-color: var(--line-strong); }
}
@media (hover: none) {
  .lp-btn:active, .lp-opt:active, .lp-iconbtn:active, .lp-tile:active, .lp-prodcard:active,
  .lp-linklist a:active, .lp-acc-btn:active, .lp-acctbtn:active, .lp-chip:active, .lp-search button:active,
  .lp-gallery__thumb:active, .lp-swatch:active, .lp-picker__item:active {
    filter: brightness(0.93);
  }
}

/* 19. Product page layout and ordering ----------------------------------- */
.lp-product__grid { display: flex; flex-direction: column; gap: 20px; }
.lp-product__photo { background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); display: flex; align-items: center; justify-content: center; padding: 16px; min-height: 260px; }
.lp-product__img { max-height: 520px; width: auto; object-fit: contain; }
@media (min-width: 1024px) {
  .lp-product__grid { flex-direction: row; align-items: flex-start; gap: 40px; }
  .lp-product__media { flex: 0 0 44%; position: sticky; top: 24px; }
  .lp-product__details { flex: 1; min-width: 0; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-xl); padding: 32px; }
  .lp-product__photo { min-height: 420px; }
}
.lp-pd__reviews { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; font-size: 17px; }
.lp-stars { color: var(--blue); letter-spacing: 1px; }
.lp-breadcrumb span[style*="#ffffff"] { display: none; }          /* bullet from the old breadcrumb builder */
.lp-breadcrumb a { color: var(--blue); }

.lp-order { margin-top: 28px; }
.lp-order__step { margin-top: 24px; }
.lp-order__step:first-child { margin-top: 0; }
.lp-order__title { font-size: 21px; line-height: var(--lh-subhead); margin-bottom: 10px; }
.lp-order__chosen { font-weight: 500; color: var(--text-2); }
.lp-order__group { margin: 14px 0 8px; }
.lp-order__choices { display: flex; flex-direction: column; gap: 10px; margin-top: 12px; }
.lp-order__opts { display: grid; gap: 8px; }
.lp-order__opts--tight { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.lp-order__opts--two   { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.lp-order__opts--one   { grid-template-columns: 1fr; }
@media (min-width: 1024px) {
  .lp-order__opts--tight { grid-template-columns: repeat(auto-fill, minmax(64px, 1fr)); }
  .lp-order__opts--two   { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
.lp-opt--wide { display: flex; justify-content: space-between; align-items: center; gap: 12px; text-align: left; min-height: 60px; padding: 10px 16px; font-size: 18px; }
.lp-opt__price { font-weight: 700; white-space: nowrap; }
.lp-opt[aria-disabled="true"] { opacity: 0.4; text-decoration: line-through; cursor: not-allowed; }
.lp-variant-divider { display: none; }
.lp-variant__menus { margin-top: 8px; }
.lp-qtyrow { margin-top: 24px; display: flex; align-items: center; gap: 16px; }
.lp-qtyrow .lp-label { margin: 0; }

.lp-dialog { width: min(92vw, 900px); max-height: 88vh; padding: 0; border: 0; border-radius: var(--r-xl); box-shadow: 0 24px 60px rgba(20, 32, 44, 0.3); }
.lp-dialog::backdrop { background: rgba(20, 32, 44, 0.45); }
.lp-dialog__head { position: sticky; top: 0; display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 16px 20px; background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-dialog__body { padding: 20px; overflow: auto; }

/* reviews */
.lp-reviews { display: grid; gap: 12px; }
.lp-review { margin: 0; padding: 16px; background: var(--surface-2); border-radius: var(--r-md); }
.lp-review blockquote { margin: 6px 0 0; line-height: var(--lh-long); }
.lp-review figcaption { margin-top: 8px; color: var(--text-2); font-style: italic; }
.lp-reviews__more { margin-top: 12px; }
.lp-reviews__more > summary { list-style: none; cursor: pointer; }
.lp-reviews__more > summary::-webkit-details-marker { display: none; }
.lp-reviews__more[open] > summary { display: none; }
.lp-visually-hidden { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* product photo gallery: main photo, thumbnails, color circles (includes/site_images.php) */
.lp-gallery__main { display: block; width: 100%; padding: 0; border: 0; background: none; cursor: zoom-in; }
.lp-gallery__main img { display: block; margin: 0 auto; }
.lp-gallery__thumbs { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.lp-gallery__thumb { flex: 0 0 auto; width: 64px; height: 64px; padding: 3px; border: 2px solid var(--line); border-radius: var(--r-sm); background: var(--surface); cursor: pointer; }
.lp-gallery__thumb img { width: 100%; height: 100%; object-fit: contain; }
.lp-gallery__thumb[aria-pressed="true"] { border-color: var(--blue); box-shadow: 0 0 0 1px var(--blue); }
@media (min-width: 1024px) { .lp-gallery__thumb { width: 76px; height: 76px; } }
.lp-gallery__enlarge { margin-top: 12px; }
.lp-swatches { margin-top: 18px; }
.lp-swatches__title { font-size: 19px; line-height: var(--lh-subhead); margin: 0 0 10px; }
.lp-swatches__title span { font-weight: 500; color: var(--text-2); }
.lp-swatches__list { display: grid; grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); gap: 6px; }
.lp-swatch { display: flex; flex-direction: column; align-items: center; gap: 6px; min-height: 48px; padding: 6px 4px; border: 0; border-radius: var(--r-md); background: none; font: inherit; font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink); text-align: center; cursor: pointer; }
.lp-swatch__chip { display: block; width: 44px; height: 44px; border-radius: 50%; border: 1px solid var(--line-strong); background: var(--surface-2); box-shadow: 0 0 0 3px var(--surface), 0 0 0 4px transparent; object-fit: cover; }
.lp-swatch[aria-checked="true"] .lp-swatch__chip { box-shadow: 0 0 0 3px var(--surface), 0 0 0 6px var(--blue); }
.lp-swatch[aria-checked="true"] .lp-swatch__name { font-weight: 700; }
.lp-dialog--photo .lp-dialog__body img { display: block; width: 100%; height: auto; max-width: 1200px; margin: 0 auto; }
.lp-swatches--many .lp-swatches__list { grid-template-columns: repeat(auto-fill, minmax(72px, 1fr)); }
.lp-swatches__all { margin-top: 10px; width: 100%; }

/* pattern picker (long option menus such as LympheDIVAs patterns) */
.lp-picker-btn { justify-content: flex-start; gap: 12px; min-height: 64px; text-align: left; }
.lp-slots .lp-picker-btn + .lp-picker-btn { margin-top: 8px; }
.lp-picker-btn__chip { flex: 0 0 44px; width: 44px; height: 44px; border-radius: 50%; overflow: hidden; border: 1px solid var(--line-strong); }
.lp-picker-btn__chip img { width: 100%; height: 100%; object-fit: cover; }
.lp-dialog--picker { width: min(96vw, 960px); height: min(92vh, 900px); }
@media (max-width: 599.98px) { .lp-dialog--picker { width: 100vw; max-width: 100vw; height: 100vh; max-height: 100vh; border-radius: 0; } }
.lp-dialog--picker .lp-dialog__body { padding-top: 12px; }
.lp-picker__search { margin-top: 6px; }
.lp-picker__count { margin: 8px 0 12px; }
.lp-picker__grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(100px, 1fr)); gap: 8px; }
.lp-picker__item { display: flex; flex-direction: column; align-items: center; gap: 6px; padding: 8px 4px; border: 2px solid transparent; border-radius: var(--r-md); background: none; font: inherit; font-size: var(--fs-label); line-height: var(--lh-label); color: var(--ink); text-align: center; cursor: pointer; }
.lp-picker__item[aria-current="true"] { border-color: var(--blue); background: var(--blue-pale); }
.lp-picker__chip { display: block; width: 72px; height: 72px; border-radius: var(--r-md); overflow: hidden; border: 1px solid var(--line); background: var(--surface-2); }
.lp-picker__chip img { width: 100%; height: 100%; object-fit: cover; }
.lp-picker__plus { font-size: 14px; color: var(--text-2); }
.lp-picker__photo { max-width: 520px; margin: 0 auto; min-height: 0; }
.lp-picker__photo img { width: 100%; height: auto; }
.lp-picker__name { font-size: 24px; text-align: center; margin: 16px 0 4px; }
.lp-picker__extra { text-align: center; color: var(--text-2); margin: 0 0 12px; min-height: 1em; }
.lp-picker__actions { display: flex; flex-direction: column; gap: 10px; max-width: 520px; margin: 12px auto 0; }
@media (min-width: 600px) { .lp-picker__actions { flex-direction: row; } .lp-picker__actions .lp-btn { flex: 1; } }

/* volume discount tables */
.lp-volume { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 14px; margin: 16px 0; }
.lp-volume__table { width: 100%; border-collapse: collapse; background: var(--surface); border: 1px solid var(--line); border-radius: var(--r-md); overflow: hidden; }
.lp-volume__table caption { caption-side: top; text-align: left; font-weight: 700; padding: 0 0 6px; }
.lp-volume__table th, .lp-volume__table td { padding: 7px 12px; text-align: left; border-top: 1px solid var(--line); }
.lp-volume__table thead th { background: var(--blue-pale); color: var(--blue-ink); font-size: var(--fs-label); border-top: 0; }
.lp-volume__table td + td { font-weight: 700; }

/* existing sizing charts (/cgsizing/ files, written for the old Bootstrap pop-up) */
.lp-sizing .nav-tabs { display: none; }
.lp-sizing .tab-pane { display: block !important; opacity: 1 !important; margin-bottom: 20px; }
.lp-sizing table { border-collapse: collapse; font-size: var(--fs-small); }
.lp-sizing th, .lp-sizing td { border: 1px solid var(--line); padding: 6px 8px; }
.lp-sizing .table-responsive, .lp-sizing .container, .lp-sizing .row, .lp-sizing [class*="col-"] { max-width: 100%; overflow-x: auto; padding: 0; margin: 0; }
.lp-sizing img { max-width: 100%; height: auto; }

/* 20. Category pages (includes/site_category.php) ------------------------ */
.lp-cat__title { margin: 0; }
.lp-cat__intro { margin: 10px 0 0; color: var(--text-2); }
.lp-cat__label { margin: 0 0 10px; font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); line-height: var(--lh-small); }
.lp-cat__story { margin-top: 18px; max-width: 760px; color: var(--text-2); line-height: var(--lh-long); }
.lp-cat__logo { display: block; max-width: 220px; height: auto; margin-top: 18px; }

/* phone: brand chips in a sideways-scrolling row */
.lp-cat__chips { margin: 22px calc(-1 * var(--gutter)) 0; }
.lp-cat__chips .lp-cat__label { padding: 0 var(--gutter); }
.lp-cat__chiprow { display: flex; gap: 8px; overflow-x: auto; padding: 2px var(--gutter) 6px; scrollbar-width: none; }
.lp-cat-brand {
  flex: 0 0 auto; display: flex; align-items: center; min-height: 48px; padding: 0 18px;
  border-radius: 999px; border: 2px solid var(--line-strong); background: var(--surface);
  color: var(--ink); font-weight: 700; font-size: 16px; white-space: nowrap;
}
.lp-cat-brand[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #FFFFFF; }

.lp-cat__layout { margin-top: 22px; }
.lp-cat__side { display: flex; flex-direction: column; gap: 20px; }
.lp-cat__brands { display: none; }
.lp-cat__levels-help { display: block; font-size: 17px; margin-bottom: 8px; }
.lp-cat__levels-help b { display: block; margin-bottom: 2px; }
.lp-cat__section { margin: 32px 0 12px; }
.lp-cat__main > .lp-cat__section:first-child { margin-top: 12px; }
.lp-cat__note { margin: -6px 0 14px; font-size: var(--fs-small); color: var(--text-2); line-height: var(--lh-small); }
.lp-cat__help { margin-top: 32px; }

/* product and brand cards: photo beside the text on phones, photo on top on desktop */
.lp-cat-grid { display: flex; flex-direction: column; gap: 14px; }
.lp-cat-card {
  position: relative; display: flex; gap: 14px; padding: 12px;
  background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: var(--ink);
}
.lp-cat-card__photo {
  flex: 0 0 112px; height: 112px; border-radius: var(--r-md); overflow: hidden;
  background: var(--surface); display: flex; align-items: center; justify-content: center;
}
.lp-cat-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.lp-cat-card__photo--old img { object-fit: contain; }      /* current photos are not square */
.lp-cat-card__photo--none { background: var(--placeholder); color: var(--text-3); font-size: 14px; font-weight: 700; text-align: center; padding: 8px; }
.lp-cat-card__body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; }
.lp-cat-card__name { font-weight: 700; font-size: 19px; line-height: var(--lh-subhead); }
.lp-cat-card__meta { font-size: var(--fs-small); color: var(--text-2); line-height: var(--lh-small); }
.lp-cat-card__levels { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.lp-level-tag { font-size: 14px; font-weight: 600; padding: 2px 8px; border-radius: var(--r-sm); background: var(--blue-tint); color: var(--blue-dark); line-height: var(--lh-small); }
.lp-cat-card__unit { font-size: 14px; color: var(--text-3); line-height: var(--lh-small); }
.lp-cat-card__stock { align-self: flex-start; font-size: 14px; font-weight: 700; padding: 2px 8px; border-radius: var(--r-sm); background: var(--yellow-pale); color: var(--yellow-ink); border: 1px solid var(--yellow); line-height: var(--lh-small); }
.lp-cat-card__price { font-weight: 700; font-size: 20px; margin-top: auto; padding-top: 2px; }
.lp-cat-card__price s { font-weight: 500; font-size: 16px; color: var(--text-3); }
.lp-cat-card__sale { color: var(--error); }
.lp-cat-card--category { align-items: center; }
.lp-cat-card__arrow { flex: 0 0 auto; color: var(--blue); }

@media (min-width: 1024px) {
  .lp-cat__chips { display: none; }
  .lp-cat__layout--side { display: grid; grid-template-columns: 260px minmax(0, 1fr); gap: 32px; align-items: start; }
  .lp-cat__brands { display: block; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 12px; }
  .lp-cat__brands .lp-cat__label { margin: 6px 10px 8px; }
  .lp-cat__brands .lp-cat-brand { display: flex; min-height: 48px; padding: 0 12px; border: 0; border-radius: 12px; font-weight: 600; white-space: normal; }
  .lp-cat__brands .lp-cat-brand[aria-current="page"] { font-weight: 700; }
  .lp-cat-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
  .lp-cat-card { flex-direction: column; padding: 0; overflow: hidden; border-radius: var(--r-xl); gap: 0; }
  .lp-cat-card__photo { flex: none; width: 100%; height: auto; aspect-ratio: 1 / 1; border-radius: 0; border-bottom: 1px solid var(--line); }
  .lp-cat-card__photo--old { padding: 16px; }
  .lp-cat-card__body { padding: 16px 18px 20px; gap: 8px; }
  .lp-cat-card__name { font-size: 20px; }
  .lp-cat-card__price { font-size: 21px; }
  .lp-cat-card--category { align-items: stretch; }
  .lp-cat-card__arrow { display: none; }
}
@media (hover: hover) {
  .lp-cat-card:hover { border-color: var(--blue); background: var(--blue-hover-bg); }
  .lp-cat-card:hover .lp-cat-card__name { color: var(--blue-dark); text-decoration: underline; }
  .lp-cat-brand:not([aria-current="page"]):hover { background: var(--blue-hover-bg); border-color: var(--blue); }
}

/* 21. Search: suggestions as you type, results page (search.html) -------- */
.lp-search--suggest { position: relative; }
.lp-ac {
  position: absolute; left: 0; right: 0; top: calc(100% + 6px); z-index: 70;
  max-height: min(70vh, 560px); overflow-y: auto;
  background: var(--surface); border: 2px solid var(--ink); border-radius: var(--r-lg);
  box-shadow: 0 18px 40px rgba(20, 32, 44, 0.22); padding: 6px;
}
.lp-ac__label { padding: 10px 10px 4px; font-size: 14px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-3); }
.lp-ac__opt { display: flex; align-items: center; gap: 12px; min-height: 52px; padding: 6px 10px; border-radius: 12px; color: var(--ink); text-decoration: none; }
.lp-ac__opt[aria-selected="true"] { background: var(--blue-pale); outline: 2px solid var(--blue); outline-offset: -2px; }
.lp-ac__opt img, .lp-ac__noimg { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; object-fit: contain; background: var(--surface); border: 1px solid var(--line); }
.lp-ac__noimg { background: var(--placeholder); }
.lp-ac__text { display: flex; flex-direction: column; min-width: 0; line-height: var(--lh-small); }
.lp-ac__text b { font-size: 17px; }
.lp-ac__text small { font-size: 15px; color: var(--text-2); }
.lp-ac__opt--all { margin-top: 4px; border-top: 1px solid var(--line); border-radius: 0 0 12px 12px; color: var(--blue-dark); }
.lp-ac__empty { padding: 14px 10px; font-size: 16px; color: var(--text-2); }
@media (hover: hover) { .lp-ac__opt:hover { background: var(--blue-hover-bg); } }

.lp-search--page { max-width: 720px; margin-top: 18px; }
@media (min-width: 1024px) { .lp-header .lp-ac { min-width: 460px; } }   /* desktop header box is narrow: let the list be wider */
.lp-search__cats { margin-top: 20px; }
.lp-search__catlist { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-search__catlist .lp-pill { min-height: 56px; padding: 6px 16px; }
.lp-search__catlist .lp-pill span { display: flex; flex-direction: column; line-height: var(--lh-small); }
.lp-search__catlist .lp-pill small { font-size: 14px; font-weight: 500; color: var(--text-3); }
.lp-search__none { margin-top: 24px; }
.lp-search__bar { display: flex; flex-wrap: nowrap; align-items: center; justify-content: space-between; gap: 12px; margin-top: 22px; }
.lp-search__sort { display: flex; align-items: center; gap: 10px; margin-left: auto; }
.lp-search__sort label { font-weight: 700; white-space: nowrap; }
.lp-search__sort .lp-select-field { width: auto; min-width: 200px; padding-right: 8px; }
.lp-search__chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 16px; }
.lp-search__chips .lp-chip { text-decoration: none; }
.lp-search__nofilter { margin: 8px 0 0; }
.lp-filters__head h2 { font-size: 21px; }
.lp-filters .lp-check { font-size: 17px; }
.lp-pager { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 28px; font-weight: 700; }
@media (max-width: 1023px) {
  .lp-search-page .lp-cat__layout--side { margin-top: 12px; }
  .lp-search__sort .lp-select-field { min-width: 0; }
}
@media (min-width: 1024px) {
  .lp-search__filterbtn { display: none; }
  .lp-search__filters { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 6px 16px 16px; }
  .lp-search__filters .lp-filters__head { padding: 10px 0; border: 0; }
  .lp-search__filters .lp-filters__body { padding: 0; overflow: visible; }
}

/* 22. Cart and checkout (ShopSite cart pages: shopsite/includes/site_cart_shell) --
   ShopSite writes most of these pages itself (tables, inputs, buttons); these rules
   restyle its markup. js/site.js (14) turns the item table into cards. */
.lp-cartpage { background: var(--page); }
.lp-cart { padding-top: 20px; padding-bottom: 40px; }
.lp-cart h1 { margin: 0; }
.lp-cart h2 { font-size: 21px; margin: 0 0 12px; }
.lp-cart__head { margin-bottom: 18px; }
.lp-cart__count, .lp-cart__lead { margin: 6px 0 0; color: var(--text-2); }
.lp-cart__msgs { margin-bottom: 16px; padding: 12px 16px; border-radius: var(--r-md); background: var(--surface); border: 1px solid var(--line); font-size: var(--fs-small); line-height: var(--lh-small); }
.lp-cart__msgs p { margin: 0; }
.lp-cart__msgs.is-alert { background: var(--yellow-pale); border-color: var(--yellow); color: var(--ink); font-weight: 600; }
.lp-cart__msgs font[color], .lp-cart__msgs p[style] { color: inherit !important; }
.lp-panel { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 16px; }
.lp-cart__grid { display: block; }
.lp-cart table { border-collapse: collapse; }
.lp-cart input[type="text"], .lp-cart input[type="email"], .lp-cart input[type="tel"], .lp-cart select {
  min-height: 56px; padding: 0 14px; border: 2px solid var(--field-line); border-radius: 12px; background: var(--surface);
  color: var(--ink); font: inherit; font-size: max(16px, 1em); max-width: 100%;
}
.lp-cart input:focus, .lp-cart select:focus { outline: var(--focus); outline-offset: 1px; border-color: var(--blue); }
.lp-cart input[type="checkbox"], .lp-cart input[type="radio"] { width: 24px; height: 24px; accent-color: var(--blue); vertical-align: middle; }

/* ShopSite's buttons (input type="submit") */
.lp-cart input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; min-height: 52px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 14px; background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 17px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.lp-cart__checkout input[type="submit"], .lp-checkout__next input[type="submit"] {
  width: 100%; min-height: 64px; font-size: 21px; border-radius: 18px; background: var(--blue); border-color: var(--blue); color: #FFFFFF;
}
.lp-cart__checkout input[type="image"] { display: block; margin: 12px auto 0; max-width: 100%; height: auto; }
.lp-checkout__back input[type="submit"], .lp-cart__keep input[type="submit"] { width: 100%; }
.lp-cart__empty input[type="submit"], .lp-cart__update input[type="submit"] { min-height: 44px; border: 0; background: transparent; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; padding: 0 4px; font-size: 16px; }
.lp-cart__empty { text-align: center; margin-top: 4px; }
.lp-cart__update { margin-top: 6px; text-align: right; }
@media (hover: hover) {
  .lp-cart input[type="submit"]:hover { background: var(--blue-hover-bg); }
  .lp-cart__checkout input[type="submit"]:hover, .lp-checkout__next input[type="submit"]:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
  .lp-cart__empty input[type="submit"]:hover, .lp-cart__update input[type="submit"]:hover { background: transparent; color: var(--ink); }
}

/* item cards (made by site.js from ShopSite's table) */
.lp-cart__table--done { display: none; }
.lp-cartlines { display: flex; flex-direction: column; gap: 14px; }
.lp-cartline { position: relative; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 16px; }
.lp-cartline.is-busy { opacity: 0.55; pointer-events: none; }
.lp-cartline__top { display: flex; gap: 14px; }
.lp-cartline__img { flex: 0 0 88px; width: 88px; height: 88px; object-fit: contain; border-radius: var(--r-md); border: 1px solid var(--line); background: var(--surface); }
.lp-cartline__info { min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.lp-cartline__name { font-weight: 700; font-size: 19px; line-height: var(--lh-subhead); color: var(--ink); }
.lp-cartline__sub, .lp-cartline__opts { font-size: var(--fs-small); color: var(--text-2); line-height: var(--lh-small); }
.lp-cartline__sku { font-size: 14px; color: var(--text-3); }
.lp-cartline__buy { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-top: 14px; }
.lp-cartline__price { display: flex; flex-direction: column; align-items: flex-end; line-height: 1.2; }
.lp-cartline__price b { font-size: 21px; }
.lp-cartline__price small { font-size: 15px; color: var(--text-3); margin-top: 2px; }
.lp-cartline__remove { margin-top: 10px; min-height: 44px; padding: 0 4px; border: 0; background: transparent; color: var(--blue-dark); font: inherit; font-weight: 600; font-size: 16px; text-decoration: underline; text-underline-offset: 3px; cursor: pointer; }
.lp-stepper { display: inline-flex; align-items: center; border: 2px solid var(--field-line); border-radius: 14px; overflow: hidden; background: var(--surface); }
.lp-stepper__btn { width: 52px; height: 52px; border: 0; background: var(--surface-2); color: var(--ink); font: inherit; font-size: 26px; font-weight: 700; line-height: 1; cursor: pointer; }
.lp-cart input.lp-stepper__input { width: 56px; min-height: 52px; border: 0; border-radius: 0; padding: 0; text-align: center; font-weight: 700; font-size: 19px; }
.lp-cartlines--compact { gap: 10px; }
.lp-cartlines--compact .lp-cartline { border: 0; border-bottom: 1px solid var(--line); border-radius: 0; padding: 0 0 12px; background: transparent; }
.lp-cartlines--compact .lp-cartline:last-child { border-bottom: 0; }
.lp-cartlines--compact .lp-cartline__img { flex-basis: 56px; width: 56px; height: 56px; }
.lp-cartlines--compact .lp-cartline__name { font-size: 17px; }
.lp-cartlines--compact .lp-cartline__buy { margin-top: 6px; }
.lp-cartline__qtytext { font-size: var(--fs-small); color: var(--text-2); }
@media (hover: hover) { .lp-stepper__btn:hover { background: var(--blue-tint); } .lp-cartline__remove:hover { color: var(--ink); } }

/* the table itself, when JavaScript is off */
.lp-cart table.cart { width: 100%; background: var(--surface); border-radius: 16px; }
.lp-cart table.cart th, .lp-cart table.cart td { padding: 10px 8px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-cart table.cart td.cart_image img { max-width: 72px; height: auto; }

.lp-cart__showbasket { margin: 14px 0; font-size: var(--fs-small); color: var(--text-2); }
.lp-cart__showbasket label { display: inline-flex; align-items: center; gap: 10px; min-height: 44px; }
.lp-cart__welcome { margin: 16px 0; }
.lp-cart__signin p { margin: 0 0 14px; }
.lp-cart__keep { margin-top: 8px; }

/* shipping estimate, coupon, totals, payment choice */
.lp-cart table.zipncountry, .lp-cart table.taxnship { width: 100%; }
.lp-cart table.zipncountry tr, .lp-cart table.taxnship tr { display: flex; flex-direction: column; gap: 6px; margin-bottom: 12px; }
.lp-cart table.zipncountry td, .lp-cart table.taxnship td { padding: 0; display: block; }
.lp-cart td.zipncountry_txt, .lp-cart td.taxnship_txt { font-weight: 700; }
.lp-cart table.zipncountry select, .lp-cart table.zipncountry input[type="text"], .lp-cart table.taxnship select { width: 100%; }
.lp-cart__selectship { margin: 4px 0 12px; }
.lp-cart__shipopts { width: 100%; }
.lp-cart__couponrow { display: flex; gap: 10px; flex-wrap: wrap; }
.lp-cart__couponrow input[type="text"] { flex: 1 1 160px; min-width: 0; }
.lp-cart table.totals { width: 100%; }
.lp-cart table.totals tr { display: flex; justify-content: space-between; gap: 12px; padding: 6px 0; }
.lp-cart table.totals td { padding: 0; }
.lp-cart table.totals td.totals_all_txt, .lp-cart table.totals td.totals_all { font-weight: 700; font-size: 22px; padding-top: 8px; }
.lp-cart table.totals tr:last-child { border-top: 1px solid var(--line); margin-top: 4px; }
.lp-cart__paysel #E_paytype b { display: block; margin-bottom: 8px; }
.lp-cart__paysel select { width: 100%; margin-bottom: 10px; }
.lp-cart__checkout { margin-top: 14px; }
/* ShopSite wraps the checkout buttons in #CBP_wrapper with fixed widths and absolute positions; stack them instead */
.lp-cart #CBP_wrapper { position: static !important; width: auto !important; height: auto !important; display: flex; flex-direction: column; gap: 12px; }
.lp-cart #CBP_wrapper .chk_button { position: static !important; display: block; }
.lp-cart #CBP_wrapper input[type="image"] { margin: 0 auto; }
@media (max-width: 767px) { .lp-cart #CBP_wrapper input.ppcredit_chkout { display: none; } }
.lp-cart #hiddenZipButton { min-height: 0 !important; padding: 0 !important; border: 0 !important; }
.lp-cart__keep { margin-bottom: 16px; }
.lp-cart table.taxnship label { font-weight: 700; }
.lp-cart__ppcredit { margin-top: 12px; }
.lp-cart__nextnote { margin-top: 12px; }

/* details step: ShopSite's address and payment tables as stacked fields */
/* the store's optional questions (SHIP_CustomHTML 1): nested layout tables, stacked like the other fields */
.lp-checkout__custom { background: var(--surface); border: 1px solid var(--line); border-radius: 20px; padding: 18px; margin-bottom: 16px; }
.lp-checkout__custom table, .lp-checkout__custom tbody, .lp-checkout__custom tr, .lp-checkout__custom td { display: block; width: auto !important; }
.lp-checkout__custom td { padding: 0; white-space: normal !important; }
.lp-checkout__custom td:nth-child(2) { display: none; }
.lp-checkout__custom table table tr:not(:has(input, textarea, select)) { display: none; }   /* ShopSite's blank spacer rows */
.lp-checkout__custom table table tr { margin-top: 16px; }
.lp-checkout__custom td.t11db { font-weight: 700; margin-bottom: 6px; }
.lp-checkout__custom input, .lp-checkout__custom textarea { width: 100%; max-width: 100%; font-weight: 400; }
.lp-checkout__addr table, .lp-review__addr table, .lp-checkout__pay table, .lp-review__pay table { width: 100%; }
.lp-checkout__addr table.addr > tbody > tr, .lp-review__addr table.addr > tbody > tr { display: flex; flex-direction: column; gap: 24px; }
.lp-checkout__addr table.addr > tbody > tr > td, .lp-review__addr table.addr > tbody > tr > td { display: block; padding: 0; }
.lp-checkout__addr table.bill_addr tr, .lp-checkout__addr table.ship_addr tr, .lp-checkout__pay table.payment tr { display: flex; flex-direction: column; gap: 6px; margin-bottom: 14px; }
.lp-checkout__addr td, .lp-checkout__pay td { display: block; padding: 0; }
.lp-checkout__addr td.addr, .lp-checkout__pay td.payment { font-weight: 700; line-height: var(--lh-label); }
.lp-checkout__addr td.addr font, .lp-checkout__addr td.addr_foot font { color: var(--error); }
.lp-checkout__addr .lp-input, .lp-checkout__pay .lp-input { width: 100%; }
.lp-cart td.bill_addr_hdr, .lp-cart td.ship_addr_hdr, .lp-cart td.payment_hdr { font-size: 21px; font-weight: 700; padding: 0 0 6px; display: block; }
.lp-checkout__addr td.ship_check label { display: flex; align-items: center; gap: 12px; min-height: 48px; padding: 8px 12px; background: var(--blue-pale); border-radius: 12px; font-weight: 600; }
.lp-checkout__addr td.addr_foot { font-size: var(--fs-small); color: var(--text-3); }
.lp-checkout__actions { display: flex; flex-direction: column; gap: 12px; margin-bottom: 16px; }
.lp-checkout__actions .lp-small { margin: 0; }
.lp-review__addr td, .lp-review__pay td { padding: 2px 0; }
.lp-cart table.addr_name { width: auto; }
.lp-cart table.addr_name tr { display: flex; flex-wrap: wrap; gap: 0 6px; }
.lp-cart table.addr_name td { padding: 0; }
.lp-review__pay table.payment tr { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 12px; }
.lp-summary summary { display: flex; justify-content: space-between; align-items: center; gap: 12px; min-height: 44px; font-weight: 700; cursor: pointer; }
.lp-summary__hint { font-weight: 500; color: var(--text-2); font-size: var(--fs-small); }
.lp-summary[open] summary { margin-bottom: 12px; }
.lp-thanks__num { font-size: 21px; margin: 10px 0 0; }

/* shipping options pop-up */
.lp-shiptable { width: 100%; border-collapse: collapse; }
.lp-shiptable th, .lp-shiptable td { text-align: left; padding: 10px 8px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-shiptable thead th { font-size: var(--fs-label); text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-3); }
.lp-shiptable tbody th { font-weight: 700; }

.lp-cartfoot { border-top: 1px solid var(--line); background: var(--surface); padding: 20px 0 28px; color: var(--text-2); font-size: var(--fs-small); }
.lp-cartfoot p { margin: 0 0 6px; }
.lp-cartfoot svg { vertical-align: -3px; margin-right: 6px; }
.lp-cartfoot a { color: var(--blue-dark); font-weight: 700; }

@media (min-width: 1024px) {
  .lp-cart__grid { display: grid; grid-template-columns: minmax(0, 1fr) 400px; gap: 28px; align-items: start; }
  .lp-cart__side { position: sticky; top: 16px; }
  .lp-cartline { display: grid; grid-template-columns: minmax(0, 1fr) auto; align-items: center; gap: 8px 20px; }
  .lp-cartline__buy { margin-top: 0; gap: 24px; }
  .lp-cartline__price { min-width: 110px; }
  .lp-cartline__remove { grid-column: 1; margin-top: 0; justify-self: start; }
  .lp-cartlines--compact .lp-cartline { display: block; }
  .lp-checkout__addr table.addr > tbody > tr:first-child { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; }
  .lp-cart__keep input[type="submit"] { width: auto; }
}
@media print { .lp-checkout-head, .lp-cartfoot, .lp-checkout__actions { display: none; } .lp-panel { border: 0; padding: 0; } }

/* 23. Customer registration pages (ShopSite registration.cgi: shopsite/includes/site_reg_shell) --
   Sign in, create account, your account, address book, payment methods, order history, passwords.
   site.js (section 15) rebuilds ShopSite's field tables into .lp-reg__form fields. */
.lp-regpage { background: var(--page); }
.lp-reg { max-width: 680px; }
.lp-regpage[data-lp-reg-page="signin"] .lp-reg, .lp-regpage[data-lp-reg-page="order_view"] .lp-reg { max-width: var(--max); }
.lp-reg__title { margin-bottom: 8px; }
.lp-reg__sub { margin: 0 0 16px; color: var(--text-2); }
.lp-reg__title + .lp-reg__card, .lp-reg__title + form, .lp-reg__title + .lp-reg__grid { margin-top: 16px; }
.lp-reg__card h2 { font-size: 22px; margin-bottom: 8px; }
.lp-reg__lead { margin: 0 0 16px; }
.lp-reg__note { margin: -6px 0 18px; }
.lp-reg__help { margin: 16px 0 0; }
.lp-reg__who { font-weight: 700; margin: 0 0 6px; }
.lp-reg__msgs { background: var(--surface); border: 1px solid var(--line); border-radius: 16px; padding: 14px 16px; margin-bottom: 16px; text-align: center; }
.lp-reg__msgs.is-alert { border-color: var(--error-line); background: #FDF2F0; color: var(--error); font-weight: 600; text-align: left; }
.lp-reg__msgs[hidden] { display: none; }

/* fields */
.lp-reg__form .lp-input { width: 100%; }
.lp-reg__form .lp-field[hidden] { display: none; }
.lp-reg__inrow { display: flex; gap: 10px; }
.lp-reg__inrow > * { flex: 1 1 0; min-width: 0; }
.lp-reg__choice { border: 0; padding: 0; margin: 0 0 16px; }
.lp-reg__choice legend { padding: 0; margin-bottom: 4px; }
.lp-reg__choice .lp-check { font-size: 17px; }
.lp-reg__intro { margin: 8px 0 12px; }
.lp-reg__fields + .lp-reg__fields.is-built { border-top: 1px solid var(--line); padding-top: 16px; margin-top: 4px; }
.lp-reg__fields table { width: 100%; }               /* before (or without) site.js */
.lp-reg__dispname input { width: 100%; }

/* ShopSite's buttons (input type="submit"), by the role of the wrapper around them */
.lp-reg input[type="submit"] {
  display: inline-flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 16px; background: var(--surface); color: var(--ink);
  font: inherit; font-weight: 700; font-size: 18px; cursor: pointer; -webkit-appearance: none; appearance: none;
}
.lp-reg__primary input[type="submit"] { min-height: 64px; font-size: 21px; border-radius: 18px; background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.lp-reg__danger input[type="submit"] { background: var(--error); border-color: var(--error); }
.lp-reg__link input[type="submit"] { width: auto; min-height: 44px; border: 0; background: transparent; color: var(--blue-dark); text-decoration: underline; text-underline-offset: 3px; padding: 0 4px; font-size: 17px; }
.lp-reg__link { text-align: center; }
@media (hover: hover) {
  .lp-reg input[type="submit"]:hover { background: var(--blue-hover-bg); }
  .lp-reg__primary input[type="submit"]:hover { background: var(--blue-hover); border-color: var(--blue-hover); }
  .lp-reg__danger input[type="submit"]:hover { background: #8A2415; border-color: #8A2415; }
  .lp-reg__link input[type="submit"]:hover { background: transparent; color: var(--blue); }
}
.lp-reg__primary, .lp-reg__secondary { margin-top: 8px; }
.lp-reg__actions { display: flex; flex-direction: column; gap: 10px; margin-top: 8px; }
.lp-reg__actions > * { margin-top: 0; }
.lp-reg__actions--row { flex-direction: row; flex-wrap: wrap; }
.lp-reg__actions--row > * { flex: 1 1 120px; }

/* sign in */
.lp-reg__grid { display: grid; gap: 16px; }
.lp-reg__col > .lp-panel:last-child, .lp-reg__col > form:last-child .lp-panel { margin-bottom: 0; }
.lp-reg__perks { list-style: none; margin: 0 0 18px; padding: 0; }
.lp-reg__perks li { position: relative; padding-left: 32px; margin-bottom: 10px; }
.lp-reg__perks li::before { content: ""; position: absolute; left: 4px; top: 6px; width: 14px; height: 8px; border-left: 3px solid var(--blue); border-bottom: 3px solid var(--blue); transform: rotate(-45deg); }
.lp-reg__pro { margin: 16px 0 0; }
@media (min-width: 900px) {
  .lp-reg__grid { grid-template-columns: 1fr 1fr; align-items: start; gap: 24px; }
  .lp-reg__grid .lp-panel { padding: 28px; }
}

/* your account */
.lp-reg__hello { font-size: 22px; font-weight: 600; margin: 0 0 10px; }
.lp-reg__status { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 18px; }
.lp-reg__status[hidden] { display: none; }
.lp-reg__nav { display: flex; flex-direction: column; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; overflow: hidden; margin: 8px 0 16px; }
.lp-reg__navitem { position: relative; display: flex; align-items: center; min-height: 76px; padding: 14px 52px 14px 18px; color: var(--ink); text-decoration: none; cursor: pointer; border-top: 1px solid var(--line); }
.lp-reg__navitem:first-child { border-top: 0; }
.lp-reg__navitem::after { content: ""; position: absolute; right: 22px; top: 50%; width: 10px; height: 10px; border-right: 3px solid var(--text-3); border-top: 3px solid var(--text-3); transform: translateY(-50%) rotate(45deg); }
.lp-reg__navitem:focus-visible { outline: var(--focus); outline-offset: -3px; }
.lp-reg__navtext { display: flex; flex-direction: column; gap: 2px; }
.lp-reg__navtext b { font-size: 19px; }
.lp-reg__navtext span { color: var(--text-2); font-size: var(--fs-small); }
.lp-reg input.lp-reg__proxied[type], .lp-reg .lp-reg__proxied { position: absolute; width: 1px; height: 1px; min-height: 0; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); border: 0; }
@media (hover: hover) { .lp-reg__navitem:hover { background: var(--blue-hover-bg); } }
.lp-reg__signout { text-align: center; margin: 6px 0 0; }

/* lists (saved addresses, payment methods, orders) and confirmations */
.lp-reg__list select { width: 100%; min-height: 160px; padding: 8px; font-size: 18px; border: 2px solid var(--field-line); border-radius: 12px; }
.lp-reg__list table { width: 100%; }
.lp-reg__list td { padding: 10px 6px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-reg__list label { display: flex; gap: 12px; align-items: flex-start; cursor: pointer; }
.lp-reg__list input[type="radio"], .lp-reg__list input[type="checkbox"] { width: 24px; height: 24px; accent-color: var(--blue); flex: 0 0 auto; }
.lp-reg__confirm { background: var(--surface-2); border-radius: 12px; padding: 14px 16px; margin-bottom: 8px; }
.lp-reg__confirm table { margin: 0; }
.lp-reg__confirm td { padding: 2px 12px 2px 0; vertical-align: top; }
.lp-reg__confirm .addr-field { margin-bottom: 6px; font-weight: 700; }
.lp-reg__choices { display: flex; flex-direction: column; border: 1px solid var(--line); border-radius: 14px; overflow: hidden; margin-bottom: 8px; }
.lp-reg__choicerow { padding: 10px 14px; border-top: 1px solid var(--line); min-height: 56px; }
.lp-reg__choicerow:first-child { border-top: 0; }
.lp-reg__choicerow:has(input:checked) { background: var(--blue-pale); font-weight: 600; }
.lp-reg__empty { margin: 0 0 8px; padding: 16px; background: var(--surface-2); border-radius: 12px; color: var(--text-2); }
.lp-reg__actions [hidden] { display: none; }
/* some of ShopSite's buttons are links (Back to Cart, Cancel on some screens) */
.lp-reg__primary > a, .lp-reg__secondary > a {
  display: flex; align-items: center; justify-content: center; width: 100%; min-height: 56px; padding: 0 20px;
  border: 2px solid var(--ink); border-radius: 16px; background: var(--surface); color: var(--ink); font-weight: 700; font-size: 18px; text-decoration: none;
}
.lp-reg__primary > a { min-height: 64px; font-size: 21px; border-radius: 18px; background: var(--blue); border-color: var(--blue); color: #FFFFFF; }
.lp-reg__link > a { display: inline-flex; align-items: center; min-height: 44px; color: var(--blue-dark); font-weight: 700; font-size: 17px; text-decoration: underline; text-underline-offset: 3px; }

/* order details */
.lp-reg__ordermeta { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 6px 16px; margin: 0 0 12px; }
.lp-reg__items table { width: 100%; border-collapse: collapse; }
.lp-reg__items th { text-align: left; font-size: var(--fs-label); color: var(--text-3); padding: 6px 4px; border-bottom: 1px solid var(--line); }
.lp-reg__items td { padding: 10px 4px; border-bottom: 1px solid var(--line); vertical-align: top; }
.lp-reg__totals table { width: 100%; margin-top: 8px; }
.lp-reg__totals td { padding: 4px; }
.lp-reg__totals td:last-child { text-align: right; }
.lp-reg__panes { display: grid; gap: 0 16px; }
.lp-reg__ro td { padding: 2px 0; }
@media (min-width: 900px) { .lp-reg__panes { grid-template-columns: repeat(3, 1fr); } }

/* 24. Content pages (products/site_shell_template_content.html + includes/site_content/*.html) --
   Kelly's Corner, About, FAQs, Customer Service, 404 ... A content file is built from these parts:
     .lp-pagehero   white band: label, h1, subtitle, intro, buttons, optional photo (.lp-pagehero__media)
     .lp-pagebody   article (.lp-prose) with an optional side card (.lp-pageaside > .lp-ctacard)
     .lp-pageband   blue band with one call to action (desktop only; the side card covers phones) */
.lp-content { padding-top: 0; padding-bottom: 0; }
.lp-content__crumb { background: var(--surface); padding-top: 18px; }
.lp-content__crumb .lp-breadcrumb { margin: 0; }
.lp-content__legacy { padding-top: 24px; padding-bottom: 48px; }

.lp-pagehero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 16px 0 28px; }
.lp-pagehero__grid { display: grid; gap: 20px; }
.lp-pagehero__text { display: flex; flex-direction: column; gap: 16px; }
.lp-pagehero__label { align-self: flex-start; }
.lp-pagehero h1 { font-size: 38px; line-height: 1.1; }
.lp-pagehero__sub { margin: 0; font-size: 21px; line-height: 1.25; font-weight: 600; color: var(--ink); }
.lp-pagehero__intro { margin: 0; color: var(--text-2); line-height: 1.6; }
.lp-pagehero__actions { display: flex; flex-direction: column; gap: 12px; }
.lp-pagehero__media img { display: block; width: 100%; height: auto; border-radius: 24px; }
.lp-pagehero--plain { padding-bottom: 24px; }

.lp-pagebody { display: flex; flex-direction: column; gap: 8px; padding-top: 8px; padding-bottom: 40px; }
.lp-prose { max-width: 760px; color: var(--text-1, #2D3946); line-height: 1.6; }
.lp-prose h2 { margin: 36px 0 14px; font-size: 26px; line-height: 1.25; }
.lp-prose h3 { margin: 28px 0 10px; font-size: 21px; line-height: 1.3; }
.lp-prose p { margin: 0 0 16px; }
.lp-prose ul, .lp-prose ol { margin: 0 0 16px; padding-left: 24px; display: flex; flex-direction: column; gap: 8px; }
.lp-prose a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lp-pageaside { padding-top: 16px; }
.lp-ctacard { display: flex; flex-direction: column; gap: 12px; padding: 22px; border-radius: 22px; background: var(--ink); color: #FFFFFF; }
.lp-ctacard h2 { color: #FFFFFF; font-size: 22px; }
.lp-ctacard p { margin: 0 0 4px; color: #D5DCE3; }
.lp-ctacard .lp-btn--lg { font-size: 19px; padding: 0 16px; }
.lp-pageband { display: none; background: var(--blue-tint); }
.lp-pageband__row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 24px; padding-top: 40px; padding-bottom: 40px; }
.lp-pageband h2 { font-size: 30px; }
.lp-pageband p { margin: 6px 0 0; color: var(--text-2); }

@media (min-width: 1024px) {
  .lp-content__crumb { padding-top: 28px; }
  .lp-pagehero { padding: 20px 0 48px; }
  .lp-pagehero__grid { grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr); gap: 48px; align-items: center; }
  .lp-pagehero__grid:not(:has(.lp-pagehero__media)) { grid-template-columns: minmax(0, 860px); }
  .lp-pagehero__text { gap: 18px; }
  .lp-pagehero h1 { font-size: 52px; }
  .lp-pagehero__sub { font-size: 24px; }
  .lp-pagehero__actions { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .lp-pagehero__media img { border-radius: 32px; }
  .lp-pagebody { flex-direction: row; align-items: flex-start; gap: 56px; padding-top: 24px; padding-bottom: 64px; }
  .lp-prose { flex: 1; min-width: 0; font-size: 19px; }
  .lp-prose h2 { font-size: 30px; line-height: 1.1; }
  .lp-pageaside { flex: 0 0 340px; position: sticky; top: 16px; padding-top: 36px; }
  .lp-pageband { display: block; }
}

/* 404 */
.lp-notfound { padding-top: 24px; padding-bottom: 48px; display: flex; flex-direction: column; gap: 16px; }
.lp-notfound__intro { display: flex; flex-direction: column; gap: 16px; max-width: 760px; }
.lp-notfound__code { font-size: var(--fs-label); font-weight: 700; color: var(--text-3); }
.lp-notfound__lead { margin: 0; color: var(--text-2); }
.lp-notfound h2 { margin-top: 12px; font-size: 24px; }
.lp-notfound__tiles { display: grid; gap: 12px; }
.lp-notfound__tiles svg { flex: 0 0 auto; color: var(--blue); }
.lp-callout { padding: 18px; border-radius: 18px; background: var(--blue-pale); border: 2px solid var(--blue); color: var(--ink); }
@media (min-width: 700px) { .lp-notfound__tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (min-width: 1024px) {
  .lp-notfound { padding-top: 40px; padding-bottom: 72px; }
  .lp-notfound h1 { font-size: 40px; }
  .lp-notfound__tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-notfound .lp-linklist { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); column-gap: 32px; border-bottom: 0; }
  .lp-notfound .lp-linklist a { border-bottom: 1px solid var(--line); }
  .lp-notfound .lp-linklist a + a { border-top: 0; }
}

/* 25. Home page (includes/site_content/home.html, in the content page template) ---------------- */
.lp-solo { font-weight: 700; color: var(--blue-dark); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.lp-home-hero { background: var(--surface); border-bottom: 1px solid var(--line); padding: 24px 0 28px; }
.lp-home-hero__grid { display: grid; gap: 20px; }
.lp-home-hero__text { display: flex; flex-direction: column; gap: 16px; }
.lp-home-hero h1 { font-size: 40px; line-height: 1.08; letter-spacing: -0.02em; }
.lp-home-hero__lead { margin: 0; font-size: 20px; color: var(--text-2); max-width: 34ch; }
.lp-home-hero__actions { display: flex; flex-direction: column; gap: 12px; }
.lp-home-hero__art { display: none; }
.lp-home-hero__card { display: flex; flex-direction: column; gap: 6px; padding: 18px; border-radius: 18px; background: var(--blue-pale); border: 2px solid var(--blue); }
.lp-home-hero__card span { color: var(--text-2); }

.lp-home-trust { background: var(--surface); border-bottom: 1px solid var(--line); }
.lp-home-trust__row { display: flex; flex-direction: column; gap: 10px; padding-top: 16px; padding-bottom: 16px; font-weight: 600; }
.lp-home-trust__row span { display: flex; align-items: center; gap: 10px; }
.lp-home-trust__row svg { flex: 0 0 auto; color: var(--blue); }

.lp-home-sec { padding-top: 32px; }
.lp-home-sec h2 { margin-bottom: 16px; font-size: 28px; }
.lp-home-sec__head { display: flex; justify-content: space-between; align-items: baseline; gap: 16px; }
.lp-home-areas { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.lp-home-area { display: flex; flex-direction: column; gap: 14px; padding: 16px; background: var(--surface); border: 1px solid var(--line); border-radius: 20px; color: var(--ink); text-decoration: none; }
.lp-home-area b { display: block; font-size: 20px; }
.lp-home-area small { display: block; font-size: var(--fs-label); color: var(--text-3); line-height: var(--lh-small); }
.lp-home-area__mark { display: flex; align-items: center; justify-content: center; width: 48px; height: 48px; border-radius: 50%; background: var(--blue-tint); color: var(--blue); font-weight: 700; font-size: 20px; }
.lp-home-cats .lp-notfound__tiles svg { flex: 0 0 auto; color: var(--blue); }
.lp-home-brands { display: flex; flex-wrap: wrap; gap: 10px; }
.lp-home-help { display: grid; gap: 16px; padding-bottom: 48px; }
.lp-home-help__dark, .lp-home-help__kelly { display: flex; flex-direction: column; gap: 14px; padding: 24px; border-radius: 24px; }
.lp-home-help__dark { background: var(--ink); color: #FFFFFF; }
.lp-home-help__dark h2 { color: #FFFFFF; margin: 0; }
.lp-home-help__dark p { margin: 0; color: #D5DCE3; }
.lp-home-help__kelly { background: var(--blue-tint); }
.lp-home-help__kelly h2, .lp-home-help__kelly p { margin: 0; }
.lp-home-help .lp-btn { align-self: stretch; }
@media (hover: hover) {
  .lp-home-area:hover { background: #F5F9FD; border-color: var(--blue); }
  .lp-solo:hover { color: var(--blue); text-decoration-thickness: 2px; }
}
@media (min-width: 700px) {
  .lp-home-areas { grid-template-columns: repeat(3, minmax(0, 1fr)); }
  .lp-home-trust__row { flex-direction: row; flex-wrap: wrap; justify-content: space-between; gap: 12px 32px; }
}
@media (min-width: 1024px) {
  .lp-home-hero { padding: 56px 0 48px; }
  .lp-home-hero__grid { grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 48px; align-items: center; position: relative; }
  .lp-home-hero__text { gap: 24px; grid-row: 1; }
  .lp-home-hero h1 { font-size: 64px; }
  .lp-home-hero__lead { font-size: 22px; }
  .lp-home-hero__actions { flex-direction: row; flex-wrap: wrap; gap: 14px; }
  .lp-home-hero__art { display: block; grid-column: 2; grid-row: 1; position: relative; height: 440px; border-radius: 36px; background: var(--blue); overflow: hidden; }
  .lp-home-hero__dot { position: absolute; border-radius: 50%; }
  .lp-home-hero__dot--yellow { right: -90px; top: -90px; width: 380px; height: 380px; background: var(--yellow); }
  .lp-home-hero__dot--blue { left: -60px; bottom: -120px; width: 320px; height: 320px; background: #3A8FD0; }
  .lp-home-hero__card { grid-column: 2; grid-row: 1; align-self: end; justify-self: start; margin: 0 0 28px 28px; max-width: 320px; background: var(--surface); border: 0; z-index: 1; }
  .lp-home-sec { padding-top: 48px; }
  .lp-home-sec h2 { font-size: 36px; margin-bottom: 20px; }
  .lp-home-areas { grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 16px; }
  .lp-home-area { padding: 20px; gap: 24px; }
  .lp-home-help { grid-template-columns: 1.3fr 1fr; gap: 20px; padding-bottom: 64px; }
  .lp-home-help__dark, .lp-home-help__kelly { padding: 36px; }
  .lp-home-help .lp-btn { align-self: flex-start; }
}

/* 18. Utilities, motion, print ----------------------------------------- */
[hidden] { display: none !important; }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition: none !important; animation: none !important; scroll-behavior: auto !important; }
}
@media print {
  .lp-header, .lp-slimbar, .lp-memberbar, .lp-announce, .lp-callbar, .lp-catbar, .lp-footer { display: none !important; }
  body { background: #FFFFFF; }
}
