/* Zia Electric / Products storefront — brand-aligned skin 07.4 (category and product breadcrumbs).
   Palette and typography audited against content/themes/zia/css/zia.css + main.css
   and the original ZIA logo. Only selectors under #zia-storefront (.zsf) are used.
   Existing header/footer, admin, CMS pages and theme styles are not modified. */

#zia-storefront.zsf {
  --zsf-brand: #00996e;           /* ZIA Electric logo green */
  --zsf-brand-strong: #007755;    /* accessible text and button green */
  --zsf-brand-hover: #006346;
  --zsf-orange: #ee532a;          /* theme's heading/accent orange */
  --zsf-orange-strong: #b83e1d;
  --zsf-ink: #1f1e23;             /* site's charcoal sections */
  --zsf-charcoal: #373643;        /* site's footer charcoal */
  --zsf-body: #44434a;
  --zsf-muted: #6c6b72;
  --zsf-border: #e6e4e2;
  --zsf-cream: #f8f5f1;           /* existing product section background */
  --zsf-light: #f5f5f4;
  --zsf-white: #fff;
  --zsf-focus: rgba(0, 153, 110, .28);
  width: 100%;
  max-width: 1366px;             /* .el-container width from existing theme */
  margin: 0 auto;
  padding: 20px clamp(14px, 2.7vw, 35px) 74px;
  box-sizing: border-box;
  font-family: 'Poppins', sans-serif;
  color: var(--zsf-ink);
  font-size: 14px;
  line-height: 1.65;
  overflow-wrap: anywhere;
  isolation: isolate;
}
#zia-storefront.zsf *,
#zia-storefront.zsf *::before,
#zia-storefront.zsf *::after { box-sizing: border-box; }
#zia-storefront.zsf :is(h1,h2,h3,p,ul) { padding-top: 0; }
#zia-storefront.zsf a { text-decoration: none; color: inherit; }
#zia-storefront.zsf a:hover { text-decoration: none; color: var(--zsf-brand-strong); }
#zia-storefront.zsf :is(button,input,select) { font: inherit; }
#zia-storefront.zsf button { cursor: pointer; }
#zia-storefront.zsf :is(a,button,input,select):focus-visible {
  outline: 3px solid var(--zsf-brand);
  outline-offset: 3px;
}
#zia-storefront.zsf .zsf-sr {
  position: absolute !important;
  width: 1px; height: 1px; overflow: hidden;
  clip-path: inset(50%); white-space: nowrap;
}

/* Familiar inner-page breadcrumb treatment, simplified from .ap-breadcrmb. */
#zia-storefront .zsf-crumbs {
  display: flex; flex-wrap: wrap; align-items: center; gap: 9px;
  margin: 0 0 22px; padding: 8px 0;
  color: var(--zsf-muted); font-size: 12px; line-height: 1.5;
}
#zia-storefront .zsf-crumbs a { color: var(--zsf-body); }
#zia-storefront .zsf-crumbs a:hover { color: var(--zsf-brand-strong); }
#zia-storefront .zsf-crumbs [aria-current] { color: var(--zsf-ink); font-weight: 600; }
#zia-storefront .zsf-crumbs [aria-hidden] { color: #aaa9ab; }

/* Category listing: breadcrumb is directly below its heading, inside the banner. */
#zia-storefront .zsf-category-breadcrumbs { margin: -1px 0 15px; }
#zia-storefront .zsf-category-breadcrumbs .zsf-crumbs {
  margin: 0; padding: 0; min-height: 0;
  color: var(--zsf-muted); font-size: 12px;
}
#zia-storefront .zsf-category-breadcrumbs .zsf-crumbs a:hover {
  color: var(--zsf-brand-strong);
}

/* Product detail: a separate, softly colored breadcrumb bar above the gallery. */
#zia-storefront .zsf-product-breadcrumb-area {
  margin: 0 0 22px; padding: 12px 19px;
  background: var(--zsf-cream);
  border: 1px solid var(--zsf-border);
  border-left: 4px solid var(--zsf-brand);
  border-radius: 6px 10px 10px 6px;
}
#zia-storefront .zsf-product-breadcrumb-area .zsf-crumbs {
  margin: 0; padding: 0; min-height: 0;
}
#zia-storefront .zsf-product-breadcrumb-area + .zsf-product-detail { margin-top: 0; }
#zia-storefront .zsf-eyebrow,
#zia-storefront .zsf-small-label {
  color: var(--zsf-orange-strong); font-size: 11px;
  line-height: 1.6; letter-spacing: .12em;
  text-transform: uppercase; font-weight: 700;
}

