/* ==================================================================
   sdf-2026.css — sitewide refresh (2026-10)
   One stylesheet, loaded LAST on every page by scripts/inject-sdf-2026.py.
   Replaces sitewide-layout-2026-05-06.css + redesign-2026-05-06.css and the
   injected Bodoni font block (no more body zoom). Legacy markup is untouched;
   this file restyles it in the SDF brand system (see PRODUCT.md, brand.md):
   Newsreader headings, Archivo UI, maroon #510a0a, square corners.
   Signature: the "double frame" — image tiles sit in a mat + hairline that
   closes into a maroon moulding on hover/focus.
   ================================================================== */

:root {
  color-scheme: light;
  --sdf-maroon: #510a0a;
  --sdf-maroon-deep: #3a0606;
  --sdf-maroon-hover: #6c1111;
  --sdf-red: #c31a1a;
  --sdf-ink: #1f1515;
  --sdf-muted: #67524e;
  --sdf-ground: #fbf8f5;
  --sdf-paper: #ffffff;
  --sdf-band: #f3ebe4;
  --sdf-line: rgba(81, 10, 10, 0.16);
  --sdf-line-strong: rgba(81, 10, 10, 0.32);
  --sdf-on-maroon: #f7ece8;
  --sdf-on-maroon-muted: #dcc3bd;
  --sdf-serif: "Newsreader", Georgia, "Times New Roman", serif;
  --sdf-sans: "Archivo", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  --sdf-max: 1320px;
  --sdf-gutter: clamp(16px, 4vw, 40px);
  --sdf-ease: cubic-bezier(0.23, 1, 0.32, 1);
  --sdf-frame-rest: inset 0 0 0 5px var(--sdf-paper), inset 0 0 0 6px var(--sdf-line-strong), inset 0 0 0 12px var(--sdf-paper);
  --sdf-frame-hover: inset 0 0 0 7px var(--sdf-maroon), inset 0 0 0 8px var(--sdf-maroon-deep), inset 0 0 0 12px var(--sdf-paper);
  accent-color: var(--sdf-maroon);
}

/* ---------- Base ---------- */
html { -webkit-text-size-adjust: 100%; scroll-padding-top: 16px; }
html body {
  margin: 0;
  background: var(--sdf-ground) !important;
  background-image: none !important;
  color: var(--sdf-ink);
  font-family: var(--sdf-sans);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  zoom: normal;
}
html body p, html body li, html body td, html body th, html body label,
html body input, html body select, html body textarea, html body button {
  font-family: var(--sdf-sans);
}
html body p { font-size: 17px; line-height: 1.6; color: var(--sdf-ink); text-wrap: pretty; }
::selection { background: var(--sdf-maroon); color: #fff; }
input, textarea { caret-color: var(--sdf-maroon); }
html { scrollbar-color: rgba(81, 10, 10, 0.35) transparent; }
:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
  outline: 2px solid var(--sdf-red) !important;
  outline-offset: 2px;
}
select, .sdf-num, td { font-variant-numeric: tabular-nums; }
html body input:not([type="image"]):focus, html body textarea:focus, html body select:focus {
  border-color: var(--sdf-maroon) !important;
  box-shadow: none !important;
}
img { max-width: 100%; height: auto; }

html body a { color: var(--sdf-maroon); text-underline-offset: 3px; text-decoration-thickness: 1px; }
html body a:hover { color: var(--sdf-red); }

/* Headings: Newsreader. Legacy JS prepends <span></span> to every h1 / .widget h2. */
html body h1, html body h2, html body h3,
html body #content > h1, html body .page h1 {
  font-family: var(--sdf-serif);
  font-weight: 500;
  letter-spacing: -0.01em;
  text-wrap: balance;
  color: var(--sdf-ink);
  text-shadow: none;
  background: none;
}
html body h4, html body h5, html body h6 {
  font-family: var(--sdf-sans);
  font-weight: 600;
  color: var(--sdf-ink);
  letter-spacing: 0;
  text-shadow: none;
}
html body h1 > span:empty, html body h2 > span:empty { display: none !important; }
html body h1 {
  font-size: clamp(28px, 2.4vw + 12px, 40px);
  line-height: 1.15;
  color: var(--sdf-maroon);
  margin: 0 0 20px;
  padding: 0;
  text-transform: none;
}
html body h2 { font-size: clamp(22px, 1.2vw + 14px, 28px); line-height: 1.25; margin: 0 0 12px; }
html body h3 { font-size: 21px; line-height: 1.3; margin: 0 0 10px; }

/* ---------- Kill legacy chrome ---------- */
#wrapper, #main-wrapper, #header-wrapper, #main, #main-inner, #footer, #footer-inner, #copyright,
.page, #full-width-content {
  background-image: none !important;
}
#wrapper, #main-wrapper { background: transparent !important; width: auto !important; }
#main-top, #main-bottom, #footer-top, #footer-bottom,
.page > .top, .page > .bottom,
#homepage-slideshow, #homepage .slideshow-wrapper, #anything-slider, .slideshow-wrapper,
#search-popup-wrapper, #main-menu .menu-left, #main-menu .menu-right,
#sidebar-top, #sidebar-bottom {
  display: none !important;
}

/* ---------- Containers ---------- */
html body #main,
html body #main-inner,
html body #footer-inner,
html body #copyright {
  width: auto !important;
  max-width: var(--sdf-max) !important;
  margin-left: auto !important;
  margin-right: auto !important;
  float: none !important;
  box-sizing: border-box;
}
html body #main { padding: clamp(24px, 3vw, 44px) 0 clamp(40px, 5vw, 72px) !important; }
html body #main-inner { padding: 0 var(--sdf-gutter) !important; }
html body #main-inner::after { content: ""; display: block; clear: both; }

/* ==================================================================
   HEADER — solid maroon band. Two markups:
   inner pages: #header > a#logo, .social-icons, #header-cta
   index/home:  #header > #header-left(#logo) + #header-right(#header-cta, .social-icons)
   ================================================================== */
/* The band is painted on #header (not #header-wrapper): on inner pages the
   legacy markup never closes #header-wrapper, so it wraps the whole page.
   box-shadow + clip-path bleeds the colour edge to edge. */
html body #header-wrapper { background: transparent !important; border: 0; }
html body #header {
  background: var(--sdf-maroon) !important;
  box-shadow: 0 0 0 100vmax var(--sdf-maroon);
  clip-path: inset(0 -100vmax);
}
html body #header {
  box-sizing: border-box;
  width: auto !important;
  max-width: var(--sdf-max) !important;
  height: auto !important;
  min-height: 0 !important;
  margin: 0 auto !important;
  padding: 14px var(--sdf-gutter) !important;
  display: flex !important;
  align-items: center;
  gap: 16px 28px;
  position: relative;
  z-index: 60;
}
html body #header #header-left { display: flex; align-items: center; padding: 0; margin-right: auto; }
html body #header #header-right { display: flex; align-items: center; gap: 28px; }
html body #header > #logo { margin-right: auto !important; }
html body #header #logo {
  float: none !important;
  position: static !important;
  display: block;
  margin: 0;
  padding: 0 !important;
  line-height: 0;
}
html body #header #logo img { display: block; height: 68px !important; width: auto !important; }

