.store-content { min-height:62vh; padding-block:48px 72px; }
.store-content h1 { font-size:48px; line-height:1.05; margin-bottom:18px; }
.store-content h2 { font-size:28px; line-height:1.1; }
.eyebrow { color:#6d7177; font-size:16px; font-weight:700; margin-bottom:8px; text-transform:uppercase; }
.store-search { background:#f5f5f3; margin:28px 0 20px; padding:20px; }
.store-search label { display:block; font-size:16px; font-weight:700; margin-bottom:8px; }
.store-search div { display:flex; gap:12px; }
.store-search input, .store-search select, .quote-form input, .quote-form select { border:1px solid #72767d; border-radius:3px; font:inherit; min-height:48px; padding:8px 12px; width:100%; }
.store-search .button { flex:0 0 auto; }
.catalog-filters { display:flex; flex-wrap:wrap; gap:8px 16px; margin-bottom:30px; }
.catalog-filters a { border-bottom:2px solid transparent; font-weight:600; padding:6px 0; }
.catalog-filters a[aria-current=page] { border-color:var(--orange); }
.public-product-grid { display:grid; gap:24px; grid-template-columns:repeat(auto-fill,minmax(250px,1fr)); }
.public-product-card { border:1px solid #dedede; display:flex; flex-direction:column; gap:12px; min-height:100%; padding:18px; }
.public-product-card img { aspect-ratio:1 / .72; object-fit:contain; width:100%; }
.public-product-card p { font-size:17px; }
.text-action { color:#bf5100; font-weight:700; margin-top:auto; }
.empty-state, .product-note { background:#f5f5f3; padding:16px; }
.product-detail, .quote-page { max-width:820px; }
.product-image { display:block; margin:22px 0; max-height:420px; max-width:100%; object-fit:contain; }
.product-copy { margin:20px 0; }
.quote-form { display:grid; gap:8px; margin:28px 0; max-width:570px; }
.quote-form p { display:grid; gap:6px; }
.quote-form label { font-weight:700; font-size:17px; }
.quote-form .button { justify-self:start; }
.field-error { color:#a51e14; display:block; font-size:16px; font-weight:700; }
.quote-result { background:#202226; color:#fff; margin-top:28px; padding:24px; }
.quote-total { color:#ff8b3f; font-size:36px; font-weight:700; }
.quote-result dl { display:grid; gap:10px; }
.quote-result dl div { display:flex; gap:12px; justify-content:space-between; }
.quote-result dd { margin:0; text-align:right; }
.quote-fingerprint { font-family:monospace; font-size:13px; overflow-wrap:anywhere; }
@media (max-width:700px) { .store-content { padding-block:32px 48px; } .store-content h1 { font-size:38px; } .store-search div { flex-direction:column; } .store-search .button { width:100%; } .quote-result dl div { align-items:flex-start; flex-direction:column; } .quote-result dd { text-align:left; } }

.product-gallery { display:grid; grid-template-columns:repeat(auto-fit,minmax(min(100%,280px),1fr)); gap:20px; }
.product-gallery .product-image { margin:18px 0; width:100%; }

/* Catalog-only layout; the shared Home shell retains its own styles. */
.catalog-page h1 { margin-bottom:16px; }
.catalog-page .catalog-filters { gap:4px 20px; margin-bottom:18px; font-size:17px; }
.catalog-filter-form { background:#f5f5f3; border:1px solid #e5e5e2; padding:16px 20px; margin-bottom:14px; }
.catalog-facet-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:12px 24px; }
.catalog-facet label { display:block; font-size:15px; font-weight:600; margin-bottom:4px; }
.catalog-facet select { width:100%; min-width:0; border:1px solid #c6c7c7; background:#fff; border-radius:2px; min-height:38px; padding:6px 10px; font:inherit; font-size:16px; }
.catalog-mobile-category { display:none; margin-bottom:14px; }
.catalog-reset,.catalog-fallback { margin-top:14px; padding:8px 18px; font-size:16px; }
.catalog-retry { margin-left:12px; font-size:16px; text-decoration:underline; }
.catalog-status { margin:14px 0; font-size:16px; }
.catalog-page[aria-busy=true] .public-product-grid { opacity:.55; }
.catalog-page .public-product-grid { grid-template-columns:repeat(5,minmax(0,1fr)); gap:16px; }
.catalog-page .public-product-card { min-width:0; padding:10px; gap:8px; border-color:var(--card-border); }
.product-card-image { display:flex; align-items:center; justify-content:center; height:160px; }
.catalog-page .public-product-card img { width:100%; height:100%; object-fit:contain; aspect-ratio:auto; }
.catalog-page .public-product-card h2 { font:700 var(--product-title-size)/1.2 var(--font-heading); overflow-wrap:anywhere; }
.catalog-purchase-state { margin-top:auto; display:grid; gap:8px; }
.catalog-page .catalog-purchase-state p { font-size:13px; color:#62666c; }
.catalog-purchase-state .button { font-size:16px; padding:8px; width:100%; }
.catalog-purchase-state .button:disabled { background:#e9e9e6; color:#676767; cursor:not-allowed; }
.request-price { font-size:14px; text-decoration:underline; text-underline-offset:3px; }
.catalog-pagination { display:flex; flex-wrap:wrap; align-items:center; justify-content:center; gap:6px; margin-top:24px; font-size:17px; }
.catalog-pagination a,.catalog-pagination span[aria-current] { display:grid; place-items:center; min-width:36px; height:36px; border:1px solid #ddd; }
.catalog-pagination [aria-current=page] { background:var(--orange); border-color:var(--orange); font-weight:700; }
@media(max-width:1100px) { .catalog-page .public-product-grid { grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media(max-width:700px) { .catalog-page .catalog-filters { display:none; } .catalog-mobile-category { display:block; } .catalog-page .public-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); } .product-card-image { height:125px; } .catalog-facet-grid { gap:12px; } .catalog-filter-form { padding:12px; } }
@media(max-width:420px) { .catalog-facet-grid { grid-template-columns:1fr; } }

.priced-purchase { display:grid; gap:8px; max-width:300px; }
.priced-purchase label { font-size:13px; }
.purchase-quantity { display:flex; align-items:center; gap:4px; min-width:0; }
.purchase-quantity input { min-width:0; width:100%; text-align:center; font:inherit; padding:6px 2px; }
.purchase-quantity button { flex:0 0 30px; min-height:36px; border:1px solid #ccc; background:#fff; cursor:pointer; }
[data-quantity-step] { display:none; }
.quantity-enhanced [data-quantity-step] { display:block; }
/* MODX-inspired band for a priced catalog card; cart-page controls are separate. */
.catalog-purchase-state .priced-purchase { min-width:0; }
.catalog-purchase-state .purchase-quantity {
  display:grid;
  grid-template-columns:minmax(32px,1fr) minmax(38px,1.25fr) minmax(32px,1fr);
  align-items:stretch;
  gap:0;
  min-width:0;
  min-height:44px;
  background:var(--graphite);
  color:#fff;
}
.catalog-purchase-state .purchase-quantity > input[type=number] {
  appearance:textfield;
  -moz-appearance:textfield;
  display:block;
  width:100%;
  min-width:0;
  min-height:44px;
  padding:0 2px;
  margin:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  text-align:center;
  font-family:inherit;
  font-size:20px;
  line-height:1.1;
  font-weight:700;
}
.catalog-purchase-state .purchase-quantity > input[type=number]::-webkit-inner-spin-button,
.catalog-purchase-state .purchase-quantity > input[type=number]::-webkit-outer-spin-button {
  -webkit-appearance:none;
  margin:0;
}
.catalog-purchase-state .purchase-quantity > button[data-quantity-step] {
  min-width:0;
  min-height:44px;
  padding:0;
  border:0;
  border-radius:0;
  background:transparent;
  color:inherit;
  font-family:inherit;
  font-size:26px;
  line-height:1;
  font-weight:700;
  cursor:pointer;
}
.catalog-purchase-state .purchase-quantity > input:focus-visible,
.catalog-purchase-state .purchase-quantity > button:focus-visible {
  outline:2px solid var(--orange);
  outline-offset:-3px;
}
html:not(.quantity-enhanced) .catalog-purchase-state .purchase-quantity {
  grid-template-columns:minmax(0,1fr);
}
.catalog-page .public-product-card .catalog-purchase-state .purchase-quantity {
  width:calc(100% + 20px);
  margin-inline:-10px;
}
.catalog-page .catalog-purchase-state .current-unit-price, .current-unit-price { font-size:19px; font-weight:700; color:#202226; }
.cart-line { display:grid; gap:12px; border-bottom:1px solid #ddd; padding:20px 0; }

/* Product-only composition, retaining the shared native shell. */
.product-detail { max-width:none; }
.product-detail > nav { margin-bottom:24px; font-size:16px; overflow-wrap:anywhere; }
.product-detail-columns { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,1fr); gap:32px; align-items:start; }
.detail-gallery, .product-detail-card { min-width:0; }
.detail-gallery-stage { display:grid; gap:20px; }
.detail-gallery-stage a { display:block; }
.detail-gallery-stage .product-image { width:100%; max-height:430px; margin:0; border:0; object-fit:contain; }
.detail-gallery-thumbs { display:flex; flex-wrap:wrap; gap:10px; margin-top:20px; }
.detail-gallery-thumbs a { display:grid; place-items:center; width:72px; height:72px; }
.detail-gallery-thumbs img { width:100%; height:100%; object-fit:contain; }
.detail-gallery-thumbs a[aria-current=true] { outline:2px solid var(--orange); }
.product-detail-card { border:1px solid #dedede; background:#fff; padding:24px; }
.product-detail-card h1 { font-size:30px; line-height:1.2; overflow-wrap:anywhere; }
.product-detail-card strong { font-size:18px; }
.product-detail-card .current-unit-price { color:var(--orange); }
.detail-options { display:grid; gap:12px; margin-block:18px; }
.detail-option label { display:block; font-size:16px; margin-bottom:5px; }
.detail-option select { width:100%; min-width:0; min-height:44px; padding:8px; font:inherit; font-size:16px; background:#fff; border:1px solid #c6c7c7; }
.detail-variant-submit { margin-top:6px; padding:6px 12px; }
.detail-enhanced .detail-variant-submit { display:none; }
.detail-sku { font-size:15px; margin-block:20px; overflow-wrap:anywhere; }
.product-detail .product-copy { margin-top:32px; overflow-wrap:anywhere; }
@media(max-width:700px) {
  .product-detail-columns { grid-template-columns:minmax(0,1fr); gap:24px; }
  .product-detail-card { padding:18px; }
  .product-detail-card h1 { font-size:26px; }
}

/* Source product composition and accessible native-dialog gallery. */
.product-detail-columns { grid-template-columns:minmax(0,1fr) minmax(0,2fr); gap:24px; }
.detail-gallery { border:1px solid #dedede; padding:12px; }
.detail-gallery-stage { border:1px solid #e1e1e1; padding:10px; gap:12px; }
.detail-gallery-stage .product-image { max-height:300px; }
.detail-gallery-thumbs { gap:8px; margin-top:12px; }
.detail-gallery-thumbs a { border:1px solid #dedede; padding:4px; width:64px; height:64px; }
.detail-option { display:grid; grid-template-columns:minmax(0,1fr) minmax(0,2fr); align-items:center; gap:8px 16px; }
.detail-option label { margin:0; min-width:0; overflow-wrap:anywhere; }
.detail-variant-submit { grid-column:2; justify-self:start; }
.detail-price-row { display:flex; flex-wrap:wrap; gap:12px 24px; justify-content:space-between; margin-top:20px; }
.detail-price-row p { font-size:19px; min-width:0; overflow-wrap:anywhere; }
.product-detail-card .priced-purchase { display:grid; grid-template-columns:minmax(0,140px) minmax(0,1fr); max-width:none; gap:12px; margin-top:8px; }
.product-detail-card .priced-purchase > .button { min-width:0; }
.product-detail [hidden] { display:none !important; }
.product-copy p { text-indent:1.5em; margin-block:12px; }
.product-tags { display:flex; flex-wrap:wrap; gap:8px 14px; font-size:16px; margin-block:24px; overflow-wrap:anywhere; }
.detail-lightbox { width:min(1100px,calc(100% - 32px)); max-width:none; max-height:90dvh; padding:64px 72px 32px; border:0; background:#fff; color:#202226; }
.detail-lightbox::backdrop { background:rgb(0 0 0 / .8); }
.detail-lightbox:not([open]) { display:none; }
.detail-lightbox[open] { display:grid; place-items:center; }
.detail-lightbox img { display:block; width:100%; height:65dvh; object-fit:contain; }
.detail-lightbox button { position:absolute; width:44px; height:44px; border:0; border-radius:3px; background:var(--graphite); color:#fff; font:inherit; font-size:32px; cursor:pointer; }
.detail-lightbox-counter { position:absolute; top:20px; left:24px; font-size:18px; }
.detail-lightbox-close { top:12px; right:16px; }
.detail-lightbox-prev { top:50%; left:16px; transform:translateY(-50%); }
.detail-lightbox-next { top:50%; right:16px; transform:translateY(-50%); }
@media(max-width:700px) {
  .product-detail-columns { grid-template-columns:minmax(0,1fr); }
  .detail-option { grid-template-columns:minmax(0,1fr) minmax(0,1.5fr); gap:8px; }
  .product-detail-card .priced-purchase { grid-template-columns:minmax(0,100px) minmax(0,1fr); gap:8px; }
  .detail-lightbox { width:calc(100% - 16px); padding:64px 16px 24px; }
  .detail-lightbox img { height:60dvh; }
  .detail-lightbox-prev { left:20px; }
  .detail-lightbox-next { right:20px; }
}

.product-copy .copy-indent-1 { text-indent:1em; }
.product-copy .copy-indent-default { text-indent:1.5em; }
.product-copy .copy-indent-2 { text-indent:2em; }
.product-copy .copy-compact { line-height:1; }

/* Product-only parity: preserve catalogue purchase styling and the golden shell. */
.product-detail > nav a { color:var(--orange); }
.product-detail > nav [aria-current] { color:#5f636b; }
.product-detail-card .detail-sku,
.product-detail-card .detail-weight,
.product-detail-card .detail-property { font-size:16px; line-height:1.5; margin-block:8px; overflow-wrap:anywhere; }
.product-detail-card .priced-purchase { grid-template-columns:minmax(0,140px) minmax(0,190px); }
.product-detail-card .priced-purchase > .button { display:flex; align-items:center; justify-content:center; gap:8px; background:var(--orange); color:#000; font-size:17px; padding:10px 12px; }
.product-detail-card .priced-purchase > .button:hover { background:var(--orange); }
.product-detail-card .priced-purchase .icon { width:22px; height:22px; color:inherit; fill:none; stroke:currentColor; }
.product-detail .product-tags { color:#5f636b; }
.product-detail .product-copy h2 { font-size:22px; font-weight:700; }
@media(max-width:700px) {
  .product-detail-card .priced-purchase { grid-template-columns:minmax(0,100px) minmax(0,190px); }
}

.category-breadcrumbs { margin-bottom:24px; font-size:16px; overflow-wrap:anywhere; }
.category-breadcrumbs a { color:var(--orange); }
.category-breadcrumbs [aria-current] { color:#5f636b; }
.category-intro { margin-bottom:24px; overflow-wrap:anywhere; }
.category-body { margin-top:32px; font-size:20px; line-height:1.5; overflow-wrap:anywhere; }
.category-body h2 { margin-block:28px 14px; }
.category-body h3 { font-size:23px; margin-block:22px 10px; }
@media(max-width:700px) {
  .category-body { font-size:17px; }
  .category-body h2 { font-size:25px; }
  .category-body h3 { font-size:21px; }
}

/* The same real purchase form is used on Home, catalog and detail. */
.catalog-purchase-state .priced-purchase { max-width:none; }
.catalog-purchase-state .priced-purchase > .button,
.product-detail-card .priced-purchase > .button {
  display:flex; align-items:center; justify-content:center; gap:8px;
  background:var(--orange); color:#000;
}
.product-detail-card .priced-purchase > .button:hover { background:var(--orange); }
.catalog-purchase-state .icon { width:20px; height:20px; flex-shrink:0; }
.featured-grid .catalog-purchase-state .current-unit-price { font-size:19px; color:var(--ink); margin:0; }
/* Expand only active card purchase bands through the existing horizontal padding. */
.featured-grid .catalog-purchase-state .purchase-quantity,
.featured-grid .catalog-purchase-state .priced-purchase > .button {
  width:calc(100% + 32px);
  margin-inline:-16px;
}
.catalog-page .public-product-card .catalog-purchase-state .priced-purchase > .button {
  width:calc(100% + 20px);
  margin-inline:-10px;
}
/* Only active listing cards lose the white form/bottom gaps. Content above
   retains its padding and spacing; detail/cart and disabled states stay separate. */
.featured-grid > li:has(.priced-purchase),
.catalog-page .public-product-card:has(.priced-purchase) { padding-bottom:0; }
.featured-grid .catalog-purchase-state .priced-purchase,
.catalog-page .public-product-card .catalog-purchase-state .priced-purchase { gap:0; }
.featured-grid .catalog-purchase-state .priced-purchase > .button,
.catalog-page .public-product-card .catalog-purchase-state .priced-purchase > .button {
  height:44px;
  min-height:44px;
  padding-block:0;
  border-radius:0;
  font:700 24px/1.2 var(--font-heading);
  gap:6px;
}
.featured-grid .priced-purchase > .button .icon,
.catalog-page .public-product-card .priced-purchase > .button .icon { width:24px; height:24px; }
.featured-grid .priced-purchase > .button:focus-visible,
.catalog-page .public-product-card .priced-purchase > .button:focus-visible {
  outline:2px solid #000;
  outline-offset:-3px;
}
@media(max-width:420px) {
  .featured-grid .catalog-purchase-state .purchase-quantity,
  .featured-grid .catalog-purchase-state .priced-purchase > .button {
    width:calc(100% + 20px);
    margin-inline:-10px;
  }
  .featured-grid .priced-purchase>.button,.catalog-page .priced-purchase>.button { gap:4px; padding-inline:4px; }
  .featured-grid .catalog-purchase-state .priced-purchase > .button,
  .catalog-page .public-product-card .catalog-purchase-state .priced-purchase > .button { font-size:22px; gap:4px; }
}
