
:root{
  --c0:#046bd2;--c1:#045cb4;--c2:#1e293b;--c3:#334155;--c4:#fff;--c5:#F0F5FA;--c6:#111;--c7:#D1D5DB;
  --container:1200px;--radius:4px;
  --shadow:0 1px 2px rgba(0,0,0,.05);
  --font:-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,Oxygen-Sans,Ubuntu,Cantarell,"Helvetica Neue",sans-serif;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:var(--font);font-size:16px;line-height:1.65;color:var(--c3);background:var(--c5)}
a{color:var(--c0);text-decoration:none}
a:hover{color:var(--c1)}
img{max-width:100%;height:auto;display:block}
.site{min-height:100vh;display:flex;flex-direction:column}
.container{width:min(100% - 32px,var(--container));margin:0 auto}
/* Header */
.site-header{background:var(--c4);border-bottom:1px solid var(--c7);position:sticky;top:0;z-index:50}
.header-inner{min-height:80px;display:flex;align-items:center;justify-content:space-between;gap:24px}
.site-title{font-size:1.625rem;font-weight:600;color:var(--c2);letter-spacing:-.01em;white-space:nowrap}
.site-title:hover{color:var(--c0)}
.nav-desktop{display:flex;align-items:center;gap:4px;flex-wrap:wrap;justify-content:flex-end}
.nav-desktop a{display:inline-block;padding:10px 12px;color:var(--c3);font-weight:500;font-size:.95rem;border-radius:var(--radius)}
.nav-desktop a:hover,.nav-desktop a.is-active{color:var(--c1)}
.nav-toggle{display:none;border:0;background:transparent;padding:8px;cursor:pointer}
.nav-toggle span{display:block;width:22px;height:2px;background:var(--c0);margin:5px 0}
.nav-mobile{display:none;border-top:1px solid var(--c7);background:var(--c4)}
.nav-mobile.is-open{display:block}
.nav-mobile a{display:block;padding:14px 16px;border-bottom:1px solid #eef2f7;color:var(--c3);font-weight:500}
.nav-mobile a:hover{background:#f8fafc;color:var(--c1)}
/* Main */
.site-main{flex:1;padding:32px 0 56px}
.page-title{margin:0 0 8px;font-size:2rem;font-weight:600;color:var(--c2)}
.page-lead{margin:0 0 24px;color:var(--c3);max-width:70ch}
.toolbar{display:flex;justify-content:space-between;align-items:center;gap:16px;margin-bottom:20px;flex-wrap:wrap}
.result-count{color:#64748b;font-size:.925rem}
.cat-pills{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 24px}
.cat-pills a{background:var(--c4);border:1px solid var(--c7);color:var(--c3);padding:6px 12px;border-radius:999px;font-size:.875rem}
.cat-pills a:hover,.cat-pills a.is-active{background:var(--c0);border-color:var(--c0);color:#fff}
/* Product grid */
.products{list-style:none;margin:0;padding:0;display:grid;grid-template-columns:repeat(6,1fr);gap:20px}
.product{background:var(--c4);border:1px solid #e8eef5;border-radius:var(--radius);overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s ease,transform .2s ease}
.product:hover{box-shadow:0 8px 24px rgba(15,23,42,.08);transform:translateY(-2px)}
.product-thumb{position:relative;aspect-ratio:1;background:#f8fafc;overflow:hidden}
.product-thumb img{width:100%;height:100%;object-fit:contain;padding:12px}
.product-bag{position:absolute;right:10px;top:10px;width:40px;height:40px;border-radius:50%;background:var(--c0);color:#fff;display:grid;place-items:center;opacity:0;transform:translateY(4px);transition:.2s ease;box-shadow:var(--shadow)}
.product:hover .product-bag{opacity:1;transform:none}
.product-bag svg{width:18px;height:18px;fill:currentColor}
.product-body{padding:12px 14px 16px;display:flex;flex-direction:column;gap:4px;flex:1}
.product-cat{font-size:.75rem;text-transform:uppercase;letter-spacing:.04em;color:#64748b}
.product-title{margin:0;font-size:1rem;font-weight:600;color:var(--c2);line-height:1.35}
.related .product-title{font-size:1rem;font-weight:600}
.product-title a{color:inherit}
.product-title a:hover{color:var(--c0)}
.product-price{margin-top:auto;padding-top:8px;font-weight:600;color:var(--c0);font-size:.95rem}
/* Single product */
.breadcrumb{font-size:.875rem;color:#64748b;margin:0 0 20px}
.breadcrumb a{color:#64748b}
.breadcrumb a:hover{color:var(--c0)}
.product-layout{display:grid;grid-template-columns:1.05fr 1fr;gap:40px;align-items:start;background:var(--c4);border:1px solid #e8eef5;border-radius:8px;padding:28px}
.product-gallery{background:#f8fafc;border-radius:var(--radius);padding:20px;min-height:320px;display:grid;place-items:center}
.product-gallery img{max-height:420px;object-fit:contain}
.product-summary h1{margin:0 0 12px;font-size:2rem;font-weight:600;color:var(--c2);line-height:1.2}
.product-meta{display:flex;flex-wrap:wrap;gap:12px 18px;margin:0 0 16px;font-size:.925rem;color:#64748b}
.stars{color:#FDA256;letter-spacing:1px}
.price-block{font-size:1.5rem;font-weight:700;color:var(--c0);margin:0 0 16px}
.short-desc{margin:0 0 20px;color:var(--c3)}
.btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;background:var(--c0);color:#fff!important;border:0;border-radius:var(--radius);padding:14px 28px;font-weight:500;font-size:1rem;cursor:pointer;box-shadow:var(--shadow);transition:background .15s ease}
.btn:hover{background:var(--c1)}
.btn-ghost{background:transparent;color:var(--c0)!important;border:1px solid var(--c0)}
.btn-ghost:hover{background:rgba(4,107,210,.06)}
.offers{margin:20px 0 0;padding:0;list-style:none;display:grid;gap:8px}
.offers li{display:flex;justify-content:space-between;gap:12px;padding:10px 12px;background:#f8fafc;border:1px solid #e8eef5;border-radius:var(--radius);font-size:.925rem}
.product-content{margin-top:28px;background:var(--c4);border:1px solid #e8eef5;border-radius:8px;padding:28px}
.product-content h2{margin:0 0 12px;font-size:1.35rem;color:var(--c2)}
.product-content p{margin:0 0 12px}
.related{margin-top:36px}
.related > h2{margin:0 0 16px;font-size:1.35rem;color:var(--c2)}
.related .products{grid-template-columns:repeat(4,1fr)}
/* Content pages */
.content-card{background:var(--c4);border:1px solid #e8eef5;border-radius:8px;padding:28px;max-width:800px}
.content-card h1{margin-top:0;color:var(--c2)}
/* Footer */
.site-footer{background:var(--c4);border-top:1px solid var(--c7);padding:22px 0;margin-top:auto}
.footer-inner{display:flex;justify-content:space-between;gap:16px;flex-wrap:wrap;align-items:center;color:#64748b;font-size:.9rem}
.footer-inner a{color:#64748b}
.footer-inner a:hover{color:var(--c0)}
/* Responsive */
@media (max-width:1100px){.products,.related .products{grid-template-columns:repeat(4,1fr)}}
@media (max-width:921px){
  .nav-desktop{display:none}
  .nav-toggle{display:block}
  .products,.related .products{grid-template-columns:repeat(3,1fr)}
  .product-layout{grid-template-columns:1fr;gap:24px;padding:20px}
  .page-title{font-size:1.75rem}
}
@media (max-width:544px){
  .products,.related .products{grid-template-columns:repeat(2,1fr);gap:10px}
  .header-inner{min-height:64px}
  .site-title{font-size:1.25rem}
  /* keep 2-col; fix card footers overflowing in narrow cells */
  .product{min-width:0}
  .product-body{padding:10px;gap:2px;min-width:0}
  .product-cat{font-size:.65rem}
  .product-title,.related .product-title{font-size:.82rem;font-weight:600;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
  .product-price{font-size:.82rem;padding-top:6px;word-break:break-word}
  .product-thumb{aspect-ratio:1}
  .product-thumb img{padding:8px}
  .product-bag{width:32px;height:32px;right:6px;top:6px}
  .product-bag svg{width:14px;height:14px}
  /* site footer stack cleanly under 2-col grid */
  .footer-inner{flex-direction:column;align-items:flex-start;gap:8px}
  .site-footer{padding:16px 0}
}