/* Address block */
html body #header .social-icons {
  position: static !important;
  inset: auto !important;
  height: auto !important;
  max-width: none !important;
  padding: 0 !important;
  margin: 0 !important;
  float: none !important;
  order: 2;
  text-align: right;
}
html body #header .social-icons ul { margin: 0; padding: 0; list-style: none; }
html body #header .social-icons ul li {
  display: block;
  float: none;
  margin: 0;
  color: var(--sdf-on-maroon-muted) !important;
  font-family: var(--sdf-sans) !important;
  font-size: 14px !important;
  line-height: 1.5 !important;
  text-align: right;
  background: none;
  width: auto;
  height: auto;
}
html body #header .social-icons .divider { display: block; height: 0; border: 0; background: none; margin: 3px 0 !important; }
html body #header .social-icons a.email-link,
html body #header .social-icons ul li a.email-link {
  display: inline !important;
  width: auto !important; height: auto !important;
  text-indent: 0 !important;
  background: none !important;
  color: var(--sdf-on-maroon) !important;
  font: inherit !important;
  padding: 0 !important; margin: 0 !important;
  text-decoration: underline;
  text-decoration-color: rgba(247, 236, 232, 0.45);
  text-underline-offset: 3px;
}
html body #header .social-icons a.email-link:hover { color: #fff !important; text-decoration-color: #fff; }

/* LOGIN / REGISTER / VIEW CART / CONTACT */
html body #header #header-cta {
  position: static !important;
  order: 3;
  display: flex !important;
  flex-direction: row !important;
  align-items: center;
  gap: 10px;
  margin: 0 !important;
  padding: 0 !important;
  min-width: 0;
  clear: none !important;
}
html body #header #header-cta form { margin: 0; padding: 0; display: block; }
html body #header #header-cta a.login,
html body #header #header-cta button.login,
html body #header #header-cta a.register {
  box-sizing: border-box !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  width: auto !important;
  min-width: 112px !important;
  margin: 0 !important;
  padding: 0 20px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  border-radius: 2px !important;
  cursor: pointer;
  box-shadow: none !important;
  transform: none !important;
  transition: background-color 160ms var(--sdf-ease), color 160ms var(--sdf-ease), border-color 160ms var(--sdf-ease);
}
html body #header #header-cta a.login,
html body #header #header-cta button.login {
  background: var(--sdf-paper) !important;
  color: var(--sdf-maroon) !important;
  border: 1px solid var(--sdf-paper) !important;
}
html body #header #header-cta a.login:hover,
html body #header #header-cta button.login:hover { background: var(--sdf-band) !important; border-color: var(--sdf-band) !important; }
html body #header #header-cta a.register {
  background: transparent !important;
  color: var(--sdf-on-maroon) !important;
  border: 1px solid rgba(247, 236, 232, 0.55) !important;
}
html body #header #header-cta a.register:hover { background: rgba(255, 255, 255, 0.1) !important; border-color: #fff !important; color: #fff !important; }
/* cart-count badge (cart-count-badge-2026-05-08.js) */
html body #header #header-cta .sdfm-cart-count,
html body #header #header-cta [class*="cart-count"] { background: var(--sdf-red); color: #fff; }

/* Tagline under the header (index/home) */
html body #header-tagline-strip {
  max-width: var(--sdf-max);
  margin: 0 auto;
  padding: 18px var(--sdf-gutter) 0 !important;
  box-sizing: border-box;
  background: none; border: 0;
  text-align: center;
}
html body .header-tagline {
  font-family: var(--sdf-serif) !important;
  font-style: italic;
  font-size: 17px;
  color: var(--sdf-muted);
  letter-spacing: 0;
}

/* ==================================================================
   NAV — warm band, readable 15px items, real dropdowns, inline search.
   Below 960px: "Menu" toggle (added by sdf-2026.js) + stacked list.
   ================================================================== */
html body #main-menu {
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  height: auto !important;
  background: var(--sdf-band) !important;
  border-bottom: 1px solid var(--sdf-line);
  position: relative;
  z-index: 50;
}
html body #main-menu #menu-inner,
html body #main-menu #menu-inner.classic-light {
  position: static !important;
  width: auto !important;
  max-width: var(--sdf-max) !important;
  height: auto !important;
  margin: 0 auto !important;
  left: auto !important; top: auto !important;
  padding: 0 var(--sdf-gutter);
  box-sizing: border-box;
  background: none !important;
  display: block !important;
}
html body #main-menu #menu-inner .menu-middle {
  width: 100% !important;
  height: auto !important;
  float: none !important;
  overflow: visible !important;
  background: none !important;
  display: block !important;
}
html body #main-menu #menu-inner .menu-middle-inner {
  width: 100% !important;
  max-width: none !important;
  display: flex;
  align-items: center;
  padding: 0 !important;
  background: none !important;
  height: auto !important;
}
html body #main-menu #menu-inner ul.menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  gap: 0;
  width: 100%;
  margin: 0;
  padding: 0;
  float: none;
}
html body #main-menu #menu-inner ul.menu > li {
  float: none !important;
  flex: 0 0 auto;
  font-size: 16px;
  background: none !important;
}
html body #main-menu #menu-inner .menu a,
html body #main-menu #menu-inner .menu a:visited {
  display: flex;
  align-items: center;
  min-height: 52px;
  padding: 0 12px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--sdf-ink) !important;
  background: none !important;
  text-shadow: none !important;
  text-decoration: none;
  white-space: nowrap;
  border: 0 !important;
  transition: color 140ms var(--sdf-ease);
}
html body #main-menu #menu-inner ul.menu > li > a { box-shadow: inset 0 -2px 0 transparent; transition: color 140ms var(--sdf-ease), box-shadow 180ms var(--sdf-ease); }
html body #main-menu #menu-inner ul.menu > li > a:hover,
html body #main-menu #menu-inner ul.menu > li.sfHover > a,
html body #main-menu #menu-inner ul.menu > li:focus-within > a {
  color: var(--sdf-maroon) !important;
  box-shadow: inset 0 -2px 0 var(--sdf-maroon);
}
/* caret on dropdown parents */
html body #main-menu #menu-inner ul.menu > li:has(> ul) > a::after {
  content: "";
  width: 6px; height: 6px;
  margin-left: 8px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
  opacity: 0.6;
}
html body #main-menu .sf-sub-indicator { display: none !important; }

/* Dropdown panels (superfish toggles .sfHover; we also open on :hover / :focus-within / .sdf-open) */
html body #main-menu #menu-inner .menu ul {
  position: absolute;
  top: -999em;
  left: 0;
  width: 248px !important;
  margin: 0 !important;
  padding: 8px 0 !important;
  background: var(--sdf-paper) !important;
  border: 1px solid var(--sdf-line) !important;
  border-top: 2px solid var(--sdf-maroon) !important;
  box-shadow: 0 14px 32px -12px rgba(58, 6, 6, 0.28);
  z-index: 99;
}
html body #main-menu #menu-inner .menu li:hover > ul,
html body #main-menu #menu-inner .menu li.sfHover > ul,
html body #main-menu #menu-inner .menu li:focus-within > ul,
html body #main-menu #menu-inner .menu li.sdf-open > ul {
  top: 100% !important;
  left: 0 !important;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}
html body #main-menu #menu-inner .menu ul li { width: 100%; float: none; }
html body #main-menu #menu-inner .menu li li a {
  min-height: 42px;
  padding: 0 18px !important;
  font-size: 16px !important;
  color: var(--sdf-ink) !important;
}
html body #main-menu #menu-inner .menu li li a:hover { background: var(--sdf-band) !important; color: var(--sdf-maroon) !important; }

