/* trikonfilter v0.5 — Mini-Sidebar + Filter-Panel (Amazon-Muster).
   TRIKON-Theme: Petrol #04697e, Navy #14222a, Rot #dd0000, Roboto, Radius 4px */

/* ── Gemeinsame Bausteine ── */
#tf_side, #tf_block { font-family: Roboto, sans-serif; color: #232323; }
.tf-head { display: flex; justify-content: space-between; align-items: baseline;
  padding: 13px 16px 11px; border-bottom: 1px solid #ececec; }
.tf-head h4 { margin: 0; font-size: 16px; font-weight: 600; color: #14222a; }
.tf-reset, .tf-clear { font-size: 12px; color: #dd0000; text-decoration: none; font-weight: 500; }
.tf-reset:hover, .tf-clear:hover { text-decoration: underline; }
#tf_side .tf-list, #tf_block .tf-list { list-style: none; margin: 0; padding: 0; }
#tf_side .tf-list a, #tf_block .tf-list a {
  display: flex; align-items: center; gap: 10px; padding: 8px;
  border-radius: 4px; color: #232323; font-size: 14px; line-height: 1.3;
  text-decoration: none; transition: background .1s; }
#tf_side .tf-list a:hover, #tf_block .tf-list a:hover { background: #f5f5f5; color: #14222a; }
#tf_side em, #tf_block em {
  font-style: normal; font-size: 12px; color: #8a8a8a; background: #f5f5f5;
  border-radius: 10px; padding: 1px 8px; margin-left: auto; white-space: nowrap; }
.tf-box { width: 17px; height: 17px; border: 1px solid #c9c9c9; border-radius: 4px;
  background: #fff; display: inline-flex; align-items: center; justify-content: center;
  font-size: 12px; line-height: 1; flex: 0 0 17px; transition: border-color .1s, background .1s; }
.tf-list a:hover .tf-box { border-color: #04697e; }
.tf-active > a { background: #e9f2f5 !important; color: #14222a; font-weight: 500; }
.tf-active .tf-box { background: #04697e; border-color: #04697e; color: #fff; }
.tf-active em { background: #fff; border: 1px solid #bcd8e0; color: #04697e; }

/* ── Mini-Sidebar ── */
#tf_side { background: #fff; border: 1px solid rgba(0,0,0,.125); border-radius: 6px;
  margin-bottom: 20px; overflow: hidden; }
#tf_side .tf-body { padding: 6px 8px 12px; }
#tf_more { display: flex; align-items: center; justify-content: center; gap: 8px;
  width: calc(100% - 16px); margin: 10px 8px 0; padding: 10px;
  font-size: 13px; font-weight: 500; font-family: Roboto, sans-serif;
  color: #04697e; background: #fff; border: 1px solid #04697e; border-radius: 4px;
  cursor: pointer; transition: background .1s; }
#tf_more:hover { background: #e9f2f5; }
.tf-morebadge { background: #04697e; color: #fff; border-radius: 9px;
  font-size: 11px; font-weight: 600; padding: 0 7px; }
.tf-chips { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 8px 0; }
.tf-chip { display: inline-flex; align-items: center; gap: 6px;
  font-size: 12px; color: #04697e; background: #e9f2f5;
  border: 1px solid #bcd8e0; border-radius: 12px; padding: 3px 10px;
  text-decoration: none; }
.tf-chip:hover { background: #ddebef; color: #04697e; }
.tf-chip b { font-weight: 400; color: #8a8a8a; }

/* ── Panel (Desktop: Modal) ── */
#tf_backdrop { display: none; position: fixed; inset: 0;
  background: rgba(20,34,42,.45); z-index: 1095; }
#tf_block { display: none; position: fixed; z-index: 1100;
  background: #fff; border-radius: 8px;
  left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 720px; max-width: calc(100vw - 32px);
  height: 84vh; max-height: 84vh; flex-direction: column; overflow: hidden;
  box-shadow: 0 10px 40px rgba(20,34,42,.35); }
body.tf-sheet-open #tf_block { display: flex; }
body.tf-sheet-open #tf_backdrop { display: block; }
#tf_block .tf-close { font-size: 22px; line-height: 1; color: #8a8a8a;
  text-decoration: none; padding: 0 2px; }
#tf_block .tf-close:hover { color: #14222a; }
#tf_block .tf-panes { flex: 1 1 auto; min-height: 0; display: flex; }
#tf_block .tf-nav { width: 38%; max-width: 240px; background: #f7f7f7;
  border-right: 1px solid #ececec; overflow-y: auto; padding: 6px 0;
  scrollbar-width: thin; scrollbar-color: #c9c9c9 transparent; }
#tf_block .tf-nav-item { display: flex; align-items: center; gap: 8px;
  width: 100%; text-align: left; padding: 11px 14px;
  font-size: 13px; color: #232323; background: transparent;
  border: 0; border-left: 3px solid transparent; cursor: pointer;
  font-family: Roboto, sans-serif; transition: background .1s; }
#tf_block .tf-nav-item:hover { background: #efefef; }
#tf_block .tf-nav-active { background: #fff !important; border-left-color: #04697e;
  font-weight: 600; color: #14222a; }
.tf-nbadge { background: #04697e; color: #fff; border-radius: 9px;
  font-size: 10px; font-weight: 600; padding: 0 6px; margin-left: auto; }
#tf_block .tf-panecol { flex: 1 1 auto; min-width: 0; overflow-y: auto;
  padding: 8px 14px 14px; -webkit-overflow-scrolling: touch;
  scrollbar-width: thin; scrollbar-color: #c9c9c9 transparent; }
#tf_block .tf-panecol::-webkit-scrollbar { width: 6px; }
#tf_block .tf-panecol::-webkit-scrollbar-thumb { background: #c9c9c9; border-radius: 3px; }
#tf_block .tf-pane { display: block; scroll-margin-top: 8px;
  padding-bottom: 6px; border-bottom: 1px solid #f0f0f0; margin-bottom: 6px; }
#tf_block .tf-pane:last-child { border-bottom: 0; }
#tf_block .tf-pane h5 { font-size: 13px; font-weight: 600; color: #14222a;
  margin: 10px 0 6px; }
