/*
Theme Name: Life B2B
Theme URI: https://onematyoga.com
Author: Local Store
Description: Wholesale lifestyle goods storefront.
Version: 2.0
*/
:root{
  --ink:#15212b;
  --muted:#667280;
  --line:#dde3e8;
  --accent:#d75f3b;
  --accent-soft:#f8eee9;
  --paper:#f6f8fa;
  --white:#fff;
}
*{box-sizing:border-box}
body{margin:0;color:var(--ink);font-family:Arial,"Microsoft YaHei",sans-serif;background:#fff}
a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.site-header{border-bottom:1px solid var(--line);background:#fff}
.topbar{background:var(--ink);color:#fff;font-size:12px}
.topbar .inner,.header-inner,.nav-inner,.container{max-width:1200px;margin:auto}
.topbar .inner{padding:8px 20px;display:flex;justify-content:space-between;gap:16px}
.header-inner{padding:20px;display:flex;align-items:center;gap:22px}
.logo{font-size:26px;font-weight:800;letter-spacing:0}
.search{flex:1;display:flex;border:1px solid #cfd7dd;background:#fff;height:44px}
.search input{border:0;flex:1;padding:0 14px;font-size:14px;outline:0}
.search button{border:0;background:var(--accent);color:#fff;padding:0 18px;font-weight:700}
.header-links{display:flex;gap:18px;font-size:13px;white-space:nowrap}
.nav{border-top:1px solid var(--line)}
.nav-inner{display:flex;gap:24px;padding:12px 20px;font-size:14px;font-weight:700;overflow:auto}
.nav-inner a:hover{color:var(--accent)}
.container{padding:28px 20px}
.home,.page-shell{padding-top:24px}
.hero{background:#f2f5f6;border:1px solid var(--line);padding:34px;display:flex;gap:28px;justify-content:space-between;align-items:stretch}
.hero-home{min-height:320px}
.hero-copy{max-width:700px}
.hero h1{margin:8px 0 12px;font-size:44px;line-height:1.05}
.hero p{margin:0;color:var(--muted);font-size:16px;line-height:1.7;max-width:42rem}
.eyebrow{margin:0 0 8px;color:var(--accent);font-size:12px;font-weight:700;letter-spacing:0;text-transform:uppercase}
.hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:22px}
.hero-panel{min-width:240px;display:grid;grid-template-columns:1fr;gap:12px;align-content:space-between}
.hero-panel div,.message-preview{border:1px solid var(--line);background:#fff;padding:18px}
.hero-panel strong{display:block;font-size:34px;line-height:1}
.hero-panel span{display:block;margin-top:6px;color:var(--muted)}
.home-band{margin-top:34px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin:0 0 16px}
.section-head h2{margin:0;font-size:24px}
.muted{color:var(--muted)}
.category-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px}
.category{padding:16px 12px;border:1px solid var(--line);background:#fff;text-align:left;display:flex;flex-direction:column;gap:6px;min-height:80px}
.category strong{font-size:14px;line-height:1.4}
.category span{font-size:12px;color:var(--muted)}
.category:hover{border-color:var(--accent);background:var(--accent-soft)}
.products,.woocommerce ul.products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin:0;padding:0}
.woocommerce ul.products:before,.woocommerce ul.products:after{display:none}
.woocommerce ul.products[class*=columns-] li.product{width:auto!important;float:none!important;clear:none!important;margin:0!important;min-width:0}
.home .woocommerce ul.products{grid-template-columns:repeat(4,minmax(0,1fr))}
.product-card,.woocommerce ul.products li.product,.news-card,.message-preview,.inquiry-form,.wholesale-note,.catalog-cats a{border:1px solid var(--line);background:#fff}
.product-card{transition:.15s}
.product-card:hover{box-shadow:0 5px 18px rgba(21,33,43,.08);transform:translateY(-2px)}
.product-card img,.woocommerce ul.products li.product a img{width:100%;aspect-ratio:4/3;object-fit:contain;background:var(--paper);margin:0;padding:16px}
.home .woocommerce ul.products li.product a img{aspect-ratio:1/1;padding:18px}
.product-info{padding:14px}
.product-info h3,.woocommerce ul.products li.product .woocommerce-loop-product__title{margin:0 0 10px;font-size:15px;line-height:1.45;padding:0;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.price,.woocommerce ul.products li.product .price,.woocommerce-Price-amount,.product-price,.product-subtotal,.cart-subtotal,.order-total,.cart_totals .shop_table,.woocommerce-checkout-review-order-table .product-total,.woocommerce-checkout-review-order-table tfoot{display:none!important}
.button{display:inline-flex;align-items:center;justify-content:center;background:var(--ink);color:#fff;padding:11px 16px;font-size:13px;font-weight:700;border:0;cursor:pointer}
.button.accent{background:var(--accent)}
.shop-intro{display:flex;justify-content:space-between;gap:20px;align-items:end;padding:18px;border:1px solid var(--line);background:#fff}
.shop-intro h1{margin:6px 0 8px;font-size:34px}
.shop-intro p{margin:0;color:var(--muted);max-width:44rem;line-height:1.65}
.catalog-search{display:flex;min-width:min(100%, 360px);border:1px solid var(--line);height:44px}
.catalog-search input{border:0;flex:1;padding:0 12px;font:inherit}
.catalog-search button{border:0;background:var(--accent);color:#fff;padding:0 18px;font-weight:700}
.catalog-cats{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:10px;margin:14px 0 22px}
.catalog-cats a{padding:12px;display:flex;justify-content:space-between;align-items:center;font-weight:700}
.catalog-cats a.is-active{border-color:var(--accent);background:var(--accent-soft)}
.catalog-cats span{color:var(--muted);font-size:12px}
.wholesale-note{padding:18px;margin-top:18px}
.wholesale-note strong{display:block;margin-bottom:8px}
.wholesale-note p{margin:0 0 12px;color:var(--muted);line-height:1.7}
.shop-intro-large{margin-bottom:14px}
.woocommerce ul.products li.product{display:flex;flex-direction:column;overflow:hidden}
.woocommerce ul.products li.product .woocommerce-loop-product__title,
.woocommerce ul.products li.product .price,
.woocommerce ul.products li.product .button{padding-left:14px;padding-right:14px}
.woocommerce ul.products li.product .button{margin:0 14px 14px;width:calc(100% - 28px);text-align:center}
.single-product-shell{display:grid;gap:26px}
.product-hero{display:grid;grid-template-columns:1.1fr .9fr;gap:28px;align-items:start}
.product-hero-image img{width:100%;aspect-ratio:1/1;object-fit:cover;border:1px solid var(--line);background:var(--paper)}
.product-hero-copy{border:1px solid var(--line);background:#fff;padding:24px}
.product-hero-copy h1{margin:6px 0 14px;font-size:34px;line-height:1.2}
.product-hero-meta{display:flex;flex-direction:column;gap:10px;margin-bottom:16px}
.product-hero-summary{color:var(--muted);line-height:1.75;margin-bottom:18px}
.product-details{border-top:1px solid var(--line);padding-top:20px;line-height:1.8;color:var(--ink)}
.product-details img{max-width:100%;height:auto}
.site-footer{margin-top:60px;background:var(--ink);color:#fff}
.footer-inner{max-width:1200px;margin:auto;padding:32px 20px;display:flex;justify-content:space-between;gap:24px}
.footer-inner p{color:#b7c0c8;line-height:1.7}
.page-hero{display:flex;align-items:end;justify-content:space-between;gap:18px;padding:18px 0 18px;border-bottom:1px solid var(--line);margin-bottom:24px}
.page-hero h1{margin:0;font-size:30px}
.page-hero p{margin:8px 0 0;color:var(--muted);line-height:1.7;max-width:40rem}
.news-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px}
.news-card{overflow:hidden}
.news-thumb img{width:100%;aspect-ratio:16/10;object-fit:cover;background:var(--paper)}
.news-card-body{padding:16px}
.news-card-body h2{font-size:18px;line-height:1.4;margin:0 0 8px}
.news-card-body p{color:var(--muted);margin:0;line-height:1.7}
.news-meta{font-size:12px;color:var(--muted);margin:0 0 8px}
.message-layout{display:grid;grid-template-columns:1fr 1.1fr;gap:18px;align-items:start}
.message-copy,.message-preview{padding:22px}
.message-copy h2,.message-preview h2{margin:0 0 12px;font-size:28px}
.message-copy p,.message-preview p{margin:0;color:var(--muted);line-height:1.7}
.message-points{display:flex;gap:10px;flex-wrap:wrap;margin-top:18px}
.message-points span{padding:8px 10px;background:var(--accent-soft);border:1px solid #efd4c9;font-size:12px;font-weight:700}
.inquiry-form{padding:20px}
.form-field{display:block;width:100%;padding:12px;border:1px solid var(--line);margin:8px 0 16px;font:inherit;background:#fff}
.notice{padding:14px 16px;margin-bottom:16px;border:1px solid var(--line)}
.notice.success{background:#eef8f2;border-color:#b7e1c6}
.notice.error{background:#fff5f3;border-color:#f0c2b9}
.empty-state{padding:20px;border:1px dashed var(--line);color:var(--muted)}
.pagination{margin-top:30px}
.pagination a,.pagination span{display:inline-block;border:1px solid var(--line);padding:9px 13px;margin-right:4px}
.pagination .current{background:var(--ink);color:#fff}
@media(max-width:1000px){
  .hero,.shop-intro,.message-layout,.product-hero{grid-template-columns:1fr;display:grid}
  .category-grid,.catalog-cats,.products,.woocommerce ul.products,.news-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
}
@media(max-width:720px){
  .topbar .inner,.header-inner,.footer-inner{display:block}
  .topbar .inner span{display:block}
  .header-inner{padding:18px 20px}
  .search{margin:14px 0;width:100%}
  .header-links{margin-top:10px;gap:14px;flex-wrap:wrap}
  .nav-inner{white-space:nowrap}
  .hero h1{font-size:32px}
  .hero-panel strong{font-size:28px}
  .page-hero{display:block}
  .category-grid,.catalog-cats,.products,.woocommerce ul.products,.news-grid{grid-template-columns:1fr}
  .product-hero-copy h1{font-size:28px}
}