/* Search, pushed to the right end of the bar */
html body #main-menu #menu-inner .menu li.menu-search {
  margin-left: auto;
  display: flex !important;
  align-items: center;
  flex: 0 1 220px !important;
  min-width: 140px;
  padding: 8px 0 8px 12px;
}
html body #main-menu #menu-inner .menu li.menu-search .nav-search-form { width: 100%; }
html body #main-menu .menu li.menu-search .nav-search-form { display: flex; margin: 0; padding: 0; border: 0; }
html body #main-menu .menu li.menu-search .nav-search-input {
  flex: 1 1 auto;
  width: auto;
  min-width: 0;
  height: 38px;
  padding: 0 12px;
  font-family: var(--sdf-sans) !important;
  font-size: 15px;
  line-height: 38px;
  color: var(--sdf-ink);
  background: var(--sdf-paper);
  border: 1px solid var(--sdf-line-strong);
  border-right: 0;
  border-radius: 2px 0 0 2px;
  box-sizing: border-box;
  outline: none;
}
html body #main-menu .menu li.menu-search .nav-search-input::placeholder { color: var(--sdf-muted); opacity: 1; }
html body #main-menu .menu li.menu-search .nav-search-input:focus { border-color: var(--sdf-maroon); }
html body #main-menu .menu li.menu-search button.nav-search-button {
  display: inline-flex !important;
  position: static !important;
  align-items: center; justify-content: center;
  width: 42px; height: 38px;
  padding: 0; margin: 0;
  background: var(--sdf-maroon);
  color: #fff;
  border: 1px solid var(--sdf-maroon);
  border-radius: 0 2px 2px 0;
  cursor: pointer;
  box-sizing: border-box;
  transition: background-color 140ms var(--sdf-ease);
}
html body #main-menu .menu li.menu-search button.nav-search-button:hover { background: var(--sdf-maroon-hover); }
html body #main-menu .menu li.menu-search .nav-search-button svg { width: 16px; height: 16px; display: block; stroke: currentColor; fill: none; }

/* Mobile nav toggle (inserted by sdf-2026.js; hidden on desktop) */
.sdf-menu-toggle { display: none; }
html body #main-menu .sdf-nav-search { display: none; }

/* ==================================================================
   HOMEPAGE (index.html / fullsite/home.html)
   ================================================================== */
html body .value-props {
  max-width: 980px;
  margin: 0 auto;
  padding: clamp(20px, 4vw, 48px) 0 clamp(28px, 4vw, 48px);
  text-align: center;
}
html body .value-props h2 {
  font-family: var(--sdf-serif) !important;
  font-style: italic;
  font-weight: 400;
  font-size: clamp(36px, 4.6vw + 8px, 68px);
  line-height: 1.05;
  letter-spacing: -0.02em;
  color: var(--sdf-maroon);
  margin: 0 0 22px;
}
html body .value-props ul {
  list-style: none;
  margin: 0; padding: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px 28px;
}
html body .value-props ul li {
  position: relative;
  padding-left: 16px;
  font-family: var(--sdf-sans) !important;
  font-size: 16px;
  font-weight: 500;
  color: var(--sdf-muted);
  letter-spacing: 0;
}
html body .value-props ul li::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  width: 6px; height: 6px;
  background: var(--sdf-maroon);
  border-radius: 0;
  transform: translateY(-50%) rotate(45deg);
}

/* Category tiles — the double frame. Label sits below the frame, not on the photo. */
html body .tile-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 72px clamp(20px, 3.5vw, 48px);
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 0 80px;
}
html body .tile-grid a.tile {
  position: relative;
  display: block;
  aspect-ratio: 1 / 1;
  padding: 12px;
  box-sizing: border-box;
  background-color: var(--sdf-paper) !important;
  background-origin: content-box !important;
  background-clip: content-box !important;
  background-size: cover !important;
  background-position: center !important;
  border: 1px solid var(--sdf-line);
  border-radius: 0;
  box-shadow: var(--sdf-frame-rest);
  color: var(--sdf-ink) !important;
  text-decoration: none;
  overflow: visible;
  transform: none !important;
  transition: box-shadow 260ms var(--sdf-ease), border-color 260ms var(--sdf-ease);
}
html body .tile-grid a.tile:hover,
html body .tile-grid a.tile:focus-visible {
  box-shadow: var(--sdf-frame-hover);
  border-color: var(--sdf-maroon-deep);
}
html body .tile-grid a.tile span {
  position: absolute;
  top: calc(100% + 12px);
  left: 0; right: 0; bottom: auto;
  padding: 0;
  background: none !important;
  font-family: var(--sdf-serif) !important;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.2;
  letter-spacing: -0.01em;
  color: var(--sdf-ink);
  text-shadow: none;
  transition: color 160ms var(--sdf-ease);
}
html body .tile-grid a.tile:hover span { color: var(--sdf-maroon); }

html body .cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  max-width: none;
  margin: 0;
  padding: 0 0 8px;
}

/* Shared button look: CTA row, buttonPro (green/red/any), search buttons */
html body .cta-row a,
html body a.buttonPro, html body .buttonPro,
html body .sdf-btn {
  box-sizing: border-box;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  min-width: 0;
  margin: 0;
  padding: 0 20px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  letter-spacing: 0.02em;
  text-transform: none;
  text-align: center;
  text-decoration: none !important;
  text-shadow: none !important;
  color: #fff !important;
  background: var(--sdf-maroon) !important;
  background-image: none !important;
  border: 1px solid var(--sdf-maroon) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  cursor: pointer;
  transition: background-color 140ms var(--sdf-ease), border-color 140ms var(--sdf-ease), color 140ms var(--sdf-ease);
}
html body .cta-row a:hover,
html body a.buttonPro:hover, html body .buttonPro:hover,
html body .sdf-btn:hover {
  background: var(--sdf-maroon-hover) !important;
  border-color: var(--sdf-maroon-hover) !important;
  color: #fff !important;
}
/* secondary (outline) variant for the many "Go to…" / gallery buttons */
html body a.buttonPro.green, html body .buttonPro.green,
html body .sdf-btn--quiet {
  background: transparent !important;
  color: var(--sdf-maroon) !important;
  border-color: var(--sdf-line-strong) !important;
}
html body a.buttonPro.green:hover, html body .buttonPro.green:hover,
html body .sdf-btn--quiet:hover {
  background: var(--sdf-maroon) !important;
  border-color: var(--sdf-maroon) !important;
  color: #fff !important;
}
html body .cta-row a { min-width: 150px; }

/* ==================================================================
   GALLERY PAGES  (#gallery-1 > dl.gallery-item > dt > a > img + p)
   ================================================================== */