/* Hero echoes the site's cream product section, orange heading and green brand. */
#zia-storefront .zsf-hero {
  display: grid; position: relative; overflow: hidden;
  grid-template-columns: minmax(0, 1fr) minmax(160px, 32%);
  align-items: center; gap: 22px; min-height: 220px;
  margin: 0 0 37px;
  padding: clamp(27px, 4vw, 56px);
  background: var(--zsf-cream);
  border-left: 5px solid var(--zsf-brand);
  border-radius: 5px 14px 14px 5px;
}
#zia-storefront .zsf-hero::after {
  content: ''; position: absolute; right: -62px; bottom: -116px;
  width: 235px; height: 235px; border-radius: 50%;
  border: 40px solid rgba(0,153,110,.075); pointer-events: none;
}
#zia-storefront .zsf-hero:has(>div:only-child) { grid-template-columns: 1fr; }
#zia-storefront .zsf-hero > div { position: relative; z-index: 1; }
#zia-storefront .zsf-hero h1 {
  font-weight: 700; color: var(--zsf-ink); letter-spacing: -.025em;
  font-size: clamp(29px, 3.3vw, 43px); line-height: 1.22;
  margin: 10px 0 14px;
}
#zia-storefront .zsf-hero p {
  max-width: 675px; margin: 0;
  color: var(--zsf-body); font-size: 14px; line-height: 1.8;
}
#zia-storefront .zsf-hero > img {
  position: relative; z-index: 1; display: block;
  width: 100%; max-height: 220px; height: 200px;
  object-fit: contain; filter: drop-shadow(0 9px 16px rgba(31,30,35,.10));
}

/* Category browser tiles reflect the existing ZIA product sliders. */
#zia-storefront .zsf-section-title h2 {
  margin: 0 0 18px; color: var(--zsf-ink);
  font-size: clamp(19px, 2vw, 24px); font-weight: 700; line-height: 1.35;
}
#zia-storefront .zsf-section-title h2::after {
  content: ''; display: block; margin-top: 9px;
  height: 3px; width: 32px; background: var(--zsf-orange);
}
#zia-storefront .zsf-collections { margin: 0 0 37px; }
#zia-storefront .zsf-collection-row {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); gap: 13px;
}
#zia-storefront .zsf-collection {
  display: flex; align-items: center; gap: 13px; min-width: 0; min-height: 89px;
  padding: 13px 14px; border-radius: 10px;
  color: var(--zsf-ink); font-size: 13px; font-weight: 600;
  background: var(--zsf-white); border: 1px solid var(--zsf-border);
  transition: border-color .18s, box-shadow .18s, transform .18s;
}
#zia-storefront .zsf-collection:hover {
  border-color: var(--zsf-brand); transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(31,30,35,.07);
}
#zia-storefront .zsf-collection > img {
  flex: none; display: block; width: 52px; height: 52px;
  object-fit: contain; border-radius: 6px; background: var(--zsf-cream);
}
#zia-storefront .zsf-collection > span:nth-last-child(2) { flex: 1; min-width: 0; }
#zia-storefront .zsf-collection > span:last-child {
  color: var(--zsf-brand-strong); font-size: 19px; font-weight: 500;
}
#zia-storefront .zsf-folder {
  width: 47px; height: 47px; flex: none; display: grid; place-items: center;
  background: #e6f5ef; border-radius: 8px; color: var(--zsf-brand-strong);
  font-size: 23px; font-weight: 700;
}

