/* Base */
body{
  font-family:"Poppins",-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;
  margin:0;
  background-color:#f8f9fa;
  color:#212529;
}

/* Back to top button */
.back-to-top{
  position:fixed;
  right:20px;
  bottom:20px;
  width:48px;
  height:48px;
  border-radius:999px;
  border:0;
  background:#111;
  color:#fff;
  box-shadow:0 10px 24px rgba(0,0,0,.2);
  cursor:pointer;
  font-size:20px;
  line-height:48px;
  text-align:center;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
  z-index:1500;
}
.back-to-top.is-visible{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
.back-to-top:hover{ background:#000; }
.back-to-top:active{ transform:translateY(1px); }

/* Floating favorites shortcut (always visible) */
.favorites-floating{
  position:fixed;
  right:20px;
  bottom:76px;
  width:48px;
  min-height:48px;
  border-radius:4px;
  border:0;
  background:#4b4b4b;
  color:#fff;
  box-shadow:0 8px 18px rgba(0,0,0,.2);
  text-decoration:none;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:1px;
  z-index:1701;
}
.favorites-floating .icon{
  font-size:20px;
  line-height:1;
}
.favorites-floating .count{
  font-size:12px;
  line-height:1;
  color:#fff;
}
.favorites-floating:hover{
  background:#3f3f3f;
}

/* Floating filters shortcut (mobile: appears after scroll) */
.filters-floating{
  display:none;
  position:fixed;
  left:12px;
  bottom:18px;
  min-height:52px;
  padding:4px 8px 4px 4px;
  border-radius:999px;
  border:1px solid #dee2e6;
  background:#fff;
  color:#212529;
  box-shadow:0 8px 18px rgba(0,0,0,.2);
  text-decoration:none;
  display:inline-flex;
  flex-direction:row;
  align-items:center;
  justify-content:center;
  gap:8px;
  z-index:1701;
  opacity:0;
  transform:translateY(8px);
  pointer-events:none;
  transition: opacity .18s ease, transform .18s ease;
}
.filters-floating .icon{
  width:44px;
  height:44px;
  border-radius:999px;
  background:#ffc107;
  color:#1f2937;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  line-height:0;
}
.filters-floating .icon .filters-floating-icon-img{
  display:block;
  width:22px;
  height:22px;
  object-fit:contain;
}
body.filters-floating-show .filters-floating{
  opacity:1;
  transform:translateY(0);
  pointer-events:auto;
}
body.filters-mobile-open .filters-floating{
  opacity:0;
  pointer-events:none;
}

/* Cookie bar */
.cookie-bar{
  position:fixed;
  left:0;
  right:0;
  bottom:0;
  z-index:1600;
  background:#1f1f1f;
  color:#fff;
  padding:14px 16px;
  display:none;
}
.cookie-bar-inner{
  width:min(1400px,85vw);
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  flex-wrap:wrap;
}
.cookie-bar-text{
  font-size:13px;
  font-weight:600;
  color:#f1f1f1;
}
.cookie-bar-actions{
  display:flex;
  align-items:center;
  gap:10px;
}
.cookie-more{
  color:#fff;
  text-decoration:underline;
  font-weight:700;
  font-size:13px;
}
.cookie-accept{
  border:0;
  background:#4c8dff;
  color:#fff;
  font-weight:800;
  padding:10px 14px;
  border-radius:10px;
  cursor:pointer;
  font-size:13px;
}
.cookie-accept:hover{
  background:#2f79ff;
}

body.cookie-bar-visible .back-to-top{
  bottom:92px;
}
body.cookie-bar-visible .favorites-floating{
  bottom:108px;
}
body.cookie-bar-visible .filters-floating{
  bottom:86px;
}

/* Header + Nav */
.site-header{
  background-color:#212529;
  color:#fff;
  padding:10px 20px;
}
.logo .logo-link{
  display:inline-flex;
  align-items:center;
  text-decoration:none;
  line-height:0;
}
.logo .logo-img{
  display:block;
  height:44px;
  width:auto;
  max-width:min(70vw,240px);
  object-fit:contain;
}
.site-nav{
  background-color:#343a40;
  color:#fff;
  position:sticky;
  top:0;
  z-index:1800;
}
.mobile-menu-toggle{
  display:none;
  border:0;
  background:transparent;
  color:#fff;
  padding:6px 10px 4px;
  cursor:pointer;
  line-height:1;
  min-width:46px;
}
.mobile-menu-toggle-inner{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:3px;
}
.mobile-menu-bars{
  display:inline-flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:4px;
}
.mobile-menu-bars span{
  display:block;
  width:22px;
  height:2.5px;
  border-radius:2px;
  background:#fff;
}
.mobile-menu-text{
  font-size:10px;
  line-height:1;
  letter-spacing:.02em;
  font-weight:700;
  color:#fff;
}

.mobile-logo{
  display:none;
  align-items:center;
  justify-content:center;
  padding:0 6px 0 0;
  text-decoration:none;
}
.mobile-logo-img{
  height:34px;
  width:auto;
  max-width:160px;
  object-fit:contain;
}
.mobile-favorites{
  display:none;
}
.menu{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  list-style:none;
  margin:0;
  padding:0 20px;
}
.menu>li{
  position:relative;
  padding:12px 15px;
  display:flex;
  align-items:center;
  gap:10px;
}
.menu>li>a{
  color:#fff;
  text-decoration:none;
}
.menu>li:hover{ background-color:#495057; }
.menu-root-link{
  color:#fff;
  text-decoration:none;
}
.menu-root-link.has-children{ cursor:pointer; }

.no-scroll{ overflow:hidden; }
.drill-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:2000;
}
.drill-drawer{
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  width:320px;
  max-width:86vw;
  background:#fff;
  box-shadow: 0 10px 30px rgba(0,0,0,.25);
  transform:translateX(-110%);
  transition:transform .22s ease;
  z-index:2001;
  display:flex;
  flex-direction:column;
}
.drill-drawer.is-open{ transform:translateX(0); }

/* Brands menu inside drill drawer */
.drill-drawer.is-brand-menu{
  width:560px;
  max-width:92vw;
}
.drill-brand-layout{
  display:grid;
  grid-template-columns:120px 1fr;
  gap:12px;
  padding:6px 12px 10px 12px;
}
.drill-brand-letters{
  position:sticky;
  top:0;
  align-self:start;
  border-right:1px solid #e9ecef;
  padding-right:8px;
  max-height: calc(100vh - 140px);
  overflow:auto;
  display:grid;
  grid-template-columns:repeat(2, minmax(0, 1fr));
  gap:8px;
}
.brand-letter-btn{
  height:34px;
  width:100%;
  border-radius:8px;
  border:1px solid #dee2e6;
  background:#fff;
  cursor:pointer;
  font-weight:800;
  color:#212529;
}
.brand-letter-btn.is-active{
  background:#212529;
  border-color:#212529;
  color:#fff;
}
.brand-letter-btn.is-disabled{
  background:#f1f3f5;
  border-color:#e9ecef;
  color:#adb5bd;
  cursor:default;
  pointer-events:none;
}
.drill-brand-list-wrap{
  padding-left:6px;
  overflow:auto;
  max-height: calc(100vh - 140px);
}
.drill-brand-subtitle{
  font-weight:800;
  color:#212529;
  margin:2px 0 8px 0;
  text-align:center;
}
.drill-brand-list{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.drill-brand-item{
  display:block;
  text-decoration:none;
  color:#212529;
  font-weight:800;
  text-align:center;
  padding:8px 10px;
  background:#f1f3f5;
  border-radius:8px;
  border:1px solid #e9ecef;
}
.drill-brand-item:hover{
  background:#e9ecef;
}
.drill-brand-item.is-inactive{
  opacity:.58;
  cursor:not-allowed;
  color:#868e96;
  background:#f8f9fa;
  border-style:dashed;
  user-select:none;
}
.drill-brand-item.is-inactive:hover{
  background:#f8f9fa;
}
.drill-brand-empty{
  color:#6c757d;
  text-align:center;
  padding:18px 0;
  font-weight:600;
}
.drill-head{
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px;
  border-bottom:1px solid #e9ecef;
  background:#fff;
}
.drill-close{
  width:34px;
  height:34px;
  border-radius:10px;
  border:1px solid #dee2e6;
  background:#fff;
  cursor:pointer;
  font-size:20px;
  line-height:1;
  color:#212529;
}
.drill-title{
  font-weight:800;
  font-size:14px;
  color:#212529;
}
.drill-body{ padding:3px 0; overflow:auto; }
.drill-list{
  list-style:none;
  margin:0;
  padding:0;
}
.drill-list li a{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 12px;
  text-decoration:none;
  color:#212529;
  font-size:14px;
}
.drill-list li a:hover{ background:#f8f9fa; }

.drill-back-link{
  font-weight:900;
}

.drill-back-row{
  grid-column: 1 / -1;
  position:sticky;
  top:0;
  background:#fff;
  z-index:5;
  padding:8px 12px 6px 12px;
  margin-bottom:2px;
  border-bottom:1px solid #e9ecef;
}
.drill-back-row .drill-back-link{
  display:inline-block;
  padding:2px 0;
  color:#212529;
  text-decoration:none;
}
.drill-back-row .drill-back-link:hover{
  text-decoration:underline;
}
.drill-thumb-wrap{
  flex-shrink:0;
  width:44px;
  height:44px;
  border-radius:10px;
  overflow:hidden;
  background:#f8f9fa;
  border:1px solid #e9ecef;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.drill-thumb-wrap img.drill-thumb{
  max-width:100%;
  max-height:100%;
  width:auto;
  height:auto;
  object-fit:contain;
  object-position:center;
  display:block;
}
.drill-thumb--pct{
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  font-size:18px;
  line-height:1;
  color:#c92a2a;
  background:linear-gradient(145deg,#fff9db,#ffe066);
  border:1px solid #fcc419;
}
.drill-row-label{
  flex:1;
  min-width:0;
}

/* (removed inline sidebar drilldown; now off-canvas drawer) */

/* Layout */
main{
  padding:20px;
  width:min(1400px, 85vw);
  margin:0 auto;
}

/* Admin: use almost full viewport width for denser tables/forms */
body.page-admin main{
  width:calc(100% - 12px);
  max-width:none;
  margin:0 0 0 12px;
  padding:14px 12px 20px 0;
}

/* Tom Select: searchable category dropdowns in admin */
body.page-admin .field .ts-wrapper.admin-ts-category{
  max-width:100%;
  min-width:0;
}
body.page-admin .admin-table-mapping td .ts-wrapper.admin-ts-category{
  min-width:180px;
  max-width:min(420px, 92vw);
}
body.page-admin .ts-dropdown .dropdown-input{
  font-size:13px;
  padding:8px 10px;
}

/* Mobile/tablet: reduce side gutters so content uses more viewport width */
@media (max-width:980px){
  main{
    width:96vw;
    padding:14px 10px;
  }
}
@media (max-width:520px){
  main{
    width:98vw;
    padding:12px 8px;
  }
}

/* Breadcrumb */
.breadcrumb{
  margin: 6px 0 14px 0;
}
.breadcrumb ol{
  list-style:none;
  margin:0;
  padding:0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
  color:#6c757d;
  font-size:13px;
}
.breadcrumb li{
  display:flex;
  align-items:center;
  gap:8px;
}
.breadcrumb li:not(:last-child)::after{
  content: "›";
  color:#adb5bd;
}
.breadcrumb a{
  color:#495057;
  text-decoration:none;
}
.breadcrumb a:hover{ text-decoration:underline; }
.breadcrumb span[aria-current="page"]{
  color:#212529;
  font-weight:600;
}
@media (max-width:520px){
  .breadcrumb{
    overflow-x:auto;
    overflow-y:hidden;
    -webkit-overflow-scrolling:touch;
    padding-bottom:2px;
  }
  .breadcrumb ol{
    flex-wrap:nowrap;
    white-space:nowrap;
    width:max-content;
  }
  .breadcrumb li{
    flex:0 0 auto;
  }
}
.panel{
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  padding:14px;
}

/* Admin auth panel */
.admin-auth-panel{
  max-width:420px;
  margin:20px auto;
}
.admin-auth-panel h1{
  margin-top:0;
  font-size:22px;
}
.admin-note{
  font-size:13px;
  color:#6c757d;
  margin-bottom:14px;
}
.admin-login-form .field label{
  font-weight:600;
}

/* Admin dashboard layout (left sidebar like WP/Magento) */
.admin-shell{
  display:grid;
  grid-template-columns:240px 1fr;
  gap:16px;
  align-items:start;
}
.admin-sidebar{
  position:sticky;
  top:14px;
}
.admin-sidebar-title{
  font-size:18px;
  font-weight:800;
  margin-bottom:10px;
}
.admin-sidebar-nav{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.admin-nav-link{
  display:block;
  text-decoration:none;
  color:#212529;
  padding:8px 10px;
  border-radius:8px;
  border:1px solid #dee2e6;
  background:#fff;
  font-weight:600;
}
.admin-nav-link:hover{ background:#f8f9fa; }
.admin-nav-link.is-active{
  background:#212529;
  border-color:#212529;
  color:#fff;
}
.admin-logout-link{
  display:block;
  margin-top:14px;
  text-decoration:none;
  color:#c92a2a;
  font-weight:700;
}

/* Admin sidebar nested section */
.admin-sidebar-subnav{
  display:flex;
  flex-direction:column;
  gap:4px;
  padding-left:10px;
  margin-top:4px;
}
.admin-sidebar-section-label{
  padding:0 12px;
  margin-top:8px;
  font-size:12px;
  font-weight:900;
  color:#6c757d;
}
.admin-sidebar-subnav .admin-nav-link{
  padding:7px 10px;
  font-weight:700;
}
.admin-sidebar-subnav .admin-nav-link.is-active{
  background:#212529;
  border-color:#212529;
  color:#fff;
}
.admin-content h1{
  margin-top:0;
}
.admin-flash{
  margin:0 0 12px 0;
  padding:10px 12px;
  border-radius:8px;
  background:#e7f5ff;
  border:1px solid #d0ebff;
  color:#1c7ed6;
  font-size:13px;
  font-weight:600;
}

/* Admin HTML editor */
.admin-html-editor-wrap{
  border:1px solid #dee2e6;
  border-radius:10px;
  background:#fff;
  overflow:hidden;
}
.admin-html-toolbar{
  display:flex;
  gap:8px;
  flex-wrap:wrap;
  padding:10px 12px;
  border-bottom:1px solid #e9ecef;
  background:#f8f9fa;
}
.admin-html-toolbar button{
  border:1px solid #dee2e6;
  background:#fff;
  border-radius:8px;
  padding:6px 10px;
  font-weight:800;
  font-size:12px;
  cursor:pointer;
}
.admin-html-toolbar button:hover{
  background:#f1f3f5;
}
.admin-html-editor{
  min-height:220px;
  padding:12px;
  outline:none;
}
.admin-html-editor:empty:before{
  content: "Γράψε εδώ HTML περιεχόμενο...";
  color:#adb5bd;
}
.admin-tree ul{
  margin:8px 0 8px 18px;
  padding:0;
}
.admin-tree li{
  margin:4px 0;
}
.admin-tree-item small{
  color:#6c757d;
}
.admin-count{
  font-style:normal;
  color:#495057;
  font-weight:700;
  margin-left:6px;
  font-size:12px;
}
.admin-root-group{
  border:1px solid #e9ecef;
  border-radius:8px;
  margin-bottom:10px;
  background:#fff;
}
.admin-root-group > summary{
  list-style:none;
  cursor:pointer;
  padding:10px 12px;
  display:flex;
  align-items:center;
  gap:8px;
  border-bottom:1px solid #f1f3f5;
}
.admin-root-group > summary::-webkit-details-marker{ display:none; }
.admin-root-title{
  font-weight:800;
}
.admin-tree-root-content{
  padding:8px 12px 10px 12px;
}
.admin-tree-item-row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:4px 0;
}
.admin-edit-link{
  text-decoration:none;
  font-size:12px;
  font-weight:700;
  color:#0d6efd;
}
.admin-edit-link:hover{
  text-decoration:underline;
}
.admin-inline-form{
  margin:6px 0 8px 0;
  display:grid;
  grid-template-columns:1fr auto;
  gap:8px;
}
.admin-inline-form input[type="text"]{
  width:100%;
  padding:8px 10px;
  border:1px solid #dee2e6;
  border-radius:8px;
  font-size:13px;
  box-sizing:border-box;
}
.admin-inline-form .btn{
  padding:8px 10px;
  font-size:12px;
  border-radius:8px;
}
.admin-pending-imports{
  margin-bottom:20px;
  padding:16px;
}
.admin-pending-imports-title{
  margin:0 0 8px 0;
  font-size:18px;
  font-weight:800;
}
.admin-pending-imports-actions{
  margin-top:12px;
}
.admin-hidden-form{
  display:none !important;
}
.admin-sr-only{
  position:absolute;
  width:1px;
  height:1px;
  padding:0;
  margin:-1px;
  overflow:hidden;
  clip:rect(0,0,0,0);
  white-space:nowrap;
  border:0;
}
.admin-xml-cat-cell{
  vertical-align:top;
  min-width:160px;
}
.admin-xml-cat-path{
  line-height:1.4;
  font-size:13px;
}
.admin-xml-cat-path-line{
  padding:2px 0;
}
.admin-table-wrap{
  overflow:auto;
}
.admin-product-filters{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  align-items:end;
  margin:0 0 12px 0;
}
.admin-product-filters .field{
  margin:0;
  flex:1 1 220px;
  min-width:220px;
}
.admin-product-filters .field label{
  font-size:12px;
  color:#6c757d;
  margin-bottom:4px;
  display:block;
}
.admin-product-filters .btns{
  margin:0;
  display:flex;
  gap:8px;
  width:100%;
}
.admin-product-filters .btn{
  white-space:nowrap;
}
.admin-product-filters .admin-product-search-field{
  flex:2 1 280px;
  min-width:200px;
  max-width:min(420px, 100%);
}
.admin-product-filters .admin-product-search-field input{
  width:100%;
  max-width:100%;
  box-sizing:border-box;
  padding:8px 10px;
  border:1px solid #dee2e6;
  border-radius:8px;
  font-size:13px;
}
.admin-table{
  width:100%;
  border-collapse:collapse;
  font-size:13px;
}
.admin-table th,
.admin-table td{
  border:1px solid #e9ecef;
  padding:8px 10px;
  text-align:left;
  white-space:nowrap;
}
.admin-table thead th{
  background:#f8f9fa;
  font-weight:800;
}
.admin-import-skips-table-wrap{
  max-width:100%;
  overflow-x:auto;
  overflow-y:auto;
}
.admin-import-skips-table{
  min-width:760px;
  table-layout:fixed;
}
.admin-import-skips-table th,
.admin-import-skips-table td{
  white-space:normal;
  word-break:break-word;
}
.admin-table-compact{
  font-size:12px;
}
.admin-table-compact th,
.admin-table-compact td{
  padding:5px 7px;
}
.admin-table-mapping th:nth-child(1),
.admin-table-mapping td:nth-child(1){
  width:110px;
  max-width:130px;
}
.admin-table-mapping th,
.admin-table-mapping td{
  white-space:normal;
  word-break:break-word;
}
.admin-mapping-select{
  width:100%;
  max-width:220px;
  min-width:0;
  font-size:12px;
  padding:6px 8px;
}
.admin-brand-thumb{
  width:58px;
  height:58px;
  object-fit:contain;
  border:1px solid #e9ecef;
  border-radius:8px;
  background:#fff;
  display:block;
}
.admin-thumb-empty{
  font-size:12px;
  color:#adb5bd;
}

/* Admin: products list (tab=products) — smaller product column + thumbnail */
.admin-products-table{
  table-layout:fixed;
}
.admin-products-table .admin-col-thumb{
  width:44px;
  min-width:44px;
  max-width:44px;
  text-align:center;
}
.admin-products-table .admin-product-thumb{
  width:34px;
  height:34px;
  object-fit:contain;
  border:1px solid #e9ecef;
  border-radius:8px;
  background:#fff;
  display:block;
  margin:0 auto;
}
.admin-products-table .admin-col-id{
  width:46px;
  min-width:46px;
  max-width:46px;
}
.admin-products-table .admin-col-brand,
.admin-products-table .admin-col-merchant,
.admin-products-table .admin-col-price,
.admin-products-table .admin-col-clicks,
.admin-products-table .admin-col-redirect{
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-products-table .admin-col-brand{
  width:95px;
  min-width:95px;
  max-width:95px;
}
.admin-products-table .admin-col-merchant{
  width:110px;
  min-width:110px;
  max-width:110px;
}
.admin-products-table .admin-col-price{
  width:70px;
  min-width:70px;
  max-width:70px;
}
.admin-products-table .admin-col-clicks{
  width:45px;
  min-width:45px;
  max-width:45px;
}
.admin-products-table .admin-col-redirect{
  width:100px;
  min-width:100px;
  max-width:100px;
}
.admin-products-table .admin-col-product{
  width:520px;
  min-width:520px;
  max-width:520px;
  overflow:hidden;
  text-overflow:clip;
}
.admin-products-table .admin-col-category{
  max-width:180px;
  overflow:hidden;
  white-space:normal;
}
.admin-products-table .admin-col-brand{
  width:80px;
  min-width:80px;
  max-width:80px;
}
.admin-products-table .admin-col-merchant{
  width:90px;
  min-width:90px;
  max-width:90px;
}
.admin-products-table .admin-col-price{
  width:55px;
  min-width:55px;
  max-width:55px;
}
.admin-products-table .admin-col-clicks{
  width:35px;
  min-width:35px;
  max-width:35px;
}
.admin-products-table .admin-col-redirect{
  width:75px;
  min-width:75px;
  max-width:75px;
}
.admin-products-table .admin-col-sync{
  width:118px;
  min-width:118px;
  max-width:118px;
  white-space:normal;
  vertical-align:middle;
}
.admin-products-table .admin-col-sync .btn{
  font-size:12px;
  padding:6px 8px;
}
.admin-products-table .admin-col-active{
  width:70px;
  min-width:70px;
  max-width:70px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}
.admin-category-trail{
  display:block;
}
.admin-category-trail-line{
  display:block;
  font-size:12px;
  line-height:1.25;
  word-break:break-word;
}
.admin-products-table .admin-product-name{
  display:block;
  overflow:hidden;
  text-overflow:clip;
  white-space:normal;
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
}

/* Admin: modal (π.χ. επεξεργασία brand) */
.admin-modal[hidden]{
  display:none !important;
}
.admin-modal:not([hidden]){
  display:flex;
  align-items:flex-start;
  justify-content:center;
  position:fixed;
  inset:0;
  z-index:10000;
  padding:24px 16px;
  box-sizing:border-box;
  overflow:auto;
}
.admin-modal-backdrop{
  position:absolute;
  inset:0;
  background:rgba(15,23,42,0.45);
  cursor:pointer;
}
.admin-modal-panel{
  position:relative;
  z-index:1;
  width:100%;
  max-width:520px;
  margin:auto;
  background:#fff;
  border-radius:12px;
  box-shadow:0 25px 50px -12px rgba(0,0,0,0.25);
  border:1px solid #e9ecef;
}
.admin-modal-header{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:14px 16px;
  border-bottom:1px solid #e9ecef;
}
.admin-modal-title{
  margin:0;
  font-size:1.1rem;
  font-weight:800;
}
.admin-modal-close{
  border:0;
  background:transparent;
  font-size:1.75rem;
  line-height:1;
  cursor:pointer;
  color:#6c757d;
  padding:0 4px;
  border-radius:6px;
}
.admin-modal-close:hover{
  color:#212529;
  background:#f1f3f5;
}
.admin-modal-body{
  padding:16px;
  max-height:min(70vh, 640px);
  overflow-y:auto;
}

.admin-brand-form{
  display:grid;
  grid-template-columns:minmax(180px,1fr) minmax(170px,1fr) auto;
  gap:8px;
  align-items:center;
}
.admin-brand-form input[type="text"]{
  width:100%;
  padding:8px 10px;
  border:1px solid #dee2e6;
  border-radius:8px;
  font-size:13px;
  box-sizing:border-box;
}
.admin-brand-form input[type="file"]{
  font-size:12px;
}
.admin-products-pager{
  margin-top:10px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:10px;
  flex-wrap:wrap;
}
.admin-pager-wrap{
  display:flex;
  align-items:center;
  gap:8px;
  flex-wrap:wrap;
}
.admin-pagination-list{
  display:flex;
  align-items:center;
  gap:6px;
}
.admin-page-current{
  background:#212529;
  color:#fff;
  border-color:#212529;
  opacity:1;
}
.admin-per-page-form{
  display:flex;
  align-items:center;
  gap:8px;
}
.admin-per-page-form select{
  height:34px;
  border-radius:8px;
  border:1px solid #dee2e6;
  padding:6px 10px;
  background:#fff;
  font-size:13px;
}
@media (max-width:980px){
  .admin-shell{ grid-template-columns:1fr; }
  .admin-sidebar{ position:relative; top:auto; }
  .admin-product-filters{
    grid-template-columns:1fr;
  }
  .admin-brand-form{
    grid-template-columns:1fr;
  }
}

/* Home */
.hero{
  background:#fff;
  border-radius:10px;
  padding:25px 20px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
}
.hero h1{ margin-top:0; }
.hero p{ margin-bottom:0; color:#555; }
.category-links{ margin-top:20px; }
.category-links a{
  display:inline-block;
  margin:5px 8px 5px 0;
  padding:6px 10px;
  background-color:#e9ecef;
  border-radius:4px;
  text-decoration:none;
  color:#212529;
  font-size:14px;
}
.category-links a:hover{ background-color:#ced4da; }

/* Home brand + categories (like screenshot) */
.home-hero{
  background:#fff;
  border-radius:10px;
  padding:28px 20px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  text-align:center;
}
.home-brand-logo{
  display:block;
  margin:0 auto;
  line-height:0;
}
.home-brand-logo-img{
  display:block;
  max-width:min(92vw,420px);
  width:100%;
  height:auto;
  margin:0 auto;
}
.home-main-title{
  margin:12px auto 0;
  max-width:36rem;
  font-size:clamp(1.1rem, 2.6vw, 1.45rem);
  font-weight:600;
  color:#212529;
  line-height:1.3;
}
.home-brand-tag{
  margin-top:6px;
  color:#555;
  font-size:14px;
}
.home-brand-meta{
  margin-top:4px;
  color:#6c757d;
  font-size:13px;
  font-weight:600;
}
.home-cat-strip{
  margin-top:18px;
  display:flex;
  justify-content:center;
  gap:26px;
  flex-wrap:wrap;
}
.home-cat-tile{
  width:130px;
  text-decoration:none;
  color:#212529;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
}
.home-cat-media{
  width:100%;
  max-width:130px;
  height:90px;
  border-radius:10px;
  overflow:hidden;
  background:#f1f3f5;
  display:flex;
  align-items:center;
  justify-content:center;
  flex-shrink:0;
}
.home-cat-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
}
.home-cat-media .home-cat-icon{
  transform:scale(0.88);
}
.home-cat-icon{
  width:62px;
  height:38px;
  background:#212529;
  border-radius:16px 30px 30px 16px;
  position:relative;
  transform:skewX(-10deg);
}
.home-cat-icon::before{
  content:'';
  position:absolute;
  left:18px;
  top:-8px;
  width:30px;
  height:22px;
  background:#212529;
  border-radius:18px 18px 20px 20px;
  transform:skewX(10deg);
}
.home-cat-name{
  font-size:13px;
  font-weight:700;
  text-align:center;
  line-height:1.2;
}
.home-cat-count{
  font-size:12px;
  color:#6c757d;
  font-weight:600;
}

/* Home offers section */
.home-offers-section{
  margin-top:22px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  padding:18px 16px;
}
.home-offers-header h2{
  margin:0 0 12px 0;
  font-size:18px;
  font-weight:800;
  text-align:center;
}
.home-offers-grid{
  display:grid;
  grid-template-columns:repeat(5,minmax(0,1fr));
  gap:12px;
}
@media (max-width:1200px){ .home-offers-grid{ grid-template-columns:repeat(4,minmax(0,1fr)); } }
@media (max-width:980px){ .home-offers-grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:700px){ .home-offers-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:420px){ .home-offers-grid{ grid-template-columns:1fr; } }
.home-offers-more{
  margin-top:14px;
  text-align:center;
}
.home-more-link{
  display:inline-block;
  color:#212529;
  text-decoration:underline;
  font-weight:700;
}

/* Static content pages */
.content-page-shell{
  width:min(1100px,85vw);
  margin: 0 auto;
  padding: 0 0 20px 0;
}
.content-page-body{
  background:#fff;
  border:1px solid #e9ecef;
  border-radius:14px;
  padding:20px 18px;
  line-height:1.65;
  color:#212529;
}
.blog-page-shell{
  width:min(1400px,85vw);
  margin:0 auto;
  padding:0 0 20px 0;
}
.content-page-body img{
  max-width:100%;
  height:auto;
  display:block;
}
.content-page-body p{
  margin:0 0 12px 0;
}
.content-page-body h2{
  font-size:1.1rem;
  margin:20px 0 10px 0;
  color:#212529;
}
.content-page-body a{
  color:#0d6efd;
  font-weight:600;
}
.legal-page-body a{
  color:#0d6efd;
}

/* Site footer (νομικοί σύνδεσμοι + copyright) */
.site-footer{
  margin-top:28px;
  padding:22px 16px 28px;
  background:#f1f3f5;
  border-top:1px solid #dee2e6;
}
.site-footer-inner{
  width:min(1100px,92vw);
  margin:0 auto;
  text-align:center;
}
.site-footer-nav{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  align-items:center;
  gap:8px 10px;
  font-size:13px;
  line-height:1.45;
}
.site-footer-nav a{
  color:#495057;
  text-decoration:none;
  font-weight:600;
}
.site-footer-nav a:hover{
  color:#212529;
  text-decoration:underline;
}
.site-footer-sep{
  color:#adb5bd;
  user-select:none;
}
.site-footer-copy{
  margin:14px 0 0 0;
  font-size:12px;
  color:#6c757d;
}
@media (max-width:640px){
  .site-footer-nav{
    flex-direction:column;
    gap:10px;
  }
  .site-footer-sep{
    display:none;
  }
}

/* Home brands slider section */
.home-brands-section{
  margin-top:22px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  padding:18px 16px;
}
.home-brands-strip{
  margin:0;
}
.home-brands-strip .subcat-row{
  padding: 2px 0 8px 0;
}
.brand-logo-placeholder{
  background:#f1f3f5;
}
.brand-logo-text{
  font-size:14px;
  font-weight:900;
  color:#212529;
  letter-spacing:.2px;
}

/* Brands menu (all) */
.home-brands-menu-section{
  margin-top:12px;
  background:#fff;
  border-radius:10px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  padding:18px 16px;
}
.brands-menu-row{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:10px;
  margin-top:10px;
}
.brand-menu-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid #dee2e6;
  background:#f8f9fa;
  text-decoration:none;
  color:#212529;
  font-weight:700;
  font-size:13px;
}
.brand-menu-link:hover{
  background:#e9ecef;
}

/* Catalog */
.topbar{
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:6px;
  margin-bottom:10px;
}
.topbar h1{ margin:0; font-size:22px; }
.topbar .meta{ color:#6c757d; font-size:14px; }
.sorter{
  display:flex;
  align-items:center;
  gap:8px;
}
.sorter-label{
  font-size:12px;
  color:#6c757d;
  margin:0;
}
.sorter-select{
  height:34px;
  border-radius:8px;
  border:1px solid #dee2e6;
  padding:6px 10px;
  background:#fff;
  font-size:13px;
}

.results-bar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin: 2px 0 10px 0;
}

.layout{
  display:grid;
  grid-template-columns:280px 1fr;
  gap:16px;
}
@media (max-width:980px){ .layout{ grid-template-columns:1fr; } }

/* Subcategory tiles strip (under category title) */
.subcat-strip{
  margin: 10px 0 14px 0;
  display:flex;
  align-items:center;
  gap:10px;
}
.subcat-row{
  display:flex;
  gap:12px;
  overflow:auto;
  padding: 2px 2px 8px 2px;
  scroll-snap-type:x mandatory;
  flex:1;
}
body.page-catalog .subcat-strip .subcat-row{
  gap:6px;
}
.subcat-arrow{
  width:38px;
  height:38px;
  border-radius:999px;
  border:1px solid #dee2e6;
  background:#fff;
  color:#212529;
  cursor:pointer;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  font-size:22px;
  line-height:1;
  display:flex;
  align-items:center;
  justify-content:center;
  user-select:none;
}
.subcat-arrow:hover{ background:#f8f9fa; }
.subcat-card{
  flex: 0 0 118px;
  text-decoration:none;
  color:#212529;
  background:#fff;
  border-radius:12px;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  padding:10px;
  display:flex;
  flex-direction:column;
  align-items:center;
  gap:8px;
  scroll-snap-align:start;
}
.subcat-media{
  width:74px;
  height:52px;
  border-radius:10px;
  background:#f1f3f5;
  overflow:hidden;
  display:flex;
  align-items:center;
  justify-content:center;
  box-sizing:border-box;
}
.subcat-media img{
  width:100%;
  height:100%;
  object-fit:contain;
  object-position:center;
  display:block;
  padding:3px;
  box-sizing:border-box;
}
.home-brands-strip .subcat-media img.home-brand-logo-img{
  padding:4px;
  background:#fff;
}
.home-brands-strip .subcat-card{
  flex: 0 0 150px;
  gap:10px;
}
.home-brands-strip .subcat-media{
  width:110px;
  height:78px;
}
.home-brands-strip .brand-logo-text{
  font-size:22px;
  font-weight:700;
  color:#495057;
}
.subcat-placeholder{
  width:100%;
  height:100%;
  background:linear-gradient(135deg,#f1f3f5,#e9ecef);
}
.subcat-name{
  font-size:12px;
  font-weight:600;
  text-align:center;
  line-height:1.15;
}

.filters h2{ margin:0 0 10px 0; font-size:16px; }
.field{ margin-bottom:10px; }
label{
  display:block;
  font-size:12px;
  color:#495057;
  margin-bottom:4px;
}
input[type="text"],input[type="number"],input[type="time"],input[type="url"],select{
  width:100%;
  padding:8px 10px;
  border:1px solid #dee2e6;
  border-radius:8px;
  font-size:14px;
  box-sizing:border-box;
}
.row2{ display:grid; grid-template-columns:1fr 1fr; gap:8px; }
.checkbox{
  display:flex;
  gap:8px;
  align-items:center;
  margin-top:6px;
}
.checkbox input{ width:16px; height:16px; }
.btns{ display:flex; gap:8px; margin-top:12px; }
.btn{
  display:inline-block;
  padding:10px 12px;
  border-radius:10px;
  border:1px solid #ced4da;
  background:#f8f9fa;
  color:#212529;
  text-decoration:none;
  font-size:14px;
  cursor:pointer;
  text-align:center;
}
.btn.primary{
  background:#212529;
  border-color:#212529;
  color:#fff;
}

.grid{
  display:grid;
  grid-template-columns:repeat(4,minmax(0,1fr));
  gap:12px;
}
@media (max-width:1200px){ .grid{ grid-template-columns:repeat(3,minmax(0,1fr)); } }
@media (max-width:860px){ .grid{ grid-template-columns:repeat(2,minmax(0,1fr)); } }
@media (max-width:520px){
  html, body{
    margin:0;
    padding:0;
    overflow-x:hidden;
  }
  body{
    padding-top:56px;
  }
  .site-nav{
    display:flex;
    justify-content:flex-start;
    align-items:center;
    padding:0;
    min-height:56px;
    /* για κεντραρισμένο mobile logo */
    position:fixed;
    top:0;
    left:0;
    right:0;
    width:100%;
    z-index:1900;
    /* το logo μπαίνει με absolute στο κέντρο */
    overflow:hidden;
  }
  .drill-overlay{
    position:fixed;
    inset:0;
  }
  .drill-drawer{
    position:fixed;
    inset:0 auto 0 0;
    top:0;
    bottom:0;
    height:100dvh;
    max-height:100dvh;
    width:320px;
    max-width:86vw;
  }
  .mobile-menu-toggle{
    z-index:2;
  }
  .mobile-favorites{
    display:inline-flex;
    position:absolute;
    right:10px;
    top:50%;
    transform:translateY(-50%);
    min-height:28px;
    padding:3px 6px;
    border-radius:999px;
    background:#4b4b4b;
    color:#fff;
    text-decoration:none;
    align-items:center;
    justify-content:center;
    gap:3px;
    z-index:2;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
  }
  .mobile-favorites .icon{
    font-size:13px;
    line-height:1;
  }
  .mobile-favorites .count{
    font-size:10px;
    line-height:1;
    color:#fff;
  }
  .site-header{
    display:none;
  }
  .mobile-menu-toggle{
    display:block;
  }
  .mobile-logo{
    display:flex;
    position:absolute;
    top:0;
    bottom:0;
    left:50%;
    transform:translateX(-50%);
    align-items:center;
    justify-content:center;
    margin:0;
    z-index:1;
    transition:opacity .18s ease;
  }
  .mobile-logo-img{
    height:42px;
    max-width:210px;
  }
  /* Home only: show nav logo after user scrolls below hero logo area */
  body.page-home .mobile-logo{
    opacity:0;
    pointer-events:none;
  }
  body.page-home.mobile-logo-visible .mobile-logo{
    opacity:1;
    pointer-events:auto;
  }
  .menu{
    display:none;
  }
  .grid{ grid-template-columns:1fr; }
  /* Στις σελίδες κατηγορίας θέλουμε πάντα 2 στήλες στο mobile */
  .catalog-product-grid{ grid-template-columns:repeat(2,minmax(0,1fr)); }
  body.page-catalog .catalog-product-grid{
    gap:2px;
  }
  body.page-catalog .catalog-product-grid .card .body{
    padding:8px;
    gap:4px;
  }
  body.page-catalog .catalog-product-grid .card .title{
    font-size:13px;
    line-height:1.25;
  }
  body.page-catalog .catalog-product-grid .card-sub-specs .card-spec-color{
    display:none;
  }

  .filters-floating{
    display:inline-flex;
  }
  .favorites-floating{
    display:none;
  }
}

.card{
  background:#fff;
  border-radius:10px;
  overflow:hidden;
  box-shadow:0 2px 10px rgba(0,0,0,.06);
  display:flex;
  flex-direction:column;
}
.card.is-inactive{
  opacity:.72;
  filter:saturate(.85);
}
.card-media{
  position:relative;
  display:block;
}
.unavailable-badge-overlay{
  position:absolute;
  top:10px;
  left:10px;
  z-index:3;
  padding:6px 10px;
  border-radius:999px;
  background:rgba(0,0,0,.78);
  color:#fff;
  font-weight:900;
  font-size:12px;
  letter-spacing:.2px;
}
/* Product cards: κενό πριν φορτώσει η εικόνα (CLS) */
.catalog-product-grid .card-media,
.home-offers-grid .card-media{
  min-height:200px;
  background:#fff;
}
.card img{
  width:100%;
  height:200px;
  object-fit:cover;
  display:block;
}
/* Κατάλογος / κατηγορία: ολόκληρη η εικόνα μέσα στο καδρό (χωρίς κόψιμο) */
.catalog-product-grid .card-media{
  background:#fff;
}
.catalog-product-grid .card img{
  object-fit:contain;
  object-position:center;
  background:#fff;
}
.home-offers-grid .card img{
  object-fit:contain;
  object-position:center;
  background:#fff;
}
.catalog-product-grid .card .img{
  background:#fff;
}
.card .img{
  background:#f1f3f5;
  height:200px;
  display:flex;
  align-items:center;
  justify-content:center;
  color:#adb5bd;
  font-size:12px;
}
.card .body{
  padding:10px;
  display:flex;
  flex-direction:column;
  gap:6px;
  flex:1;
}
.card .title{
  font-size:14px;
  line-height:1.25;
  margin:0;
  min-height:36px;
}
/* Κάρτες καταλόγου / αρχικής / αγαπημένων: τίτλος max 3 γραμμές, τιμές στην ίδια βάση */
.catalog-product-grid .card,
.home-offers-grid .card{
  height:100%;
}
.catalog-product-grid .card .title,
.home-offers-grid .card .title{
  display:-webkit-box;
  -webkit-box-orient:vertical;
  -webkit-line-clamp:3;
  overflow:hidden;
  text-overflow:ellipsis;
  min-height:0;
  line-height:1.3;
  word-break:break-word;
}
.catalog-product-grid .card .body,
.home-offers-grid .card .body{
  min-height:0;
}
.catalog-product-grid .card-flex-spacer,
.home-offers-grid .card-flex-spacer{
  flex:1 1 0;
  min-height:0;
}
.catalog-product-grid .prices,
.home-offers-grid .prices{
  flex-direction:row;
  flex-wrap:wrap;
  align-items:center;
  justify-content:flex-end;
  gap:8px;
  margin-top:0;
}
.card .sub{ color:#6c757d; font-size:12px; }
.card .sub .meta-link{
  color:#6c757d;
  text-decoration:none;
  font-weight:700;
}
.card .sub .meta-link:hover{
  color:#212529;
  text-decoration:underline;
}
.card-sub-specs .card-spec + .card-spec::before{
  content:" • ";
}
.prices{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:6px;
  margin-top:4px;
}
.prices .price-label{
  display:block;
  font-size:10px;
  font-weight:700;
  color:#868e96;
  text-transform:uppercase;
  letter-spacing:.04em;
  line-height:1.2;
}
.prices .price-row{
  display:flex;
  flex-direction:column;
  align-items:flex-end;
  gap:2px;
}
.prices .orig{ color:#6c757d; text-decoration:line-through; font-size:12px; }
.prices .final-box{
  padding:6px 10px;
  border-radius:8px;
  border:1px solid #e9ecef;
  background:#f1f3f5;
  font-weight:800;
  font-size:13px;
}
.discount-badge-overlay{
  position:absolute;
  top:8px;
  left:8px;
  padding:5px 8px;
  border-radius:0;
  background:#d63384;
  color:#fff;
  font-weight:900;
  font-size:12px;
  border:0;
  box-shadow:0 1px 2px rgba(0,0,0,.18);
}
.discount-badge-inline{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  margin-left:6px;
  padding:2px 6px;
  border-radius:0;
  background:#d63384;
  color:#fff;
  font-size:11px;
  font-weight:900;
  line-height:1;
  letter-spacing:.01em;
}
.discount-badge-overlay--product{
  top:10px;
  left:10px;
  font-size:14px;
}

/* Favorites heart button */
.fav-btn{
  position:absolute;
  top:8px;
  right:8px;
  left:auto;
  width:30px;
  height:30px;
  border-radius:999px;
  border:1px solid #dee2e6;
  background:#fff;
  color:#adb5bd;
  font-size:16px;
  font-weight:800;
  line-height:28px;
  text-align:center;
  cursor:pointer;
  z-index:3;
  padding:0;
}
.fav-btn:hover{
  color:#c92a2a;
  border-color:#ffc9c9;
  background:#fff5f5;
}
.fav-btn.is-fav{
  color:#e03131;
  border-color:#ffb3b3;
  background:#fff5f5;
}
.product-media{
  position:relative;
}
.fav-btn-product{
  top:12px;
  left:12px;
}
.card .actions{ padding:10px; padding-top:0; }
.card .actions a{
  display:block;
  text-align:center;
  padding:10px 12px;
  border-radius:10px;
  background:#0d6efd;
  color:#fff;
  text-decoration:none;
  font-size:14px;
}
.pager{
  display:flex;
  gap:8px;
  align-items:center;
}
/* Κατάλογος: το floating κουμπί φίλτρων (z-index ~1701) κάλυπτε τα pager links κάτω — τα κλικ δεν έφταναν στα <a>. */
body.page-catalog .pager.pager--bottom{
  position:relative;
  z-index:1720;
}
.pager-pages-mobile{
  display:none;
  gap:8px;
  align-items:center;
  justify-content:center;
  flex:1;
  flex-wrap:wrap;
}
/* Κάτω pagination κατηγορίας: πάντα οι αριθμοί σελίδων (όχι μόνο σε πολύ στενή οθόνη) */
.pager--bottom .pager-pages-mobile{
  display:flex;
}
.pager-ellipsis{
  padding:0 4px;
  color:#868e96;
  font-weight:700;
  font-size:13px;
  user-select:none;
  align-self:center;
}
.pager-btn{
  padding:8px 10px;
  border-radius:10px;
  border:1px solid #dee2e6;
  background:#fff;
  text-decoration:none;
  color:#212529;
  font-size:13px;
}
.pager-btn:hover{ background:#f8f9fa; }
.pager-btn.is-active{
  background:#000000;
  border-color:#000000;
  color:#ffffff;
  font-weight:900;
}
.pager-btn.is-disabled{
  opacity:.5;
  cursor:not-allowed;
}
.empty{
  padding:30px 10px;
  text-align:center;
  color:#6c757d;
}

/* Checklists + chips */
.checklist{
  display:flex;
  flex-direction:column;
  gap:8px;
  max-height:220px;
  overflow:auto;
  padding:8px;
  border:1px solid #dee2e6;
  border-radius:10px;
  background:#fff;
}
.checklist-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:8px;
}
@media (max-width:980px){
  .checklist-grid{ grid-template-columns: repeat(6, minmax(0, 1fr)); }
}
@media (max-width:520px){
  .checklist-grid{ grid-template-columns: repeat(4, minmax(0, 1fr)); }
}
.check{
  display:flex;
  gap:8px;
  align-items:center;
  font-size:13px;
  color:#212529;
}
.check input{ width:16px; height:16px; }

.chips{
  display:flex;
  flex-wrap:wrap;
  gap:8px;
}
.chip{
  display:inline-flex;
  align-items:center;
  gap:8px;
  padding:6px 10px;
  border-radius:999px;
  background:#e9ecef;
  color:#212529;
  text-decoration:none;
  font-size:12px;
  border:1px solid #dee2e6;
}
.chip:hover{ background:#dee2e6; }
.chip .x{
  font-size:14px;
  line-height:1;
  opacity:.8;
}

/* Facets (filters UI like screenshot) */
.filters{ padding:0; }
.filters form{ padding:12px; }
.mobile-filters-toggle{
  display:none;
  align-items:center;
  gap:8px;
  width:calc(100% - 24px);
  max-width:520px;
  margin:10px auto 12px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid #ced4da;
  background:#fff;
  color:#212529;
  font-weight:800;
  cursor:pointer;
}
.mobile-filters-toggle-icon{
  width:22px;
  height:22px;
  border-radius:7px;
  background:#f1f3f5;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  color:#495057;
  line-height:0;
}
.mobile-filters-toggle-icon .filters-icon-img{
  display:block;
  width:22px;
  height:22px;
  object-fit:contain;
}
.mobile-filters-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,.35);
  z-index:1900;
  opacity:0;
  pointer-events:none;
}
.mobile-filters-modal-header{ display:none; }
.mobile-filters-close{ display:none; }
.facet{ margin-bottom:14px; }
.facet-title{
  background:#f1f3f5;
  border:1px solid #e9ecef;
  color:#343a40;
  font-weight:800;
  font-size:12px;
  letter-spacing:.5px;
  padding:10px 12px;
}
.facet-body{
  border:1px solid #e9ecef;
  border-top:0;
  padding:10px 12px;
  background:#fff;
}
.facet-body.list{ padding:6px 12px; }
.facet-body .row{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 2px;
  font-size:13px;
  color:#212529;
}
.facet-body .row input{ margin:0; }
.facet-body .row .label{ flex:1; }
.facet-body .row .count{
  color:#adb5bd;
  font-size:13px;
}
.facet-body .row.color-row .swatch{
  width:14px;
  height:14px;
  border-radius:3px;
  display:inline-block;
  flex: 0 0 14px;
}

/* Brand / Color / Material checkboxes: bigger checkbox + tighter rows */
.facet[data-facet="brand"] .facet-body .row,
.facet[data-facet="merchant"] .facet-body .row,
.facet[data-facet="color"] .facet-body .row,
.facet[data-facet="material"] .facet-body .row{
  gap:6px;
  padding:6px 2px;
}
.facet[data-facet="brand"] .facet-body .row input[type="checkbox"],
.facet[data-facet="merchant"] .facet-body .row input[type="checkbox"],
.facet[data-facet="color"] .facet-body .row input[type="checkbox"],
.facet[data-facet="material"] .facet-body .row input[type="checkbox"]{
  width:18px;
  height:18px;
}
.facet-body .row.is-hidden{ display:none; }
.facet-body .row.is-filtered-out{ display:none !important; }
.facet-search{
  margin:0 0 10px;
  padding-bottom:8px;
  border-bottom:1px solid #e9ecef;
}
.facet-search--sizes{
  margin:0;
  padding:10px 12px;
  border:1px solid #e9ecef;
  border-top:0;
  background:#fff;
}
.facet-search-input{
  width:100%;
  box-sizing:border-box;
  padding:8px 10px;
  border:1px solid #dee2e6;
  border-radius:6px;
  font-size:13px;
}
.facet-search-input:focus{
  outline:2px solid rgba(13,110,253,.25);
  border-color:#86b7fe;
}

/* Brands: top picks → toggle → search → scroll (expanded) */
.facet--brand-expanded .facet-brand-top{
  margin-bottom:2px;
}
.facet-expanded-panel{
  margin-top:4px;
}
.facet-expanded-panel[hidden]{
  display:none !important;
}
.facet-search--after-toggle{
  margin:0 0 10px;
  padding:0;
  border:0;
}
.facet-search-input--pill{
  border-radius:999px;
  padding:10px 14px;
  border:1px solid #dee2e6;
  background:#fff;
}
.facet-scroll{
  max-height:min(52vh,320px);
  overflow-y:auto;
  overflow-x:hidden;
  padding-right:4px;
  margin:0 -2px 0 0;
  -webkit-overflow-scrolling:touch;
}
.facet-scroll::-webkit-scrollbar{
  width:6px;
}
.facet-scroll::-webkit-scrollbar-thumb{
  background:#ced4da;
  border-radius:3px;
}
/* Το hidden attribute πρέπει να κρύβει το κουμπί (όχι override με display:flex) */
.facet-list-actions .facet-more[hidden],
.facet-list-actions .facet-less[hidden],
.facet-body .facet-more[hidden],
.facet-body .facet-less[hidden]{
  display:none !important;
}

.facet-list-actions{
  padding:6px 2px 0;
  display:flex;
  flex-wrap:wrap;
  gap:8px;
  align-items:center;
}
.facet-list-actions--sizes{
  padding:8px 12px 10px;
  border:1px solid #e9ecef;
  border-top:0;
  background:#fff;
}
.facet-body .more,
.facet-body .facet-more,
.facet-body .facet-less,
.facet-list-actions .facet-more,
.facet-list-actions .facet-less,
.facet-list-actions--sizes .sizes-more,
.facet-list-actions--sizes .sizes-less{
  border:0;
  background:transparent;
  color:#6c757d;
  padding:8px 2px;
  cursor:pointer;
  font-size:13px;
}
.facet-body .more:hover,
.facet-body .facet-more:hover,
.facet-body .facet-less:hover,
.facet-list-actions .facet-more:hover,
.facet-list-actions .facet-less:hover,
.facet-list-actions--sizes .sizes-more:hover,
.facet-list-actions--sizes .sizes-less:hover{
  text-decoration:underline;
}
.size-pill.is-filtered-out{ display:none !important; }

.price-range{
  display:grid;
  grid-template-columns: 1fr 1fr 36px;
  gap:10px;
  align-items:center;
}
.price-input{
  position:relative;
}
.price-input input{
  padding-right:26px;
  height:34px;
  border-radius:6px;
}
.price-input .suffix{
  position:absolute;
  right:8px;
  top:50%;
  transform:translateY(-50%);
  color:#6c757d;
  font-size:13px;
}
.price-range .go{
  height:34px;
  border-radius:6px;
  border:1px solid #dee2e6;
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  color:#6c757d;
}
.price-range .go:hover{ background:#f8f9fa; }

/* Price widget like screenshot */
.price-widget{ padding:12px; }
.price-inputs{
  display:grid;
  grid-template-columns: 1fr 1fr 36px;
  gap:10px;
  align-items:center;
  margin-bottom:10px;
}
.pill-input{
  position:relative;
}
.pill-input input{
  width:100%;
  height:34px;
  border-radius:999px;
  border:1px solid #dee2e6;
  padding:6px 26px 6px 12px;
  font-size:13px;
  box-sizing:border-box;
}
.pill-input .suffix{
  position:absolute;
  right:10px;
  top:50%;
  transform:translateY(-50%);
  color:#6c757d;
  font-size:13px;
}
.price-widget .go{
  height:34px;
  border-radius:999px;
  border:1px solid #dee2e6;
  background:#fff;
  cursor:pointer;
  font-size:18px;
  line-height:1;
  color:#6c757d;
}
.price-widget .go:hover{ background:#f8f9fa; }

.histogram{
  display:flex;
  gap:3px;
  align-items:flex-end;
  height:34px;
  margin: 6px 2px 8px 2px;
}
.histogram .bar{
  flex:1;
  background:#e9ecef;
  border-radius:2px;
}

.range{
  position:relative;
  height:32px;
  margin: 2px 0 10px 0;
}
.range .track{
  position:absolute;
  left:0;
  right:0;
  top:50%;
  height:3px;
  transform:translateY(-50%);
  background:#212529;
  border-radius:999px;
  opacity:.75;
}
.range input[type="range"]{
  position:absolute;
  left:0;
  right:0;
  top:0;
  bottom:0;
  width:100%;
  margin:0;
  background:transparent;
  pointer-events:none;
  -webkit-appearance:none;
}
/* Μεγαλύτερα «κυκλάκια» + χεράκι στο thumb (πιο εύκολο drag) */
.range input[type="range"]::-webkit-slider-thumb{
  -webkit-appearance:none;
  pointer-events:auto;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#212529;
  border:2px solid #fff;
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  cursor:grab;
}
.range input[type="range"]:active::-webkit-slider-thumb{
  cursor:grabbing;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
}
.range input[type="range"]::-moz-range-thumb{
  pointer-events:auto;
  width:22px;
  height:22px;
  border-radius:50%;
  background:#212529;
  border:2px solid #fff;
  box-shadow:0 1px 4px rgba(0,0,0,.25);
  cursor:grab;
}
.range input[type="range"]:active::-moz-range-thumb{
  cursor:grabbing;
  box-shadow:0 2px 6px rgba(0,0,0,.3);
}
.range input[type="range"]::-webkit-slider-runnable-track{ background:transparent; }
.range input[type="range"]::-moz-range-track{ background:transparent; }

.price-presets{
  margin-top:6px;
}
.price-presets .row{
  padding:8px 2px;
}
.price-presets .count{
  color:#adb5bd;
  font-size:13px;
}
.offers{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 2px;
  margin-top:4px;
  font-size:13px;
}
.offers input{ margin:0; }
.offers .label{ flex:1; }
.offers .count{ color:#adb5bd; font-size:13px; }

.facet-body.radios input[type="radio"]{
  width:16px;
  height:16px;
}

.facet-body.colors{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:12px;
  padding:12px;
}
.facet-body.colors .facet-search{
  grid-column: 1 / -1;
}
.color-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  height:48px;
  border:0;
  border-radius:12px;
  background:#fff;
  cursor:pointer;
  user-select:none;
}
.color-pill input{ display:none; }
.color-pill .swatch{
  width:32px;
  height:32px;
  border-radius:8px;
  border:1px solid rgba(0,0,0,.12);
  box-shadow:none;
  display:flex;
  align-items:center;
  justify-content:center;
  overflow:hidden;
}
.color-pill .swatch .swatch-icon{
  display:block;
  width:100%;
  height:100%;
  object-fit:cover;
}
.color-pill.is-active{
  box-shadow:none;
}
.color-pill.is-active .swatch{
  border-color:#212529;
  box-shadow: 0 0 0 2px rgba(33,37,41,.14);
}
.color-pill.is-hidden{ display:none; }

.facet-body.sizes{
  display:grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap:10px;
  padding:12px;
}
.facet-body.sizes .facet-search--inline{
  grid-column: 1 / -1;
  margin:0 0 4px;
  padding-bottom:10px;
  border-bottom:1px solid #e9ecef;
}
.size-pill{
  display:flex;
  align-items:center;
  justify-content:center;
  height:38px;
  border:1px solid #ced4da;
  border-radius:999px;
  background:#fff;
  cursor:pointer;
  user-select:none;
  font-size:13px;
  font-weight:500;
}
.size-pill input{ display:none; }
.size-pill.is-active{
  background:#212529;
  color:#fff;
  border-color:#212529;
}
.size-pill.is-hidden{ display:none; }
.sizes-more{
  border:0;
  background:transparent;
  color:#212529;
  padding:8px 12px 0 12px;
  cursor:pointer;
  font-size:13px;
  text-decoration:underline;
  width:100%;
  text-align:left;
}
.sizes-more .chev{ margin-left:6px; color:#6c757d; }


/* Product */
.product-shell{
  display:grid;
  grid-template-columns: 1fr 1fr;
  gap:16px;
  align-items:stretch;
}
@media (max-width: 980px){
  .product-shell{ grid-template-columns: 1fr; }
}
.product-media{ padding:14px; }
.product-media{
  padding:14px;
  display:flex;
}
.product-image{
  width:100%;
  height:100%;
  min-height:280px;
  object-fit:contain;
  object-position:center;
  border-radius:10px;
  display:block;
  background:#f1f3f5;
}
.product-image-placeholder{
  height:100%;
  min-height:280px;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:10px;
  background:#f1f3f5;
  color:#adb5bd;
}
.product-image-link{
  display:block;
  height:100%;
  text-decoration:none;
  color:inherit;
  flex:1;
}
.product-info{ padding:16px; }
.product-title{
  margin:0 0 10px 0;
  font-size:22px;
  line-height:1.2;
}
.product-merchant{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  align-items:center;
  margin-bottom:14px;
}
.pill{
  display:inline-block;
  padding:4px 10px;
  border-radius:999px;
  background:#e9ecef;
  font-size:12px;
}
.muted{ color:#6c757d; font-size:13px; }
.product-buybox{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:12px;
  padding:14px;
  border:1px solid #dee2e6;
  border-radius:12px;
  background:#fff;
  margin-bottom:12px;
  position:relative;
}
.product-price{
  display:flex;
  flex-direction:column;
  gap:10px;
  align-items:flex-start;
}
.product-price .price-line{
  display:flex;
  flex-direction:column;
  gap:4px;
}
.product-price .price-line--original{
  flex-direction:row;
  align-items:center;
  flex-wrap:wrap;
  gap:4px;
}
.product-price .price-label{
  font-size:11px;
  font-weight:700;
  color:#6c757d;
  text-transform:uppercase;
  letter-spacing:.04em;
}
.product-price .final{ font-weight:800; font-size:22px; line-height:1.2; }
.product-price .orig{ color:#6c757d; text-decoration:line-through; font-size:16px; line-height:1.2; }
.product-price .price-line--final .final{ font-size:22px; }
.buy-btn{ min-width:140px; }
/* Κουμπί καταστήματος: flat πράσινο */
.product-buybox .product-store-btn{
  border:1px solid #16a34a;
  background:#22c55e;
  color:#fff;
  box-shadow:none;
  text-shadow:none;
}
.product-buybox .product-store-btn:hover{
  background:#16a34a;
  border-color:#15803d;
  color:#fff;
}
.product-buybox .product-store-btn:active{
  transform:translateY(1px);
  background:#15803d;
}

/* Product: mobile floating CTA στο ηλεκτρονικό κατάστημα (κάτω, full width) */
.product-floating-store-bar{
  display:none;
}
@media (max-width: 980px){
  body.page-product main.product-page{
    padding-bottom:108px;
  }
  body.page-product .site-footer{
    padding-bottom:calc(96px + env(safe-area-inset-bottom, 0px));
  }
  body.page-product .product-floating-store-bar{
    display:block;
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:1690;
    padding:12px 14px;
    padding-bottom:12px;
    padding-bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    background:#fff;
    border-top:1px solid #dee2e6;
    box-shadow:0 -6px 20px rgba(0,0,0,.08);
  }
  body.page-product .product-floating-cta{
    display:flex;
    align-items:center;
    justify-content:center;
    width:100%;
    box-sizing:border-box;
    padding:14px 16px;
    border-radius:12px;
    border:1px solid #16a34a;
    background:#22c55e;
    color:#fff;
    font-weight:800;
    font-size:15px;
    text-align:center;
    text-decoration:none;
    line-height:1.25;
    box-shadow:none;
    text-shadow:none;
    transition:background .15s ease, border-color .15s ease, transform .12s ease;
  }
  body.page-product .product-floating-cta:hover{
    background:#16a34a;
    border-color:#15803d;
    color:#fff;
  }
  body.page-product .product-floating-cta:active{
    transform:translateY(1px);
    background:#15803d;
  }
  /* Καρδιά αγαπημένων πάνω από τη μπάρα */
  body.page-product .favorites-floating{
    bottom:132px;
  }
  body.page-product .back-to-top{
    bottom:132px;
  }
  body.cookie-bar-visible.page-product .product-floating-store-bar{ bottom:0; }
  body.cookie-bar-visible.page-product .favorites-floating{
    bottom:200px;
  }
  body.cookie-bar-visible.page-product .back-to-top{
    bottom:200px;
  }
}

.btn-sm{
  padding:8px 12px;
  font-size:13px;
  min-width:auto;
}

/* Multi-merchant offers (product page) */
.product-offers-wrap{
  margin-bottom:12px;
  padding:14px;
  border:1px solid #dee2e6;
  border-radius:12px;
  background:#fff;
}
.product-offers-heading{
  margin:0 0 6px 0;
  font-size:16px;
}
.product-offers-hint{
  margin:0 0 10px 0;
  font-size:12px;
}
.product-offers-scroll{
  overflow-x:auto;
  -webkit-overflow-scrolling:touch;
}
.product-offers-table{
  width:100%;
  min-width:280px;
  border-collapse:collapse;
  font-size:14px;
}
.product-offers-table thead th{
  padding:8px 10px;
  text-align:left;
  font-size:11px;
  text-transform:uppercase;
  letter-spacing:.04em;
  color:#6c757d;
  font-weight:800;
  border-bottom:1px solid #e9ecef;
  background:#f8f9fa;
}
.product-offers-table tbody td{
  padding:10px;
  vertical-align:middle;
  border-bottom:1px solid #e9ecef;
}
.product-offers-table tbody tr:last-child td{
  border-bottom:0;
}
.product-offers-row--best{
  background:#f0fdf4;
}
.product-offers-badge{
  display:inline-block;
  margin-left:8px;
  padding:2px 8px;
  border-radius:999px;
  background:#16a34a;
  color:#fff;
  font-size:10px;
  font-weight:800;
  text-transform:uppercase;
  letter-spacing:.03em;
  vertical-align:middle;
}
.product-offers-table .price-final{
  font-weight:800;
  white-space:nowrap;
}
.product-offers-table .price-orig{
  color:#6c757d;
  text-decoration:line-through;
  font-size:12px;
  margin-left:6px;
  white-space:nowrap;
}
.product-offers-table .btn-cell{
  text-align:right;
  white-space:nowrap;
  width:1%;
}
.product-specs{ margin-top:14px; }
.product-specs h2{ margin:0 0 10px 0; font-size:16px; }
.product-specs dl{
  display:grid;
  grid-template-columns: minmax(140px, 180px) 1fr;
  gap:0;
  margin:0;
  border:1px solid #e9ecef;
  border-radius:10px;
  overflow:hidden;
  background:#fff;
  box-shadow:0 2px 8px rgba(0,0,0,.04);
}
.product-specs dt,
.product-specs dd{
  margin:0;
  padding:10px 14px;
  font-size:14px;
  align-self:stretch;
}
.product-specs dt{
  font-weight:800;
  color:#343a40;
  font-size:13px;
}
.product-specs dd{ color:#212529; }
/* Zebra: κάθε ζεύγος dt+dd = μία γραμμή */
.product-specs dl > dt:nth-child(4n+1),
.product-specs dl > dd:nth-child(4n+2){
  background:#f8f9fa;
}
.product-specs dl > dt:nth-child(4n+3),
.product-specs dl > dd:nth-child(4n+4){
  background:#fff;
}
.product-specs .spec-link{
  color:#212529;
  text-decoration:none;
  font-weight:600;
}
.product-specs .spec-link:hover{
  text-decoration:underline;
}

/* Brands page */
.brands-page-shell{
  display:flex;
  gap:16px;
  align-items:flex-start;
}
.brands-az-nav{
  position:sticky;
  top:10px;
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  max-width:320px;
}
.brands-letter-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 12px;
  border-radius:8px;
  border:1px solid #dee2e6;
  background:#fff;
  text-decoration:none;
  color:#212529;
  font-weight:800;
  font-size:13px;
}
.brands-letter-btn.is-active{
  background:#212529;
  border-color:#212529;
  color:#fff;
}
.brands-letter-btn.is-disabled{
  background:#f1f3f5;
  border-color:#e9ecef;
  color:#adb5bd;
  cursor:default;
  pointer-events:none;
}
.brands-list-wrap{
  flex:1;
}
.brands-chip-grid{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
  padding-top:2px;
}
.brands-chip{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:8px 12px;
  border-radius:6px;
  border:1px solid #dee2e6;
  background:#fff;
  text-decoration:none;
  color:#212529;
  font-weight:700;
  font-size:13px;
}
.brands-chip:hover{
  background:#f8f9fa;
}
.brands-chip.is-selected{
  background:#212529;
  border-color:#212529;
  color:#fff;
}
.brands-chip.is-inactive{
  opacity:.58;
  cursor:not-allowed;
  color:#868e96;
  background:#f8f9fa;
  border-style:dashed;
  user-select:none;
}
@media (max-width:980px){
  .brands-page-shell{ flex-direction:column; }
  .brands-az-nav{ position:relative; top:auto; }
}

/* Mobile filters popup */
@media (max-width: 520px){
  body.filters-mobile-open{
    overflow:hidden;
  }

  .mobile-filters-toggle{
    display:flex;
  }

  .mobile-filters-overlay{
    display:block;
  }
  body.filters-mobile-open .mobile-filters-overlay{
    opacity:1;
    pointer-events:auto;
  }

  #mobile-filters-panel{
    position:fixed;
    top:56px;
    left:0;
    right:0;
    max-height:calc(100vh - 56px);
    overflow:auto;
    z-index:2000;
    transform:translateY(-120%);
    transition:transform .18s ease, opacity .18s ease;
    opacity:0;
    pointer-events:none;
    background:#fff;
  }

  body.filters-mobile-open #mobile-filters-panel{
    transform:translateY(0);
    opacity:1;
    pointer-events:auto;
  }

  .mobile-filters-modal-header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:10px 12px;
    border-bottom:1px solid #e9ecef;
    position:sticky;
    top:0;
    background:#fff;
    z-index:2100;
  }

  .mobile-filters-close{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    width:34px;
    height:34px;
    border-radius:10px;
    border:1px solid #dee2e6;
    background:#fff;
    cursor:pointer;
    font-size:20px;
    line-height:1;
    color:#495057;
  }
}

/* Admin Sync Panel (import history) */
.admin-sync-panel-table th{
  white-space:nowrap;
  font-size:13px;
}

.admin-sync-panel-table td{
  vertical-align:middle;
}

.sync-badge{
  display:inline-block;
  padding:3px 8px;
  border-radius:999px;
  font-size:12px;
  font-weight:800;
  margin-right:6px;
  border:1px solid transparent;
}
.sync-badge, a.sync-badge{
  text-decoration:none;
}
.sync-badge.sync-ok{
  background:#e9f7ef;
  border-color:#bfe6cd;
  color:#1b7f3a;
}
.sync-badge.sync-warn{
  background:#fff4e6;
  border-color:#ffd8a8;
  color:#9a5a00;
}
.sync-badge.sync-fail{
  background:#ffecec;
  border-color:#ffc2c2;
  color:#b00020;
}