html body #content:has(#gallery-1, .gallery-item) {
  width: 100% !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
}
html body #content:has(#gallery-1, .gallery-item) ~ #sidebar { display: none !important; }
html body :is(#content, #full-width-content):has(#gallery-1) .page > h2 { color: var(--sdf-muted); font-size: 20px; }
html body :is(#content, #full-width-content):has(#gallery-1) hr { border: 0; border-top: 1px solid var(--sdf-line); margin: 20px 0 28px; height: 0; background: none; }
html body :is(#content, #full-width-content):has(#gallery-1) .one-half {
  width: calc(50% - 20px) !important;
  margin-right: 40px !important;
  float: left;
}
html body :is(#content, #full-width-content):has(#gallery-1) .one-half.last { margin-right: 0 !important; }

html body #gallery-1, html body .gallery-grid {
  display: grid !important;
  grid-template-columns: repeat(auto-fill, minmax(min(100%, 240px), 1fr)) !important;
  gap: 48px clamp(20px, 3vw, 36px) !important;
  padding: 24px 0 24px !important;
  margin: 0 !important;
  width: 100% !important;
  max-width: none !important;
  clear: both;
}
html body #gallery-1 > br, html body #gallery-1 > br[style] { display: none !important; }
html body #gallery-1 .gallery-item {
  float: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 0 !important;
  text-align: left;
}
html body #gallery-1 .gallery-item .gallery-icon { margin: 0; padding: 0; }
html body #gallery-1 .gallery-item a {
  display: block !important;
  padding: 12px;
  background: var(--sdf-paper);
  border: 1px solid var(--sdf-line);
  box-shadow: var(--sdf-frame-rest);
  line-height: 0;
  transition: box-shadow 260ms var(--sdf-ease), border-color 260ms var(--sdf-ease);
}
html body #gallery-1 .gallery-item a:hover,
html body #gallery-1 .gallery-item a:focus-visible {
  box-shadow: var(--sdf-frame-hover);
  border-color: var(--sdf-maroon-deep);
}
html body #gallery-1 .gallery-item img {
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: auto !important;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-shadow: none !important;
  transform: none !important;
  background: var(--sdf-paper);
}
html body #gallery-1 .gallery-item p,
html body #gallery-1 .gallery-item dd,
html body #gallery-1 .gallery-item .gallery-caption {
  margin: 12px 0 0 !important;
  padding: 0;
  font-family: var(--sdf-serif) !important;
  font-size: 20px !important;
  font-weight: 500;
  line-height: 1.25;
  letter-spacing: -0.01em;
  color: var(--sdf-ink);
  text-align: left;
}
html body #gallery-1 .gallery-item p a, html body #gallery-1 .gallery-item dd a {
  display: inline !important; padding: 0; border: 0; box-shadow: none; background: none; line-height: inherit;
}

/* ==================================================================
   FRAME DETAIL  (#full-width-content > .page > .three-fourth + .one-fourth)
   ================================================================== */
html body #full-width-content {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body #full-width-content > .page:has(> .three-fourth) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(240px, 290px);
  gap: 32px clamp(28px, 4vw, 56px);
  align-items: start;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  background: none !important;
}
html body #full-width-content > .page > .clear,
html body #full-width-content > .page > br { display: none; }
html body #full-width-content > .page > .three-fourth,
html body #full-width-content > .page > .one-fourth {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  box-sizing: border-box;
}

/* main column: title + text across, image left, finishes right, tabs across */
html body #full-width-content .three-fourth {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  column-gap: clamp(24px, 3vw, 40px);
  align-items: start;
}
html body #full-width-content .three-fourth > * { grid-column: 1 / -1; }
html body #full-width-content .three-fourth > .hoverIndent,
html body #full-width-content .three-fourth > #Zoomer,
html body #full-width-content .three-fourth > .MagicZoomPlus { grid-column: 1; }
html body #full-width-content .three-fourth > .listings { grid-column: 2; grid-row: span 2; }
html body #full-width-content .three-fourth > .clear,
html body #full-width-content .three-fourth > br { display: none; }
html body #full-width-content .three-fourth::after { content: none; }

html body #full-width-content .three-fourth > h1 {
  text-transform: lowercase;
  font-size: 15px;
  font-family: var(--sdf-sans);
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--sdf-muted);
  margin: 0 0 6px;
}
html body #full-width-content .three-fourth > h1::first-letter { text-transform: uppercase; }
html body #full-width-content .three-fourth .text {
  max-width: 820px !important;
  margin: 0 0 24px !important;
  padding: 0 !important;
}
html body #full-width-content .three-fourth .text h2,
html body #full-width-content .three-fourth .text h5 {
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
  margin: 0 0 10px !important;
}
html body #full-width-content .three-fourth .text h2:first-child {
  font-size: clamp(30px, 2.6vw + 12px, 44px);
  line-height: 1.1;
  color: var(--sdf-maroon);
  margin-bottom: 14px !important;
}
html body #full-width-content .three-fourth .text h2 + h5 {
  font-family: var(--sdf-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sdf-red);
}
html body #full-width-content .three-fourth .text h2:not(:first-child) {
  font-family: var(--sdf-sans);
  font-size: 18px;
  font-weight: 400;
  line-height: 1.55;
  color: var(--sdf-ink);
  max-width: 68ch;
}
html body #full-width-content .three-fourth .hoverIndent {
  margin: 0 0 8px !important;
  padding: 0 !important;
  font-size: 13px;
  color: var(--sdf-muted);
}
/* main image in the double frame */
html body #full-width-content .three-fourth #Zoomer {
  float: none !important;
  display: block !important;
  max-width: 560px;
  margin: 0 0 24px !important;
  padding: 12px;
  background: var(--sdf-paper);
  border: 1px solid var(--sdf-line);
  box-shadow: var(--sdf-frame-rest);
  box-sizing: border-box;
}
html body #full-width-content .three-fourth #Zoomer img { display: block; width: 100%; height: auto; border: 0; }

/* finishes / size / price / cart */
html body #full-width-content .three-fourth .listings {
  float: none !important;
  width: auto !important;
  min-height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
}
html body #full-width-content .three-fourth .listings > br { display: none; }
html body #full-width-content .three-fourth .listings ul {
  list-style: none;
  margin: 0; padding: 0;
  display: grid;
  gap: 14px;
}
html body #full-width-content .three-fourth .listings ul li {
  float: none !important;
  display: grid !important;
  grid-template-columns: 88px minmax(0, 1fr);
  column-gap: 16px;
  align-items: start;
  width: auto !important;
  margin: 0 !important;
  padding: 16px !important;
  background: var(--sdf-paper);
  border: 1px solid var(--sdf-line);
  text-align: left;
}
html body #full-width-content .three-fourth .listings ul li > * { grid-column: 1 / -1; }
html body #full-width-content .three-fourth .listings ul li > a.Selector { grid-column: 1; grid-row: 1; }
html body #full-width-content .three-fourth .listings ul li > .p7ehc-a,
html body #full-width-content .three-fourth .listings ul li > div[id^="description"] { grid-column: 2; grid-row: 1; height: auto !important; }
html body #full-width-content .three-fourth .listings ul li > br,
html body #full-width-content .three-fourth .listings ul li > .divider { display: none; }
html body #full-width-content .listings a.Selector { display: block; line-height: 0; }
html body #full-width-content .listings a.Selector img,
html body .Selector img {
  width: 88px !important;
  height: 88px !important;
  object-fit: cover;
  border: 1px solid var(--sdf-line-strong) !important;
  outline: 3px solid transparent;
  outline-offset: 2px;
  transition: outline-color 160ms var(--sdf-ease);
}
html body .Selector.Active img, html body .Selector:hover img { border-color: var(--sdf-maroon) !important; outline-color: var(--sdf-maroon); }
html body #full-width-content .listings .bold {
  display: block;
  font-family: var(--sdf-sans);
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: var(--sdf-ink);
}
html body #full-width-content .listings .bold2 { margin: 0 0 4px; font-size: 15px; color: var(--sdf-muted); font-weight: 500; }
html body #full-width-content .listings .p7ehc-a p { font-size: 15px; line-height: 1.5; margin: 0; }
html body #full-width-content .listings h5 {
  margin: 14px 0 6px !important;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  color: var(--sdf-muted);
  text-transform: uppercase;
}
html body #full-width-content .listings form { margin: 0; }
html body #full-width-content .listings form > p:first-of-type {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px 10px;
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--sdf-muted);
}
html body #full-width-content .listings form > p:empty { display: none; }
html body select,
html body #full-width-content .listings select,
html body #full-width-content .listings input.rounded,
html body #full-width-content .listings input[type="text"] {
  box-sizing: border-box;
  height: 44px;
  padding: 0 12px;
  font-family: var(--sdf-sans);
  font-size: 15px;
  color: var(--sdf-ink);
  background-color: var(--sdf-paper);
  border: 1px solid var(--sdf-line-strong);
  border-radius: 2px;
}
html body #full-width-content .listings select { flex: 1 1 180px; min-width: 0 !important; max-width: 100%; }
html body #full-width-content .listings select[disabled] {
  color: var(--sdf-muted);
  background: var(--sdf-band);
  border-style: dashed;
  cursor: not-allowed;
  opacity: 1;
}
html body #full-width-content .listings input.rounded { width: 64px !important; text-align: center; }
/* legacy image submit (fallback when JS is off) */
html body #full-width-content .listings form input[type="image"] { display: block; max-width: 160px; }
/* replacement button (JS) */
html body .sdf-cart-btn {
  width: 100%;
  min-height: 46px;
  font-size: 15px !important;
}
html body .sdf-cart-btn svg { width: 18px; height: 18px; margin-right: 8px; stroke: currentColor; fill: none; stroke-width: 1.8; }