/* Catalogue layout and nested navigation. */
#zia-storefront .zsf-layout {
  display: grid; grid-template-columns: minmax(215px, 252px) minmax(0, 1fr);
  gap: clamp(18px, 2.3vw, 29px); align-items: start;
}
#zia-storefront .zsf-sidebar {
  background: var(--zsf-white); border: 1px solid var(--zsf-border);
  border-top: 4px solid var(--zsf-brand);
  border-radius: 9px; padding: 20px 15px 22px;
  position: sticky; top: 20px;
  max-height: calc(100vh - 40px); overflow: auto;
  scrollbar-color: #cfceca transparent;
}
#zia-storefront .zsf-sidebar-head {
  display: flex; justify-content: space-between; align-items: center; gap: 9px;
}
#zia-storefront .zsf-sidebar h2 {
  margin: 0 0 15px; font-size: 17px; font-weight: 700;
  line-height: 1.45; color: var(--zsf-ink);
}
#zia-storefront .zsf-close-nav { display: none; }
#zia-storefront .zsf-cat-search {
  display: block; width: 100%; min-height: 42px;
  margin: 0 0 15px; padding: 9px 12px;
  border: 1px solid #d7d5d1; border-radius: 6px;
  background: #fff; color: var(--zsf-ink); font-size: 12px;
}
#zia-storefront .zsf-cat-search:focus { border-color: var(--zsf-brand); }
#zia-storefront .zsf-nav-home {
  display: block; padding: 10px 12px; margin-bottom: 6px;
  border-radius: 5px; font-size: 13px; font-weight: 600;
}
#zia-storefront .zsf-nav-list { list-style: none; margin: 0; padding: 0 0 0 2px; }
#zia-storefront .zsf-nav-list li { list-style: none; margin: 0; padding: 0; }
#zia-storefront .zsf-nav-item {
  display: flex; align-items: center; justify-content: space-between; gap: 4px;
}
#zia-storefront .zsf-nav-item > a {
  flex: 1; min-width: 0; display: block; padding: 9px 9px;
  border-radius: 5px; font-size: 12px; line-height: 1.5;
  transition: background .15s, color .15s;
}
#zia-storefront .zsf-nav-item > a:hover,
#zia-storefront .zsf-nav-home:hover { background: var(--zsf-cream); }
#zia-storefront .zsf-sidebar .active,
#zia-storefront .zsf-sidebar [aria-current='page'] {
  background: #e6f5ef; color: var(--zsf-brand-strong) !important;
  border-left: 3px solid var(--zsf-brand); font-weight: 700;
}
#zia-storefront .zsf-branch-toggle {
  flex: none; min-width: 29px; min-height: 29px; padding: 3px 7px;
  background: transparent; border: 0; border-radius: 5px;
  color: var(--zsf-brand-strong); font-weight: 700; font-size: 17px;
}
#zia-storefront .zsf-branch-toggle:hover { background: #e6f5ef; }
#zia-storefront .zsf-nested {
  margin: 2px 0 5px 12px; padding-left: 6px;
  border-left: 1px solid #e1dfdb;
}
#zia-storefront .zsf-nested[hidden] { display: none !important; }
#zia-storefront .zsf-no-cats { color: var(--zsf-muted); font-size: 12px; }