#tf_block .tf-lbl { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
#tf_block .tf-eur { color: #8a8a8a; font-size: 13px; }
.tf-search { width: 100%; box-sizing: border-box; margin: 4px 0 6px; height: 32px;
  border: 1px solid #c9c9c9; border-radius: 4px; padding: 0 10px;
  font-size: 13px; font-family: Roboto, sans-serif; color: #232323; background: #fff; }
.tf-search:focus { outline: none; border-color: #04697e; }
#tf_block .tf-price { display: flex; align-items: center; gap: 6px; padding: 8px 8px 0; }
#tf_block .tf-price input[type=number] { width: 70px; height: 32px; padding: 0 8px;
  font-size: 13px; color: #232323; border: 1px solid #c9c9c9; border-radius: 4px;
  background: #fff; font-family: Roboto, sans-serif; -moz-appearance: textfield; }
#tf_block .tf-price input[type=number]:focus { outline: none; border-color: #04697e; }
#tf_block .tf-price input::-webkit-outer-spin-button,
#tf_block .tf-price input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
#tf_block .tf-price .tf-dash { color: #8a8a8a; }
#tf_block .tf-footer { display: flex; justify-content: space-between; align-items: center;
  gap: 12px; border-top: 1px solid #ececec; padding: 12px 16px; background: #fff; }
#tf_block .tf-footer button { padding: 11px 22px; font-size: 14px; font-weight: 500;
  background: #04697e; color: #fff; border: 0; border-radius: 4px;
  font-family: Roboto, sans-serif; cursor: pointer; transition: background .1s; }
#tf_block .tf-footer button:hover { background: #05819b; }

/* ── Mobile ── */
#tf_mbtn { display: none; }
@media (max-width: 767px) {
  #tf_side { display: none; }
  #tf_mbtn { display: flex; align-items: center; gap: 8px;
    position: fixed; bottom: 16px; left: 50%; transform: translateX(-50%);
    z-index: 1090; background: #04697e; color: #fff; border: 0; border-radius: 24px;
    padding: 11px 22px; font-size: 14px; font-weight: 500;
    font-family: Roboto, sans-serif; box-shadow: 0 3px 12px rgba(20,34,42,.3);
    cursor: pointer; }
  #tf_mbtn .tf-mbadge { background: #fff; color: #04697e; border-radius: 10px;
    font-size: 11px; font-weight: 600; padding: 1px 7px; }
  #tf_block { left: 0; right: 0; top: auto; bottom: 0; transform: none;
    width: 100%; max-width: 100%; max-height: none; height: 86vh;
    border-radius: 14px 14px 0 0; box-shadow: none; }
  #tf_block .tf-nav { width: 40%; max-width: 150px; }
  #tf_block .tf-nav-item { padding: 12px 10px; font-size: 12px; }
  #tf_block .tf-list a { padding: 10px 8px; }
  #tf_block .tf-box { width: 18px; height: 18px; flex-basis: 18px; }
}