/* tabs panel (p7TPM): "Customers who bought…", "Reviews", "Product Details" */
html body #infoPanel { margin-top: 40px; }
html body .p7TPM07 {
  width: auto !important;
  border: 0 !important;
  background: none !important;
  box-shadow: none !important;
  padding: 0 !important;
}
html body .p7TPMtabs_07 { border-bottom: 1px solid var(--sdf-line); margin: 0 !important; padding: 0 !important; background: none !important; }
html body .p7TPM_tabs_07 { margin: 0 !important; padding: 0 !important; }
html body .p7TPM_tabs_07 li { margin: 0 4px 0 0 !important; padding: 0 !important; border: 0 !important; background: none !important; }
html body .p7TPM_tabs_07 a, html body .p7TPM_tabs_07 a:visited {
  display: inline-flex !important;
  align-items: center;
  min-height: 44px;
  padding: 0 16px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 15px !important;
  font-weight: 500;
  color: var(--sdf-muted) !important;
  background: none !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: inset 0 -2px 0 transparent;
}
html body .p7TPM_tabs_07 a:hover { color: var(--sdf-maroon) !important; }
html body .p7TPM_tabs_07 a.open, html body .p7TPM_tabs_07 a.open:visited {
  color: var(--sdf-maroon) !important;
  box-shadow: inset 0 -2px 0 var(--sdf-maroon);
  background: none !important;
}
html body .p7TPMcwrapper_07 {
  background: var(--sdf-paper) !important;
  border: 1px solid var(--sdf-line) !important;
  border-top: 0 !important;
  box-shadow: none !important;
  padding: 24px !important;
}
html body .p7TPM_content_07 { padding: 0 !important; background: none !important; }
html body .p7TPM_content_07 h2 { font-size: 20px; }
html body .p7QC-content img.alignleftInfo {
  width: 96px; height: 96px; object-fit: cover;
  border: 1px solid var(--sdf-line) !important;
  padding: 0 !important;
  box-shadow: none !important;
  margin: 0 14px 10px 0 !important;
}
html body .p7QC-content .bold { font-weight: 700; color: var(--sdf-ink); }
html body .p7QC-content p { font-size: 15px; margin: 0 0 4px; }
html body .p7QC-content p:empty, html body .p7QC-content p:has(> br:only-child) { display: none; }

/* right column */
html body #full-width-content .one-fourth { display: flex; flex-direction: column; align-items: stretch; gap: 14px; }
html body #full-width-content .one-fourth > br,
html body #full-width-content .one-fourth .space-10px,
html body #full-width-content .one-fourth .space-15px { display: none; }
html body #full-width-content .one-fourth form { margin: 0; }
html body #full-width-content .one-fourth h4 {
  margin: 12px 0 0 !important;
  font-family: var(--sdf-sans);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--sdf-muted);
}
html body #full-width-content .one-fourth h2 {
  font-size: 20px;
  color: var(--sdf-ink);
  margin: 12px 0 0 !important;
  padding: 12px 0 0 !important;
  border-top: 1px solid var(--sdf-line);
  border-bottom: 0 !important;
  background: none;
}
html body #full-width-content .one-fourth p,
html body #full-width-content .one-fourth span { font-size: 14px; color: var(--sdf-muted); }
html body #full-width-content .one-fourth .indentProfile { display: block; }
html body #full-width-content .one-fourth .shortcode.quote,
html body .shortcode.quote {
  background: var(--sdf-band) !important;
  border: 0 !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  padding: 18px !important;
  margin: 8px 0 0 !important;
  color: var(--sdf-ink);
}
html body .shortcode.quote * { background: none !important; border: 0 !important; box-shadow: none !important; font-family: var(--sdf-sans) !important; }
html body .shortcode.quote a { color: var(--sdf-maroon) !important; }
html body #full-width-content .one-fourth a.buttonPro { align-self: flex-start; }

/* ==================================================================
   CONTENT PAGES (#content + #sidebar), forms, search
   ================================================================== */
html body #main-inner:has(> #content):has(> #sidebar) {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 0 clamp(32px, 5vw, 72px);
  align-items: start;
}
html body #main-inner:has(> #content):has(> #sidebar) > *:not(#content):not(#sidebar) { grid-column: 1 / -1; }
html body #main-inner:has(> #content):has(> #sidebar) > .clear { display: none; }
html body #main-inner:has(> #content #gallery-1) { display: block; }
html body #content {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  background: none !important;
}
html body #content .page { padding: 0 !important; background: none !important; }
html body #content p, html body #content li { max-width: 72ch; }
html body #content .one-third {
  width: calc((100% - 64px) / 3) !important;
  margin: 0 32px 0 0 !important;
  float: left;
}
html body #content .one-third.last { margin-right: 0 !important; }
html body #content ul { padding-left: 1.2em; }
html body #content li { margin-bottom: 6px; }
html body #content hr { border: 0; border-top: 1px solid var(--sdf-line); height: 0; background: none; }
html body #sidebar {
  width: auto !important;
  max-width: none !important;
  float: none !important;
  margin: 0 !important;
  padding: 20px !important;
  background: var(--sdf-paper) !important;
  border: 1px solid var(--sdf-line);
  box-sizing: border-box;
}
html body #sidebar .widget { margin: 0 0 22px; padding: 0; background: none; border: 0; }
html body #sidebar .widget:last-child { margin-bottom: 0; }
html body #sidebar .widget h2, html body #sidebar .widget h3 {
  font-size: 18px;
  margin: 0 0 10px;
  padding: 0 0 8px;
  border-bottom: 1px solid var(--sdf-line);
  background: none;
  color: var(--sdf-ink);
  text-align: left;
}
html body #sidebar .widget ul { list-style: none; margin: 0; padding: 0; display: block; text-align: left; }
html body #sidebar .widget li { margin: 0; padding: 0; border: 0; background: none; }
html body #sidebar .widget li a {
  display: block;
  padding: 7px 0;
  font-size: 16px;
  color: var(--sdf-ink);
  text-decoration: none;
  background: none;
}
html body #sidebar .widget li a:hover { color: var(--sdf-maroon); text-decoration: underline; }

