/* =========================================================
   OHMTRA standalone theme — assets/css/ohmtra.css
   ========================================================= */
:root{
  --navy:#0b1d33; --navy-2:#122c4a; --teal:#0fb5ae; --teal-d:#0a8c86;
  --amber:#ff9f1c; --amber-d:#e88700; --bg:#f6f8fa; --surface:#fff;
  --border:#e2e8f0; --text:#152238; --muted:#5b6b82; --success:#1f9d55; --danger:#e5484d;
  --mono:'JetBrains Mono','Roboto Mono',monospace;
  --font:'Inter',-apple-system,BlinkMacSystemFont,'Segoe UI',sans-serif;
  --radius:14px;
}
*{box-sizing:border-box;}
body.ohmtra-body{margin:0;background:var(--surface);color:var(--text);font-family:var(--font);font-size:16px;line-height:1.6;}
img{max-width:100%;height:auto;}
a{color:var(--teal-d);text-decoration:none;}
a:hover{color:var(--amber-d);}
h1,h2,h3,h4{font-weight:700;color:var(--navy);letter-spacing:-0.01em;line-height:1.2;}
.ohmtra-container{max-width:1240px;margin:0 auto;padding:0 20px;}

/* ---------- Announcement ---------- */
.ohmtra-announcement{background:#eef7f6;color:var(--navy);text-align:center;font-size:13px;padding:8px 12px;border-bottom:1px solid var(--border);}

/* ---------- Header ---------- */
.ohmtra-header{background:var(--surface);border-bottom:1px solid var(--border);position:sticky;top:0;z-index:100;box-shadow:0 1px 3px rgba(11,29,51,.04);transition:box-shadow .25s;}
.ohmtra-header-top{display:flex;align-items:center;gap:20px;padding:12px 20px;flex-wrap:wrap;}
.ohmtra-brand{display:flex;flex-direction:column;line-height:1.1;flex-shrink:0;}
.ohmtra-logo-text{font-size:26px;font-weight:800;color:var(--navy);letter-spacing:.02em;}
.ohmtra-logo-text span{color:var(--teal);}
.ohmtra-logo-text.light{color:#fff;}
.ohmtra-tagline{font-size:11px;text-transform:uppercase;letter-spacing:.12em;color:var(--muted);margin-top:2px;}
.ohmtra-tagline.light{color:#c7d6e8;}
.custom-logo{max-height:56px;width:auto;}

.ohmtra-search{position:relative;flex:1;min-width:220px;display:flex;align-items:center;gap:8px;}
.ohmtra-search-inputwrap{position:relative;flex:1;min-width:0;display:flex;}
.ohmtra-search input[type=search]{flex:1;min-width:0;padding:12px 96px 12px 16px;border:2px solid var(--border);border-radius:10px;font-size:15px;}
.ohmtra-search .ohmtra-search-suggestions{left:0;right:0;}
.ohmtra-search input:focus{border-color:var(--teal);outline:none;}
.ohmtra-nav-toggle-search{display:none;flex-shrink:0;margin-right:8px;}
.ohmtra-search-inputwrap button{position:absolute;right:5px;top:5px;bottom:5px;background:var(--teal);color:#fff;border:none;border-radius:7px;padding:0 18px;font-weight:700;cursor:pointer;}
.ohmtra-search button:hover{background:var(--teal-d);}
.ohmtra-search-suggestions{position:absolute;top:calc(100% + 4px);left:0;right:0;background:#fff;border:1px solid var(--border);border-radius:10px;box-shadow:0 12px 28px rgba(11,29,51,.14);z-index:150;max-height:420px;overflow-y:auto;}
.ohmtra-search-suggestions a{display:flex;align-items:center;gap:10px;padding:10px 14px;color:var(--text);border-bottom:1px solid var(--border);}
.ohmtra-search-suggestions a:last-child{border-bottom:none;}
.ohmtra-search-suggestions a:hover{background:var(--bg);}
.ohmtra-search-suggestions img{width:36px;height:36px;object-fit:contain;border-radius:4px;background:var(--bg);}
.ohmtra-search-suggestions .s-title{font-size:13px;font-weight:600;flex:1;}
.ohmtra-search-suggestions .s-price{font-size:12px;color:var(--teal-d);white-space:nowrap;}
.ohmtra-search-suggestions .s-empty{padding:14px;font-size:13px;color:var(--muted);}

.ohmtra-header-actions{display:flex;align-items:center;gap:14px;flex-shrink:0;}
.ohmtra-action{color:var(--navy);font-size:13px;position:relative;}
.ohmtra-cart-count{position:absolute;top:-10px;right:-12px;background:var(--amber);color:#fff;font-size:10px;font-weight:700;border-radius:50%;width:17px;height:17px;display:flex;align-items:center;justify-content:center;}
.ohmtra-btn-outline{border:1px solid var(--border);border-radius:7px;padding:8px 14px;font-size:13px;font-weight:700;color:var(--navy);}
.ohmtra-btn-outline:hover{border-color:var(--teal);color:var(--teal-d);}
.ohmtra-login-btn{background:var(--navy)!important;color:#fff!important;border:none!important;border-radius:7px;padding:8px 18px;font-size:13px;font-weight:700;}
.ohmtra-login-btn:hover{background:var(--teal-d)!important;color:#fff!important;}
.ohmtra-nav-toggle-search{width:38px;height:38px;border:1px solid var(--border);border-radius:8px;background:#fff;position:relative;cursor:pointer;}
.ohmtra-nav-toggle-search span:first-child,.ohmtra-nav-toggle-search span:first-child::before,.ohmtra-nav-toggle-search span:first-child::after{content:"";position:absolute;left:9px;right:9px;height:2px;background:var(--navy);}
.ohmtra-nav-toggle-search span:first-child{top:18px;}
.ohmtra-nav-toggle-search span:first-child::before{top:-6px;}
.ohmtra-nav-toggle-search span:first-child::after{top:6px;}
.ohmtra-btn-solid{background:var(--teal);color:#fff;border-radius:7px;padding:8px 14px;font-size:13px;font-weight:700;}
.ohmtra-btn-solid:hover{background:var(--teal-d);color:#fff;}
.ohmtra-nav-toggle{display:none;width:40px;height:40px;border:1px solid var(--border);border-radius:8px;background:#fff;position:relative;cursor:pointer;}
.ohmtra-nav-toggle span:first-child,.ohmtra-nav-toggle span:first-child::before,.ohmtra-nav-toggle span:first-child::after{content:"";position:absolute;left:9px;right:9px;height:2px;background:var(--navy);}
.ohmtra-nav-toggle span:first-child{top:19px;}
.ohmtra-nav-toggle span:first-child::before{top:-6px;}
.ohmtra-nav-toggle span:first-child::after{top:6px;}
.screen-reader-text{position:absolute!important;clip:rect(1px,1px,1px,1px);width:1px;height:1px;overflow:hidden;}

/* ---------- Nav ---------- */
.ohmtra-nav{background:var(--navy);}
.ohmtra-menu{display:flex;flex-wrap:wrap;gap:2px;margin:0;padding:0;list-style:none;}
.ohmtra-menu li{position:relative;}
.ohmtra-menu a{display:block;color:#dbe9ff;padding:13px 16px;font-size:13.5px;font-weight:600;text-transform:uppercase;letter-spacing:.03em;}
.ohmtra-menu a:hover,.ohmtra-menu .current-menu-item>a{background:var(--teal);color:#fff;}
.ohmtra-submenu-toggle{display:inline-block;width:7px;height:7px;margin-left:6px;border-right:2px solid currentColor;border-bottom:2px solid currentColor;transform:rotate(45deg);vertical-align:2px;}
.ohmtra-menu .sub-menu{display:none;position:absolute;top:100%;left:0;flex-direction:column;min-width:220px;background:#fff;border:1px solid var(--border);border-radius:0 0 10px 10px;box-shadow:0 12px 28px rgba(11,29,51,.16);padding:6px 0;z-index:200;list-style:none;margin:0;}
.ohmtra-menu .sub-menu a{color:var(--text);text-transform:none;font-weight:500;letter-spacing:normal;padding:10px 16px;}
.ohmtra-menu .sub-menu a:hover{background:var(--bg);color:var(--teal-d);}
.ohmtra-menu li.menu-item-has-children:hover>.sub-menu,
.ohmtra-menu li.menu-item-has-children:focus-within>.sub-menu,
.ohmtra-menu li.ohmtra-submenu-open>.sub-menu{display:flex;}

/* ---------- Scrolled compact header ---------- */
@media(min-width:861px){
  .ohmtra-header.is-scrolled .ohmtra-header-top{padding:6px 20px;}
  .ohmtra-header.is-scrolled .ohmtra-tagline{max-height:0;opacity:0;overflow:hidden;transition:.2s;}
  .ohmtra-header.is-scrolled .ohmtra-logo-text{font-size:22px;}
  .ohmtra-header.is-scrolled{box-shadow:0 4px 14px rgba(11,29,51,.10);}
}

/* ---------- Homepage ---------- */
.ohmtra-hero{background:linear-gradient(120deg,var(--navy),var(--navy-2) 60%,#0e3a5c);color:#fff;border-radius:18px;padding:56px 40px;margin:24px 0;display:flex;justify-content:space-between;gap:32px;flex-wrap:wrap;align-items:center;}
.ohmtra-hero-text{max-width:560px;}
.ohmtra-hero-eyebrow{color:var(--amber);text-transform:uppercase;font-size:12px;letter-spacing:.14em;font-weight:700;}
.ohmtra-hero h1{color:#fff;font-size:34px;margin:12px 0 16px;}
.ohmtra-hero p{color:#c7d6e8;}
.ohmtra-hero-btn{display:inline-block;margin-top:20px;background:var(--teal);color:#fff;padding:14px 28px;border-radius:10px;font-weight:700;}
.ohmtra-hero-btn:hover{background:var(--teal-d);color:#fff;}
.ohmtra-hero-card{font-family:var(--mono);font-size:13px;color:#8fd7d1;background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.12);border-radius:10px;padding:20px;white-space:pre;}
.ohmtra-home-section{margin:48px 0;}
.ohmtra-section-head{display:flex;justify-content:space-between;align-items:baseline;margin-bottom:20px;}
.ohmtra-section-head h2{font-size:24px;margin:0;}
.ohmtra-cat-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(150px,1fr));gap:16px;}
.ohmtra-cat-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px 12px;text-align:center;color:var(--text);transition:.15s;}
.ohmtra-cat-card:hover{transform:translateY(-3px);box-shadow:0 8px 20px rgba(11,29,51,.08);color:var(--text);}
.ohmtra-cat-card .ic{font-size:28px;display:block;margin-bottom:8px;}
.ohmtra-cat-card .lb{font-size:13px;font-weight:600;}
.ohmtra-why-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:20px;}
.ohmtra-why-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;}
.ohmtra-why-card .ic{color:var(--teal);font-size:22px;margin-bottom:10px;}
.ohmtra-why-card h3{font-size:16px;margin:0 0 6px;}
.ohmtra-why-card p{font-size:13.5px;color:var(--muted);margin:0;}
.ohmtra-b2b-banner{background:var(--amber);border-radius:var(--radius);padding:32px;display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:16px;}
.ohmtra-b2b-banner h2{color:var(--navy);margin:0 0 6px;font-size:22px;}
.ohmtra-b2b-banner p{margin:0;color:var(--navy);}
.ohmtra-b2b-btn{background:var(--navy);color:#fff;padding:12px 24px;border-radius:8px;font-weight:700;white-space:nowrap;}
.ohmtra-b2b-btn:hover{color:#fff;background:var(--navy-2);}

/* ---------- Breadcrumb ---------- */
.ohmtra-breadcrumb{font-size:12px;color:var(--muted);padding:14px 0 6px;}
.ohmtra-breadcrumb a{color:var(--muted);}

/* ---------- Archive banner ---------- */
.ohmtra-archive-banner{display:flex;justify-content:space-between;align-items:center;gap:24px;background:#fff;border:1px solid var(--border);border-radius:18px;padding:18px 32px;margin:4px 0 16px;}
.ohmtra-archive-eyebrow{display:block;color:var(--teal-d);text-transform:uppercase;font-size:11px;letter-spacing:.14em;font-weight:700;margin-bottom:6px;}
.ohmtra-archive-banner h1{font-size:28px;margin:0 0 6px;}
.ohmtra-archive-banner .desc{color:var(--muted);font-size:14px;max-width:560px;}
.ohmtra-archive-banner .cnt{display:inline-block;margin-top:8px;font-size:12px;background:var(--bg);padding:4px 12px;border-radius:20px;color:var(--muted);}
.ohmtra-archive-banner-art{flex-shrink:0;width:150px;max-width:28%;color:var(--teal);opacity:.5;}
.ohmtra-archive-banner-art svg{width:100%;height:auto;}

/* ---------- Archive layout: sidebar + grid ---------- */
.ohmtra-archive-layout{display:grid;grid-template-columns:250px 1fr;gap:28px;align-items:start;margin-bottom:56px;}
.ohmtra-filter-sidebar{background:#fff;border:1px solid var(--border);border-radius:var(--radius);position:sticky;top:150px;}
.ohmtra-filter-toggle{display:none;width:100%;align-items:center;justify-content:space-between;background:var(--navy);color:#fff;border:none;border-radius:10px;padding:12px 16px;font-size:14px;font-weight:700;cursor:pointer;margin:0 0 16px;}
.ohmtra-filter-toggle-icon{transition:transform .2s ease;}
.ohmtra-filter-toggle.is-open .ohmtra-filter-toggle-icon{transform:rotate(180deg);}
.ohmtra-filter-block{padding:18px 20px;border-bottom:1px solid var(--border);}
.ohmtra-filter-block:last-child{border-bottom:none;}
.ohmtra-filter-block h3{font-size:12px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted);margin:0 0 12px;}
.ohmtra-cat-tree,.ohmtra-cat-children{list-style:none;margin:0;padding:0;}
.ohmtra-cat-tree>li{margin-bottom:6px;}
.ohmtra-cat-tree a{display:flex;justify-content:space-between;gap:8px;font-size:13.5px;color:var(--text);padding:5px 0;font-weight:600;}
.ohmtra-cat-tree a span{color:var(--muted);font-weight:400;font-size:12px;}
.ohmtra-cat-tree a:hover{color:var(--teal-d);}
.ohmtra-cat-children{display:none;padding-left:12px;border-left:2px solid var(--border);margin:4px 0 8px;}
.ohmtra-cat-tree li.is-open>.ohmtra-cat-children{display:block;}
.ohmtra-cat-children a{font-weight:400;font-size:13px;}
.ohmtra-cat-children li.active>a{color:var(--teal-d);font-weight:700;}
.ohmtra-price-filter .row{display:flex;gap:8px;margin-bottom:8px;}
.ohmtra-price-filter input{width:100%;border:1px solid var(--border);border-radius:8px;padding:8px 10px;font-size:13px;}
.ohmtra-price-filter button{width:100%;background:var(--navy);color:#fff;border:none;border-radius:8px;padding:9px;font-weight:700;font-size:13px;cursor:pointer;}
.ohmtra-price-filter button:hover{background:var(--teal);}
.ohmtra-stock-filter label{display:flex;align-items:center;gap:8px;font-size:13.5px;cursor:pointer;}
.ohmtra-archive-toolbar{margin-bottom:16px;}
.woocommerce-result-count{font-size:13px;color:var(--muted);margin:0;}

/* ---------- Product grid / tiles ---------- */
.woocommerce ul.products,ul.products{display:grid!important;grid-template-columns:repeat(auto-fill,minmax(210px,1fr));gap:20px;margin:0!important;padding:0!important;list-style:none;}
/* WooCommerce injects ::before/::after clearfix pseudo-elements into the
   products <ul>; in CSS grid these become phantom cells that push the first
   real product into the second slot, leaving an empty gap. Remove them, and
   neutralize the float-based columns-N classes that also cause misalignment. */
.woocommerce ul.products::before,
.woocommerce ul.products::after,
ul.products::before,
ul.products::after{display:none!important;content:none!important;}
.woocommerce ul.products.columns-1,
.woocommerce ul.products.columns-2,
.woocommerce ul.products.columns-3,
.woocommerce ul.products.columns-4,
.woocommerce ul.products.columns-5,
.woocommerce ul.products.columns-6{grid-template-columns:repeat(auto-fill,minmax(210px,1fr));}
.woocommerce ul.products li.product.first,
.woocommerce ul.products li.product.last{margin:0!important;clear:none!important;}
ul.products li.product,.woocommerce ul.products li.product{width:auto!important;margin:0!important;float:none!important;background:#fff;border:1px solid #e8edf3;border-radius:var(--radius);overflow:hidden;padding:0!important;display:flex;flex-direction:column;position:relative;transition:.2s;}
ul.products li.product:hover{border-color:var(--teal);box-shadow:0 10px 26px rgba(11,29,51,.10);transform:translateY(-3px);}
ul.products li.product a.woocommerce-LoopProduct-link{display:flex;flex-direction:column;flex:1;color:inherit;}
ul.products li.product img{width:100%;aspect-ratio:1/1;object-fit:contain;background:#fff;padding:14px;border-radius:0!important;margin:0 0 10px!important;border-bottom:1px solid #f1f4f8;}
ul.products li.product .woocommerce-loop-product__title{font-size:13.5px;font-weight:600;color:var(--text);padding:0 14px;margin:0;min-height:38px;}
ul.products li.product .ohmtra-sku{font-family:var(--mono);font-size:10.5px;color:var(--muted);padding:2px 14px 0;display:block;}
ul.products li.product .ohmtra-stock{font-size:11.5px;font-weight:700;padding:2px 14px;display:block;}
ul.products li.product .ohmtra-stock.in{color:var(--success);}
ul.products li.product .ohmtra-stock.out{color:var(--danger);}
ul.products li.product .price{padding:4px 14px 10px;font-size:16px;color:var(--navy);font-weight:700;}
ul.products li.product .price del{color:var(--muted);font-weight:400;font-size:13px;margin-right:6px;}
ul.products li.product .price ins{text-decoration:none;}
ul.products li.product .button{margin:0 14px 8px!important;background:var(--teal)!important;color:#fff!important;border-radius:8px!important;font-size:12px!important;font-weight:700!important;text-align:center;padding:10px!important;border:none!important;}
ul.products li.product .button:hover{background:var(--teal-d)!important;}
ul.products li.product .ohmtra-buy-now-btn{background:var(--amber)!important;color:var(--navy)!important;margin-bottom:14px!important;}
ul.products li.product .ohmtra-buy-now-btn:hover{background:var(--amber-d)!important;color:#fff!important;}
ul.products li.product .onsale{position:absolute;top:10px;left:10px;background:var(--amber);color:var(--navy);font-weight:700;font-size:11px;border-radius:6px;padding:4px 8px;z-index:5;}

/* ---------- Single product ---------- */
.ohmtra-single-product-wrap{padding-bottom:56px;}
.ohmtra-product-grid{display:grid;grid-template-columns:minmax(0,1.05fr) minmax(0,1fr);gap:44px;align-items:start;margin-top:8px;}
.ohmtra-product-gallery-col{position:sticky;top:20px;}
.woocommerce-product-gallery{background:#f7f9fb;border:1px solid var(--border);border-radius:16px;padding:20px;position:relative;margin:0;}
.woocommerce-product-gallery__image > a > img,
.woocommerce-product-gallery__image > img{border-radius:10px!important;mix-blend-mode:multiply;}
/* The zoom overlay (.zoomImg) must render solid/opaque while visible, but
   we must NOT force opacity permanently — WooCommerce's own zoom script
   toggles it to hide the overlay on mouse-leave, and !important on opacity
   here would block that from working. */
.woocommerce-product-gallery__image img.zoomImg{
  mix-blend-mode:normal!important;
  background:#fff!important;
  border-radius:0!important;
}
.woocommerce-product-gallery .flex-control-thumbs{display:flex;gap:8px;margin:14px 0 0;padding:0;list-style:none;}
.woocommerce-product-gallery .flex-control-thumbs li{width:60px!important;margin:0!important;}
.woocommerce-product-gallery .flex-control-thumbs img{border:1px solid var(--border);border-radius:8px;padding:4px;background:#fff;opacity:.7;}
.woocommerce-product-gallery .flex-control-thumbs img.flex-active,.woocommerce-product-gallery .flex-control-thumbs img:hover{opacity:1;border-color:var(--teal);}
.ohmtra-single-product .onsale{position:absolute;top:14px;left:14px;background:var(--amber);color:var(--navy);font-weight:800;font-size:11px;border-radius:6px;padding:4px 10px;z-index:3;}
.ohmtra-product-summary-col .product_title{font-size:28px;margin:0 0 8px;}
.ohmtra-product-summary-col .price{font-size:15px;color:var(--text);margin:6px 0;}
.ohmtra-product-summary-col .price ins,.ohmtra-product-summary-col .price>.amount{font-size:30px;font-weight:800;color:var(--navy);text-decoration:none;}
.ohmtra-product-summary-col .price del{font-size:16px;color:var(--muted);margin-right:10px;}
.ohmtra-savings{display:inline-block;background:#e8f7ee;color:var(--success);font-weight:700;font-size:13px;padding:6px 14px;border-radius:8px;}
.ohmtra-gst-note{font-size:12px;color:var(--muted);margin:8px 0 16px;}
.ohmtra-meta-row{display:flex;gap:18px;flex-wrap:wrap;font-size:12.5px;color:var(--muted);margin:8px 0 14px;padding-bottom:14px;border-bottom:1px solid var(--border);}
.ohmtra-meta-row span strong{color:var(--text);}
.ohmtra-datasheet-btn{display:inline-flex;align-items:center;gap:8px;border:1px solid var(--border);border-radius:8px;padding:10px 16px;font-size:13px;font-weight:600;color:var(--navy);margin:6px 0 12px;}
.ohmtra-datasheet-btn:hover{border-color:var(--teal);color:var(--teal-d);}
.ohmtra-pincode-check{display:flex;gap:8px;margin:12px 0;max-width:340px;}
.ohmtra-pincode-check input{flex:1;padding:10px;border:1px solid var(--border);border-radius:6px;}
.ohmtra-pincode-check button{background:var(--navy);color:#fff;border:none;border-radius:6px;padding:10px 16px;font-weight:600;cursor:pointer;}
.ohmtra-single-product form.cart{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:16px;margin:16px 0!important;display:flex;flex-wrap:wrap;gap:12px;align-items:center;box-shadow:0 6px 20px rgba(11,29,51,.05);}
.ohmtra-single-product form.cart .quantity input.qty{width:74px;height:50px;border:1px solid var(--border);border-radius:10px;font-size:16px;text-align:center;}
.ohmtra-single-product form.cart .single_add_to_cart_button{flex:1;min-width:170px;height:50px;border-radius:10px!important;font-size:15px!important;font-weight:800!important;background:var(--teal)!important;color:#fff!important;border:none!important;}
.ohmtra-single-product form.cart .single_add_to_cart_button:hover{background:var(--teal-d)!important;}
.ohmtra-buy-now-single{flex-basis:100%;height:48px;display:flex;align-items:center;justify-content:center;text-align:center!important;border-radius:10px!important;font-size:15px!important;background:var(--amber)!important;color:var(--navy)!important;font-weight:800!important;border:none!important;}
.ohmtra-buy-now-single:hover{background:var(--amber-d)!important;color:#fff!important;}
.ohmtra-bulk-quote-btn{display:inline-block;margin-top:6px;background:transparent;border:2px solid var(--navy);color:var(--navy);padding:10px 18px;border-radius:8px;font-weight:700;}
.ohmtra-bulk-quote-btn:hover{background:var(--navy);color:#fff;}
.ohmtra-min-qty-notice{background:#fff4e0;border:1px solid var(--amber);color:var(--navy);padding:8px 12px;border-radius:6px;font-size:13px;margin:10px 0;}
.ohmtra-trust-badges{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:20px 0 0;padding-top:18px;border-top:1px solid var(--border);}
.ohmtra-trust-badges .badge{background:#f7f9fb;border:1px solid var(--border);border-radius:12px;padding:12px 14px;}
.ohmtra-trust-badges .badge strong{display:block;font-size:13px;color:var(--navy);}
.ohmtra-trust-badges .badge span{font-size:11.5px;color:var(--muted);}

/* Tabs + related (full width) */
.ohmtra-product-tabs-row{margin-top:44px;}
.woocommerce-tabs ul.tabs{border-bottom:2px solid var(--border);margin:0 0 20px;padding:0;list-style:none;display:flex;gap:4px;flex-wrap:wrap;}
.woocommerce-tabs ul.tabs li{margin:0;}
.woocommerce-tabs ul.tabs li a{display:block;padding:12px 20px;font-size:14px;font-weight:700;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-2px;}
.woocommerce-tabs ul.tabs li.active a{color:var(--navy);border-bottom-color:var(--teal);}
.woocommerce-tabs .panel{background:#fff;border:1px solid var(--border);border-radius:0 14px 14px 14px;padding:28px 32px;font-size:15px;line-height:1.8;max-width:920px;}
.woocommerce-tabs .panel h2{font-size:20px;margin:0 0 16px;}
.woocommerce-tabs .panel img{border-radius:10px;}
.ohmtra-spec-table{width:100%;border-collapse:collapse;margin:12px 0 24px;font-size:14px;}
.ohmtra-spec-table tr{border-bottom:1px solid var(--border);}
.ohmtra-spec-table td{padding:10px 12px;}
.ohmtra-spec-table td:first-child{width:36%;color:var(--muted);font-weight:600;}
.ohmtra-spec-table td:last-child{font-family:var(--mono);}
.ohmtra-qty-discount-table{
  border:1px solid var(--border)!important;
  border-radius:12px;
  overflow:hidden;
  border-collapse:separate!important;
  border-spacing:0;
}
.ohmtra-qty-discount-table thead td{background:var(--navy);color:#fff!important;font-size:11.5px;text-transform:uppercase;letter-spacing:.04em;border-bottom:none;padding:12px;}
.ohmtra-qty-discount-table tbody tr:nth-child(even){background:#f7f9fb;}
.ohmtra-qty-discount-table tbody tr:last-child{background:#e8f7ee;}
.ohmtra-qty-discount-table tbody tr:last-child td{color:var(--success);font-weight:700;}
.ohmtra-qty-discount-table td{border-bottom:1px solid var(--border);padding:11px 14px;}
.ohmtra-qty-discount-table tr:last-child td{border-bottom:none;}
.ohmtra-qty-discount-table td:first-child{width:auto;font-weight:600;color:var(--text);font-family:inherit;}
.ohmtra-qty-discount-table td:last-child{font-family:var(--mono);font-weight:700;color:var(--navy);}
.related.products{margin-top:48px;}
.upsells.products{margin-top:48px;}
.related.products>h2,.upsells.products>h2{font-size:22px;margin-bottom:20px;padding-bottom:12px;border-bottom:2px solid var(--border);}
.related.products ul.products,
.upsells.products ul.products{grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;gap:24px;}

/* ---------- Cart / Checkout / Account ---------- */
.ohmtra-shop-wrap{padding:24px 0 56px;}
.woocommerce table.shop_table{border:1px solid var(--border);border-radius:var(--radius);overflow:hidden;border-collapse:separate;border-spacing:0;background:#fff;}
.woocommerce table.shop_table th{background:#f7f9fb;font-size:12px;text-transform:uppercase;color:var(--muted);padding:14px 16px;}
.woocommerce table.shop_table td{padding:16px;border-top:1px solid var(--border);}
.cart_totals,.woocommerce-checkout #order_review,#customer_details .col-1,#customer_details .col-2{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;}
.wc-proceed-to-checkout a.checkout-button,#place_order{background:var(--amber)!important;color:var(--navy)!important;border-radius:10px!important;font-weight:800!important;padding:16px!important;}
.wc-proceed-to-checkout a.checkout-button:hover,#place_order:hover{background:var(--amber-d)!important;color:#fff!important;}
.woocommerce form .form-row input,.woocommerce form .form-row select,.woocommerce form .form-row textarea{border:1px solid var(--border)!important;border-radius:8px!important;padding:11px 12px!important;}
.woocommerce-MyAccount-navigation ul{list-style:none;margin:0;padding:0;background:#fff;border:1px solid var(--border);border-radius:var(--radius);}
.woocommerce-MyAccount-navigation li a{display:block;padding:12px 16px;color:var(--text);font-size:13.5px;font-weight:600;}
.woocommerce-MyAccount-navigation li.is-active a{background:var(--navy);color:#fff;border-radius:8px;margin:4px;}
.woocommerce-MyAccount-content{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:28px;}
.ohmtra-tracking-window{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:20px;margin:24px 0;}
.ohmtra-tracking-window h3{margin-top:0;font-size:16px;}
.ohmtra-track-btn{display:inline-block;background:var(--navy);color:#fff;padding:10px 20px;border-radius:8px;font-weight:700;font-size:13px;}
.ohmtra-track-btn:hover{background:var(--teal);color:#fff;}

/* ---------- Pages / posts ---------- */
.ohmtra-page{padding:8px 0 56px;}
.ohmtra-page-banner{background:linear-gradient(120deg,var(--navy),var(--navy-2) 70%,#0e3a5c);color:#fff;border-radius:18px;padding:32px 36px;margin:8px 0 24px;}
.ohmtra-page-banner h1{color:#fff;font-size:28px;margin:6px 0 0;}
.ohmtra-page-banner .ohmtra-archive-eyebrow{color:var(--amber);}
.ohmtra-page-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:36px;}
.ohmtra-page-title{font-size:30px;margin:0 0 20px;}
.ohmtra-single-page{max-width:820px;}
.ohmtra-page-content{font-size:16px;line-height:1.8;}
.ohmtra-post-card{background:#fff;border:1px solid var(--border);border-radius:var(--radius);padding:24px;margin-bottom:24px;}
.ohmtra-post-title{font-size:22px;margin:0 0 6px;}
.ohmtra-post-meta{font-size:12px;color:var(--muted);margin-bottom:12px;}
.ohmtra-quote-form{display:grid;gap:14px;max-width:640px;}
.ohmtra-quote-form label{display:flex;flex-direction:column;gap:4px;font-size:14px;font-weight:600;}
.ohmtra-quote-form input,.ohmtra-quote-form textarea{padding:10px;border:1px solid var(--border);border-radius:6px;font-weight:400;}
.ohmtra-quote-form button{background:var(--teal);color:#fff;border:none;border-radius:8px;padding:12px 24px;font-weight:700;cursor:pointer;justify-self:start;}

/* ---------- Footer ---------- */
.ohmtra-footer{background:var(--navy);color:#c7d6e8;padding:48px 0 0;margin-top:64px;}
.ohmtra-footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:32px;padding-bottom:32px;border-bottom:1px solid rgba(255,255,255,.1);}
.ohmtra-footer-grid h4{color:#fff;font-size:14px;margin-bottom:14px;text-transform:uppercase;letter-spacing:.06em;}
.ohmtra-footer-grid ul{list-style:none;margin:0;padding:0;}
.ohmtra-footer-grid li{margin-bottom:8px;}
.ohmtra-footer-grid a{color:#c7d6e8;font-size:13.5px;}
.ohmtra-footer-grid a:hover{color:var(--amber);}
.ohmtra-footer-brand p{font-size:13.5px;max-width:320px;margin:12px 0 0;}
.ohmtra-footer-bottom{text-align:center;padding:18px 0;font-size:12px;color:#7f94b0;}

/* ---------- Responsive ---------- */
@media(max-width:960px){
  .ohmtra-archive-layout{grid-template-columns:1fr;}
  .ohmtra-filter-toggle{display:flex;}
  .ohmtra-filter-sidebar{position:static;display:none;margin-bottom:16px;}
  .ohmtra-filter-sidebar.is-open{display:block;}
  .ohmtra-product-grid{grid-template-columns:1fr;gap:24px;}
  .ohmtra-product-gallery-col{position:static;}
  .ohmtra-footer-grid{grid-template-columns:1fr 1fr;}
  .ohmtra-footer-brand{grid-column:1/-1;}
}
@media(max-width:860px){
  /* Category nav hidden on mobile — customers browse via search + homepage tiles */
  .ohmtra-nav{display:none!important;}

  /* Header: logo + actions on top row, full-width search below */
  .ohmtra-header-top{padding:10px 16px;gap:10px;}
  .ohmtra-brand{order:1;margin-right:auto;}
  .ohmtra-header-actions{order:2;gap:10px;margin-left:auto;}
  .ohmtra-search{order:3;flex-basis:100%;min-width:0;}
  .ohmtra-logo-text{font-size:20px;}
  .ohmtra-tagline{font-size:9.5px;}
  .ohmtra-header-actions .ohmtra-cart span{display:none;}
  .ohmtra-header-actions .ohmtra-cart{font-size:0;position:relative;width:30px;height:30px;}
  .ohmtra-header-actions .ohmtra-cart::before{content:"🛒";font-size:18px;}
  .ohmtra-login-btn{padding:8px 14px;font-size:12px;}

  .ohmtra-hero{padding:32px 20px;}
  .ohmtra-hero h1{font-size:24px;}
  .ohmtra-hero-card{display:none;}
  .ohmtra-cat-grid{grid-template-columns:repeat(3,1fr);gap:10px;}
  .ohmtra-cat-card{padding:14px 6px;}
  .ohmtra-cat-card .ic{font-size:22px;}
  .ohmtra-cat-card .lb{font-size:11.5px;}
  .ohmtra-why-grid{grid-template-columns:1fr 1fr;gap:12px;}
  .ohmtra-b2b-banner{flex-direction:column;text-align:center;padding:24px;}

  .ohmtra-archive-banner-art{display:none;}
  .ohmtra-archive-banner{padding:18px;flex-direction:column;text-align:center;gap:10px;}
  .ohmtra-trust-badges{grid-template-columns:1fr;}

  /* Product grid: stays 2-up on phones, per request */
  .woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr)!important;gap:10px;}
  ul.products li.product .woocommerce-loop-product__title{font-size:12.5px;min-height:34px;}
  ul.products li.product .price{font-size:14px;padding:2px 10px 8px;}
  ul.products li.product img{padding:10px;}
  ul.products li.product .button{margin:0 10px 8px!important;font-size:11px!important;padding:9px 6px!important;}
  ul.products li.product .ohmtra-sku,ul.products li.product .ohmtra-stock{padding-left:10px;padding-right:10px;font-size:10px;}

  /* Single product: stack, full-width CTAs */
  .ohmtra-single-product form.cart{flex-direction:column;align-items:stretch;}
  .ohmtra-single-product form.cart .quantity{align-self:flex-start;}
  .ohmtra-single-product form.cart .single_add_to_cart_button{width:100%;}
  .ohmtra-product-summary-col .product_title{font-size:22px;}
  .ohmtra-product-summary-col .price ins,.ohmtra-product-summary-col .price>.amount{font-size:24px;}

  /* Cart / checkout / tables scroll instead of squeezing */
  .woocommerce table.shop_table{display:block;overflow-x:auto;white-space:nowrap;}
  #customer_details .col-1,#customer_details .col-2{margin-bottom:16px;}

  .woocommerce-tabs .panel{padding:18px;}
  .ohmtra-page-banner{padding:22px 20px;}
  .ohmtra-page-banner h1{font-size:21px;}
  .ohmtra-page-card{padding:20px;}
}
@media(max-width:480px){
  .ohmtra-footer-grid{grid-template-columns:1fr;}
  .ohmtra-cat-grid{grid-template-columns:repeat(2,1fr);}
  .ohmtra-why-grid{grid-template-columns:1fr;}
  /* Product grid stays 2-up even at the smallest widths (by request) */
  .woocommerce ul.products,ul.products{grid-template-columns:repeat(2,1fr)!important;gap:8px;}
  ul.products li.product .woocommerce-loop-product__title{font-size:11.5px;}
}

/* =========================================================
   LOGIN / SIGN UP (My Account) — email-OTP signup
   ========================================================= */
.ohmtra-auth-single{display:flex;justify-content:center;padding:40px 16px;width:100%;}
.ohmtra-auth-box{
  background:#fff;
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:32px;
  width:100%;
  max-width:420px;
  box-shadow:0 8px 28px rgba(11,29,51,.06);
}
.ohmtra-auth-box h2{font-size:22px;margin:0 0 18px;text-align:center;}
.ohmtra-auth-box .ohmtra-otp-intro{font-size:13px;color:var(--muted);margin:0 0 18px;text-align:center;}
.ohmtra-auth-box .form-row{margin:0 0 14px;position:relative;}
.ohmtra-auth-box label{display:block;font-size:13.5px;font-weight:600;margin-bottom:6px;}
.ohmtra-auth-box input[type="text"],
.ohmtra-auth-box input[type="email"]{width:100%;padding:11px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;}
.ohmtra-auth-box input[type="password"]{width:100%;padding:11px 44px 11px 12px;border:1px solid var(--border);border-radius:8px;font-size:14px;direction:ltr;text-align:left;}
.ohmtra-auth-box input:focus{border-color:var(--teal);outline:none;}
.ohmtra-auth-box .button,
.ohmtra-auth-box button[type="button"]{width:100%;text-align:center;padding:12px;border-radius:8px;font-weight:700;font-size:14px;cursor:pointer;}
.ohmtra-auth-box .ohmtra-otp-resend-link{background:none!important;border:none!important;color:var(--teal-d)!important;width:auto!important;padding:8px 0!important;font-weight:600!important;text-decoration:underline;}
.ohmtra-auth-switch{text-align:center;font-size:14px;margin:18px 0 0;padding-top:16px;border-top:1px solid var(--border);color:var(--muted);}
.ohmtra-auth-switch a{font-weight:700;color:var(--teal-d);}
.ohmtra-otp-sent-msg{font-size:13px;color:var(--success);margin-bottom:12px;}
.ohmtra-otp-status{font-size:13px;margin-top:10px;min-height:18px;text-align:center;}
.woocommerce-LostPassword{margin-top:10px;font-size:13px;text-align:center;}
/* Hide WooCommerce's own show-password-input button — we render our own eye toggle. */
.show-password-input{display:none!important;}
.ohmtra-pw-wrap{position:relative;display:block;width:100%;}
.ohmtra-pw-toggle:hover{color:var(--teal-d)!important;}
.ohmtra-field-hint{display:block;font-size:11.5px;color:var(--muted);margin-top:5px;font-weight:400;}