/* Search, facets, sorting and result count. */
#zia-storefront .zsf-results { min-width: 0; }
#zia-storefront .zsf-toolbar {
  display: grid; grid-template-columns: minmax(0, 1fr) minmax(165px, 205px) auto;
  align-items: center; gap: 10px;
  padding: 13px; background: #fff;
  border: 1px solid var(--zsf-border); border-radius: 8px;
}
#zia-storefront .zsf-toolbar :is(input,select),
#zia-storefront .zsf-facets select {
  display: block; width: 100%; min-height: 43px;
  padding: 9px 12px; border: 1px solid #d7d5d1;
  border-radius: 5px; color: var(--zsf-ink);
  font-size: 13px; background: #fff;
}
#zia-storefront .zsf-toolbar :is(input,select):focus,
#zia-storefront .zsf-facets select:focus { border-color: var(--zsf-brand); }
#zia-storefront .zsf-sort {
  display: flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; color: var(--zsf-body);
}
#zia-storefront .zsf-sort select { flex: 1; min-width: 0; }
#zia-storefront .zsf-toolbar button,
#zia-storefront .zsf-facets button {
  display: inline-flex; align-items: center; justify-content: center;
  min-height: 43px; padding: 10px 19px; border: 1px solid var(--zsf-brand-strong);
  border-radius: 5px; background: var(--zsf-brand-strong);
  color: #fff; font-size: 12px; font-weight: 700;
  line-height: 1.3; transition: background .18s, transform .18s;
}
#zia-storefront .zsf-toolbar button:hover,
#zia-storefront .zsf-facets button:hover {
  background: var(--zsf-brand-hover); border-color: var(--zsf-brand-hover);
  color: #fff; transform: translateY(-1px);
}
#zia-storefront .zsf-result-count {
  margin: 0; padding: 17px 1px 15px;
  color: var(--zsf-muted); font-size: 12px;
}
#zia-storefront .zsf-facets {
  display: flex; align-items: end; flex-wrap: wrap; gap: 11px;
  margin: 12px 0 0; padding: 14px;
  background: var(--zsf-cream); border: 1px solid var(--zsf-border);
  border-radius: 7px;
}
#zia-storefront .zsf-facets label {
  flex: 1; min-width: 142px; display: flex; flex-direction: column;
  gap: 5px; font-size: 12px; font-weight: 600;
}
#zia-storefront .zsf-facets select { min-height: 40px; padding: 7px 9px; }
#zia-storefront .zsf-facets a {
  padding: 10px 5px; color: var(--zsf-brand-strong);
  font-size: 12px; font-weight: 600;
}
#zia-storefront .zsf-facets a:hover { text-decoration: underline; }

/* Three-up catalogue cards; visuals remain ZIA's warm, clean product aesthetic. */
#zia-storefront .zsf-products {
  display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 17px;
}
#zia-storefront .zsf-card {
  display: flex; flex-direction: column; overflow: hidden;
  min-width: 0; background: #fff;
  border: 1px solid var(--zsf-border); border-radius: 9px;
  transition: border-color .2s, box-shadow .2s, transform .2s;
}
#zia-storefront .zsf-card:hover {
  transform: translateY(-3px); border-color: #c6e4d9;
  box-shadow: 0 12px 32px rgba(31,30,35,.08);
}
#zia-storefront .zsf-card-photo {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1;
  padding: 18px; overflow: hidden;
  background: var(--zsf-cream); border-bottom: 1px solid var(--zsf-border);
}
#zia-storefront .zsf-card-photo > img {
  display: block; width: 100%; height: 100%; max-width: 100%; max-height: 100%;
  object-fit: contain; transition: transform .25s ease;
}
#zia-storefront .zsf-card:hover .zsf-card-photo > img { transform: scale(1.035); }
#zia-storefront .zsf-image-empty {
  display: grid; place-items: center; width: 100%; height: 100%;
  text-align: center; color: var(--zsf-brand-strong);
  letter-spacing: .16em; font-size: 12px; font-weight: 700;
}
#zia-storefront .zsf-card-info {
  flex: 1; display: flex; flex-direction: column;
  padding: 18px 17px 19px;
}
#zia-storefront .zsf-card h3 {
  margin: 8px 0; color: var(--zsf-ink);
  font-size: 15px; line-height: 1.46;
  font-weight: 700; letter-spacing: -.01em;
}
#zia-storefront .zsf-card h3 a:hover { color: var(--zsf-brand-strong); }
#zia-storefront .zsf-card p {
  margin: 0 0 15px; color: var(--zsf-muted);
  font-size: 12px; line-height: 1.75;
}
#zia-storefront .zsf-card-action {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  margin-top: auto; padding: 12px 0 0;
  border-top: 1px solid var(--zsf-border);
  font-size: 12px; font-weight: 700;
  color: var(--zsf-brand-strong) !important;
}
#zia-storefront .zsf-card-action > span { font-size: 19px; line-height: 1; }
#zia-storefront .zsf-card-action:hover { color: var(--zsf-orange-strong) !important; }
#zia-storefront .zsf-empty {
  padding: 43px 20px; border: 1px dashed #d3d0cb;
  border-radius: 9px; background: var(--zsf-cream);
  text-align: center;
}
#zia-storefront .zsf-empty h2 { margin: 0 0 8px; font-size: 19px; font-weight: 700; }
#zia-storefront .zsf-empty p { color: var(--zsf-muted); }
#zia-storefront .zsf-empty a { color: var(--zsf-brand-strong); font-weight: 700; }
#zia-storefront .zsf-pages {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  padding: 29px 0 3px;
}
#zia-storefront .zsf-pages a {
  display: grid; place-items: center; width: 37px; height: 37px;
  border: 1px solid var(--zsf-border); border-radius: 5px;
  color: var(--zsf-body); font-size: 13px; font-weight: 600;
}
#zia-storefront .zsf-pages a:hover { border-color: var(--zsf-brand); }
#zia-storefront .zsf-pages .active,
#zia-storefront .zsf-pages [aria-current='page'] {
  border-color: var(--zsf-brand-strong);
  background: var(--zsf-brand-strong); color: #fff !important;
}
#zia-storefront .zsf-mobile-tools { display: none; }

