html,
body{
  height: 100%;
}

body{
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.tplcat{
  flex: 1 0 auto;
}

.site-footer{
  margin-top: auto;
}

.header{
  box-shadow:
    0 1px 0 rgba(0,0,0,0.025),
    0 3px 10px rgba(0,0,0,0.03);
}

/* ================= WEBSITE-VORLAGEN (PAGE) ================= */
.tplcat{
  background:#fff;
}

.tplcat__inner{
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

.tplcat__top{
  padding: 25px 0 18px;
}

.tplcat__crumbs{
  font-size: 12px;
  color: rgba(0,0,0,.45);
  display: flex;
  gap: 8px;
  align-items: center;
  margin: 0 0 10px;
}

.tplcat__crumbs a{
  color: inherit;
  text-decoration: none;
  transition: color .25s var(--ease);
}

.tplcat__crumbs a:hover{
  color: rgba(139,30,63,.72);
  text-decoration: none;
}

.tplcat__h1{
  margin: 0 0 6px;
  font-size: 18px;
  font-weight: 600;
  line-height: 1.4;
}

.tplcat__lead{
  margin: 0;
  font-size: 13px;
  color: rgba(0,0,0,.55);
  line-height: 1.45;
}

/* Filter button (mobile/tablet) */
.tplcat__filterbar{
  display: none;
  padding: 10px 24px 18px;
}
.tplcat__filterbtn{
  width: 100%;
  border: 0;
  background: var(--left-bg);
  padding: 14px 16px;
  display: flex;
  gap: 12px;
  align-items: center;
  justify-content: center;
  color: rgba(0,0,0,.75);
  font-weight: 600;
  cursor: pointer;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
.tplcat__filterbtn:active{ transform: scale(.99); }
.tplcat__filtericon{ display: inline-flex; }
.tplcat__filterlabel{ font-size: 15px; }

/* Layout */
.tplcat__body{
  padding: 25px 0 120px;
}

.tplcat__layout{
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  gap: 40px;
  align-items: start;
}

/* Aside */
.tplcat__aside{
  padding-top: 6px;
}

.tplcat__filters{
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.tplcat__group{
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tplcat__gtitle{
  font-size: 13px;
  font-weight: 700;
  letter-spacing: .02em;
  color: rgba(0,0,0,.75);
  margin-bottom: 2px;
}

.tplcat__opt{
  display: flex;
  gap: 10px;
  align-items: center;
  font-size: 13px;
  color: rgba(0,0,0,.78);
  cursor: pointer;
  user-select: none;
}
.tplcat__opt input{
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
}

.tplcat__reset{
  border: 0;
  background: transparent;
  color: rgba(0,0,0,.55);
  font-size: 13px;
  padding: 8px 0;
  text-align: left;
  cursor: pointer;
  transition: color .2s var(--ease);
}
.tplcat__reset:hover{ color: rgba(0,0,0,.8); }

/* Grid results */
.tplcat__grid{
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 26px;
}

.tplitem{
  opacity: 1;
  transform: translateY(0);
  transition: opacity .35s var(--ease), transform .35s var(--ease);
}
.tplitem.is-out{
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
}

.tplitem__card{
  display: block;
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  box-shadow: 0 0 0 1px rgba(0,0,0,.08);
  background: #fff;
  transition: transform .25s var(--ease), box-shadow .25s var(--ease);
}
@media (any-hover:hover){
  .tplitem__card:hover{
    transform: translateY(-3px);
    box-shadow: 0 0 0 1px rgba(0,0,0,.10), 0 14px 40px rgba(0,0,0,.08);
  }
}

.tplitem__ph{
  position: relative;
  height: 335px;
  overflow: hidden;
  background: rgba(0,0,0,.04);
}

@media (max-width: 900px){
  .tplitem__ph{
    height: 280px;
  }
}

.tplitem__ph img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1);
  transition: transform .6s var(--ease);
}

.tplitem__overlay{
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0,0,0,0);
  transition: background .35s var(--ease);
}

.tplitem__demo{
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
  color: #111;
  transform: translateY(10px);
  opacity: 0;
  transition:
    transform .35s var(--ease),
    opacity .35s var(--ease);
}

@media (any-hover:hover){
  .tplitem__card:hover .tplitem__ph img{
    transform: scale(1.05);
  }

  .tplitem__card:hover .tplitem__overlay{
    background: rgba(0,0,0,.25);
  }

  .tplitem__card:hover .tplitem__demo{
    transform: translateY(0);
    opacity: 1;
  }
}

@media (any-hover:none){
  .tplitem__overlay{
    background: rgba(0,0,0,0);
  }

  .tplitem__demo{
    opacity: 0;
    transform: translateY(10px);
  }
}

.tplitem__phinner{
  font-size: 12px;
  color: rgba(0,0,0,.35);
}

.tplitem__meta{
position: relative;
padding: 14px 14px 16px;
background: #fff;
}

.tplitem__meta::before{
content: "";
position: absolute;
left: 0;
right: 0;
top: -14px;
height: 14px;
background: linear-gradient(to top, rgba(0,0,0,.06), rgba(0,0,0,0));
pointer-events: none;
}

.tplitem__id{
  font-size: 11px;
  color: rgba(0,0,0,.38);
  margin-bottom: 6px;
}
.tplitem__title{
  margin: 0 0 8px;
  font-size: 15px;
  font-weight: 500;
  line-height: 1.3;
  color: rgba(0,0,0,.82);
}

.tplitem__price{
  font-size: 18px;
  font-weight: 600;
  color: rgba(0,0,0,.82);
  margin-bottom: 14px;
}

.tplitem__actions{
  display: flex;
  gap: 20px;
  align-items: center;
}

.tplitem__btn{
  position: relative;
  display: inline-block;
  line-height: 1.5;
  padding: 2px 0;
  overflow: hidden;
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
}

.tplitem__btn span{
  display: block;
  transition: transform .5s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.tplitem__btn::after{
  content: attr(data-hover);
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  white-space: nowrap;
  text-align: left;
  transition: top .5s cubic-bezier(0.68,-0.55,0.265,1.55);
}

.tplitem__btn--primary{
  color: #8B1E3F;
  background: none;
  box-shadow: none;
}

.tplitem__btn--secondary{
  color: rgba(0,0,0,.7);
  background: none;
  box-shadow: none;
}

.tplitem__btn--primary::after{
  color: #8B1E3F;
}

.tplitem__btn--secondary::after{
  color: rgba(0,0,0,.7);
}

@media (any-hover:hover){
  .tplitem__btn:hover span{
    transform: translateY(-100%);
  }

  .tplitem__btn:hover::after{
    top: 0;
  }
}

/* Empty */
.tplcat__empty{
  margin-top: 18px;
  color: rgba(0,0,0,.55);
  font-size: 13px;
}

/* SEO block */
.tplseo{
  padding: 0 0 120px;
}

.tplseo__inner{
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 24px;
}

.tplseo__block{
  color: rgba(0,0,0,.72);
  font-size: 16px;
  line-height: 1.7;
}

.tplseo__block h2{
  margin: 0 0 26px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}

.tplseo__block h3{
  margin: 26px 0;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}


.tplseo__block p{
 margin: 0 auto 10px;
  text-align: left;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.tplseo__block p span{
 font-weight: 600;
}

.tplseo__block ul{
  margin: 0 0 18px 24px;
  padding: 0;
}

.tplseo__block li{
  margin: 0 0 8px;
text-align: left;
  color: var(--muted);
  line-height: 1.55;
  font-size: 15px;
}

.tplseo__faq{
  margin-top: 60px;
}

.tplseo__faq h4{
 margin: 0 0 26px;
  font-size: 22px;
  font-weight: 500;
  line-height: 1.35;
  color: var(--text);
}


.tplseo__faqItem{
  border: 1px solid rgba(0,0,0,.12);
  background: #fff;
}

.tplseo__faqItem + .tplseo__faqItem{
  margin-top: 12px;
}

.tplseo__faqBtn{
  width: 100%;
  border: 0;
  background: transparent;
  padding: 20px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  cursor: pointer;
  text-align: left;
  color: rgba(0,0,0,.86);
  font-size: 15px;
  font-weight: 600;
}

.tplseo__faqIcon{
  position: relative;
  flex: 0 0 16px;
  width: 16px;
  height: 16px;
}

.tplseo__faqIcon::before,
.tplseo__faqIcon::after{
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  background: rgba(0,0,0,.78);
  transform: translate(-50%, -50%);
  transition: transform .3s var(--ease), opacity .3s var(--ease);
}

.tplseo__faqIcon::after{
  transform: translate(-50%, -50%) rotate(90deg);
}

.tplseo__faqItem.is-open .tplseo__faqIcon::after{
  opacity: 0;
  transform: translate(-50%, -50%) rotate(90deg) scale(.6);
}

.tplseo__faqPanel{
  height: 0;
  overflow: hidden;
  transition: height .35s var(--ease);
}

.tplseo__faqInner{
  padding: 0 22px 20px;
  color: rgba(0,0,0,.65);
  font-size: 14px;
  line-height: 1.7;
}

@media (max-width: 900px){
  .tplseo{
    padding: 0 0 50px;
  }

  .tplseo__block{
    font-size: 15px;
  }

  .tplseo__faqBtn{
    padding: 16px 18px;
    font-size: 14px;
  }

  .tplseo__faqInner{
    padding: 0 18px 16px;
    font-size: 14px;
  }
}

/* Drawer (mobile/tablet) */
.tplcat__drawerOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.35);
  opacity: 0;
  pointer-events: none;
  transition: opacity .25s var(--ease);
  z-index: 80;
}

.tplcat__drawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  width: min(360px, 92vw);
  background: #fff;
  box-shadow: none;
  transform: translateX(-105%);
  transition: transform .35s var(--ease);
  z-index: 90;
  display: flex;
  flex-direction: column;
}

.tplcat.is-filter-open .tplcat__drawer{
  transform: translateX(0);
  box-shadow: 18px 0 60px rgba(0,0,0,.18);
}

.tplcat__drawerTop{
display: flex;
align-items: center;
justify-content: flex-end;
padding: 16px 18px;
}

.tplcat__drawerClose{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: rgba(0,0,0,.06);
  cursor: pointer;
  font-size: 22px;
  line-height: 1;
  color: rgba(0,0,0,.65);
  transition: transform .2s var(--ease);
  margin-left: auto;
}
.tplcat__drawerClose:active{ transform: scale(.98); }

.tplcat__filters--drawer{
  padding: 14px 18px 18px;
  overflow: auto;
}

.tplcat__sep{
  height: 1px;
  background: rgba(0,0,0,.08);
  margin: 10px 0;
}

/* Open state */
.tplcat.is-filter-open .tplcat__drawerOverlay{
  opacity: 1;
  pointer-events: auto;
}
.tplcat.is-filter-open .tplcat__drawer{
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 1100px){
  .tplcat__grid{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px){
  .tplcat__layout{
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .tplcat__aside{ display: none; }
  .tplcat__filterbar{ display: block; }
  .tplcat__grid{ grid-template-columns: 1fr; }
}

@media (max-width: 599px){
  .tplseo__block h2,
  .tplseo__faq h4{
    font-size: 18px;
  }
  .tplseo__block p,
  .tplseo__block li{
    font-size: 14px;
  }
}