
/* TimNhao x Flatsome compatibility mode */
.timnhao-flatsome-mode{font-family:inherit;}
.timnhao-flatsome-mode .tn-market-app,
.timnhao-flatsome-mode .tn-public-app,
.timnhao-flatsome-mode .tn-dashboard{font-family:inherit;}
/* Style Flatsome header/menu in TimNhao direction without replacing theme templates */
.timnhao-flatsome-mode .header-wrapper{box-shadow:0 10px 30px rgba(88,24,43,.08);border-bottom:1px solid rgba(88,24,43,.10);}
.timnhao-flatsome-mode #masthead{background:rgba(255,255,255,.96);backdrop-filter:blur(14px);}
.timnhao-flatsome-mode .header-nav>li>a,
.timnhao-flatsome-mode .nav>li>a{font-weight:700;border-radius:999px;padding:9px 12px;color:#2b1620;}
.timnhao-flatsome-mode .header-nav>li.active>a,
.timnhao-flatsome-mode .header-nav>li.current-menu-item>a,
.timnhao-flatsome-mode .nav>li.active>a,
.timnhao-flatsome-mode .nav>li.current-menu-item>a{background:#6f1d3f;color:#fff!important;}
.timnhao-flatsome-mode .header-button .button,
.timnhao-flatsome-mode .header .button{border-radius:999px;background:#6f1d3f;border-color:#6f1d3f;color:#fff;}
/* Mobile/tablet: hamburger left, logo center, search/right icon */
@media(max-width: 849px){
  .timnhao-flatsome-mode .header-main .flex-row{display:grid!important;grid-template-columns:48px 1fr 48px;align-items:center;gap:0;}
  .timnhao-flatsome-mode .header-main .flex-left{grid-column:1;justify-content:flex-start;}
  .timnhao-flatsome-mode .header-main .flex-center{grid-column:2;justify-content:center;text-align:center;}
  .timnhao-flatsome-mode .header-main .flex-right{grid-column:3;justify-content:flex-end;}
  .timnhao-flatsome-mode .header-main .logo{margin:0 auto!important;}
  .timnhao-flatsome-mode .header-main .logo img{max-height:42px;width:auto;}
  .timnhao-flatsome-mode .header-nav-main{display:none!important;}
  .timnhao-flatsome-mode .nav-icon a,.timnhao-flatsome-mode .search-button a{width:40px;height:40px;border-radius:14px;background:#f7eef2;display:flex;align-items:center;justify-content:center;color:#6f1d3f!important;}
}
.tn-flatsome-template-wrap{padding:24px 0 40px;}
.tn-fx-menu{display:flex;flex-wrap:wrap;gap:8px;align-items:center;margin:0 0 18px;}
.tn-fx-menu a{display:inline-flex;align-items:center;border-radius:999px;padding:9px 14px;text-decoration:none;background:#fff;border:1px solid rgba(88,24,43,.12);color:#2b1620;font-weight:700;box-shadow:0 8px 20px rgba(88,24,43,.05);}
.tn-fx-menu a.active,.tn-fx-menu a:hover{background:#6f1d3f;color:#fff;}
.tn-fx-menu-plain a{box-shadow:none;background:transparent;}
.tn-fx-grid{display:grid;gap:16px;}.tn-fx-cols-1{grid-template-columns:1fr}.tn-fx-cols-2{grid-template-columns:repeat(2,minmax(0,1fr))}.tn-fx-cols-3{grid-template-columns:repeat(3,minmax(0,1fr))}.tn-fx-cols-4{grid-template-columns:repeat(4,minmax(0,1fr))}
.tn-fx-card{border:1px solid rgba(88,24,43,.10);border-radius:22px;background:#fff;overflow:hidden;box-shadow:0 12px 30px rgba(88,24,43,.06)}.tn-fx-card>div{padding:14px}.tn-fx-card h3{font-size:18px;margin:0 0 8px}.tn-fx-card p{margin:0;color:#6b5b64}.tn-fx-thumb{display:block;aspect-ratio:4/3;background:#f7eef2;overflow:hidden}.tn-fx-thumb img{width:100%;height:100%;object-fit:cover}.tn-fx-thumb span{height:100%;display:flex;align-items:center;justify-content:center;color:#6f1d3f;font-weight:800}
@media(max-width:849px){.tn-fx-grid{grid-template-columns:1fr!important}.tn-fx-menu{overflow:auto;flex-wrap:nowrap;padding-bottom:6px}.tn-fx-menu a{white-space:nowrap}}
