/* TheFishing - Έξυπνη Αναζήτηση. Τα χρώματα ταιριάζουν με το θέμα του καταστήματος. */
:root {
	--tfs-blue: #0b2fb4;
	--tfs-navy: #0a1464;
	--tfs-text: #0d1442;
	--tfs-muted: #5b6182;
	--tfs-line: #e6e8f0;
	--tfs-soft: #f3f5fb;
	--tfs-chip: #e9ecf7;
	--tfs-sale: #c8102e;
}
.tfs-panel, .tfs-overlay { font-family: inherit; color: var(--tfs-text); box-sizing: border-box; }
.tfs-panel *, .tfs-overlay * { box-sizing: border-box; }
.tfs-panel a, .tfs-overlay a { text-decoration: none; }
.tfs-panel b, .tfs-overlay b { color: var(--tfs-blue); font-weight: 700; }

/* ---- Υπολογιστής ---- */
.tfs-panel { display: none; position: absolute; z-index: 9999; background: #fff; border-radius: 14px; box-shadow: 0 18px 48px rgba(8, 14, 60, .28); padding: 20px 24px; max-height: calc(100vh - 140px); overflow-y: auto; }
.tfs-head { font-size: 14px; color: var(--tfs-muted); margin-bottom: 14px; }
.tfs-body { display: flex; gap: 24px; }
.tfs-side { width: 220px; flex-shrink: 0; border-right: 1px solid var(--tfs-line); padding-right: 18px; }
.tfs-main { flex: 1; min-width: 0; }
.tfs-title { font-size: 15px; font-weight: 700; color: var(--tfs-blue); margin: 4px 0 10px; display: flex; align-items: center; gap: 8px; }
.tfs-side .tfs-title + .tfs-link { margin-top: 0; }
.tfs-side .tfs-link + .tfs-title { margin-top: 18px; }
.tfs-link { display: block; font-size: 15px; color: var(--tfs-text); padding: 5px 0; line-height: 1.3; }
.tfs-link small { display: block; font-size: 12px; color: var(--tfs-muted); }
.tfs-link span { color: var(--tfs-muted); }
.tfs-link:hover { color: var(--tfs-blue); }
.tfs-badge { font-size: 12px; font-weight: 500; background: var(--tfs-chip); color: var(--tfs-muted); padding: 2px 10px; border-radius: 20px; }
.tfs-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 14px; }
.tfs-card { display: flex; flex-direction: column; gap: 6px; border: 1px solid var(--tfs-line); border-radius: 10px; padding: 10px; color: var(--tfs-text); transition: border-color .15s, box-shadow .15s; }
.tfs-card:hover { border-color: var(--tfs-blue); box-shadow: 0 4px 14px rgba(11, 47, 180, .12); color: var(--tfs-text); }
.tfs-img { display: flex; align-items: center; justify-content: center; aspect-ratio: 1 / 1; background: #fff; border-radius: 8px; overflow: hidden; }
.tfs-img img { max-width: 100%; max-height: 100%; object-fit: contain; }
.tfs-name { font-size: 13px; line-height: 1.35; height: 35px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
.tfs-price { font-size: 15px; font-weight: 700; color: var(--tfs-blue); }
.tfs-price s { font-size: 12px; font-weight: 400; color: var(--tfs-muted); }
.tfs-price .tfs-new { color: var(--tfs-sale); }
.tfs-foot { text-align: center; margin-top: 18px; }
.tfs-all { display: inline-block; background: var(--tfs-blue); color: #fff !important; font-size: 15px; font-weight: 600; padding: 12px 28px; border-radius: 8px; }
.tfs-all:hover { background: var(--tfs-navy); }
.tfs-empty p { font-size: 15px; margin: 0 0 12px; }

/* ---- Κουμπάκια (κινητό, προτάσεις) ---- */
.tfs-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 6px; }
.tfs-chip { display: inline-flex; align-items: center; gap: 6px; min-height: 40px; font-size: 14px; color: var(--tfs-text); border: 1px solid #d5d9ea; padding: 7px 13px; border-radius: 20px; background: #fff; }
.tfs-chip span { color: var(--tfs-muted); font-size: 13px; }
.tfs-chip-cat { background: var(--tfs-chip); border-color: var(--tfs-chip); font-weight: 600; }
.tfs-chip:hover { border-color: var(--tfs-blue); color: var(--tfs-blue); }
.tfs-empty-page { margin-top: 14px; text-align: left; }

/* ---- Κινητό: αναζήτηση σε όλη την οθόνη ---- */
html.tfs-lock, html.tfs-lock body { overflow: hidden; }
html.tfs-lock [id^="gb-widget"] { display: none !important; }
.tfs-overlay { display: none; position: fixed; inset: 0; z-index: 2147483000; background: #fff; flex-direction: column; }
.tfs-overlay.tfs-open { display: flex; }
.tfs-bar { display: flex; align-items: center; gap: 6px; padding: 10px 12px; border-bottom: 1px solid var(--tfs-line); margin: 0; }
.tfs-back, .tfs-clear { border: 0; background: transparent; color: var(--tfs-navy); width: 44px; height: 44px; display: flex; align-items: center; justify-content: center; padding: 0; cursor: pointer; }
.tfs-clear { width: 36px; color: var(--tfs-muted); }
.tfs-field { flex: 1; display: flex; align-items: center; height: 46px; border: 2px solid var(--tfs-blue); border-radius: 10px; padding-left: 12px; min-width: 0; }
.tfs-field input { flex: 1; min-width: 0; border: 0; outline: none; font-family: inherit; font-size: 17px; color: var(--tfs-text); background: transparent; -webkit-appearance: none; appearance: none; }
.tfs-field input::-webkit-search-cancel-button { display: none; }
.tfs-mbody { flex: 1; overflow-y: auto; -webkit-overflow-scrolling: touch; padding: 12px 16px 16px; }
.tfs-mbody .tfs-title { font-size: 13px; margin-top: 12px; }
.tfs-mbody .tfs-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.tfs-mfoot { padding: 10px 16px calc(14px + env(safe-area-inset-bottom)); border-top: 1px solid var(--tfs-line); background: #fff; }
.tfs-mfoot:empty { display: none; }
.tfs-mfoot .tfs-all { display: block; text-align: center; font-size: 16px; padding: 14px; border-radius: 10px; }

@media (max-width: 1100px) {
	.tfs-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
	.tfs-panel .tfs-card:nth-child(n+7) { display: none; }
}
