/*
Theme Name: O-Ring Catalog
Description: A size-first industrial catalog with WooCommerce product, cart and checkout support.
Version: 0.1.0
Requires PHP: 7.4
License: GNU General Public License v2 or later
Text Domain: oring-catalog
*/
:root{--ink:#183a32;--accent:#265944;--line:#c7d3c5;--sheet:#f7f8f3;--warm:#e8eedc}
*{box-sizing:border-box}body{margin:0;background:#fff;color:#1b3029;font:16px/1.55 'Inter',Arial,sans-serif}a{color:var(--accent);text-underline-offset:.2em}button,input,textarea,select{font:inherit}.frame{width:min(1160px,92%);margin-inline:auto}.storebar{border-bottom:1px solid var(--line)}.mast,.mast nav,.section-head,.foot .frame{display:flex;align-items:center;justify-content:space-between;gap:20px}.mast{min-height:72px}.brand{display:flex;align-items:center;gap:10px;color:var(--ink);font-weight:750;text-decoration:none;font-size:1.22rem}.brand-mark{width:26px;height:26px;border:6px solid var(--ink);border-radius:50%;flex:none}.mast nav a{font-weight:600;text-decoration:none}.mast nav a:hover,.brand:hover{text-decoration:underline}.nav-cart,.choice{border:1px solid var(--line);border-radius:5px;padding:5px 13px}.intro{background:var(--sheet);border-bottom:1px solid var(--line)}.intro-grid{display:grid;grid-template-columns:1.3fr .8fr;gap:7%;align-items:center;padding-block:clamp(35px,7vw,80px)}h1,h2,h3{color:var(--ink);line-height:1.08;letter-spacing:-.045em}.intro h1{margin:0 0 .25em;font-size:clamp(42px,6.7vw,82px)}h2{font-size:clamp(27px,3.3vw,43px);margin:0}.intro p,.parts p{color:#4b5d53;max-width:560px}.searchbar{display:flex;gap:8px;max-width:580px;margin-top:23px}.searchbar input,.quote textarea{min-width:0;border:1px solid #899b8e;border-radius:5px;padding:10px 12px;background:#fff;color:var(--ink)}.searchbar input{flex:1}.searchbar button,.quote button,.woocommerce a.button,.woocommerce button.button,.woocommerce a.button.alt,.woocommerce button.button.alt{border:0;border-radius:5px;padding:10px 17px;background:var(--accent);color:white;font-weight:650;cursor:pointer}.woocommerce button.button.alt:disabled{color:white;background:#6b796e}.drawing{background-color:var(--warm);background-image:linear-gradient(#d7e0cd 1px,transparent 1px),linear-gradient(90deg,#d7e0cd 1px,transparent 1px);background-size:20px 20px;min-height:235px;display:grid;justify-items:center;align-content:center;gap:19px;border:1px solid var(--line);border-radius:8px}.diagram{width:144px;height:144px;border:20px solid #293d32;border-radius:50%;box-shadow:inset 1px 2px 2px #304437,0 4px 7px #879482;position:relative}.dimension{position:absolute;top:50%;left:0;right:0;border-top:1px solid #336747}.dimension:before,.dimension:after{content:'';position:absolute;top:-5px;height:9px;border-left:1px solid #336747}.dimension:after{right:0}.legend{font:12px/1.5 'IBM Plex Mono',monospace;background:#f6f8f1;padding:6px 10px;display:flex;gap:10px;flex-wrap:wrap;justify-content:center}.panel,.content,.parts{padding-block:clamp(29px,4.2vw,57px)}.section-head{margin-bottom:18px}.catalog{border-collapse:collapse;width:100%;text-align:left}.catalog th,.catalog td{padding:14px 10px;border-bottom:1px solid var(--line)}.catalog thead{background:var(--sheet);font-size:.85rem}.catalog th>a,.choice{color:var(--ink);font-weight:bold;text-decoration:none}.catalog small{display:block;font-weight:400;color:#53645a}.catalog a:hover{text-decoration:underline}.choice{display:inline-block;white-space:nowrap;font-size:.87rem}.table-wrap{overflow-x:auto}.pager{margin-top:20px;display:flex;gap:14px}.parts{border-top:1px solid var(--line);display:grid;grid-template-columns:1fr 1fr;gap:8%}.quote{display:grid;gap:9px}.quote button{justify-self:start}.empty{padding:18px;border-left:3px solid var(--line);background:var(--sheet)}.fine,.foot{font-size:.88rem}.foot{border-top:1px solid var(--line);padding:22px 0}.foot .frame>div{display:flex;gap:12px}.content{min-height:50vh}.content h1{font-size:clamp(31px,5vw,56px)}.screen-reader-text,.skip:not(:focus){position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%)}.skip:focus{position:absolute;z-index:5;background:#fff;padding:10px}a:focus-visible,button:focus-visible,select:focus-visible,input:focus-visible,textarea:focus-visible{outline:3px solid #965a0d;outline-offset:3px}.woocommerce .products li.product .price,.woocommerce div.product p.price{color:#2a5945}.woocommerce ul.products li.product h2{font-size:1.1rem;letter-spacing:-.015em}.content input,.content select,.content textarea{max-width:100%}.content img{height:auto;max-width:100%}
@media(max-width:720px){.intro-grid{grid-template-columns:1fr}.drawing{display:none}.mast{gap:8px;min-height:62px}.mast nav{gap:11px;font-size:.86rem}.brand{font-size:1rem}.brand-mark{width:20px;height:20px;border-width:4px}.parts{grid-template-columns:1fr;gap:10px}.catalog th,.catalog td{padding:10px 5px}.catalog{font-size:.85rem}.choice{padding:3px 5px}.nav-cart{padding:3px 5px}.searchbar input{width:120px}.legend{font-size:11px}.foot .frame{align-items:flex-start}.content h1{overflow-wrap:anywhere}}
@media(max-width:420px){.frame{width:94%}.catalog :is(td,th):nth-child(3){min-width:55px}.mast nav{gap:8px}.mast .brand{max-width:45%}}

