/* Catalog layout only. Product appearance is owned by shared/product-card.css. */
.shopwise-main .product-catalog {padding:44px 0 64px;background:#fff;scroll-margin-top:calc(var(--site-header-height,74px) + 20px);}
.shopwise-main .pc-heading {margin-bottom:28px;}
.shopwise-main .pc-heading h2 {margin:0 0 9px;color:#172b46;font-size:24px;line-height:1.5;font-weight:700;scroll-margin-top:calc(var(--site-header-height,74px) + 20px);}
.shopwise-main .pc-heading p {margin:0;color:#758399;font-size:13px;line-height:1.85;font-weight:300;}
.shopwise-main .pc-layout {display:grid;grid-template-columns:repeat(var(--product-full-columns),minmax(0,1fr));gap:var(--product-card-gap);align-items:start;}
.shopwise-main .pc-sidebar {position:sticky;top:calc(var(--site-header-height,74px) + 20px);padding:16px 10px;border:1px solid #dce4ee;border-radius:12px;background:#f4f7fb;}
.shopwise-main .pc-sidebar-heading {display:flex;align-items:center;justify-content:space-between;gap:12px;margin:0 4px 14px;padding:0 0 15px;border-bottom:1px solid #dce4ee;}
.shopwise-main .pc-sidebar-heading h3 {margin:0 0 3px;color:#172b46;font-size:16px;line-height:1.5;font-weight:400;}
.shopwise-main .pc-sidebar-heading p {margin:0;color:#8491a2;font-size:11px;line-height:1.65;font-weight:300;}
.shopwise-main .pc-category-list {display:grid;gap:6px;}
.shopwise-main .pc-category {display:grid;grid-template-columns:28px minmax(0,1fr) auto;align-items:center;gap:8px;width:100%;min-height:57px;padding:10px 8px;border:0;border-radius:8px;background:transparent;color:#586a81;font:400 12px/1.65 var(--cn-font);text-align:left;cursor:pointer;transition:background .2s,color .2s,box-shadow .2s;}
.shopwise-main .pc-category-icon {display:grid;place-items:center;width:28px;height:28px;border-radius:8px;background:linear-gradient(135deg,#228fe5,#5cb6f4);color:#fff;}
.shopwise-main .pc-category-icon svg {width:18px;height:18px;}
.shopwise-main .pc-category-name {min-width:0;overflow-wrap:anywhere;}
.shopwise-main .pc-category-count {color:#8b98a9;font-size:10px;line-height:1.5;font-weight:350;white-space:nowrap;}
.shopwise-main .pc-category:hover {background:#e8f0fa;color:#246ba7;}
.shopwise-main .pc-category[aria-pressed="true"] {background:linear-gradient(110deg,#208ce7,#59b1f4);color:#fff;box-shadow:0 5px 14px #208ce728;}
.shopwise-main .pc-category[aria-pressed="true"] .pc-category-icon {background:#ffffff26;}
.shopwise-main .pc-category[aria-pressed="true"] .pc-category-count {color:#edf7ff;}
.shopwise-main .pc-category-toggle {display:none;align-items:center;gap:6px;padding:8px 10px;border:1px solid #ceddec;border-radius:6px;background:#fff;color:#32658f;font:400 12px/1.5 var(--cn-font);cursor:pointer;white-space:nowrap;}
.shopwise-main .pc-category-toggle svg {width:12px;height:12px;transform:rotate(90deg);}
.shopwise-main .pc-category-toggle[aria-expanded="true"] svg {transform:rotate(-90deg);}
.shopwise-main .pc-products {min-width:0;grid-column:span var(--product-catalog-columns);}
.shopwise-main .pc-toolbar {display:flex;align-items:center;justify-content:space-between;gap:16px;min-height:31px;margin-bottom:16px;}
.shopwise-main .pc-toolbar p {margin:0;color:#61748d;font-size:12px;line-height:1.75;font-weight:300;}
.shopwise-main .pc-reset {flex:none;padding:6px 10px;border:1px solid #dce4ee;border-radius:6px;background:#fff;color:#32658f;font:400 11px/1.6 var(--cn-font);cursor:pointer;}
.shopwise-main .pc-grid {display:grid;grid-template-columns:repeat(var(--product-catalog-columns),minmax(0,1fr));gap:var(--product-card-gap);align-items:stretch;}
.shopwise-main .pc-product-slot {min-width:0;}
.shopwise-main .pc-empty {padding:48px 20px;border:1px solid #dce4ee;border-radius:12px;background:#f5f8fc;text-align:center;}
.shopwise-main .pc-empty h3 {margin:0 0 8px;color:#172b46;font-size:18px;line-height:1.5;font-weight:400;}
.shopwise-main .pc-empty p {margin:0 0 20px;color:#78889d;font-size:13px;line-height:1.85;}
.shopwise-main .pc-pagination {display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:16px;margin-top:24px;padding-top:18px;border-top:1px solid #e3e9f0;}
.shopwise-main .pc-page-summary {color:#7b899c;font-size:11px;line-height:1.8;}
.shopwise-main .pc-page-controls,.shopwise-main .pc-page-numbers {display:flex;align-items:center;gap:6px;}
.shopwise-main .pc-page-controls :is(button,a) {min-width:30px;min-height:32px;padding:6px 9px;border:1px solid #d8e2ee;border-radius:6px;background:#fff;color:#416487;font:400 11px/1.5 var(--cn-font);cursor:pointer;}
.shopwise-main .pc-page-controls :is(button,a)[aria-current="page"] {border-color:#249ee9;background:#249ee9;color:#fff;}
.shopwise-main .pc-page-controls button:disabled {color:#aab4c1;background:#f7f9fb;cursor:default;}
.shopwise-main .product-catalog :is(button,a):focus-visible {outline:2px solid #249ee9;outline-offset:3px;}
@media(max-width:991px) {
 .shopwise-main .pc-layout {grid-template-columns:minmax(0,1fr);gap:20px;}
 .shopwise-main .pc-products {grid-column:auto;}
 .shopwise-main .pc-sidebar {position:static;padding:14px;}
 .shopwise-main .pc-sidebar-heading {margin:0;padding:0;border:0;}
 .shopwise-main .pc-category-toggle {display:inline-flex;}
 .shopwise-main .pc-category-list {grid-template-columns:minmax(0,1fr);margin-top:16px;}
 .shopwise-main .pc-category {min-height:52px;}
}
@media(max-width:575px) {
 .shopwise-main .product-catalog {padding:30px 0 40px;}
 .shopwise-main .pc-heading h2 {font-size:22px;}
 .shopwise-main .pc-heading {margin-bottom:20px;}
 .shopwise-main .pc-pagination {align-items:flex-start;flex-direction:column;gap:12px;}
 .shopwise-main .pc-page-controls {flex-wrap:wrap;}
}
@media(prefers-reduced-motion:reduce) {.shopwise-main .pc-category {transition:none;}}

/* The catalog title, filters, toolbar and results share the search section's surface. */
.shopwise-main .pc-panel {
  padding-block:28px 32px;
  border-radius:14px;
  background:#f4f7f6;
  box-shadow:inset 0 0 0 1px #dce4e7;
}
.shopwise-main .pc-controls {
  display:flex;
  flex-wrap:wrap;
  align-items:center;
  justify-content:space-between;
  gap:10px 16px;
  margin-bottom:13px;
}
.shopwise-main .pc-view-options {display:flex;align-items:center;gap:6px;font-size:12px;color:#586a81;}
.shopwise-main .pc-view-options > span {margin-right:3px;white-space:nowrap;}
.shopwise-main .pc-view-options button {
  min-height:36px;
  padding:5px 10px;
  border:1px solid #d4e0e9;
  border-radius:6px;
  background:#fff;
  color:#425e79;
  font:400 12px/1.5 var(--cn-font);
  white-space:nowrap;
  cursor:pointer;
}
.shopwise-main .pc-view-options button:hover {border-color:#6a99be;}
.shopwise-main .pc-view-options button[aria-pressed="true"] {background:#23659b;border-color:#23659b;color:#fff;}
.shopwise-main .pc-search {
  display:flex;
  align-items:center;
  flex:1 1 250px;
  min-width:0;
  max-width:315px;
  min-height:38px;
  margin-left:auto;
  padding-inline:10px 2px;
  border:1px solid #d4e0e9;
  border-radius:7px;
  background:#fff;
}
.shopwise-main .pc-search:focus-within {border-color:#528bb5;box-shadow:0 0 0 2px #21659e1a;}
.shopwise-main .pc-search input {
  flex:1;
  min-width:0;
  width:100%;
  padding:6px 0;
  border:0;
  outline:0;
  background:transparent;
  color:#172b46;
  font:300 12px/1.6 var(--cn-font);
}
.shopwise-main .pc-search input::placeholder {color:#61748d;}
.shopwise-main .pc-search input::-webkit-search-cancel-button {display:none;}
.shopwise-main .pc-search button {
  display:grid;
  flex:none;
  place-items:center;
  width:33px;
  height:33px;
  padding:0;
  border:0;
  border-radius:5px;
  color:#23659b;
  background:transparent;
  cursor:pointer;
}
.shopwise-main .pc-search button:hover {background:#eaf2f8;}
.shopwise-main .pc-search button svg {width:17px;height:17px;}
.shopwise-main .pc-grid[data-view="simple"] {grid-template-columns:minmax(0,1fr);gap:8px;}

@media(max-width:575px) {
  .shopwise-main .pc-panel {width:calc(100% - 12px);padding:19px 6px 22px;}
  .shopwise-main .pc-search {flex-basis:100%;max-width:none;margin-left:0;}
}
/* Continuous light-gray catalog band, without an outer panel card. */
.shopwise-main .product-catalog{background:#f1f3f5}
.shopwise-main .pc-panel{background:transparent;border:0;border-radius:0;box-shadow:none}
.shopwise-main .pc-category { padding-inline-start: calc(12px + var(--category-depth, 0) * 12px); }
/* Category branches keep native buttons and default to collapsed children. */
.shopwise-main .pc-category-group-heading { display:grid; grid-template-columns:minmax(0,1fr) 28px; align-items:center; gap:2px; }
.shopwise-main .pc-category-expand { display:grid; place-items:center; width:28px; height:32px; padding:5px; background:transparent; border:0; border-radius:5px; color:#406c99; cursor:pointer; }
.shopwise-main .pc-category-expand:hover { background:#e8f0fa; }
.shopwise-main .pc-category-expand svg { width:15px; height:15px; transition:transform .18s ease; }
.shopwise-main .pc-category-expand[aria-expanded="true"] svg { transform:rotate(90deg); }
.shopwise-main .pc-category-children { display:grid; gap:6px; margin-top:6px; }
.shopwise-main .pc-category-list[hidden], .shopwise-main .pc-category-children[hidden] { display:none; }
@media (prefers-reduced-motion:reduce) { .shopwise-main .pc-category-expand svg { transition:none; } }
/* Platform icons establish the first level; quiet nodes distinguish test fields. */
.shopwise-main .pc-sidebar .pc-category { grid-template-columns:22px minmax(0,1fr) auto; gap:10px; min-height:48px; padding-block:9px; }
.shopwise-main .pc-sidebar .pc-category-icon { width:22px; height:24px; border-radius:0; background:transparent; color:#456c93; }
.shopwise-main .pc-sidebar .pc-category-icon svg { width:21px; height:21px; stroke-width:1.65; }
.shopwise-main .pc-sidebar .pc-category[aria-pressed="true"] .pc-category-icon { background:transparent; color:#fff; }
.shopwise-main .pc-sidebar .pc-category-children { margin:2px 0 6px 23px; padding-left:9px; border-left:1px solid #dbe4ef; gap:2px; }
.shopwise-main .pc-sidebar .pc-category--child { grid-template-columns:10px minmax(0,1fr) auto; min-height:39px; padding:7px 8px; gap:8px; font-size:12px; }
.shopwise-main .pc-sidebar .pc-category--child .pc-category-icon { width:10px; height:18px; }
.shopwise-main .pc-category-dot { display:block; width:4px; height:4px; border-radius:50%; background:#8cabc7; }
.shopwise-main .pc-category[aria-pressed="true"] .pc-category-dot { background:#fff; }
