/* Category page: one aligned industrial heading and product shelf. */
.category-page{--wrap:1480px;background:#f5f6f8}
.category-page main.wrap{max-width:none;padding:0}
.catalog-shell{margin:0 0 36px;overflow:clip;border:0;border-radius:0;background:#fff;box-shadow:none}
.category-intro{position:relative;isolation:isolate;overflow:hidden;margin:0;border:0;border-radius:0;background:#e8eef2;box-shadow:none}
.category-intro::before{content:"";position:absolute;z-index:-1;inset:0;background:#d1dce4 url('../img/theme/diamond-tread.svg') repeat 0 0/48px 40px;opacity:.48}
.category-intro .crumbs{display:block;max-width:var(--wrap);margin:0 auto;padding:18px 20px 0;color:var(--type-muted);font-size:var(--type-small);line-height:var(--type-leading-small)}
.category-intro .crumbs .sep{padding:0 3px}
.category-intro .crumbs a{color:var(--type-ink)}
.category-page .category-intro .cat-head{display:block;max-width:var(--wrap);min-height:0;margin:0 auto;padding:8px 20px 21px;border:0;border-radius:0;background:transparent;color:var(--type-ink);box-shadow:none}
.category-page .category-intro .cat-head h1{margin:0;max-width:100%;font-size:var(--type-title);line-height:var(--type-leading-title);letter-spacing:normal;font-style:normal;font-weight:var(--type-bold);text-align:center;text-transform:none;text-shadow:none}
.category-browse{min-width:0;max-width:var(--wrap);margin:0 auto;padding:0 20px 18px;border:0;background:transparent}
.category-browse[hidden]{display:none}
.browse-track{position:relative;min-width:0;width:100%}
.category-page .subnav{display:flex;flex-wrap:nowrap;justify-content:safe center;gap:12px;overflow-x:auto;margin:0;padding:1px 43px;scrollbar-width:none;scroll-snap-type:x proximity;overscroll-behavior-inline:contain}
.category-page .subnav::-webkit-scrollbar{display:none}
.category-page .subnav:focus-visible{outline:2px solid #c99500;outline-offset:2px}
.category-page .subnav a{display:flex;align-items:center;flex:none;gap:0;max-width:180px;height:64px;padding:0;border:1px solid #cbd6df;border-radius:9px;background:#fff;color:var(--type-ink);font-size:var(--type-small);line-height:var(--type-leading-small);font-weight:var(--type-medium);overflow:hidden;scroll-snap-align:start;transition:border-color .2s,box-shadow .2s,background .2s}
.category-page .subnav a:hover{border-color:#8199ac;box-shadow:0 4px 14px #243c5017}
.category-page .subnav a:first-child{min-width:66px;justify-content:center}
.category-page .subnav a.on{border-color:#17385f;background:#17385f;color:var(--type-inverse);box-shadow:inset 0 -3px var(--gold)}
.category-page .subnav a img{width:62px;height:62px;flex:none;object-fit:contain;border-radius:8px 0 0 8px;background:#f4f6f8}
.category-page .subnav a.on img{background:#fff}
.category-page .subnav a img.trade-photo{object-fit:cover}
.category-page .subnav-name{min-width:0;padding:0 10px}
.category-page .subnav a .c{display:none}
.browse-controls{display:none;position:absolute;inset:0;z-index:3;pointer-events:none}
.can-scroll .browse-controls{display:block}
.browse-controls button{position:absolute;top:50%;transform:translateY(-50%);display:grid;place-items:center;width:36px;height:36px;padding:0;border:1px solid #adbdc9;border-radius:50%;background:#fff;color:var(--type-ink);box-shadow:0 2px 9px #1c334929;font-size:var(--type-section);line-height:1;pointer-events:auto}
.browse-controls button:hover:not(:disabled){background:#edf2f6;border-color:#6e8ba4}
.browse-controls button:disabled{opacity:.46;cursor:default}
#subprev{left:0}#subnext{right:0}
.browse-track::before,.browse-track::after{position:absolute;top:0;bottom:0;width:56px;z-index:2;pointer-events:none}
.has-left .browse-track::before{content:"";left:0;background:linear-gradient(90deg,#edf1f4,transparent)}
.can-scroll:not(.at-end) .browse-track::after{content:"";right:0;background:linear-gradient(270deg,#edf1f4,transparent)}
.browse-bottom{display:none}
.browse-hint{font-size:var(--type-small);font-weight:var(--type-medium);color:var(--type-muted)}
.category-page main a:focus-visible,.category-page main button:focus-visible{outline:2px solid #c99500;outline-offset:3px}

/* Filters, sorting and products share the category panel's two-column grid. */
.category-page .listing{display:grid;grid-template-columns:230px minmax(0,1fr);gap:26px;align-items:start;max-width:var(--wrap);margin:0 auto;padding:20px;background:#fff}
.category-page .listing>div{min-width:0}
.category-page .filters{position:sticky;top:124px;max-height:calc(100vh - 145px);overflow:auto;padding:0;border:1px solid #e1e6ed;border-radius:12px;background:#fff;box-shadow:none}
.category-page .fgroup{padding:18px 16px;border-color:#edf0f4}
.filter-heading{display:flex;align-items:center;gap:8px;color:var(--type-heading)}
#freset{margin-left:auto;font-size:var(--type-small);color:var(--type-muted);padding:5px 0;text-decoration:underline;text-underline-offset:3px}
.category-page .fgroup h4{font-size:var(--type-small);margin-bottom:12px;font-weight:var(--type-medium)}
.category-page .fgroup label{font-size:var(--type-small);line-height:var(--type-leading-small);padding:6px 0;align-items:flex-start}
.category-page .fgroup input[type=checkbox]{flex:none;margin:2px 0 0}
.category-page .filters{max-height:min(760px,calc(100dvh - 145px));scrollbar-width:thin}
.category-page .filter-accordion{padding-top:0;padding-bottom:0}
.category-page .filter-accordion summary{display:flex;align-items:center;justify-content:space-between;gap:8px;min-height:46px;list-style:none;color:var(--type-ink);font-size:var(--type-small);font-weight:var(--type-bold);cursor:pointer}
.category-page .filter-accordion summary::-webkit-details-marker{display:none}
.category-page .filter-accordion summary .ico{width:15px;height:15px;flex:none;transition:transform .2s}
.category-page .filter-accordion[open] summary .ico{transform:rotate(90deg)}
.category-page .fgroup-body{max-height:210px;overflow-y:auto;overscroll-behavior:contain;padding:0 3px 13px 0;scrollbar-width:thin}
.category-page .prange input{min-width:0;height:38px;border-width:1px;background:#fafbfd;font-size:var(--type-small)}
.category-page .toolbar{min-height:50px;gap:10px;margin-bottom:17px;padding-bottom:13px;border-bottom:1px solid #dfe5ec}
.category-page .toolbar .cnt{font-size:var(--type-small);font-weight:var(--type-medium);color:var(--type-ink)}
.category-page .toolbar select{max-width:100%;height:38px;border-width:1px;font-size:var(--type-small)}
.category-page .listing .pgrid{grid-template-columns:repeat(5,minmax(0,1fr));gap:16px}
.category-page .pcard{border:1px solid #e1e6ed;border-radius:12px;box-shadow:0 2px 8px #10203804;transition:border-color .2s,box-shadow .2s}
.category-page .pcard:hover{border-color:#afbed0;box-shadow:0 8px 24px #10203812}
.category-page .pcard .im{padding:24px;aspect-ratio:1.15}
.category-page .pcard .bd{padding:8px 18px 18px;gap:10px}
.category-page .pcard .cat{font-size:var(--type-small);letter-spacing:normal}
.category-page .pcard .nm{min-height:59px;font-size:var(--type-small);line-height:var(--type-leading-small)}
.category-page .pcard .ft{padding-top:15px;border-top:1px solid #edf0f4}
.category-page .pcard .price{font-size:var(--type-section)}
.category-page .pcard .stock{font-size:var(--type-small)}

/* A continuous product shelf. */
.category-page .listing .pcard{position:relative;min-width:0}
.category-page .listing .pcard:hover{z-index:1;box-shadow:0 8px 24px #10203812}
.leaf-browse{display:flex;align-items:center;justify-content:center;max-width:var(--wrap);margin:0 auto;padding:0 20px 18px;color:var(--type-ink)}
.leaf-browse[hidden]{display:none}
.leaf-label{flex:none;font-size:var(--type-small);font-weight:var(--type-bold);color:var(--type-muted)}
.leaf-options{display:flex;flex-wrap:wrap;justify-content:center;gap:7px}
.leaf-options a{display:inline-flex;align-items:center;min-height:30px;padding:5px 11px;border:1px solid #cbd6df;border-radius:5px;background:#fff;color:var(--type-ink);font-size:var(--type-small);font-weight:var(--type-medium);line-height:var(--type-leading-small)}
.leaf-options a:hover{border-color:#8199ac}
.leaf-options a.on{border-color:#17385f;background:#17385f;color:var(--type-inverse)}
@media(max-width:640px){.leaf-browse{padding:0 16px 16px}.leaf-options{justify-content:safe center;flex-wrap:nowrap;overflow-x:auto;scrollbar-width:none}.leaf-options a{flex:none}.leaf-options::-webkit-scrollbar{display:none}}

@media(max-width:1399px) and (min-width:1241px){
 .category-page .listing .pgrid{grid-template-columns:repeat(4,minmax(0,1fr))}
}

/* Internal grid lines only; no outline around the product shelf. */
.category-page .listing .pgrid{gap:0}
.category-page .listing .pcard{margin:0;border:0;border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed;border-radius:0;box-shadow:none}
@media(min-width:1400px){
 .category-page .listing .pcard:nth-child(5n),.category-page .listing .pcard:last-child{border-right:0}
 .category-page .listing .pcard:nth-child(5n + 1):nth-last-child(-n + 5),.category-page .listing .pcard:nth-child(5n + 1):nth-last-child(-n + 5) ~ .pcard{border-bottom:0}
}
@media(max-width:1399px) and (min-width:1241px){
 .category-page .listing .pcard{border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed}
 .category-page .listing .pcard:nth-child(4n),.category-page .listing .pcard:last-child{border-right:0}
 .category-page .listing .pcard:nth-child(4n + 1):nth-last-child(-n + 4),.category-page .listing .pcard:nth-child(4n + 1):nth-last-child(-n + 4) ~ .pcard{border-bottom:0}
}
@media(max-width:1240px) and (min-width:641px){
 .category-page .listing .pcard{border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed}
 .category-page .listing .pcard:nth-child(3n),.category-page .listing .pcard:last-child{border-right:0}
 .category-page .listing .pcard:nth-child(3n + 1):nth-last-child(-n + 3),.category-page .listing .pcard:nth-child(3n + 1):nth-last-child(-n + 3) ~ .pcard{border-bottom:0}
}
@media(max-width:640px){
 .category-page .listing .pgrid{gap:0}
 .category-page .listing .pcard{border-right:1px solid #e1e6ed;border-bottom:1px solid #e1e6ed}
 .category-page .listing .pcard:nth-child(2n),.category-page .listing .pcard:last-child{border-right:0}
 .category-page .listing .pcard:nth-child(2n + 1):nth-last-child(-n + 2),.category-page .listing .pcard:nth-child(2n + 1):nth-last-child(-n + 2) ~ .pcard{border-bottom:0}
}
@media(max-width:1240px) and (min-width:981px){
 .category-page .listing{grid-template-columns:210px minmax(0,1fr);gap:20px}
 .category-page .listing .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
}
@media(max-width:980px){
 .category-page .listing{grid-template-columns:1fr}
 .category-page .listing .pgrid{grid-template-columns:repeat(3,minmax(0,1fr))}
 .category-page .filters{position:fixed;top:0;bottom:0;left:0;max-height:100dvh;border-radius:0}
 .category-page .fgroup{padding:18px 20px}
}
@media(max-width:640px){
 .catalog-shell{margin:0 0 20px}
 .category-intro .crumbs{padding:16px 16px 0;font-size:var(--type-small)}
 .category-page .category-intro .cat-head{padding:11px 16px 18px}
 .category-page .category-intro .cat-head h1{font-size:var(--type-title)}
 .category-browse{padding:0 16px 15px}
 .category-page .listing{padding:18px 16px}
 .category-page .subnav{padding:1px 0;gap:10px}
 .category-page .subnav a{height:60px;max-width:175px;font-size:var(--type-small)}
 .category-page .subnav a img{width:58px;height:58px}
 .browse-controls,.can-scroll .browse-controls{display:none}
 .browse-track::before{display:none}
 .can-scroll .browse-bottom{display:block;margin-top:8px}
 .category-page .toolbar{align-items:flex-start;margin-bottom:14px}
 .category-page .toolbar select{max-width:165px;font-size:var(--type-small)}
 .category-page .listing .pgrid{grid-template-columns:repeat(2,minmax(0,1fr));gap:0}
 .category-page .pcard .im{padding:17px 10px;aspect-ratio:1}
 .category-page .pcard .bd{padding:6px 11px 13px;gap:8px}
 .category-page .pcard .nm{min-height:54px;font-size:var(--type-small)}
 .category-page .pcard .cat{font-size:var(--type-small)}
 .category-page .pcard .price{font-size:var(--type-card)}
 .category-page .pcard .stock{font-size:var(--type-small)}
 .category-page .pcard .ft{gap:4px;padding-top:12px}
 .category-page .pcard .add{width:32px;height:32px}
}

@media (min-width: 1024px) {
  .category-page.breakdance .av-shop-sidebar .wc-block-product-filters__overlay-header { display: none; }
}

@media (max-width: 782px) {
  .category-page.breakdance .listing.av-shop-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 8px 10px;
    padding: 14px 16px 24px;
  }
  .category-page.breakdance .av-shop-layout > .av-shop-grid { display: contents; }
  .category-page.breakdance .av-shop-layout .av-shop-sidebar {
    grid-column: 1;
    grid-row: 2;
    min-width: 0;
    border: 0;
    overflow: visible;
  }
  .category-page.breakdance .av-shop-sidebar .av-filter-heading { display: none; }
  .category-page.breakdance .av-shop-sidebar .wc-block-product-filters__open-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    width: 100%;
    min-height: 44px;
    padding: 6px 10px;
    border: 0;
    border-radius: 8px;
    background: #12335b;
    color: var(--type-inverse);
    font: var(--type-medium) var(--type-small)/1.35 var(--type-family);
  }
  .category-page.breakdance .av-shop-grid > .woocommerce-notices-wrapper:empty { display: none; }
  .category-page.breakdance .av-shop-grid > :is(.woocommerce-notices-wrapper,ul.products,.woocommerce-pagination,.woocommerce-info) { grid-column: 1 / -1; }
  .category-page.breakdance .av-shop-grid .woocommerce-result-count,
  .category-page.breakdance .av-shop-grid .av-filter-sale {
    grid-row: 1;
    margin: 0;
    color: var(--type-heading);
    font: var(--type-medium) var(--type-small)/1.4 var(--type-family);
  }
  .category-page.breakdance .av-shop-grid .woocommerce-result-count { grid-column: 1; }
  .category-page.breakdance .av-shop-grid .av-filter-sale { grid-column: 2; justify-self: end; padding: 7px 0; text-decoration: underline; }
  .category-page.breakdance .av-shop-grid .woocommerce-ordering { grid-row: 2; grid-column: 2; width: 100%; margin: 0; }
  .category-page.breakdance .av-shop-grid .woocommerce-ordering :is(.bde-woo-select,select) { width: 100%; }
  .category-page.breakdance .av-shop-grid .woocommerce-ordering select { height: 44px; color: var(--type-heading); }
  .category-page.breakdance .av-shop-grid ul.products { margin: 6px 0 0; padding-top: 8px; }
  .category-page.breakdance .av-shop-sidebar .wc-block-product-filters__close-overlay { width: 44px; height: 44px; justify-content: center; align-items: center; }
  .category-page.breakdance .av-shop-sidebar .wc-block-product-filters__apply { background: #f5b800; color: var(--type-ink); border-radius: 8px; min-height: 44px; font-weight: var(--type-bold); }
}

/* ===== round category rail: the same photo circles as the home page; the current one gets a gold ring ===== */
.category-page .subnav{gap:20px;padding:6px 43px 8px;align-items:flex-start}
.category-page .subnav a,.category-page .subnav a:first-child{flex-direction:column;align-items:center;justify-content:flex-start;gap:10px;width:108px;min-width:0;max-width:108px;height:auto;padding:0;
  border:0;border-radius:0;background:none;box-shadow:none;color:var(--type-ink);font-size:var(--type-small);font-weight:var(--type-medium);line-height:var(--type-leading-small);text-align:center}
.category-page .subnav a:hover,.category-page .subnav a.on{border:0;background:none;box-shadow:none;color:var(--type-ink)}
.category-page .subnav-ic{position:relative;display:grid;place-items:center;flex:none;width:88px;height:88px;border-radius:50%;background:#fff;overflow:hidden;
  box-shadow:0 0 0 1px #dfe5ec,0 8px 18px -10px rgba(11,34,64,.35);transition:transform .2s ease,box-shadow .2s ease}
.category-page .subnav a img,.category-page .subnav a.on img{width:74%;height:74%;border-radius:0;background:none;object-fit:contain;mix-blend-mode:multiply}
.category-page .subnav a:hover .subnav-ic{transform:translateY(-3px);box-shadow:0 0 0 2px #8199ac,0 12px 22px -10px rgba(11,34,64,.4)}
.category-page .subnav a.on .subnav-ic{box-shadow:0 0 0 3px #f5b800,0 10px 22px -10px rgba(11,34,64,.4)}
.category-page .subnav a.on .subnav-name{font-weight:var(--type-bold)}
.category-page .subnav-name{padding:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
/* "Όλα": a navy circle with a small grid icon */
.category-page .subnav-all{background:#12335b}
.category-page .subnav-all::before{content:"";width:12px;height:12px;border-radius:3px;background:#f5b800;transform:translate(-8px,-8px);
  box-shadow:16px 0 0 #fff,0 16px 0 #fff,16px 16px 0 #f5b800}
.category-page .browse-controls button{top:44px}
@media(max-width:640px){
  .category-page .subnav{gap:12px;padding:4px 0 6px}
  .category-page .subnav a,.category-page .subnav a:first-child{width:82px;max-width:82px;font-size:var(--type-small);gap:8px}
  .category-page .subnav-ic{width:70px;height:70px}
}
