/* TheFishing - Βελτιώσεις εμφάνισης (ομάδα 2): φίλτρα & ταξινόμηση - έκδοση 1.14.3 (30/11/2026) */

/* ========== 1. Ένα μπλε παντού (#00136f): μενού κατηγοριών & καρουζέλ αρχικής ========== */
.tfx-nav{background-color:#00136f;box-shadow:0 2px 8px rgba(0,19,111,.2)}
@media (max-width:767px){.tfx-dots i.on{background-color:#00136f}}
@media (min-width:1000px){
 .cd-primary-nav > li.has-children > a.selected,.cd-primary-nav > li.has-children:hover > a{color:#00136f!important}
 .cd-primary-nav .cd-nav-icons{box-shadow:0 18px 30px rgba(0,19,111,.14)}
 .tfx-mm-head{color:#00136f}
 .tfx-mm-grid a{color:#00136f!important}
 .tfx-mm .tfx-mm-foot a{background-color:#00136f!important}
 .tfx-mm .tfx-mm-foot a:hover{color:#00136f!important}
}
@media (max-width:999px){
 .cd-primary-nav a{color:#00136f!important}
 .cd-primary-nav .see-all a{background-color:#00136f!important;box-shadow:0 2px 6px rgba(0,19,111,.3)}
}

/* ========== 2. Γενικά ========== */
.tfx-gone{display:none!important}
.tfx-bar,.tfx-fhead,.tfx-ffoot,.tfx-sheet,.tfx-sheet-bg{display:none}

/* ========== 3. Υπολογιστής: ταξινόμηση πάνω από τα προϊόντα ========== */
.tfx-tools{display:flex;align-items:center;justify-content:flex-end;margin:0 0 16px;padding:0 0 14px;border-bottom:1px solid #eef1f5}
.tfx-sortwrap{display:flex;align-items:center;gap:12px}
.tfx-pill{position:relative;display:block;height:54px;min-width:250px;margin:0!important;border:1px solid #d9ddef;border-radius:50px;background:#fff!important;font-weight:400;transition:border-color .15s}
.tfx-pill.tfx-pill-s{min-width:150px}
.tfx-pill small{position:absolute;z-index:3;top:9px;left:22px;font-family:main,sans-serif;font-size:12px;line-height:1.2;color:#00136f;opacity:.65;pointer-events:none}
.tfx-pill:after{content:"";position:absolute;z-index:3;right:22px;top:50%;width:12px;height:8px;margin-top:-4px;background:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%2300136f' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center;pointer-events:none}
html body .tfx-pill:not(#tfx) select,
html body .tfx-pill:not(#tfx) select.form-control:not(.input-lg),
html body .tfx-pill:not(#tfx) select.form-control:not(.input-lg):hover,
html body .tfx-pill:not(#tfx) select.form-control:not(.input-lg):focus{position:absolute!important;z-index:1;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;height:100%!important;min-width:0!important;max-width:none!important;margin:0!important;padding:20px 48px 0 22px!important;border:0!important;border-radius:50px!important;background:transparent!important;box-shadow:none!important;outline:none!important;-webkit-appearance:none;-moz-appearance:none;appearance:none;font-family:bold,sans-serif!important;font-size:15px!important;line-height:normal!important;color:#00136f!important;cursor:pointer}
.tfx-pill:focus-within{border-color:#f5a623}

/* ========== 4. Φίλτρα (Mega Filter): τίτλοι, επιλογές, τιμή ========== */
.mfilter-box .box-heading{font-family:bold,sans-serif!important;font-size:26px!important;line-height:1.1!important;color:#00136f!important;margin:0 0 2px!important;padding:0!important;border:0!important;background:none!important}
.tfx-sidereset{display:inline-block;margin:0 0 20px;font-size:14px;color:#00136f;text-decoration:none!important;border-bottom:1px solid #00136f;cursor:pointer;transition:opacity .15s,color .15s,border-color .15s}
body:not(.tfx-active) .tfx-sidereset{opacity:.35;pointer-events:none;border-color:transparent}
.mfilter-box:not(#tfx) .mfilter-heading-text,.mfilter-box:not(#tfx) .mfilter-heading-text span{font-family:main,sans-serif!important;font-size:19px!important;color:#00136f!important}
.mfilter-box:not(#tfx) .mfilter-opts-container{border-top:1px solid #eef1f5!important;padding-top:6px}
.mfilter-box .mfilter-col-count{display:none!important}
.mfilter-box .mfilter-option.tfx-cat-off{display:none!important}
.mfilter-box:not(#tfx) li[data-type] .mfilter-option{border-radius:8px;padding-left:8px!important;padding-right:8px!important;transition:background-color .15s}
.mfilter-box:not(#tfx) li[data-type] .mfilter-option label{cursor:pointer;color:#00136f!important;font-size:15px!important;padding:7px 0!important;transition:color .15s}
.mfilter-box:not(#tfx) li[data-type] .mfilter-option.tfx-on label{font-family:bold,sans-serif!important}
.mfilter-box:not(#tfx) input[type=checkbox],.mfilter-box:not(#tfx) input[type=radio]{-webkit-appearance:none;-moz-appearance:none;appearance:none;width:20px!important;height:20px!important;min-width:20px;margin:0 10px 0 0!important;padding:0!important;border:1.5px solid #c3c9e0;border-radius:6px;background:#fff;cursor:pointer;vertical-align:middle;position:relative;top:-1px;transition:background-color .15s,border-color .15s}
.mfilter-box:not(#tfx) input[type=radio]{border-radius:50%}
.mfilter-box:not(#tfx) input[type=checkbox]:checked,.mfilter-box:not(#tfx) input[type=radio]:checked{background:#00136f url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='white' stroke-width='2.2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center;border-color:#00136f}
.mfilter-box:not(#tfx) input:focus{outline:none!important}
.mfilter-box:not(#tfx) input[type=checkbox]:focus-visible{box-shadow:0 0 0 3px rgba(245,166,35,.45)}
.mfilter-box:not(#tfx) .mfilter-price-inputs{display:flex!important;align-items:center;gap:10px;margin:6px 0 20px;font-size:0}
.mfilter-box:not(#tfx) .mfilter-price-inputs-left,.mfilter-box:not(#tfx) .mfilter-price-inputs-right{flex:1;position:relative;float:none!important;width:auto!important;font-size:0}
.mfilter-box:not(#tfx) .mfilter-price-inputs-left > *:not(input),.mfilter-box:not(#tfx) .mfilter-price-inputs-right > *:not(input){display:none!important}
.mfilter-box:not(#tfx) .mfilter-price-inputs-left:after,.mfilter-box:not(#tfx) .mfilter-price-inputs-right:after{content:"€";position:absolute;right:16px;top:50%;transform:translateY(-50%);font-size:14px;color:#00136f;opacity:.6;pointer-events:none}
.mfilter-box:not(#tfx) .tfx-dash{font-size:16px;color:#00136f;opacity:.5}
html body .mfilter-box:not(#tfx) .mfilter-price-inputs input,
html body .mfilter-box:not(#tfx) .mfilter-price-inputs input.form-control:not(.input-lg){display:block!important;width:100%!important;max-width:none!important;min-width:0!important;height:42px!important;margin:0!important;padding:0 30px 0 16px!important;border:1px solid #d9ddef!important;border-radius:50px!important;background:#fff!important;box-shadow:none!important;text-align:left!important;font-family:bold,sans-serif!important;font-size:15px!important;color:#00136f!important}
html body .mfilter-box:not(#tfx) .mfilter-price-inputs input:focus,
html body .mfilter-box:not(#tfx) .mfilter-price-inputs input.form-control:not(.input-lg):focus{border-color:#f5a623!important}
.mfilter-box:not(#tfx) .mfilter-price-slider{padding:8px 13px 16px!important;background:none!important}
.mfilter-box:not(#tfx) .mfilter-price-slider .ui-slider{height:4px!important;border:0!important;background:#e3e6f0!important;border-radius:4px!important}
.mfilter-box:not(#tfx) .mfilter-price-slider .ui-slider-range{background:#f5a623!important;border-radius:4px}
.mfilter-box:not(#tfx) .mfilter-price-slider .ui-slider-handle{width:26px!important;height:26px!important;top:-11px!important;margin-left:-13px!important;border-radius:50%!important;background:#fff!important;border:3px solid #f5a623!important;box-shadow:0 2px 8px rgba(0,19,111,.22)!important;outline:none;cursor:grab;touch-action:none;transition:transform .12s}
.mfilter-box:not(#tfx) .mfilter-price-slider .ui-slider-handle.ui-state-active{transform:scale(1.12);cursor:grabbing}

/* ========== 5. Κινητό ========== */
@media (max-width:767px){
 .mfilter-free-button{display:none!important}
 .tfx-tools,.tfx-sidereset{display:none!important}
 html.tfx-lock,html.tfx-lock body{overflow:hidden!important}
 /* Μπάρα «Φίλτρα / Ταξινόμηση» που μένει πάνω */
 .tfx-bar{position:-webkit-sticky;position:sticky;top:0;z-index:60;display:flex;gap:10px;margin:0 0 12px;padding:10px 15px;background:#fff;box-shadow:0 2px 6px rgba(0,19,111,.08)}
 .tfx-bar button{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;height:46px;margin:0;padding:0 10px;border:1px solid #00136f;border-radius:50px;font-family:bold,sans-serif;font-size:15px;line-height:1.1;transition:background-color .15s,color .15s,border-color .15s}
 .tfx-bar .tfx-fbtn{background:#00136f;color:#fff}
 .tfx-bar .tfx-sbtn{background:#fff;color:#00136f}
 .tfx-bar .tfx-sbtn > span{text-align:left}
 .tfx-bar .tfx-sub{display:block;margin-top:1px;font-family:main,sans-serif;font-size:11px;opacity:.75}
 .tfx-bar .tfx-badge{display:none;align-items:center;justify-content:center;min-width:20px;height:20px;padding:0 6px;border-radius:50px;background:#f5a623;color:#00136f;font-size:12px}
 .tfx-active .tfx-bar .tfx-badge{display:inline-flex}
 .tfx-bar .tfx-fbtn:active{background:#f5a623;border-color:#f5a623;color:#00136f}
 .tfx-bar .tfx-sbtn:active{background:#fff6e6;border-color:#f5a623;color:#b86f00}
 /* Φίλτρα σε πλήρη οθόνη */
 .mfilter-free-container{width:100%!important;max-width:none!important;top:0!important;right:0!important;bottom:0!important;left:0!important;height:100%!important;margin:0!important;padding:0!important;background:#fff!important;box-shadow:none!important;transition:transform .25s ease!important}
 .mfilter-free-container.mfilter-free-container-closed{transform:translateX(-100%)}
 .mfilter-free-container .scroll-wrapper.mfilter-iscroll{position:absolute!important;top:56px;right:0;bottom:calc(78px + env(safe-area-inset-bottom));left:0;height:auto!important;max-height:none!important}
 .mfilter-free-container .scroll-content{height:100%!important;max-height:none!important;padding:6px 18px 24px!important}
 .mfilter-free-container .box-heading{display:none!important}
 .tfx-fhead{display:flex;position:absolute;top:0;right:0;left:0;height:56px;align-items:center;justify-content:space-between;padding:0 18px;border-bottom:1px solid #eef1f5;background:#fff;color:#00136f;font-family:bold,sans-serif;font-size:19px}
 .tfx-fhead .tfx-x{padding:4px 2px;font-size:30px;line-height:1;cursor:pointer}
 .tfx-ffoot{display:flex;position:absolute;right:0;bottom:0;left:0;gap:10px;padding:12px 15px calc(16px + env(safe-area-inset-bottom));background:#fff;border-top:1px solid #eef1f5}
 .tfx-ffoot button{height:48px;margin:0;border-radius:50px;font-family:bold,sans-serif;font-size:15px;transition:background-color .15s,color .15s,border-color .15s}
 .tfx-ffoot .tfx-clear{flex:0 0 36%;background:#fff;border:1px solid #00136f;color:#00136f}
 .tfx-ffoot .tfx-show{flex:1;background:#00136f;border:1px solid #00136f;color:#fff}
 .tfx-ffoot .tfx-show:active{background:#f5a623;border-color:#f5a623;color:#00136f}
 .tfx-ffoot .tfx-clear:active{background:#fff6e6;border-color:#f5a623;color:#b86f00}
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option label{padding:11px 0!important}
 .mfilter-box:not(#tfx) input[type=checkbox],.mfilter-box:not(#tfx) input[type=radio]{width:22px!important;height:22px!important;min-width:22px}
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option:active{background:#fff6e6}
 /* Ταξινόμηση από κάτω */
 .tfx-sheet-bg{position:fixed;top:0;right:0;bottom:0;left:0;z-index:100000;background:rgba(0,19,111,.35)}
 .tfx-sheet{display:block;position:fixed;right:0;bottom:0;left:0;z-index:100001;max-height:85vh;overflow:auto;padding:6px 0 calc(18px + env(safe-area-inset-bottom));border-radius:16px 16px 0 0;background:#fff;transform:translateY(105%);transition:transform .25s ease}
 .tfx-sheet.open{transform:none}
 .tfx-sheet .tfx-grab{width:40px;height:4px;margin:4px auto 6px;border-radius:4px;background:#ddd}
 .tfx-sheet .tfx-sh{display:flex;justify-content:space-between;align-items:center;margin:4px 18px 8px;font-family:bold,sans-serif;font-size:18px;color:#00136f}
 .tfx-sheet .tfx-sh span{font-size:28px;line-height:1;cursor:pointer}
 .tfx-sheet a{display:flex;justify-content:space-between;align-items:center;padding:15px 18px;border-top:1px solid #f0f0f0;color:#00136f;font-size:15px;text-decoration:none}
 .tfx-sheet a.on{font-family:bold,sans-serif;background:#f6f7fc}
 .tfx-sheet a.on:after{content:"";width:20px;height:20px;border-radius:50%;background:#f5a623 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='10'%3E%3Cpath d='M1 5l3.5 3.5L11 1' stroke='%2300136f' stroke-width='2' fill='none'/%3E%3C/svg%3E") no-repeat center}
 .tfx-sheet a:active{background:#fff6e6;color:#b86f00}
}

/* ========== 6. Ποντίκι (μόνο σε συσκευές με ποντίκι, ώστε να μη «κολλάει» στο κινητό) ========== */
@media (hover:hover){
 .tfx-pill:hover{border-color:#f5a623}
 .tfx-sidereset:hover{color:#b86f00;border-color:#b86f00}
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option:hover{background:#fff6e6}
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option:hover label{color:#b86f00!important}
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option:hover input[type=checkbox]:not(:checked),
 .mfilter-box:not(#tfx) li[data-type] .mfilter-option:hover input[type=radio]:not(:checked){border-color:#f5a623}
 html body .mfilter-box:not(#tfx) .mfilter-price-inputs input:hover{border-color:#f5a623!important}
 .mfilter-box:not(#tfx) .mfilter-price-slider .ui-slider-handle:hover{transform:scale(1.12)}
 .tfx-bar .tfx-fbtn:hover,.tfx-ffoot .tfx-show:hover{background:#f5a623;border-color:#f5a623;color:#00136f}
 .tfx-bar .tfx-sbtn:hover,.tfx-ffoot .tfx-clear:hover{background:#fff6e6;border-color:#f5a623;color:#b86f00}
 .tfx-sheet a:hover{background:#fff6e6;color:#b86f00}
}