/* Quform (register / contact) */
html body .quform-outer { max-width: 760px; }
html body .quform-outer form.quform { background: none !important; border: 0 !important; box-shadow: none !important; padding: 0 !important; }
html body .quform-outer .quform-group-row { display: flex; flex-wrap: wrap; gap: 0 20px; }
html body .quform-outer label {
  font-size: 15px !important;
  font-weight: 600;
  line-height: 1.4 !important;
  color: var(--sdf-ink) !important;
}
html body .quform-outer .quform-input input[type="text"],
html body .quform-outer .quform-input input[type="email"],
html body .quform-outer .quform-input input[type="password"],
html body .quform-outer .quform-input input[type="tel"],
html body .quform-outer .quform-input input[type="number"],
html body .quform-outer .quform-input input[type="url"],
html body .quform-outer .quform-input textarea,
html body .quform-outer .quform-input select {
  width: 100% !important;
  max-width: 100% !important;
  height: auto !important;
  min-height: 44px;
  box-sizing: border-box !important;
  padding: 10px 12px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 16px !important;
  line-height: 1.35 !important;
  color: var(--sdf-ink) !important;
  background: var(--sdf-paper) !important;
  border: 1px solid var(--sdf-line-strong) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
}
html body .quform-outer .quform-input textarea { min-height: 120px; resize: vertical; }
html body .quform-outer .quform-input input:focus,
html body .quform-outer .quform-input textarea:focus,
html body .quform-outer .quform-input select:focus { border-color: var(--sdf-maroon) !important; }
html body .quform-outer .quform-description { font-size: 13px; color: var(--sdf-muted); }
html body .quform-outer .quform-submit button,
html body .quform-outer .quform-submit input[type="submit"],
html body .quform-outer button[type="submit"] {
  min-height: 48px;
  padding: 0 28px !important;
  font-family: var(--sdf-sans) !important;
  font-size: 15px !important;
  font-weight: 600 !important;
  color: #fff !important;
  background: var(--sdf-maroon) !important;
  background-image: none !important;
  border: 1px solid var(--sdf-maroon) !important;
  border-radius: 2px !important;
  box-shadow: none !important;
  text-shadow: none !important;
  cursor: pointer;
}
html body .quform-outer .quform-submit button:hover,
html body .quform-outer button[type="submit"]:hover { background: var(--sdf-maroon-hover) !important; }
html body .quform-outer .quform-submit button span,
html body .quform-outer .quform-submit button em { background: none !important; padding: 0 !important; color: inherit !important; font: inherit !important; }
html body .quform-error, html body .quform-error-message { color: var(--sdf-red) !important; }
html body #contact-form { scroll-margin-top: 24px; }

/* search results */
html body .search-form-inline input[type="text"], html body .search-form-inline input[type="search"] {
  height: 44px; padding: 0 12px; font-size: 16px;
  border: 1px solid var(--sdf-line-strong); border-radius: 2px; background: var(--sdf-paper);
}
html body .search-result {
  border-bottom: 1px solid var(--sdf-line) !important;
  padding: 16px 0 !important;
}
html body .search-result img { border: 1px solid var(--sdf-line); }

/* tables (finishes gallery, price list) */
html body table.tg { border-collapse: collapse; }
html body table.tg td, html body table.tg th { border-color: var(--sdf-line) !important; }

/* ==================================================================
   FOOTER — maroon band; legacy gallery buttons become a link row
   ================================================================== */
html, html body { overflow-x: clip; }
html body #main:has(#footer) { padding-bottom: 0 !important; }
html body #main #copyright { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; }
html body #main #footer { margin-left: calc(50% - 50vw) !important; margin-right: calc(50% - 50vw) !important; margin-top: 56px !important; }
html body #footer {
  width: auto !important;
  max-width: none !important;
  margin: 0;
  float: none !important;
  clear: both;
  background: var(--sdf-maroon) !important;
  border: 0 !important;
  color: var(--sdf-on-maroon);
}
html body #footer-inner {
  padding: 28px var(--sdf-gutter) !important;
  text-align: center;
  background: none !important;
}
html body #footer .widget {
  width: auto !important;
  float: none !important;
  margin: 0 !important;
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 4px 6px;
  background: none !important;
}
html body #footer .widget > br { display: none; }
html body #footer a.buttonPro, html body #footer .buttonPro {
  min-height: 40px;
  padding: 0 12px !important;
  background: transparent !important;
  border: 0 !important;
  color: var(--sdf-on-maroon) !important;
  font-weight: 500 !important;
  font-size: 15px !important;
  text-decoration: underline !important;
  text-decoration-color: transparent !important;
  text-underline-offset: 4px;
}
html body #footer a.buttonPro:hover { color: #fff !important; text-decoration-color: rgba(255,255,255,0.6) !important; background: transparent !important; }
html body .footer-clean p {
  margin: 0;
  font-family: var(--sdf-sans) !important;
  font-size: 15px;
  line-height: 1.7;
  color: var(--sdf-on-maroon) !important;
}
html body .footer-clean a {
  color: #fff !important;
  border-bottom: 0 !important;
  text-decoration: underline;
  text-decoration-color: rgba(255, 255, 255, 0.4);
}
html body .footer-clean a:hover { text-decoration-color: #fff; }

html body #copyright {
  max-width: none !important;
  width: auto !important;
  margin: 0 !important;
  padding: 14px max(var(--sdf-gutter), calc((100% - var(--sdf-max)) / 2 + var(--sdf-gutter))) !important;
  background: var(--sdf-maroon-deep) !important;
  border: 0 !important;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 6px 24px;
  font-size: 13px;
  color: var(--sdf-on-maroon-muted);
}
html body #copyright::after { content: none; }
html body #copyright .alignleft, html body #copyright .alignright { float: none !important; margin: 0 !important; }
html body #copyright p { margin: 0; font-size: 13px; color: var(--sdf-on-maroon-muted) !important; font-family: var(--sdf-sans) !important; }
html body #copyright ul.menu { display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0; padding: 0; list-style: none; }
html body #copyright ul.menu li { margin: 0 !important; padding: 0 !important; float: none; background: none; border: 0; }
html body #copyright ul.menu a {
  font-family: var(--sdf-sans) !important;
  font-size: 13px;
  color: var(--sdf-on-maroon) !important;
  text-decoration: none;
  background: none;
}
html body #copyright ul.menu a:hover { color: #fff !important; text-decoration: underline; }

/* ==================================================================
   RESPONSIVE
   ================================================================== */
@media (max-width: 1180px) {
  html body #main-menu #menu-inner .menu a { padding: 0 8px !important; font-size: 15px !important; }
  html body #header .social-icons { display: none; }
}