/* Product detail, variations, photography and specs. */
#zia-storefront .zsf-product-detail {
  display: grid; grid-template-columns: minmax(0, 1.05fr) minmax(300px, .95fr);
  align-items: start; gap: clamp(24px, 4vw, 56px);
  margin: 18px 0 43px;
}
#zia-storefront .zsf-feature-photo {
  display: grid; place-items: center; width: 100%; aspect-ratio: 1 / 1;
  border: 1px solid var(--zsf-border); border-radius: 10px;
  padding: clamp(15px, 3vw, 36px); overflow: hidden;
  background: var(--zsf-cream);
}
#zia-storefront .zsf-feature-photo img {
  display: block; width: 100%; height: 100%; max-width: 100%;
  object-fit: contain;
}
#zia-storefront .zsf-thumbnails {
  display: flex; gap: 10px; padding: 15px 0 5px; overflow-x: auto;
}
#zia-storefront .zsf-thumb {
  display: grid; place-items: center; width: 76px; height: 76px;
  flex: none; padding: 5px; background: #fff;
  border: 2px solid #e4e2de; border-radius: 7px;
}
#zia-storefront .zsf-thumb:hover { border-color: #94cfb9; }
#zia-storefront .zsf-thumb[aria-pressed=true] {
  border-color: var(--zsf-brand);
  box-shadow: 0 0 0 2px var(--zsf-focus);
}
#zia-storefront .zsf-thumb img { width: 100%; height: 100%; object-fit: contain; }
#zia-storefront .zsf-product-summary { min-width: 0; padding-top: 10px; }
#zia-storefront .zsf-product-summary h1 {
  margin: 10px 0 13px; font-size: clamp(27px, 3.1vw, 42px);
  line-height: 1.23; letter-spacing: -.027em;
  color: var(--zsf-ink); font-weight: 700;
}
#zia-storefront .zsf-product-category a {
  color: var(--zsf-brand-strong); font-size: 13px; font-weight: 700;
}
#zia-storefront .zsf-product-category a:hover { color: var(--zsf-orange-strong); }
#zia-storefront .zsf-description {
  white-space: pre-line; color: var(--zsf-body);
  font-size: 14px; line-height: 1.9; margin: 23px 0;
}
#zia-storefront .zsf-variants {
  min-width: 0; border: 0; padding: 0; margin: 27px 0 0;
}
#zia-storefront .zsf-variants legend {
  margin: 0 0 13px; font-weight: 700;
  font-size: 15px; color: var(--zsf-ink);
}
#zia-storefront .zsf-variant-grid { display: flex; flex-wrap: wrap; gap: 9px; }
#zia-storefront .zsf-variant {
  display: inline-flex; align-items: center; gap: 9px;
  padding: 10px 12px; min-height: 45px;
  background: #fff; border: 1px solid #d8d6d2;
  border-radius: 6px; font-size: 12px; font-weight: 500;
  color: var(--zsf-body); cursor: pointer;
  transition: border-color .15s, background .15s;
}
#zia-storefront .zsf-variant:hover { border-color: var(--zsf-brand); }
#zia-storefront .zsf-variant:has(input:checked) {
  background: #eaf7f1; border-color: var(--zsf-brand);
  box-shadow: inset 0 0 0 1px var(--zsf-brand);
  color: var(--zsf-ink);
}
#zia-storefront .zsf-variant input {
  position: absolute; width: 1px; height: 1px;
  opacity: 0; overflow: hidden;
}
#zia-storefront .zsf-variant:focus-within {
  outline: 3px solid var(--zsf-brand); outline-offset: 3px;
}
#zia-storefront .zsf-swatch {
  flex: none; width: 22px; height: 22px; border-radius: 50%;
  border: 1px solid #bfbdb9; box-shadow: 0 0 0 1px #fff;
}
#zia-storefront .zsf-variant-icon { width: 26px; height: 26px; object-fit: contain; }
#zia-storefront .zsf-variant-status { margin: 11px 0; color: var(--zsf-muted); font-size: 12px; }
#zia-storefront .zsf-variant-gallery[hidden] { display: none !important; }
#zia-storefront .zsf-product-meta {
  margin: 26px 0 17px; padding-top: 17px;
  border-top: 1px solid var(--zsf-border);
  color: var(--zsf-muted); font-size: 12px;
}
#zia-storefront .zsf-back {
  display: inline-flex; gap: 9px; align-items: center;
  color: var(--zsf-brand-strong) !important; font-weight: 700; font-size: 13px;
}
#zia-storefront .zsf-back:hover { color: var(--zsf-orange-strong) !important; }
#zia-storefront .zsf-information {
  width: 100%; max-width: 1020px; margin: 0 0 34px;
  padding: clamp(17px, 3vw, 28px);
  border: 1px solid var(--zsf-border);
  border-radius: 9px; background: #fff;
}
#zia-storefront .zsf-information h2 {
  margin: 0 0 15px; font-size: 21px;
  font-weight: 700; color: var(--zsf-ink);
}
#zia-storefront .zsf-information h2::after {
  content: ''; display: block; margin-top: 8px;
  width: 35px; height: 3px; background: var(--zsf-orange);
}
#zia-storefront .zsf-specs { width: 100%; border-collapse: collapse; }
#zia-storefront .zsf-specs th,
#zia-storefront .zsf-specs td {
  padding: 13px 11px; border-bottom: 1px solid var(--zsf-border);
  text-align: left; vertical-align: top;
  font-size: 13px; line-height: 1.65;
}
#zia-storefront .zsf-specs th { width: 33%; font-weight: 600; color: var(--zsf-body); }
#zia-storefront .zsf-specs tbody tr:nth-child(odd) { background: #fcfaf8; }
#zia-storefront .zsf-additional { max-width: 1100px; }
#zia-storefront .zsf-additional .zpc-documents,
#zia-storefront .zsf-additional .zpc-related { margin: 30px 0; }
#zia-storefront .zsf-additional h2 { font-size: 21px; font-weight: 700; }
#zia-storefront .zsf-additional .zpc-related-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 15px;
}
#zia-storefront .zsf-additional .zpc-related-card {
  display: flex; flex-direction: column; gap: 9px;
  padding: 13px; background: #fff;
  border-radius: 9px; border: 1px solid var(--zsf-border);
}
#zia-storefront .zsf-additional .zpc-related-card img {
  width: 100%; height: 130px; object-fit: contain;
}
#zia-storefront .zsf-additional .zpc-documents a { color: var(--zsf-brand-strong); }
#zia-storefront .zsf-additional .zpc-documents a:hover { color: var(--zsf-orange-strong); }

