/* ============================================================
   GRIGI — tax-product_cat.css v2 (Enqueueror → /product-category/*)
   Βάση: Grigi Category.dc.html (v3). DOM WoodMart 8.3 (ίδιο με Lorin + live HTML):
   .wd-page-title > .wd-page-title-bg + .container > .wd-title-wrapp > .wd-back-btn + h1.entry-title + .term-description
   main.wd-content-layout > aside.wd-sidebar + .wd-content-area > .shop-loop-head > .wd-shop-tools ×2 · .wd-products.wd-grid-g · pagination
   scripts/tax-product_cat.js: breadcrumbs → hero · περιγραφή + toolbar full width πάνω από sidebar+grid · «Φίλτρα» (desktop) · οδηγός full width
   ============================================================ */
body.woodmart-archive-shop{--gg-gutter:28px}

/* ── S1 hero: εικόνα κατηγορίας + σκούρο gradient · breadcrumbs + τίτλος στο κέντρο ── */
body.woodmart-archive-shop .wd-page-title{position:relative;display:flex!important;align-items:center;justify-content:center;min-height:clamp(260px,38vh,420px);margin:0!important;padding:48px 0!important;background-color:#2B2826!important;background-size:cover!important;background-position:center!important;border:0!important;text-align:center;overflow:hidden}  /* theme: inline bg + paddings */
body.woodmart-archive-shop .wd-page-title-bg{z-index:0}
body.woodmart-archive-shop .wd-page-title-bg img{width:100%;height:100%;object-fit:cover}
body.woodmart-archive-shop .wd-page-title:after{content:"";position:absolute;inset:0;z-index:1;pointer-events:none;background:linear-gradient(to top,rgba(20,20,20,.62),rgba(20,20,20,.5) 60%,rgba(20,20,20,.3))}
body.woodmart-archive-shop .wd-page-title>.container{position:relative;z-index:2;width:100%}
body.woodmart-archive-shop .wd-page-title .wd-title-wrapp{display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:0!important;text-align:center!important}  /* theme: flex-row */
body.woodmart-archive-shop .wd-page-title .wd-back-btn,body.woodmart-archive-shop .wd-page-title .wd-btn-show-cat,body.woodmart-archive-shop .wd-page-title .wd-nav-product-cat{display:none!important}  /* η λίστα με ΟΛΕΣ τις κατηγορίες — κλείσ' τη και στο Theme Settings */
body.woodmart-archive-shop .wd-page-title .entry-title{margin:0!important;padding:0 var(--gg-gutter)!important;color:#fff!important;font-family:var(--wd-title-font)!important;font-weight:400!important;font-size:clamp(18px,2vw,26px)!important;line-height:1.2!important;letter-spacing:.12em!important;text-transform:uppercase!important}
body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs{display:flex!important;flex-wrap:wrap;justify-content:center;align-items:center;margin:0 0 18px!important;padding:0 var(--gg-gutter)!important;font-family:var(--wd-text-font);font-size:9.5px!important;font-weight:400!important;letter-spacing:.3em!important;text-transform:uppercase!important;color:#fff!important;opacity:.9}
body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs a,body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs .wd-last,body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs span{color:#fff!important;font-weight:400!important}
body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs a:hover{opacity:.7}
body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs .wd-delimiter{margin:0 .7em}
body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs .wd-delimiter:before{content:"/"!important;font-family:var(--wd-text-font)!important;font-size:inherit!important}
body.woodmart-archive-shop .wd-page-title .term-description{max-width:60ch;margin:16px auto 0!important;padding:0 var(--gg-gutter)!important;color:#fff;font-size:13px;line-height:1.7}  /* μόνο αν δεν τρέξει το JS */

/* ── S2 toolbar: περιγραφή αριστερά · ΦΙΛΤΡΑ · ΤΑΞΙΝΟΜΗΣΗ · N ΠΡΟΪΟΝΤΑ ── */
body.woodmart-archive-shop .wd-content-layout{padding-top:clamp(26px,3vw,42px)!important;padding-bottom:0!important;row-gap:0!important}
body.woodmart-archive-shop .gg-toolbar{grid-column:1 / -1;flex:0 0 100%;width:100%;display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:16px 24px;margin:0 0 clamp(28px,3.4vw,46px);padding:0 0 20px;border-bottom:1px solid var(--gg-line)}
body.woodmart-archive-shop .gg-toolbar .term-description{flex:1 1 320px;max-width:60ch;margin:0!important;padding:0!important;font-size:13px;line-height:1.75;color:var(--gg-text);text-align:left}
body.woodmart-archive-shop .gg-toolbar .term-description p{margin:0}
body.woodmart-archive-shop .shop-loop-head{display:flex!important;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:22px;margin:0!important;padding:0!important;border:0!important;flex:0 0 auto;margin-left:auto!important}
body.woodmart-archive-shop .wd-content-area>.shop-loop-head{width:100%;padding-bottom:20px!important;margin-bottom:28px!important;border-bottom:1px solid var(--gg-line)!important}  /* χωρίς JS */
body.woodmart-archive-shop .shop-loop-head .wd-shop-tools{display:contents!important}
body.woodmart-archive-shop .shop-loop-head .wd-breadcrumbs,body.woodmart-archive-shop .shop-loop-head .wd-products-per-page,body.woodmart-archive-shop .shop-loop-head .wd-products-shop-view,body.woodmart-archive-shop .wd-content-area>.wd-products-per-page,body.woodmart-archive-shop .wd-content-area>.woocommerce-result-count{display:none!important}
body.woodmart-archive-shop .gg-filters-btn,body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a{display:inline-flex;align-items:center;height:auto!important;min-height:0!important;margin:0;padding:0 0 4px!important;border:0!important;border-bottom:1px solid var(--gg-ink)!important;border-radius:0!important;background:none!important;box-shadow:none!important;cursor:pointer;color:var(--gg-ink)!important;font-family:var(--wd-text-font)!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:.24em!important;text-transform:uppercase!important;line-height:1.4!important;transition:opacity .3s}
body.woodmart-archive-shop .gg-filters-btn{order:1}
body.woodmart-archive-shop .gg-filters-btn:hover,body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a:hover{opacity:.55}
body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn{order:1;margin:0!important}
body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a{font-size:0!important;gap:0}
body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a:before{display:none!important}  /* burger icon */
body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a:after{content:"ΦΙΛΤΡΑ";font-size:9.5px;letter-spacing:.24em}
body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering{order:2;display:flex!important;align-items:center;gap:10px;margin:0!important}
body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering:before{content:"ΤΑΞΙΝΟΜΗΣΗ"!important;position:static!important;display:block!important;width:auto!important;height:auto!important;margin:0!important;background:none!important;border:0!important;transform:none!important;opacity:1!important;font-family:var(--wd-text-font)!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:.2em!important;color:var(--gg-mute)!important;line-height:1!important}  /* theme: :before/:after = underline + mobile icon */
body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering:after{display:none!important}
body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering .orderby{width:auto!important;max-width:220px;height:auto!important;min-height:0!important;margin:0!important;padding:4px 18px 5px 0!important;border:0!important;border-bottom:1px solid var(--gg-ink)!important;border-radius:0!important;background:transparent url("data:image/svg+xml;utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 10 6' fill='none' stroke='%23111111' stroke-width='1.1'%3E%3Cpath d='M1 1l4 4 4-4'/%3E%3C/svg%3E") no-repeat right 2px center/8px!important;box-shadow:none!important;font-family:var(--wd-text-font)!important;font-size:12.5px!important;font-weight:300!important;color:var(--gg-ink)!important;-webkit-text-fill-color:var(--gg-ink);text-indent:0!important;opacity:1!important;position:static!important;cursor:pointer;outline:0;-webkit-appearance:none;appearance:none;text-overflow:ellipsis}  /* theme: wd-ordering-mb-icon κρύβει το κείμενο */
body.woodmart-archive-shop .shop-loop-head .woocommerce-result-count{order:3;display:block!important;margin:0!important;padding:0!important;border:0!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:.2em!important;text-transform:uppercase!important;color:var(--gg-mute)!important;white-space:nowrap}

/* ── sidebar φίλτρων (widgets του Shop sidebar) ── */
body.woodmart-archive-shop .wd-sidebar{padding-top:0!important}
body.woodmart-archive-shop .wd-sidebar .widget{margin:0 0 34px!important;padding:0!important;border:0!important}
body.woodmart-archive-shop .wd-sidebar .widget:last-child{margin-bottom:0!important}
body.woodmart-archive-shop .wd-sidebar .widget-title,body.woodmart-archive-shop .wd-sidebar .widgettitle{margin:0 0 16px!important;padding:0 0 14px!important;border-bottom:1px solid var(--gg-line)!important;font-family:var(--wd-text-font)!important;font-style:normal!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:.24em!important;text-transform:uppercase!important;color:var(--gg-ink)!important}  /* global: serif italic */
body.woodmart-archive-shop .wd-sidebar .widget ul{display:flex;flex-direction:column;gap:11px;margin:0!important;padding:0!important;list-style:none}
body.woodmart-archive-shop .wd-sidebar .widget ul ul{margin:11px 0 0 12px!important}
body.woodmart-archive-shop .wd-sidebar .widget li{margin:0!important;padding:0!important;border:0!important;line-height:1.4}
body.woodmart-archive-shop .wd-sidebar .widget li a{font-size:13px;font-weight:300;color:var(--gg-text);transition:color .2s}
body.woodmart-archive-shop .wd-sidebar .widget li a:hover,body.woodmart-archive-shop .wd-sidebar .widget li.current-cat>a,body.woodmart-archive-shop .wd-sidebar .widget li.chosen>a,body.woodmart-archive-shop .wd-sidebar .widget li.wd-active>a,body.woodmart-archive-shop .wd-sidebar .widget li.current-state>a{color:var(--gg-ink)}
body.woodmart-archive-shop .wd-sidebar .count,body.woodmart-archive-shop .wd-sidebar .wd-filter-count{display:none!important}
body.woodmart-archive-shop .wd-sidebar .widget:not(.widget_product_categories):not(.woodmart-woocommerce-product-categories) li>a{display:inline-flex;align-items:center;gap:10px}
body.woodmart-archive-shop .wd-sidebar .widget:not(.widget_product_categories):not(.woodmart-woocommerce-product-categories) li>a:before{content:"";flex:0 0 13px;width:13px;height:13px;border:1px solid #BDBDBD;background:#fff;box-sizing:border-box;transition:background .2s,border-color .2s}  /* τετράγωνο checkbox */
body.woodmart-archive-shop .wd-sidebar .widget li.chosen>a:before,body.woodmart-archive-shop .wd-sidebar .widget li.wd-active>a:before,body.woodmart-archive-shop .wd-sidebar .widget li.current-state>a:before,body.woodmart-archive-shop .wd-sidebar .widget li>a.wd-active:before{background:var(--gg-ink)!important;border-color:var(--gg-ink)!important;box-shadow:inset 0 0 0 2px #fff}
body.woodmart-archive-shop .wd-sidebar .price_slider_wrapper .ui-slider{height:2px;margin:6px 6px 18px;border:0;background:var(--gg-line)}
body.woodmart-archive-shop .wd-sidebar .price_slider_wrapper .ui-slider-range{background:var(--gg-ink)}
body.woodmart-archive-shop .wd-sidebar .price_slider_wrapper .ui-slider-handle{top:-5px;width:12px;height:12px;border:0;border-radius:0;background:var(--gg-ink)}
body.woodmart-archive-shop .wd-sidebar .price_slider_amount{display:flex;align-items:center;justify-content:space-between;gap:10px;font-size:12px;color:var(--gg-text)}
body.woodmart-archive-shop .wd-sidebar .price_slider_amount .button{height:34px;min-height:34px;padding:0 16px;border-radius:0;background:var(--gg-ink);color:#fff;font-size:9px;letter-spacing:.2em}
/* «Φίλτρα» κλειστά (desktop): το grid πιάνει όλο το πλάτος, 4 στήλες */
@media (min-width:1025px){
  body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn{display:none!important}
  body.woodmart-archive-shop.gg-filters-off .wd-content-layout>.wd-sidebar{display:none!important}
  body.woodmart-archive-shop.gg-filters-off .wd-content-layout>.wd-content-area{--wd-col-lg:12!important;--wd-col:12!important;grid-column:1 / -1!important;flex:0 0 100%!important;max-width:100%!important;width:100%!important}  /* theme: inline --wd-col-lg */
  body.woodmart-archive-shop.gg-filters-off .wd-content-area .wd-products.wd-grid-g{--wd-col-lg:4!important;--wd-col:4!important}
}

/* ── grid: ίδιο με αρχική (global.css) — λευκές κάρτες σε γκρι αρμούς 2px ── */
body.woodmart-archive-shop .wd-content-area .wd-products{--wd-gap-lg:2px!important;--wd-gap-md:2px!important;--wd-gap-sm:2px!important;gap:2px!important;background:var(--gg-grey)!important;border:2px solid var(--gg-grey)}

/* ── pagination: 1 2 3 [ΕΠΟΜΕΝΗ] ── */
body.woodmart-archive-shop .woocommerce-pagination,body.woodmart-archive-shop .wd-pagination{margin:0!important;padding:clamp(40px,5vw,72px) 0 0!important;border:0!important;text-align:center}
body.woodmart-archive-shop .woocommerce-pagination ul.page-numbers{display:inline-flex!important;flex-wrap:wrap;justify-content:center;align-items:center;gap:26px;margin:0!important;padding:0!important;border:0!important}
body.woodmart-archive-shop .woocommerce-pagination ul.page-numbers li{float:none;margin:0!important;padding:0!important;border:0!important}
body.woodmart-archive-shop .woocommerce-pagination .page-numbers{display:inline-block!important;width:auto!important;min-width:0!important;height:auto!important;padding:0 0 3px!important;border:0!important;border-radius:0!important;background:none!important;font-family:var(--wd-text-font)!important;font-size:9.5px!important;font-weight:400!important;letter-spacing:.2em!important;line-height:1.4!important;color:var(--gg-mute)!important}
body.woodmart-archive-shop .woocommerce-pagination a.page-numbers:hover{color:var(--gg-ink)!important}
body.woodmart-archive-shop .woocommerce-pagination .page-numbers.current{color:var(--gg-ink)!important;border-bottom:1px solid var(--gg-ink)!important}
body.woodmart-archive-shop .woocommerce-pagination .page-numbers.next,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.prev{padding:14px 30px!important;border:1px solid var(--gg-ink)!important;color:var(--gg-ink)!important;letter-spacing:.22em!important;text-transform:uppercase;transition:background .35s,color .35s}
body.woodmart-archive-shop .woocommerce-pagination .page-numbers.next:hover,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.prev:hover{background:var(--gg-ink)!important;color:#fff!important}
body.woodmart-archive-shop .woocommerce-pagination .page-numbers.next:before,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.next:after,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.prev:before,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.prev:after{display:none!important}  /* theme: βελάκια */
body.woodmart-archive-shop .wd-load-more{height:46px;padding:0 30px;border:1px solid var(--gg-ink);border-radius:0;background:none;color:var(--gg-ink);font-size:9.5px;letter-spacing:.22em}
body.woodmart-archive-shop .wd-load-more:hover{background:var(--gg-ink);color:#fff}

/* ── S3 οδηγός κατηγορίας (Προϊόντα → Κατηγορίες → «Οδηγός») ── */
body.woodmart-archive-shop .gg-cat-guide{grid-column:1 / -1;flex:0 0 100%;width:100%;margin:clamp(56px,6.6vw,100px) 0 0;padding:clamp(34px,4vw,56px) 0 clamp(56px,6.6vw,100px);border-top:1px solid var(--gg-line);text-align:center}
body.woodmart-archive-shop .gg-cat-guide__title{max-width:30ch;margin:0 auto 20px!important;font-family:var(--wd-title-font);font-weight:400;font-size:clamp(15px,1.6vw,20px)!important;line-height:1.3;letter-spacing:.12em;text-transform:uppercase;color:var(--gg-ink)}
body.woodmart-archive-shop .gg-cat-guide__text{max-width:74ch;margin:0 auto;font-size:13.5px;line-height:1.85;color:var(--gg-text)}
body.woodmart-archive-shop .gg-cat-guide__text p{margin:0 0 1em}
body.woodmart-archive-shop .gg-cat-guide__text p:last-child{margin:0}
body.woodmart-archive-shop .wd-content-area .woocommerce-info{border:0;border-radius:0;background:var(--gg-grey);color:var(--gg-ink);padding:22px 24px;font-size:13px}

/* ── responsive ── */
@media (max-width:1024px){
  body.woodmart-archive-shop .gg-filters-btn{display:none!important}
  body.woodmart-archive-shop .wd-page-title{min-height:clamp(200px,30vh,320px)}
  body.woodmart-archive-shop .wd-sidebar.wd-side-hidden,body.woodmart-archive-shop .sidebar-container.wd-side-hidden{padding:0 22px 30px!important}
  body.woodmart-archive-shop .wd-side-hidden .wd-heading{margin:0 -22px 24px;padding:16px 22px;border-bottom:1px solid var(--gg-line)}
}
@media (max-width:768.98px){
  body.woodmart-archive-shop{--gg-gutter:16px}
  body.woodmart-archive-shop .wd-page-title{min-height:200px;padding:36px 0!important}
  body.woodmart-archive-shop .wd-page-title .entry-title{font-size:18px!important;letter-spacing:.1em!important}
  body.woodmart-archive-shop .wd-page-title .wd-breadcrumbs{margin-bottom:12px!important;font-size:8.5px!important;letter-spacing:.22em!important}
  body.woodmart-archive-shop .wd-content-layout{padding-top:18px!important}
  body.woodmart-archive-shop .gg-toolbar{gap:14px;margin-bottom:22px;padding-bottom:14px}
  body.woodmart-archive-shop .gg-toolbar .term-description{flex:1 1 100%;font-size:12.5px;line-height:1.65}
  body.woodmart-archive-shop .shop-loop-head{width:100%;justify-content:space-between;gap:14px;margin-left:0!important}
  body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering:before{display:none!important}
  body.woodmart-archive-shop .shop-loop-head .woocommerce-ordering .orderby{max-width:170px}
  body.woodmart-archive-shop .shop-loop-head .wd-show-sidebar-btn>a{padding-top:12px!important}  /* αφή */
  body.woodmart-archive-shop .woocommerce-pagination ul.page-numbers{gap:18px}
  body.woodmart-archive-shop .woocommerce-pagination .page-numbers.next,body.woodmart-archive-shop .woocommerce-pagination .page-numbers.prev{padding:12px 22px!important}
  body.woodmart-archive-shop .gg-cat-guide{margin-top:48px;padding:30px 0 56px}
  body.woodmart-archive-shop .gg-cat-guide__title{font-size:15px!important}
  body.woodmart-archive-shop .gg-cat-guide__text{font-size:13px}
}
