{"product_id":"metal-table-legs-elmont","title":"Metal Table Legs (Elmont)","description":"\u003cp\u003eThe Elmont metal table legs feature a clean, minimalist steel frame design in black powder coated steel. Available in 5 size variants.\u003c\/p\u003e\n\u003ch3\u003eSize Specifications — \u003cspan id=\"bhs-m-size-label\" style=\"color: #555; font-weight: normal; font-size: 0.9em;\"\u003e16\" Narrow (12\")\u003c\/span\u003e\n\u003c\/h3\u003e\n\u003cp style=\"margin: -4px 0 10px; font-size: 0.82em; color: #555; font-style: italic;\"\u003eTo see specifications for a different size, select a height above.\u003c\/p\u003e\n\u003ctable style=\"width: 100%; border-collapse: collapse;\"\u003e\n\u003ctbody\u003e\n\u003ctr\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px; background: #f2f2f2; font-weight: bold;\"\u003eUse Case\u003c\/td\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px;\" id=\"bhs-m-use\"\u003eCoffee \/ Bench\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px; background: #f2f2f2; font-weight: bold;\"\u003eMounting Width\u003c\/td\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px;\" id=\"bhs-m-mnt\"\u003e12\"\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px; background: #f2f2f2; font-weight: bold;\"\u003eFootprint (widest point)\u003c\/td\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px;\" id=\"bhs-m-ft\"\u003eN\/A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px; background: #f2f2f2; font-weight: bold;\"\u003eWeight per Leg\u003c\/td\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px;\" id=\"bhs-m-wt\"\u003eN\/A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003ctr\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px; background: #f2f2f2; font-weight: bold;\"\u003eWeight Capacity\u003c\/td\u003e\n\u003ctd style=\"border: 1px solid #ccc; padding: 8px;\" id=\"bhs-m-cap\"\u003eN\/A\u003c\/td\u003e\n\u003c\/tr\u003e\n\u003c\/tbody\u003e\n\u003c\/table\u003e\n\u003cp\u003e \u003c\/p\u003e\n\u003cscript\u003e\n(function () {\n  'use strict';\n\n  var SPECS = {\n    '16\" Tall x 12\" Wide': { use: 'Coffee \/ Bench', mnt: '12\"', ft: '12\"', wt: 'N\/A', cap: '800 lbs' },\n    '16\" Tall x 18\" Wide': { use: 'Coffee \/ Bench', mnt: '18\"', ft: '18\"', wt: 'N\/A', cap: '800 lbs' },\n    '22\" Tall x 14\" Wide': { use: 'End Table', mnt: '14\"', ft: '14\"', wt: 'N\/A', cap: '800 lbs' },\n    '28\" Tall x 14\" Wide': { use: 'Dining Table', mnt: '14\"', ft: '14\"', wt: 'N\/A', cap: '800 lbs' },\n    '28\" Tall x 28\" Wide': { use: 'Dining Table', mnt: '28\"', ft: '28\"', wt: 'N\/A', cap: '800 lbs' }\n  };\n\n  var CELLS = [\n    ['bhs-m-use', 'use'],\n    ['bhs-m-mnt', 'mnt'],\n    ['bhs-m-ft', 'ft'],\n    ['bhs-m-wt', 'wt'],\n    ['bhs-m-cap', 'cap']\n  ];\n\n  function isSizeVal(v) { return Object.prototype.hasOwnProperty.call(SPECS, v); }\n\n  function render(size) {\n    var d = SPECS[size];\n    if (!d) return;\n    CELLS.forEach(function (pair) {\n      var el = document.getElementById(pair[0]);\n      if (el) el.textContent = d[pair[1]];\n    });\n    var lbl = document.getElementById('bhs-m-size-label');\n    if (lbl) lbl.textContent = size;\n  }\n\n  function renderFromVariantId(vid) {\n    document.querySelectorAll('script[type=\"application\/json\"]').forEach(function (s) {\n      try {\n        var obj = JSON.parse(s.textContent);\n        var variants = obj.variants || (obj.product \u0026\u0026 obj.product.variants);\n        if (!variants) return;\n        var match = variants.find(function (v) { return String(v.id) === String(vid); });\n        if (match \u0026\u0026 isSizeVal(match.option1)) render(match.option1);\n      } catch (e) {}\n    });\n  }\n\n  function setup() {\n    var selects = document.querySelectorAll('select');\n    for (var i = 0; i \u003c selects.length; i++) {\n      var sel = selects[i];\n      var vals = Array.prototype.map.call(sel.options, function (o) { return o.value; });\n      if (vals.some(isSizeVal)) {\n        if (isSizeVal(sel.value)) render(sel.value);\n        sel.addEventListener('change', function () { if (isSizeVal(this.value)) render(this.value); });\n        break;\n      }\n    }\n\n    var radios = Array.prototype.slice.call(\n      document.querySelectorAll('input[type=\"radio\"]')\n    ).filter(function (r) { return isSizeVal(r.value); });\n\n    radios.forEach(function (r) {\n      r.addEventListener('change', function () { if (this.checked) render(this.value); });\n    });\n    var checked = radios.find(function (r) { return r.checked; });\n    if (checked) render(checked.value);\n\n    document.addEventListener('change', function (e) {\n      var val = e.target \u0026\u0026 e.target.value;\n      if (val \u0026\u0026 isSizeVal(val)) render(val);\n    });\n\n    ['variant:changed', 'variantchange', 'on:variant:change'].forEach(function (evtName) {\n      document.addEventListener(evtName, function (e) {\n        var d = e.detail;\n        if (!d) return;\n        var v = d.variant || d;\n        if (v \u0026\u0026 v.option1 \u0026\u0026 isSizeVal(v.option1)) render(v.option1);\n      });\n    });\n\n    \/\/ Gusto theme fix: watch input[name=\"id\"] for variant changes\n    var variantInput = document.querySelector('input[name=\"id\"]');\n    if (variantInput) {\n      if (variantInput.value) renderFromVariantId(variantInput.value);\n      variantInput.addEventListener('change', function () {\n        if (this.value) renderFromVariantId(this.value);\n      });\n      var observer = new MutationObserver(function (mutations) {\n        mutations.forEach(function (m) {\n          if (m.type === 'attributes' \u0026\u0026 m.attributeName === 'value') {\n            var val = variantInput.getAttribute('value');\n            if (val) renderFromVariantId(val);\n          }\n        });\n      });\n      observer.observe(variantInput, { attributes: true, attributeFilter: ['value'] });\n      var descriptor = Object.getOwnPropertyDescriptor(HTMLInputElement.prototype, 'value');\n      if (descriptor \u0026\u0026 descriptor.set) {\n        var originalSet = descriptor.set;\n        Object.defineProperty(variantInput, 'value', {\n          set: function (val) {\n            originalSet.call(this, val);\n            if (val) renderFromVariantId(val);\n          },\n          get: descriptor.get\n        });\n      }\n    }\n\n    try {\n      var urlVid = new URL(location.href).searchParams.get('variant');\n      if (urlVid) renderFromVariantId(urlVid);\n    } catch (e) {}\n  }\n\n  if (document.readyState === 'loading') {\n    document.addEventListener('DOMContentLoaded', setup);\n  } else {\n    setup();\n  }\n})();\n\u003c\/script\u003e\n","brand":"Bear Hollow Supply","offers":[{"title":"16\" Tall x 12\" Wide \/ 1 Set (2 Legs)","offer_id":48546759672059,"sku":"1700-60","price":200.0,"currency_code":"USD","in_stock":true},{"title":"16\" Tall x 12\" Wide \/ Bulk Pack: 5 Sets (10 Legs)","offer_id":48546759704827,"sku":"1700-60-5PK","price":850.0,"currency_code":"USD","in_stock":true},{"title":"16\" Tall x 18\" Wide \/ 1 Set (2 Legs)","offer_id":48546759737595,"sku":"1700-30","price":215.0,"currency_code":"USD","in_stock":true},{"title":"16\" Tall x 18\" Wide \/ Bulk Pack: 5 Sets (10 Legs)","offer_id":48546759770363,"sku":"1700-30-5PK","price":913.75,"currency_code":"USD","in_stock":true},{"title":"22\" Tall x 14\" Wide \/ 1 Set (2 Legs)","offer_id":48546759803131,"sku":"1700-10","price":235.0,"currency_code":"USD","in_stock":true},{"title":"22\" Tall x 14\" Wide \/ Bulk Pack: 5 Sets (10 Legs)","offer_id":48546759835899,"sku":"1700-10-5PK","price":998.75,"currency_code":"USD","in_stock":true},{"title":"28\" Tall x 14\" Wide \/ 1 Set (2 Legs)","offer_id":48546759868667,"sku":"1700-40","price":275.0,"currency_code":"USD","in_stock":true},{"title":"28\" Tall x 14\" Wide \/ Bulk Pack: 5 Sets (10 Legs)","offer_id":48546759901435,"sku":"1700-40-5PK","price":1168.75,"currency_code":"USD","in_stock":true},{"title":"28\" Tall x 28\" Wide \/ 1 Set (2 Legs)","offer_id":48546759934203,"sku":"1700-50","price":595.0,"currency_code":"USD","in_stock":true},{"title":"28\" Tall x 28\" Wide \/ Bulk Pack: 5 Sets (10 Legs)","offer_id":48546759966971,"sku":"1700-50-5PK","price":2528.75,"currency_code":"USD","in_stock":true}],"thumbnail_url":"\/\/cdn.shopify.com\/s\/files\/1\/0118\/9160\/5604\/files\/Untitleddesign-2025-06-06T142253.260_11ba8783-5352-4fb8-a296-a0f7e79379ce.png?v=1774373364","url":"https:\/\/bearhollowsupply.com\/products\/metal-table-legs-elmont","provider":"Bear Hollow Supply","version":"1.0","type":"link"}