@media (max-width: 960px) {
  /* header: logo + CTA buttons on one row */
  html body #header { padding: 10px var(--sdf-gutter) !important; gap: 12px; }
  html body #header #logo img { height: 48px !important; }
  html body #header #header-right { gap: 12px; }
  html body #header #header-cta a.login,
  html body #header #header-cta button.login,
  html body #header #header-cta a.register { min-width: 0 !important; padding: 0 14px !important; font-size: 12px !important; }

  /* nav: toggle + search row; list collapses */
  .sdf-menu-toggle {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    min-height: 48px;
    padding: 0 4px;
    margin: 0;
    font-family: var(--sdf-sans);
    font-size: 15px;
    font-weight: 600;
    color: var(--sdf-ink);
    background: none;
    border: 0;
    cursor: pointer;
  }
  .sdf-menu-toggle .sdf-burger { position: relative; width: 20px; height: 14px; }
  .sdf-menu-toggle .sdf-burger::before,
  .sdf-menu-toggle .sdf-burger::after,
  .sdf-menu-toggle .sdf-burger i {
    content: ""; position: absolute; left: 0; right: 0; height: 2px; background: currentColor;
    transition: transform 220ms var(--sdf-ease), opacity 160ms var(--sdf-ease);
  }
  .sdf-menu-toggle .sdf-burger::before { top: 0; }
  .sdf-menu-toggle .sdf-burger i { top: 6px; }
  .sdf-menu-toggle .sdf-burger::after { top: 12px; }
  .sdf-menu-toggle[aria-expanded="true"] .sdf-burger::before { transform: translateY(6px) rotate(45deg); }
  .sdf-menu-toggle[aria-expanded="true"] .sdf-burger i { opacity: 0; }
  .sdf-menu-toggle[aria-expanded="true"] .sdf-burger::after { transform: translateY(-6px) rotate(-45deg); }

  html body #main-menu #menu-inner .menu-middle-inner { flex-wrap: wrap; justify-content: space-between; }
  html body #main-menu #menu-inner ul.menu {
    flex-direction: column;
    align-items: stretch;
    flex-wrap: nowrap;
    order: 3;
    width: 100%;
    display: none;
    padding: 0 0 10px;
    border-top: 1px solid var(--sdf-line);
  }
  html body.sdf-nav-open #main-menu #menu-inner ul.menu { display: flex; }
  html body #main-menu #menu-inner ul.menu > li { width: 100%; border-bottom: 1px solid var(--sdf-line); }
  html body #main-menu #menu-inner ul.menu > li > a { min-height: 48px; padding: 0 4px !important; justify-content: space-between; box-shadow: none !important; }
  html body #main-menu #menu-inner ul.menu > li:has(> ul) > a::after { transform: rotate(45deg); }
  html body #main-menu #menu-inner ul.menu > li.sdf-open > a::after { transform: rotate(-135deg); }
  /* submenus inline, opened by tap (.sdf-open) only */
  html body #main-menu #menu-inner .menu ul,
  html body #main-menu #menu-inner .menu li:hover > ul,
  html body #main-menu #menu-inner .menu li.sfHover > ul,
  html body #main-menu #menu-inner .menu li:focus-within > ul {
    position: static !important;
    display: none !important;
    width: auto !important;
    padding: 0 0 8px !important;
    border: 0 !important;
    box-shadow: none !important;
    background: none !important;
  }
  html body #main-menu #menu-inner .menu li.sdf-open > ul { display: block !important; }
  html body #main-menu #menu-inner .menu li li a { min-height: 44px; padding: 0 16px !important; }
  /* search lives beside the toggle (moved there by JS), full width when JS is off */
  html body #main-menu .sdf-nav-search { flex: 1 1 auto; display: flex; justify-content: flex-end; padding: 6px 0; }
  html body #main-menu .sdf-nav-search .nav-search-form { display: flex; width: 100%; max-width: 360px; }
  html body #main-menu .sdf-nav-search .nav-search-input {
    flex: 1 1 auto; width: auto; min-width: 0; height: 40px;
    padding: 0 12px; font-size: 16px; border: 1px solid var(--sdf-line-strong); border-right: 0;
    border-radius: 2px 0 0 2px; background: var(--sdf-paper); color: var(--sdf-ink); box-sizing: border-box;
  }
  html body #main-menu .sdf-nav-search .nav-search-button {
    display: inline-flex; align-items: center; justify-content: center;
    width: 44px; height: 40px; padding: 0; background: var(--sdf-maroon); color: #fff;
    border: 1px solid var(--sdf-maroon); border-radius: 0 2px 2px 0; box-sizing: border-box;
  }
  html body #main-menu .sdf-nav-search .nav-search-button svg { width: 16px; height: 16px; stroke: currentColor; fill: none; }
  html body #main-menu #menu-inner .menu li.menu-search { margin: 0; padding: 8px 0 0; border-bottom: 0; }
  html body #main-menu .sdf-nav-search ~ ul.menu li.menu-search { display: none !important; }

  /* detail page stacks */
  html body #full-width-content > .page:has(> .three-fourth) { grid-template-columns: minmax(0, 1fr); }
  html body #main-inner:has(> #content):has(> #sidebar) { grid-template-columns: minmax(0, 1fr); }
}

@media (max-width: 720px) {
  html body .MagicZoomBigImageCont, html body .MagicZoomPup { display: none !important; }
  html body #full-width-content .three-fourth { grid-template-columns: minmax(0, 1fr); }
  html body #full-width-content .three-fourth > .listings { grid-column: 1; grid-row: auto; }
  html body #full-width-content .three-fourth #Zoomer { max-width: none; }
  html body #content .one-third { width: auto !important; float: none; margin: 0 0 16px !important; }
  html body :is(#content, #full-width-content):has(#gallery-1) .one-half { width: auto !important; float: none; margin-right: 0 !important; }
  html body .p7QC-Col { width: 100% !important; float: none !important; margin: 0 0 16px !important; }
  html body .tile-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 52px 16px; }
  html body .tile-grid a.tile span { font-size: 18px; }
  html body #gallery-1, html body .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 16px !important; }
  html body #gallery-1 .gallery-item a { padding: 8px; }
  html body #gallery-1 .gallery-item p { font-size: 17px !important; }
  html body #copyright { justify-content: center; text-align: center; }
}

@media (max-width: 480px) {
  html body #header #header-cta { gap: 6px; }
  html body #header #header-cta a.login,
  html body #header #header-cta button.login,
  html body #header #header-cta a.register { padding: 0 10px !important; letter-spacing: 0.04em; }
  html body #header #logo img { height: 40px !important; }
  html body .value-props ul { flex-direction: column; align-items: center; gap: 6px; }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { transition-duration: 1ms !important; animation-duration: 1ms !important; scroll-behavior: auto !important; }
}

@media print {
  html body #main-menu, html body #header-cta, html body #footer { display: none !important; }
  html body #header-wrapper { background: none !important; }
}

/* ==================================================================
   Finish-review fixes (2026-10-09)
   ================================================================== */

/* 1. Detail: the legacy category <h1> follows the title as a plain line, not a kicker above it */
html body #full-width-content .three-fourth > .text { order: 0; }
html body #full-width-content .three-fourth > h1 {
  order: 1;
  margin: -12px 0 24px !important;
  font-size: 16px !important;
  font-weight: 500 !important;
  letter-spacing: 0 !important;
  color: var(--sdf-muted) !important;
}
html body #full-width-content .three-fourth > .hoverIndent,
html body #full-width-content .three-fourth > #Zoomer,
html body #full-width-content .three-fourth > .MagicZoomPlus,
html body #full-width-content .three-fourth > .listings { order: 2; }
html body #full-width-content .three-fourth > #infoPanel { order: 3; }

