/*
Theme Name: OTF Lightweight
Theme URI: https://otfknifewholesale.com/
Author: TOP KNIVES LLC
Description: Minimal WooCommerce theme shell for controlled anonymous storefront canaries.
Version: 0.1.0
Requires at least: 6.0
Requires PHP: 8.0
Text Domain: otf-lightweight
*/
:root{--otfl-ink:#171717;--otfl-paper:#f7f6f3;--otfl-red:#d71932;--otfl-line:#dedbd5;--otfl-width:1200px}
body.otfl-fallback{margin:0;background:var(--otfl-paper);color:var(--otfl-ink);font:16px/1.55 system-ui,-apple-system,"Segoe UI",sans-serif}
body.otfl-fallback *{box-sizing:border-box}
body.otfl-fallback img{max-width:100%;height:auto}
body.otfl-fallback a{color:inherit}
.otfl-header{background:#111;color:#fff;border-bottom:3px solid var(--otfl-red)}
.otfl-header__inner,.otfl-nav__inner,.otfl-main,.otfl-footer__inner{width:min(var(--otfl-width),calc(100% - 40px));margin-inline:auto}
.otfl-header__inner{min-height:82px;display:flex;align-items:center;gap:28px}
.otfl-brand{display:flex;align-items:center;gap:12px;color:#fff;text-decoration:none;font-weight:900;letter-spacing:.08em}
.otfl-brand img{display:block;max-height:48px;width:auto}
.otfl-brand__mark{font-size:20px}
.otfl-header__tools{margin-left:auto;display:flex;align-items:center;gap:20px;font-size:13px;font-weight:700}
.otfl-header__tools a{text-decoration:none}
.otfl-nav{background:#202020;color:#fff}
.otfl-nav__inner{min-height:44px;display:flex;align-items:center}
.otfl-menu{display:flex;align-items:center;gap:24px;list-style:none;margin:0;padding:0}
.otfl-menu a{text-decoration:none;font-size:13px;font-weight:700}
.otfl-main{min-height:55vh;padding-block:36px 72px}
.otfl-content{max-width:860px;margin-inline:auto;background:#fff;padding:clamp(22px,4vw,48px);border:1px solid var(--otfl-line)}
.otfl-content h1,.otfl-content h2{line-height:1.15}.otfl-content h1{font-size:clamp(30px,4vw,46px)}.otfl-content a{color:#a81125}
.otfl-footer{background:#171717;color:#fff;padding:28px 0}.otfl-footer__inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap;font-size:13px}.otfl-footer a{color:#fff}
.otfl-products{display:grid;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;list-style:none;margin:26px 0;padding:0}.otfl-products .product{padding:15px;background:#fff;border:1px solid var(--otfl-line)}
.otfl-products .button,.otfl-button,body.otfl-fallback button.single_add_to_cart_button{display:inline-flex;min-height:42px;align-items:center;justify-content:center;padding:9px 16px;background:var(--otfl-red);border:0;color:#fff;text-decoration:none;font-weight:800;cursor:pointer}
.otfl-skip-link{position:absolute;left:-9999px;top:10px;background:#fff;padding:10px;z-index:10000}.otfl-skip-link:focus{left:10px}
.otfl-quote-drawer,.otfl-quote-drawer *{box-sizing:border-box}
.otfl-quote-overlay{position:fixed;inset:0;z-index:5900;background:rgba(0,0,0,.58);opacity:0;visibility:hidden;transition:opacity .2s,visibility .2s}
.otfl-quote-overlay.wd-close-side-opened{opacity:1;visibility:visible}
.otfl-quote-drawer{position:fixed;z-index:6000;inset:0 0 0 auto;width:min(430px,94vw);display:flex;flex-direction:column;background:#fff;color:#191919;box-shadow:-12px 0 40px rgba(0,0,0,.2);transform:translateX(105%);visibility:hidden;transition:transform .24s ease,visibility .24s}
.otfl-quote-drawer.wd-opened{transform:translateX(0);visibility:visible}
.otfl-quote-drawer .wd-heading{min-height:64px;padding:16px 20px;display:flex;align-items:center;justify-content:space-between;border-bottom:1px solid var(--otfl-line);font-weight:900}
.otfl-quote-drawer .close-side-widget a{color:#333;text-decoration:none;font-size:13px}
.otfl-quote-drawer .widget_shopping_cart{display:flex;flex:1;min-height:0;width:100%;margin:0}
.otfl-quote-drawer .widget_shopping_cart_content{flex:1;min-height:0;display:flex;flex-direction:column;overflow:auto;padding:18px}
.otfl-quote-drawer .woocommerce-mini-cart{flex:1;overflow:auto;list-style:none;margin:0;padding:0}
.otfl-quote-drawer .woocommerce-mini-cart-item{position:relative;min-height:76px;padding:12px 32px 12px 0;border-bottom:1px solid var(--otfl-line)}
.otfl-quote-drawer .woocommerce-mini-cart-item img{float:right;width:58px;margin-left:12px}
.otfl-quote-drawer .woocommerce-mini-cart__total{padding:14px 0;border-top:1px solid var(--otfl-line);font-weight:800}
.otfl-quote-drawer .woocommerce-mini-cart__buttons{display:grid;gap:9px;margin:0}
.otfl-quote-drawer .woocommerce-mini-cart__buttons a{display:flex;min-height:44px;align-items:center;justify-content:center;padding:10px;background:#171717;color:#fff;text-decoration:none;text-align:center;font-weight:800}
.otfl-quote-drawer .woocommerce-mini-cart__buttons a.checkout{background:var(--otfl-red)}
@media(max-width:720px){.otfl-header__inner,.otfl-nav__inner,.otfl-main,.otfl-footer__inner{width:min(100% - 28px,var(--otfl-width))}.otfl-header__inner{min-height:68px;gap:12px}.otfl-header__tools{gap:12px}.otfl-menu{gap:17px;overflow:auto;white-space:nowrap}.otfl-main{padding-block:22px 54px}.otfl-content{padding:20px}.otfl-footer__inner{display:grid}.otfl-quote-drawer{width:min(410px,96vw)}}
@media(prefers-reduced-motion:reduce){.otfl-quote-overlay,.otfl-quote-drawer{transition:none}}
