/* Tandoro Cards (Modern) */
.tf-cards, .tf-cards-tabs{
  font-family: 'Montserrat', sans-serif !important;
}

.tf-cards{
  display:grid;
  gap:18px;
}
.tf-cards--cols-1{ grid-template-columns: 1fr; }
.tf-cards--cols-2{ grid-template-columns: repeat(2, minmax(0,1fr)); }
.tf-cards--cols-3{ grid-template-columns: repeat(3, minmax(0,1fr)); }
.tf-cards--cols-4{ grid-template-columns: repeat(4, minmax(0,1fr)); }

@media (max-width: 1024px){
  .tf-cards--cols-4{ grid-template-columns: repeat(3, minmax(0,1fr)); }
}
@media (max-width: 768px){
  .tf-cards--cols-3, .tf-cards--cols-4{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 520px){
  .tf-cards--cols-2, .tf-cards--cols-3, .tf-cards--cols-4{ grid-template-columns: 1fr; }
}

.tf-card{
  border-radius: 22px;
  background: rgba(255,255,255,0.88);
  border: 1px solid rgba(15,23,42,0.08);
  box-shadow: none !important;
  overflow:hidden;
  position:relative;
  transition: border-color .18s ease, background .18s ease;
}
.tf-card:hover{
  transform:none !important;
  box-shadow:none;
}

.tf-card__media{
  position:relative;
}
.tf-card__media-link{
  position:relative;
  display:block;
  aspect-ratio: 16/10;
  overflow:hidden;
  background: linear-gradient(135deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
}
.tf-card__media-link img{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
  display:block;
  transform: scale(1.01);
  transition: transform .35s ease;
}
.tf-card:hover .tf-card__media-link img{
  transform: scale(1.03);
}

.tf-card__placeholder{
  width:100%;
  height:100%;
  background: radial-gradient(circle at 20% 30%, rgba(113,192,3,0.18), transparent 55%),
              radial-gradient(circle at 80% 40%, rgba(167,139,250,0.18), transparent 55%),
              linear-gradient(135deg, rgba(2,6,23,.06), rgba(2,6,23,.02));
}

.tf-card__badge{
  position:absolute;
  top:12px;
  left:12px;
  display:flex;
  align-items:center;
  gap:6px;
  background: rgba(255,255,255,0.92);
  border: 1px solid rgba(15,23,42,0.10);
  border-radius: 999px;
  padding:6px 10px;
  font-size: 14px;
  font-weight: 700;
  color:#0f172a;
  box-shadow: 0 10px 26px rgba(2,6,23,.10);
}
.tf-card__badge-star{
  color: #f6b800;
  display:flex;
}
.tf-card__fav{
  position:absolute;
  top:12px;
  right:12px;
  width:38px;
  height:38px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,0.78);
  background: rgba(15,23,42,0.18);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: #fff;
  display:flex;
  align-items:center;
  justify-content:center;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, border-color .18s ease;
  box-shadow: 0 12px 28px rgba(2,6,23,.18);
}
.tf-card__fav:hover{
  transform: scale(1.02);
  background: rgba(15,23,42,0.28);
}
.tf-card__fav .tf-icon{ pointer-events:none; }
.tf-card__fav:focus{ outline:none !important; }
.tf-card__fav:focus-visible{
  box-shadow: 0 0 0 4px rgba(255,255,255,.70), 0 0 0 8px rgba(113,192,3,.18);
}
.tf-card__fav:active{
  transform: scale(0.98);
  background: rgba(15,23,42,0.34) !important;
}
.tf-card__fav.is-active{
  background: rgba(255,255,255,0.94) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: rgba(15,23,42,0.92) !important;
}
.tf-card__fav.is-active:hover{
  background: rgba(255,255,255,1) !important;
}

.tf-card__body{
  padding: 14px 16px 16px;
}

.tf-card__title{
  margin:0;
  font-size: 15px;
  line-height: 1.2;
  font-weight: 700;
  letter-spacing: -0.4px;
  text-transform: uppercase;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow:hidden;
  min-height: 2.4em;
}
.tf-card__title a{
  color:#0f172a !important;
  text-decoration:none !important;
}
.tf-card__title a:hover{ text-decoration:none !important; }

.tf-card__loc{
  margin-top: 8px;
  display:flex;
  align-items:center;
  gap:8px;
  color: rgba(15,23,42,0.72);
  font-size: 14px;
}
.tf-card__loc .tf-icon{ color: rgba(15,23,42,0.55); }

.tf-card__meta{
  margin-top: 12px;
  display:grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px 12px;
  color: rgba(15,23,42,0.78);
  font-size: 14px;
}
.tf-card__meta-item{
  display:flex;
  align-items:center;
  gap:8px;
  min-width:0;
}
.tf-card__meta-ic{
  width:28px;
  height:28px;
  border-radius: 10px;
  background: rgba(15,23,42,0.05);
  display:flex;
  align-items:center;
  justify-content:center;
  color: rgba(15,23,42,0.68);
}
 .tf-card__meta-tx{
  min-width:0;
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}

@media (max-width: 768px){
  .tf-card__meta{ grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 520px){
  .tf-card__meta{
    display:flex;
    flex-wrap:nowrap;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch;
    gap:12px;
    grid-template-columns: none;
    padding-bottom: 2px;
    scrollbar-width:none;
  }
  .tf-card__meta::-webkit-scrollbar{ display:none; }
  .tf-card__meta-item{ flex:0 0 auto; }
  .tf-card__meta-ic{ width:26px; height:26px; border-radius:9px; }
  .tf-card__meta{ font-size:13px; }
}


.tf-card__price{
  margin-top: 12px;
  display:flex;
  align-items:center;
  justify-content: space-between;
  gap: 12px;
  color:#0f172a;
}
.tf-card__price-left{
  display:flex;
  align-items:baseline;
  gap: 2px;
  min-width:0;
  flex-wrap: wrap;
}
.tf-card__price strong{
  font-size: 20px;
  font-weight: 800;
  letter-spacing: .2px;
}
.tf-card__price span{
  font-size: 14px;
  color: rgba(15,23,42,0.66);
}

.tf-card__cta{
  display:inline-flex;
  align-items:center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  border: 1px solid rgba(15,23,42,0.12);
  background: rgba(255,255,255,0.62);
  color: rgba(15,23,42,0.86);
  font-size: 14px;
  font-weight: 700;
  line-height: 1;
  text-decoration: none !important;
  transition: opacity .18s ease, background .18s ease, border-color .18s ease, color .18s ease;
  -webkit-tap-highlight-color: transparent;
  white-space: nowrap;
  opacity: 0.6;
}
.tf-card__cta span{
  padding-left: 13px !important;
  font-weight: 500;
}
.tf-card__cta:hover{
  opacity: 1;
  transform: none !important;
  background: rgba(255,255,255,0.62);
  border-color: rgba(15,23,42,0.12);
  color: rgba(15,23,42,0.92);
}
.tf-card__cta:active{ opacity: 1; }
.tf-card__cta:focus{ outline: none !important; }
.tf-card__cta:focus-visible{
  box-shadow: 0 0 0 4px rgba(255,255,255,.70), 0 0 0 8px rgba(15,23,42,.10);
}
.tf-card__cta svg{ display:block; }
.tf-card__cta--icon{
  padding: 0;
  width: 38px;
  height: 38px;
  justify-content:center;
}

/* Hard override Elementor/global button styles for CTA */
.tf-card__cta,
.tf-card__cta:hover,
.tf-card__cta:focus,
.tf-card__cta:focus-visible,
.tf-card__cta:active{
  background-color: rgba(255,255,255,0.62) !important;
  color: rgba(15,23,42,0.86) !important;
  text-decoration: none !important;
  transform: none !important;
}
.tf-card__cta:hover{
  border-color: rgba(15,23,42,0.12) !important;
  opacity: 1 !important;
}

/* Tabs header */
.tf-cards-tabs__head{
  display:flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}
.tf-cards-tab{
  border-radius: 999px;
  padding: 10px 14px;
  border: 1px solid rgba(15,23,42,0.10);
  background: rgba(255,255,255,0.80);
  box-shadow: 0 10px 26px rgba(2,6,23,0.06);
  display:flex;
  align-items:center;
  gap: 10px;
  cursor:pointer;
  transition: transform .18s ease, background .18s ease, border-color .18s ease;
  color:#0f172a;
  font-weight:700;
}
.tf-cards-tab:hover{ transform: translateY(-1px); }
.tf-cards-tab.is-active{
  background: rgba(113,192,3,0.14);
  border-color: rgba(113,192,3,0.35);
}
.tf-cards-tab__icon{ display:flex; color: rgba(15,23,42,0.75); }
.tf-cards-tab__count{
  display:inline-flex;
  min-width: 32px;
  height: 26px;
  padding: 0 10px;
  border-radius: 999px;
  background: rgba(15,23,42,0.06);
  align-items:center;
  justify-content:center;
  font-size: 13px;
  font-weight:800;
}
.tf-cards-tabs__panel{ display:none; }
.tf-cards-tabs__panel.is-active{ display:block; }

/* Empty */
.tf-cards-empty{
  padding: 16px;
  border-radius: 18px;
  border: 1px dashed rgba(15,23,42,0.18);
  color: rgba(15,23,42,0.75);
  font-family: 'Montserrat', sans-serif;
}

 .tf-card__total{ margin-left: 6px; font-size: 13px; color: rgba(15,23,42,0.55); }

/* Column-specific tuning */
.tf-cards--cols-4 .tf-card__title{ font-size: 14px; }
.tf-cards--cols-3 .tf-card__title{ font-size: 15px; }
.tf-cards--cols-4 .tf-card__meta{ font-size: 13px; gap: 8px 10px; }
.tf-cards--cols-4 .tf-card__meta-ic{ width:26px; height:26px; border-radius: 9px; }
.tf-cards--cols-4 .tf-card__price strong{ font-size: 18px; }
.tf-cards--cols-4 .tf-card__price span{ font-size: 13px; }
.tf-cards--cols-4 .tf-card__cta{ font-size: 13px; padding: 7px 10px; }
.tf-cards--cols-4 .tf-card__cta--icon{ width: 34px; height: 34px; padding: 0; }

/* Cards tabs: keep the frame ONLY around the tabs switcher */
.tfctabs .tfms-tabs__wrap{
  background: transparent !important;
  border: 0 !important;
  box-shadow: none !important;
  padding: 0 !important;
}
.tfctabs .tfms-tabs__nav{
  width: fit-content;
  max-width: 100%;
  margin-bottom: 18px;
}
.tfctabs .tfctabs__panels{ padding: 0; }

@media (max-width: 520px){
  .tfctabs .tfms-tabs__nav{ width: 100%; }
}




/* Fav button hard override (beat Elementor global button styles) */
.tf-card__fav,
.tf-card__fav:hover,
.tf-card__fav:focus,
.tf-card__fav:focus-visible,
.tf-card__fav:active{
  background-color: rgba(15,23,42,0.18) !important;
  color: #fff !important;
  text-decoration: none !important;
  box-shadow: 0 12px 28px rgba(2,6,23,.18) !important;
}
.tf-card__fav:hover{
  background-color: rgba(15,23,42,0.28) !important;
}
.tf-card__fav:active{
  background-color: rgba(15,23,42,0.34) !important;
}
.tf-card__fav.is-active,
.tf-card__fav.is-active:hover,
.tf-card__fav.is-active:focus,
.tf-card__fav.is-active:focus-visible{
  background-color: rgba(255,255,255,0.94) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: rgba(15,23,42,0.92) !important;
}
/* Fav button reset (avoid theme styles) */
.tf-card__fav{ padding:0 !important; line-height:1 !important; -webkit-tap-highlight-color: transparent; }
.tf-card__fav svg{ display:block; }


/* Override Elementor global button states for wishlist */
.tf-card__fav,
.tf-card__fav:hover,
.tf-card__fav:focus,
.tf-card__fav:focus-visible,
.tf-card__fav:active{
  background-color: rgba(15,23,42,0.18) !important;
  color:#fff !important;
  text-decoration:none !important;
  box-shadow: 0 12px 28px rgba(2,6,23,.18) !important;
  border-color: rgba(255,255,255,0.78) !important;
}
.tf-card__fav:hover{
  background-color: rgba(15,23,42,0.28) !important;
}
.tf-card__fav:active{
  background-color: rgba(15,23,42,0.34) !important;
}
.tf-card__fav.is-active,
.tf-card__fav.is-active:hover,
.tf-card__fav.is-active:focus,
.tf-card__fav.is-active:focus-visible{
  background-color: rgba(255,255,255,0.94) !important;
  color: rgba(15,23,42,0.92) !important;
  border-color: rgba(15,23,42,0.12) !important;
}

/* Hard override theme/Elementor button states for wishlist */
.tf-card__fav,
.tf-card__fav:hover,
.tf-card__fav:focus,
.tf-card__fav:focus-visible,
.tf-card__fav:active{
  -webkit-appearance: none !important;
  appearance: none !important;
  text-decoration: none !important;
  background-color: rgba(15,23,42,0.18) !important;
  color: #fff !important;
}
.tf-card__fav:hover{ background-color: rgba(15,23,42,0.28) !important; }
.tf-card__fav:active{ background-color: rgba(15,23,42,0.34) !important; }
.tf-card__fav.is-active,
.tf-card__fav.is-active:hover,
.tf-card__fav.is-active:focus,
.tf-card__fav.is-active:focus-visible{
  background-color: rgba(255,255,255,0.94) !important;
  border-color: rgba(15,23,42,0.12) !important;
  color: rgba(15,23,42,0.92) !important;
}
.tf-card__fav .tf-icon{ color: currentColor !important; }


/* Arrow icon sizing */
svg.tf-icon.tf-icon--arrow-right{width:12px!important;height:auto;}


/* Pagination (tf_cards) */
.tf-pagination{
  margin-top: 31px;
  display:flex;
  gap:10px;
  justify-content:center;
  flex-wrap:wrap;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.tf-pagination a, .tf-pagination span{
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  border-radius: 999px;
  border: 1px solid rgba(17,24,39,.10);
  background: #fff;
  color: #0f172a;
  text-decoration:none;
  font-weight: 600;
  line-height:1;
  opacity:.78;
  transition: opacity .18s ease, border-color .18s ease, transform .18s ease;
}
.tf-pagination a:hover{
  opacity:1;
  transform: translateY(-1px);
  border-color: rgba(17,24,39,.18);
}
.tf-pagination .current{
  opacity: 1;
  border-color: rgba(113,192,3,.35);
  box-shadow: 0 8px 18px rgba(113,192,3,.14);
}

/* Results meta (only when paginate=1) */
.tf-results-meta{
  margin: 2px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: .08em;
  text-transform: uppercase;
  color: rgba(15,23,42,.45);
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Filters (tf_cards) */
.tf-filters{
  margin: 10px 0 10px;
  font-family: 'Montserrat', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}
.tf-filters__bar{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  margin-bottom:10px;
}
.tf-filters__toggle{
  appearance:none;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  border-radius:999px;
  padding:10px 14px;
  display:inline-flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  font-weight:700;
  font-size:13px;
  color:#0f172a;
  opacity:.75;
}
.tf-filters__toggle:hover{ opacity:1; }
.tf-filters__toggle:focus{ outline:none; box-shadow:0 0 0 3px rgba(113,192,3,.18); }
.tf-filters__toggle-icon{ display:inline-flex; }
.tf-filters__reset{
  font-size:12px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.45);
  text-decoration:none;
}
.tf-filters__reset:hover{ color:rgba(15,23,42,.75); }
.tf-filters__panel{
  display:none;
  border:1px solid rgba(17,24,39,.08);
  background:rgba(255,255,255,.72);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius:18px;
  padding:14px;
}
.tf-filters[data-open="1"] .tf-filters__panel{ display:block; }
.tf-filters__fields{
  display:grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap:12px;
}
.tf-filters__field{
  display:flex;
  flex-direction:column;
  gap:6px;
}
.tf-filters__label{
  font-size:11px;
  font-weight:700;
  letter-spacing:.08em;
  text-transform:uppercase;
  color:rgba(15,23,42,.45);
}
.tf-filters__field input,
.tf-filters__field select{
  width:100%;
  height:42px;
  border-radius:14px;
  border:1px solid rgba(17,24,39,.10);
  background:#fff;
  padding:0 12px;
  font-size:14px;
  font-weight:600;
  color:#0f172a;
}
.tf-filters__field input:focus,
.tf-filters__field select:focus{
  outline:none;
  box-shadow:0 0 0 3px rgba(113,192,3,.18);
  border-color: rgba(113,192,3,.35);
}
.tf-filters__actions{
  display:flex;
  gap:12px;
  align-items:center;
  justify-content:flex-end;
  margin-top:12px;
}
.tf-filters__apply{
  border:none;
  background:#71C003;
  color:#fff;
  height:42px;
  padding:0 18px;
  border-radius:999px;
  font-weight:800;
  letter-spacing:.01em;
  cursor:pointer;
}
.tf-filters__apply:hover{ filter:brightness(0.98); }
@media (max-width: 900px){
  .tf-filters__fields{ grid-template-columns: repeat(2, minmax(0,1fr)); }
}
@media (max-width: 480px){
  .tf-filters__toggle{ width:100%; justify-content:center; }
  .tf-filters__bar{ flex-direction:column; align-items:stretch; }
  .tf-filters__actions{ flex-direction:column; align-items:stretch; }
  .tf-filters__apply{ width:100%; }
}