@media (max-width: 1120px) {
  #zia-storefront .zsf-products { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 860px) {
  #zia-storefront .zsf-hero { grid-template-columns: 1fr; }
  #zia-storefront .zsf-hero > img { max-width: 280px; height: 160px; }
  #zia-storefront .zsf-layout { display: block; }
  #zia-storefront .zsf-mobile-tools { display: block; margin: 0 0 12px; }
  #zia-storefront .zsf-filter-toggle {
    display: inline-flex; min-height: 44px; align-items: center;
    background: #eaf7f1; color: var(--zsf-brand-strong);
    padding: 10px 15px; border: 1px solid var(--zsf-brand);
    border-radius: 6px; font-size: 13px; font-weight: 700;
  }
  #zia-storefront .zsf-sidebar {
    display: none; position: fixed; inset: 0 auto 0 0;
    width: min(345px, 88vw); max-height: 100vh;
    margin: 0; z-index: 10000; border-radius: 0;
    box-shadow: 0 0 0 100vmax rgba(31,30,35,.48);
    overflow: auto;
  }
  #zia-storefront .zsf-sidebar.is-visible { display: block; }
  #zia-storefront .zsf-close-nav {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; min-height: 34px; margin-bottom: 12px;
    border: 1px solid var(--zsf-border); border-radius: 5px;
    background: var(--zsf-cream); color: var(--zsf-ink); font-size: 20px;
  }
  #zia-storefront .zsf-product-detail { grid-template-columns: 1fr; gap: 24px; }
  #zia-storefront .zsf-product-summary { padding-top: 0; }
}
@media (max-width: 560px) {
  #zia-storefront.zsf { padding: 12px 12px 55px; }
  #zia-storefront .zsf-hero { margin-bottom: 27px; padding: 26px 20px; border-radius: 4px 10px 10px 4px; }
  #zia-storefront .zsf-hero h1 { font-size: 29px; }
  #zia-storefront .zsf-category-breadcrumbs { margin-bottom: 12px; }
  #zia-storefront .zsf-product-breadcrumb-area { padding: 11px 13px; margin-bottom: 17px; }
  #zia-storefront .zsf-collection-row { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  #zia-storefront .zsf-collection { gap: 7px; padding: 9px; min-height: 75px; font-size: 11px; }
  #zia-storefront .zsf-collection > img { width: 38px; height: 38px; }
  #zia-storefront .zsf-folder { width: 37px; height: 37px; }
  #zia-storefront .zsf-products { grid-template-columns: repeat(2, minmax(0,1fr)); gap: 9px; }
  #zia-storefront .zsf-card-photo { padding: 10px; }
  #zia-storefront .zsf-card-info { padding: 12px 10px 13px; }
  #zia-storefront .zsf-card h3 { font-size: 12px; }
  #zia-storefront .zsf-card p { display: none; }
  #zia-storefront .zsf-card-action { font-size: 11px; }
  #zia-storefront .zsf-toolbar { grid-template-columns: minmax(0,1fr) auto; gap: 8px; padding: 10px; }
  #zia-storefront .zsf-toolbar .zsf-sort { grid-column: 1 / -1; grid-row: 2; }
  #zia-storefront .zsf-toolbar button { grid-column: 2; grid-row: 1; padding: 10px 13px; }
  #zia-storefront .zsf-product-detail { gap: 17px; }
  #zia-storefront .zsf-feature-photo { padding: 16px; }
  #zia-storefront .zsf-thumb { width: 66px; height: 66px; }
  #zia-storefront .zsf-variant { padding: 9px; }
  #zia-storefront .zsf-specs th, #zia-storefront .zsf-specs td { font-size: 12px; padding: 10px 8px; }
  #zia-storefront .zsf-information { padding: 15px 11px; }
}
@media (prefers-reduced-motion: reduce) {
  #zia-storefront.zsf * { transition: none !important; scroll-behavior: auto !important; }
}

/* 07.5: clear, readable links for legacy Media PDFs and newer product datasheets. */
#zia-storefront .zsf-additional .zpc-documents {
  background: var(--zsf-cream); border: 1px solid var(--zsf-border);
  border-left: 4px solid var(--zsf-brand); border-radius: 8px;
  padding: clamp(18px, 3vw, 28px);
}
#zia-storefront .zsf-additional .zpc-documents ul {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 10px;
}
#zia-storefront .zsf-additional .zpc-documents li { margin: 0; padding: 0; }
#zia-storefront .zsf-additional .zpc-documents li a {
  display: block; padding: 12px 14px; background: white;
  border: 1px solid var(--zsf-border); border-radius: 7px;
  text-decoration: none; overflow-wrap: anywhere;
}
#zia-storefront .zsf-additional .zpc-documents li a:hover {
  color: var(--zsf-brand-hover); border-color: var(--zsf-brand);
}
