/* WestCare-style WooCommerce catalog */
.wcg-catalog, .wcg-category-section, .wcg-toolbar-wrap, .wcg-products-area {
  width: min(1160px, calc(100% - 32px));
  margin-left: auto;
  margin-right: auto;
}
.wcg-category-section { margin-top: 24px; margin-bottom: 52px; }
.wcg-category-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr)); gap:22px;
}
.wcg-category-card {
  position:relative; display:block; aspect-ratio:1/1; overflow:hidden;
  border-radius:22px; text-decoration:none; background:#edf3fa;
  box-shadow:0 10px 24px rgba(15,45,82,.08);
}
.wcg-category-card img {
  width:100%; height:100%; object-fit:cover; display:block;
  transition:transform .35s ease;
}
.wcg-category-card:hover img { transform:scale(1.045); }
.wcg-category-card:after {
  content:""; position:absolute; inset:0;
  background:linear-gradient(to top,rgba(10,44,83,.20),transparent 58%);
}
.wcg-category-overlay {
  position:absolute; z-index:2; left:16px; right:16px; bottom:16px;
  min-height:72px; padding:13px 14px 13px 18px; border-radius:18px;
  display:flex; align-items:center; justify-content:space-between; gap:12px;
  background:rgba(255,255,255,.86); backdrop-filter:blur(8px);
  box-shadow:0 5px 16px rgba(0,0,0,.08); color:#0c3768;
}
.wcg-category-overlay strong { font-size:18px; line-height:1.25; font-weight:700; }
.wcg-arrow {
  width:46px; height:46px; border-radius:50%; flex:0 0 46px;
  display:grid; place-items:center; background:#a99c86; color:#fff;
  font-size:23px; font-weight:500;
}
.wcg-toolbar-wrap { margin:0 auto 20px; }
.wcg-toolbar {
  display:flex; align-items:center; gap:26px; flex-wrap:wrap;
}
.wcg-search { display:flex; min-height:40px; }
.wcg-search input {
  width:300px; border:1px solid #ddd; border-right:0; padding:10px 14px;
  font-size:14px; outline:none; background:#fff;
}
.wcg-search button {
  border:0; background:#050505; color:#fff; padding:0 22px;
  font-size:12px; letter-spacing:.2px; cursor:pointer;
}
.wcg-sort select {
  min-width:170px; height:40px; padding:0 12px; border:1px solid #ddd;
  background:#fff; font-size:14px; color:#555;
}
.wcg-product-grid {
  display:grid; grid-template-columns:repeat(4,minmax(0,1fr));
  border-left:1px solid #e5e5e5; border-top:1px solid #e5e5e5;
}
.wcg-product-card {
  min-width:0; border-right:1px solid #e5e5e5; border-bottom:1px solid #e5e5e5;
  background:#fff;
}
.wcg-product-image {
  height:270px; display:flex; align-items:center; justify-content:center;
  padding:24px 20px; text-decoration:none; background:#fff;
}
.wcg-product-image img { width:100%; height:100%; object-fit:contain; }
.wcg-product-info { padding:12px 14px 22px; min-height:108px; }
.wcg-product-cat {
  display:block; font-size:13px; color:#777; margin-bottom:5px; text-decoration:none;
}
.wcg-product-info h2 {
  margin:0; font-size:17px; line-height:1.25; font-weight:500;
}
.wcg-product-info h2 a { color:#111; text-decoration:none; }
.wcg-product-info h2 a:hover { color:#0b3c72; }
.wcg-pagination { margin:34px 0 10px; text-align:center; }
.wcg-pagination ul { list-style:none; padding:0; margin:0; display:flex; justify-content:center; gap:8px; }
.wcg-pagination li { margin:0; }
.wcg-pagination a, .wcg-pagination span {
  min-width:38px; height:38px; padding:0 12px; display:inline-flex;
  align-items:center; justify-content:center; border:1px solid #ddd;
  text-decoration:none; color:#173b63; background:#fff; border-radius:4px;
}
.wcg-pagination .current { background:#123c70; color:#fff; border-color:#123c70; }
.wcg-no-results { padding:40px 0; text-align:center; }
@media(max-width:1000px){
  .wcg-category-grid,.wcg-product-grid{grid-template-columns:repeat(3,minmax(0,1fr));}
}
@media(max-width:720px){
  .wcg-category-grid,.wcg-product-grid{grid-template-columns:repeat(2,minmax(0,1fr)); gap:14px;}
  .wcg-category-overlay{left:10px;right:10px;bottom:10px;min-height:58px;padding:9px 10px 9px 12px;}
  .wcg-category-overlay strong{font-size:14px}.wcg-arrow{width:38px;height:38px;flex-basis:38px;font-size:19px}
  .wcg-product-image{height:210px;padding:16px}.wcg-product-info h2{font-size:14px}
  .wcg-search input{width:220px}
}
@media(max-width:480px){
  .wcg-category-grid,.wcg-product-grid{grid-template-columns:1fr 1fr}
  .wcg-search{width:100%}.wcg-search input{flex:1;width:auto}
  .wcg-toolbar{gap:12px}.wcg-sort{width:100%}.wcg-sort select{width:100%}
}