/* 2. No small sentence text */
html body #full-width-content .one-fourth p,
html body #full-width-content .one-fourth span,
html body #full-width-content .one-fourth h6,
html body #full-width-content .one-fourth .gray {
  font-family: var(--sdf-sans) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.55 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--sdf-muted) !important;
}
html body #full-width-content .one-fourth h4 { font-size: 13px !important; }
html body .shortcode.quote { text-align: left !important; }
html body .shortcode.quote * { text-align: left !important; }
html body .shortcode.quote h2 { margin: 0 0 6px !important; padding: 0 !important; border: 0 !important; }
html body .shortcode.quote a.buttonPro {
  display: block !important;
  min-height: 0 !important;
  padding: 0 !important;
  background: none !important;
  border: 0 !important;
  color: var(--sdf-ink) !important;
  pointer-events: none;
  cursor: default;
}
html body .shortcode.quote a.buttonPro h4 {
  margin: 0 !important;
  font-family: var(--sdf-serif) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--sdf-ink) !important;
}
html body .shortcode.quote .content h4 {
  margin: 4px 0 10px !important;
  font-size: 16px !important;
  font-weight: 600 !important;
  letter-spacing: 0 !important;
  text-transform: none !important;
  color: var(--sdf-maroon) !important;
}
html body .shortcode.quote .content h6 { margin: 0 !important; font-size: 15px !important; color: var(--sdf-ink) !important; }
html body .shortcode.quote .content img { vertical-align: -3px; margin-right: 4px; }
html body .shortcode.quote .content > br { display: none; }
html body .quform-outer .quform-description,
html body .quform-outer p.quform-description { font-size: 15px !important; line-height: 1.55; color: var(--sdf-muted) !important; max-width: 68ch; }

/* 3. Reading pages: one column at a readable measure */
html body #content .one-third,
html body #content .one-third.last {
  width: auto !important;
  max-width: 68ch;
  float: none !important;
  margin: 0 0 18px !important;
}

/* 4. Register / contact fields */
html body .quform-outer .quform-group-row { align-items: flex-start; row-gap: 18px; }
html body .quform-outer .quform-group-row > .quform-element { flex: 1 1 200px; width: auto !important; float: none !important; margin: 0 !important; }
html body .quform-outer .quform-element { margin-bottom: 18px; }

/* 5. "Customers who bought" cards: equal columns, text beside thumb, buttons on one baseline */
html body .p7QC {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 28px;
  width: auto !important;
}
html body .p7QC::after { content: none; }
html body .p7QC-Col { width: auto !important; float: none !important; margin: 0 !important; padding: 0 !important; }
html body .p7QC-content {
  position: relative;
  height: 100%;
  box-sizing: border-box;
  display: grid;
  grid-template-columns: 96px minmax(0, 1fr);
  column-gap: 14px;
  align-content: start;
  padding: 0 0 64px !important;
}
html body .p7QC-content > * { grid-column: 2; }
html body .p7QC-content > a:first-child { grid-column: 1; grid-row: 1 / span 6; line-height: 0; }
html body .p7QC-content > a:first-child img { margin: 0 !important; }
html body .p7QC-content > br, html body .p7QC-content > p:empty { display: none; }
html body .p7QC-content > p { margin: 0 0 4px !important; }
html body .p7QC-content > .bold, html body .p7QC-content > span { font-size: 15px; }
html body .p7QC-content > a.buttonPro { position: absolute; left: 0; bottom: 0; }

/* 6. Right column tidy + mobile order (details above the cross-sell tabs) */
html body #full-width-content .one-fourth h4 + br + .space-10px,
html body #full-width-content .one-fourth .divider { display: none; }
@media (max-width: 960px) {
  html body #full-width-content .three-fourth { display: contents; }
  html body #full-width-content > .page:has(> .three-fourth) > .one-fourth { order: 4; }
  html body #full-width-content .three-fourth > #infoPanel { order: 5; }
  html body #full-width-content .three-fourth > .listings { grid-column: auto; grid-row: auto; }
  html body #full-width-content .three-fourth > h1 { margin-top: -16px !important; }
}

/* 7. Gallery / page headings: one left edge; the double-rule motif under page titles */
html body #full-width-content > .page { padding: 0 !important; width: auto !important; }
html body :is(#content, #full-width-content):has(#gallery-1) .page > h2,
html body :is(#content, #full-width-content):has(#gallery-1) .one-half,
html body :is(#content, #full-width-content):has(#gallery-1) .one-half * { text-align: left !important; }
html body :is(#content, #full-width-content):has(#gallery-1) h1 { letter-spacing: 0.02em; }
html body #content > h1,
html body #full-width-content > .page > h1,
html body #content .page > h1 {
  padding-bottom: 14px !important;
  margin-bottom: 24px !important;
  border-bottom: 3px double var(--sdf-line-strong);
}

/* home CTA row: quieter, so the frames lead */
html body .cta-row a {
  background: transparent !important;
  color: var(--sdf-maroon) !important;
  border-color: var(--sdf-line-strong) !important;
}
html body .cta-row a:hover { background: var(--sdf-maroon) !important; color: #fff !important; border-color: var(--sdf-maroon) !important; }

/* 8. Footer link row + copyright on phones */
html body #footer a.buttonPro, html body #footer .buttonPro { letter-spacing: 0 !important; font-weight: 500 !important; }
@media (max-width: 720px) {
  html body #copyright { flex-direction: column; justify-content: center; text-align: center; }
  html body #copyright ul.menu { justify-content: center; }
  html body .quform-outer .quform-group-row > .quform-element { flex: 1 1 100%; width: 100% !important; }
}

/* Owner request 2026-10-09: bigger logo; tagline left-aligned under it */
html body #header #logo img { height: 88px !important; }
html body #header-tagline-strip { text-align: left !important; padding-top: 14px !important; }
html body .header-tagline { font-size: 18px; }
@media (max-width: 960px) { html body #header #logo img { height: 60px !important; } }
@media (max-width: 480px) { html body #header #logo img { height: 50px !important; } }
html body .p7QC::before, html body .p7QC::after { content: none !important; display: none !important; }
html body #full-width-content .one-fourth .shortcode.quote a.buttonPro h4 {
  font-family: var(--sdf-serif) !important;
  font-size: 20px !important;
  font-weight: 500 !important;
  letter-spacing: -0.01em !important;
  text-transform: none !important;
  color: var(--sdf-ink) !important;
  margin: 0 !important;
}
html body .shortcode.quote .content { padding: 0 !important; margin: 0 !important; }
/* logo1.png has ~11px transparent margin on the left (at 88px tall): match it */
html body #header-tagline-strip { padding-left: calc(var(--sdf-gutter) + 11px) !important; }
@media (max-width: 960px) { html body #header-tagline-strip { padding-left: calc(var(--sdf-gutter) + 8px) !important; } }
/* About: the legacy three columns split prose mid-sentence; in one column the seams close up */
html body #content .one-third, html body #content .one-third.last { margin-bottom: 0 !important; }
html body #content .one-third > p:last-child { margin-bottom: 0 !important; }
html body #content .one-third + .one-third > p:first-child { margin-top: 0 !important; }
html body #content .one-third + .one-third:not(.last) { margin-bottom: 0 !important; }
html body #content .one-third.last { margin-bottom: 18px !important; }

/* Owner request 2026-10-09: galleries 3 across, bigger tiles (2 across on phones) */
html body #gallery-1, html body .gallery-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
  gap: 56px clamp(24px, 3.5vw, 48px) !important;
}
html body #gallery-1 .gallery-item p,
html body #gallery-1 .gallery-item dd,
html body #gallery-1 .gallery-item .gallery-caption { font-size: 22px !important; }
@media (max-width: 720px) {
  html body #gallery-1, html body .gallery-grid { grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 36px 16px !important; }
  html body #gallery-1 .gallery-item p { font-size: 17px !important; }
}
