/* Turma do Rango — página inicial inspirada na organização do iFood */
body.tdr-ifood-home{
  --tdr-red:#ea1d2c;
  --tdr-red-dark:#c91522;
  --tdr-text:#3e3e3e;
  --tdr-muted:#717171;
  --tdr-line:#e8e8e8;
  --tdr-bg:#f7f7f7;
  background:var(--tdr-bg)!important;
  color:var(--tdr-text)!important;
}
body.tdr-ifood-home header{background:#fff!important;border-bottom:1px solid var(--tdr-line)!important;box-shadow:0 2px 10px rgba(0,0,0,.06)}
body.tdr-ifood-home .main-menu>ul>li>a{color:#4a4a4a!important}
body.tdr-ifood-home .main-menu>ul>li>a:hover{color:var(--tdr-red)!important}
body.tdr-ifood-home #img-head-loja,
body.tdr-ifood-home .parallax-window{min-height:245px!important;border-radius:0 0 22px 22px;overflow:hidden}
body.tdr-ifood-home #subheader{padding:40px 0 28px!important}
body.tdr-ifood-home #sub_content h1{font-size:30px!important;font-weight:800!important;letter-spacing:-.5px!important}
body.tdr-ifood-home #thumb img{border:4px solid #fff!important;box-shadow:0 5px 18px rgba(0,0,0,.25)!important}
body.tdr-ifood-home #position{display:none!important}
body.tdr-ifood-home .container.margin_60_35{padding-top:26px!important;max-width:1240px}
body.tdr-ifood-home .sidebar-categorias{display:none!important}
body.tdr-ifood-home .row>.col-md-6{width:72%!important;margin-left:0!important;padding-left:15px!important;padding-right:15px!important}
body.tdr-ifood-home .row>.col-md-3:last-child{width:28%!important}
body.tdr-ifood-home .box_style_2{background:transparent!important;border:0!important;box-shadow:none!important;padding:0!important}

.tdr-ifood-search{margin:0 0 16px}
.tdr-ifood-search-box{height:48px;display:flex;align-items:center;gap:10px;background:#fff;border:1px solid var(--tdr-line);border-radius:10px;padding:0 14px;box-shadow:0 2px 7px rgba(0,0,0,.04)}
.tdr-ifood-search-box i{color:#888;font-size:17px}
.tdr-ifood-search-box input{flex:1;border:0!important;outline:0!important;background:transparent!important;font-size:15px;color:#333;box-shadow:none!important}
.tdr-ifood-search-box button{border:0;background:transparent;color:#999;font-size:25px;line-height:1;padding:0 3px;cursor:pointer}
.tdr-busca-vazia{background:#fff;border:1px solid var(--tdr-line);padding:20px;text-align:center;border-radius:10px;margin-top:10px;color:var(--tdr-muted)}

body.tdr-ifood-home .top-cat-menu-wrapper{position:sticky;top:62px;z-index:900;background:var(--tdr-bg)!important;padding:8px 0 12px!important;margin:0 0 14px!important}
body.tdr-ifood-home .top-cat-menu{display:flex!important;gap:10px!important;overflow-x:auto!important;padding:2px 1px 7px!important;scrollbar-width:none}
body.tdr-ifood-home .top-cat-menu::-webkit-scrollbar{display:none}
body.tdr-ifood-home .top-cat-link{flex:0 0 auto!important;background:#fff!important;color:#4a4a4a!important;border:1px solid var(--tdr-line)!important;border-radius:999px!important;padding:9px 15px!important;font-size:14px!important;font-weight:600!important;box-shadow:none!important}
body.tdr-ifood-home .top-cat-link:hover,
body.tdr-ifood-home .top-cat-link:focus{border-color:var(--tdr-red)!important;color:var(--tdr-red)!important;text-decoration:none!important}

body.tdr-ifood-home .tdr-combos-wrap{background:#fff!important;border:1px solid var(--tdr-line)!important;border-radius:14px!important;padding:18px!important;margin-bottom:22px!important}
body.tdr-ifood-home .tdr-combos-title{color:#333!important;font-size:23px!important;margin:0 0 13px!important;font-weight:800!important}
body.tdr-ifood-home .tdr-combo-card{border:1px solid var(--tdr-line)!important;box-shadow:none!important;border-radius:12px!important}
body.tdr-ifood-home .tdr-combo-price{color:var(--tdr-red)!important}
body.tdr-ifood-home .tdr-combo-btn{background:var(--tdr-red)!important;color:#fff!important}
body.tdr-ifood-home .tdr-combo-btn:hover{background:var(--tdr-red-dark)!important}

body.tdr-ifood-home h2.inner{font-size:22px!important;color:#333!important;text-align:left!important;margin:22px 0 14px!important;font-weight:800!important}
body.tdr-ifood-home .btn-ver-pedido{background:var(--tdr-red)!important;border-color:var(--tdr-red)!important;border-radius:9px!important}
body.tdr-ifood-home .btn-ver-pedido:hover{background:var(--tdr-red-dark)!important}
body.tdr-ifood-home .promo-top-wrap{background:#fff!important;border:1px solid var(--tdr-line)!important;border-radius:14px!important;padding:16px!important;box-shadow:none!important}
body.tdr-ifood-home .promo-top-title{color:#333!important;font-size:20px!important}

body.tdr-ifood-home .category-block{background:transparent!important;border:0!important;border-radius:0!important;box-shadow:none!important;padding:0!important;margin:30px 0 38px!important}
body.tdr-ifood-home .category-block:first-of-type{padding-top:0!important}
body.tdr-ifood-home .category-block .category-title{color:#333!important;text-align:left!important;font-size:23px!important;margin:0 0 5px!important}
body.tdr-ifood-home .category-block .category-desc{color:var(--tdr-muted)!important;text-align:left!important;margin-bottom:14px!important}
body.tdr-ifood-home .category-block .table.cart-list{display:block!important;margin:0!important}
body.tdr-ifood-home .category-block .table.cart-list tbody{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px!important}
body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row{display:block;border:1px solid var(--tdr-line)!important;border-radius:12px!important;background:#fff!important;min-height:142px;transition:box-shadow .2s,border-color .2s,transform .2s;overflow:hidden!important}
body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row:hover{border-color:#d8d8d8!important;box-shadow:0 5px 16px rgba(0,0,0,.08)!important;transform:translateY(-1px)}
body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row td{display:block!important;width:100%!important;border:0!important;padding:0!important;background:transparent!important}
body.tdr-ifood-home .category-block .menu-card{background:#fff!important;border:0!important;border-radius:12px!important;box-shadow:none!important;padding:14px!important;color:#333!important;height:100%!important}
body.tdr-ifood-home .category-block .menu-card-top{display:flex!important;gap:14px!important;align-items:flex-start!important}
body.tdr-ifood-home .category-block .menu-card-thumb{order:2!important;margin-left:auto!important;width:112px!important;height:112px!important;flex:0 0 112px!important;border-radius:10px!important;overflow:hidden!important}
body.tdr-ifood-home .category-block .menu-card-thumb img{width:100%!important;height:100%!important;object-fit:cover!important}
body.tdr-ifood-home .category-block .menu-card-title{color:#333!important;font-size:16px!important;font-weight:700!important;line-height:1.3!important;margin:0 0 7px!important}
body.tdr-ifood-home .category-block .menu-card-desc{color:var(--tdr-muted)!important;font-size:13px!important;line-height:1.4!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}
body.tdr-ifood-home .category-block .sz-price,
body.tdr-ifood-home .category-block .preco-atual-lg,
body.tdr-ifood-home .category-block .preco-normal{color:#2f2f2f!important;font-weight:800!important}
body.tdr-ifood-home .category-block .sz-badge,
body.tdr-ifood-home .category-block .promo-ribbon{background:var(--tdr-red)!important;color:#fff!important}

body.tdr-ifood-home #sidebar .box_style_1,
body.tdr-ifood-home #sidebar .box_style_2{background:#fff!important;border:1px solid var(--tdr-line)!important;border-radius:14px!important;box-shadow:none!important}
body.tdr-ifood-home #fab-cart{background:var(--tdr-red)!important}
body.tdr-ifood-home footer{background:#fff!important;border-top:1px solid var(--tdr-line)!important;color:#666!important}

@media (max-width:991px){
  body.tdr-ifood-home .row>.col-md-6{width:100%!important}
  body.tdr-ifood-home .row>.col-md-3:last-child{width:100%!important}
  body.tdr-ifood-home .container.margin_60_35{padding-left:12px!important;padding-right:12px!important}
}
@media (max-width:767px){
  body.tdr-ifood-home #img-head-loja,
  body.tdr-ifood-home .parallax-window{min-height:220px!important;border-radius:0 0 16px 16px}
  body.tdr-ifood-home #sub_content h1{font-size:25px!important}
  body.tdr-ifood-home .top-cat-menu-wrapper{top:54px}
  body.tdr-ifood-home .category-block .table.cart-list tbody{grid-template-columns:1fr!important;gap:10px!important}
  body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row{min-height:128px}
  body.tdr-ifood-home .category-block .menu-card-thumb{width:96px!important;height:96px!important;flex-basis:96px!important}
  body.tdr-ifood-home h2.inner{font-size:19px!important}
  body.tdr-ifood-home .tdr-combos-wrap{padding:14px!important}
}
@media (max-width:420px){
  body.tdr-ifood-home .category-block .menu-card{padding:12px!important}
  body.tdr-ifood-home .category-block .menu-card-thumb{width:88px!important;height:88px!important;flex-basis:88px!important}
  body.tdr-ifood-home .category-block .menu-card-title{font-size:15px!important}
}

/* =========================================================
   TURMA DO RANGO — CENTRALIZAÇÃO DESKTOP + MOBILE APP
   Ajuste complementar sem alterar PHP ou funções do cardápio.
   ========================================================= */

/* Estrutura central e ampla no computador */
body.tdr-ifood-home .container.margin_60_35{
  width:100%!important;
  max-width:1440px!important;
  margin-left:auto!important;
  margin-right:auto!important;
  padding-left:28px!important;
  padding-right:28px!important;
}
body.tdr-ifood-home .container.margin_60_35 > .row{
  display:flex!important;
  justify-content:center!important;
  align-items:flex-start!important;
  margin-left:-10px!important;
  margin-right:-10px!important;
}
body.tdr-ifood-home .container.margin_60_35 > .row > .sidebar-categorias{
  display:none!important;
}
body.tdr-ifood-home .container.margin_60_35 > .row > .col-md-6{
  float:none!important;
  width:100%!important;
  max-width:1320px!important;
  margin:0 auto!important;
  padding-left:10px!important;
  padding-right:10px!important;
}

/* Busca, categorias e seções usando toda a largura útil */
body.tdr-ifood-home .tdr-ifood-search,
body.tdr-ifood-home .top-cat-menu-wrapper,
body.tdr-ifood-home .tdr-combos-wrap,
body.tdr-ifood-home .promo-top-wrap,
body.tdr-ifood-home .category-block{
  width:100%!important;
  max-width:none!important;
  margin-left:auto!important;
  margin-right:auto!important;
}
body.tdr-ifood-home .tdr-ifood-search-box{
  height:54px!important;
  border-radius:12px!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
body.tdr-ifood-home .top-cat-menu-wrapper{
  border-radius:12px!important;
}

/* Combos maiores e bem distribuídos no desktop */
body.tdr-ifood-home .tdr-combos-wrap{
  padding:22px!important;
}
body.tdr-ifood-home .tdr-combos-slide{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(260px,1fr))!important;
  gap:18px!important;
  overflow:visible!important;
  padding:4px 0 2px!important;
}
body.tdr-ifood-home .tdr-combo-card{
  width:100%!important;
  min-width:0!important;
  max-width:none!important;
  flex:none!important;
}
body.tdr-ifood-home .tdr-combo-card img{
  width:100%!important;
  height:180px!important;
  object-fit:cover!important;
}
body.tdr-ifood-home .tdr-combo-body{
  padding:15px!important;
}
body.tdr-ifood-home .tdr-combo-btn{
  min-height:44px!important;
  display:flex!important;
  align-items:center!important;
  justify-content:center!important;
}

/* Produtos mais amplos no PC */
body.tdr-ifood-home .category-block .table.cart-list tbody{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:18px!important;
}
body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row{
  min-height:158px!important;
}
body.tdr-ifood-home .category-block .menu-card-thumb{
  width:126px!important;
  height:126px!important;
  flex-basis:126px!important;
}

/* Tablet */
@media (max-width:1199px){
  body.tdr-ifood-home .container.margin_60_35{
    max-width:1120px!important;
    padding-left:20px!important;
    padding-right:20px!important;
  }
  body.tdr-ifood-home .tdr-combos-slide{
    grid-template-columns:repeat(3,minmax(0,1fr))!important;
  }
}

@media (max-width:991px){
  body.tdr-ifood-home .container.margin_60_35{
    padding-left:16px!important;
    padding-right:16px!important;
  }
  body.tdr-ifood-home .tdr-combos-slide{
    grid-template-columns:repeat(2,minmax(0,1fr))!important;
  }
}

/* Celular — experiência de app inspirada no iFood */
@media (max-width:767px){
  body.tdr-ifood-home{
    background:#f7f7f7!important;
    padding-bottom:82px!important;
  }
  body.tdr-ifood-home header{
    position:relative!important;
    min-height:56px!important;
    box-shadow:0 1px 8px rgba(0,0,0,.08)!important;
  }
  body.tdr-ifood-home #img-head-loja,
  body.tdr-ifood-home .parallax-window{
    min-height:188px!important;
    border-radius:0!important;
  }
  body.tdr-ifood-home #subheader{
    padding:22px 12px 18px!important;
  }
  body.tdr-ifood-home #thumb img{
    width:72px!important;
    height:72px!important;
  }
  body.tdr-ifood-home #sub_content h1{
    font-size:22px!important;
    margin-top:8px!important;
  }
  body.tdr-ifood-home .container.margin_60_35{
    width:100%!important;
    max-width:none!important;
    padding:14px 0 0!important;
  }
  body.tdr-ifood-home .container.margin_60_35 > .row{
    display:block!important;
    margin:0!important;
  }
  body.tdr-ifood-home .container.margin_60_35 > .row > .col-md-6{
    width:100%!important;
    max-width:none!important;
    padding:0 12px!important;
  }
  body.tdr-ifood-home .tdr-ifood-search{
    margin:0 0 10px!important;
  }
  body.tdr-ifood-home .tdr-ifood-search-box{
    height:46px!important;
    border-radius:9px!important;
    padding:0 13px!important;
    box-shadow:0 1px 5px rgba(0,0,0,.06)!important;
  }
  body.tdr-ifood-home .top-cat-menu-wrapper{
    position:sticky!important;
    top:0!important;
    z-index:950!important;
    margin:0 -12px 14px!important;
    padding:8px 12px 9px!important;
    border-radius:0!important;
    border-bottom:1px solid #eee!important;
    background:#fff!important;
  }
  body.tdr-ifood-home .top-cat-menu{
    gap:8px!important;
    padding:0 0 2px!important;
  }
  body.tdr-ifood-home .top-cat-link{
    padding:8px 13px!important;
    font-size:13px!important;
    background:#fff!important;
  }
  body.tdr-ifood-home .tdr-combos-wrap,
  body.tdr-ifood-home .promo-top-wrap{
    border-radius:12px!important;
    padding:14px!important;
    margin-bottom:16px!important;
  }
  body.tdr-ifood-home .tdr-combos-title{
    font-size:20px!important;
  }
  body.tdr-ifood-home .tdr-combos-slide{
    display:flex!important;
    gap:12px!important;
    overflow-x:auto!important;
    scroll-snap-type:x mandatory!important;
    -webkit-overflow-scrolling:touch!important;
    padding:2px 2px 10px!important;
    margin-right:-14px!important;
    scrollbar-width:none!important;
  }
  body.tdr-ifood-home .tdr-combos-slide::-webkit-scrollbar{
    display:none!important;
  }
  body.tdr-ifood-home .tdr-combo-card{
    flex:0 0 82%!important;
    width:82%!important;
    scroll-snap-align:start!important;
    border-radius:12px!important;
  }
  body.tdr-ifood-home .tdr-combo-card img{
    height:168px!important;
  }
  body.tdr-ifood-home .category-block{
    margin:20px 0 26px!important;
  }
  body.tdr-ifood-home .category-block .category-title{
    font-size:21px!important;
  }
  body.tdr-ifood-home .category-block .table.cart-list tbody{
    display:block!important;
  }
  body.tdr-ifood-home .category-block .table.cart-list tr.menu-card-row{
    min-height:0!important;
    margin-bottom:10px!important;
    border-radius:11px!important;
  }
  body.tdr-ifood-home .category-block .menu-card{
    padding:12px!important;
  }
  body.tdr-ifood-home .category-block .menu-card-top{
    gap:12px!important;
  }
  body.tdr-ifood-home .category-block .menu-card-thumb{
    width:102px!important;
    height:102px!important;
    flex-basis:102px!important;
    border-radius:9px!important;
  }
  body.tdr-ifood-home .category-block .menu-card-title{
    font-size:15px!important;
  }
  body.tdr-ifood-home .category-block .menu-card-desc{
    -webkit-line-clamp:2!important;
    font-size:12.5px!important;
  }
  body.tdr-ifood-home #fab-cart{
    right:16px!important;
    bottom:16px!important;
    width:58px!important;
    height:58px!important;
    z-index:1100!important;
    box-shadow:0 7px 20px rgba(234,29,44,.34)!important;
  }
}

@media (max-width:420px){
  body.tdr-ifood-home .container.margin_60_35 > .row > .col-md-6{
    padding-left:9px!important;
    padding-right:9px!important;
  }
  body.tdr-ifood-home .top-cat-menu-wrapper{
    margin-left:-9px!important;
    margin-right:-9px!important;
    padding-left:9px!important;
    padding-right:9px!important;
  }
  body.tdr-ifood-home .tdr-combo-card{
    flex-basis:88%!important;
    width:88%!important;
  }
  body.tdr-ifood-home .tdr-combo-card img{
    height:154px!important;
  }
  body.tdr-ifood-home .category-block .menu-card-thumb{
    width:92px!important;
    height:92px!important;
    flex-basis:92px!important;
  }
}

/* =========================================================
   TURMA DO RANGO — CARDS DE PROMOÇÃO EM FUNDO BRANCO
   Mantém o selo vermelho e os preços promocionais destacados.
   ========================================================= */
body.tdr-ifood-home .promo-list-rotativa .promo-item,
body.tdr-ifood-home .promo-list-rotativa .menu-card,
body.tdr-ifood-home .promo-list-rotativa .menu-card-row{
  background:#ffffff!important;
  color:#2f2f2f!important;
  border-color:#e6e6e6!important;
}
body.tdr-ifood-home .promo-list-rotativa .menu-card{
  border:1px solid #e6e6e6!important;
  box-shadow:0 3px 12px rgba(0,0,0,.08)!important;
}
body.tdr-ifood-home .promo-list-rotativa .menu-card-title{
  color:#2f2f2f!important;
}
body.tdr-ifood-home .promo-list-rotativa .menu-card-desc,
body.tdr-ifood-home .promo-list-rotativa .size-desc-list,
body.tdr-ifood-home .promo-list-rotativa .size-desc-line{
  color:#555!important;
}
body.tdr-ifood-home .promo-list-rotativa .size-desc-line b{
  color:#333!important;
}
body.tdr-ifood-home .promo-list-rotativa .size-box{
  background:#fff7f7!important;
  color:#333!important;
  border:1px solid #f0d0d3!important;
}
body.tdr-ifood-home .promo-list-rotativa .size-box .sz-name,
body.tdr-ifood-home .promo-list-rotativa .size-box .sz-price{
  color:#333!important;
}
body.tdr-ifood-home .promo-list-rotativa .size-box.is-promo .sz-name,
body.tdr-ifood-home .promo-list-rotativa .size-box.is-promo .sz-price{
  color:#d71920!important;
}
body.tdr-ifood-home .promo-list-rotativa .sz-old{
  color:#777!important;
}
body.tdr-ifood-home .promo-list-rotativa .promo-ribbon,
body.tdr-ifood-home .promo-list-rotativa .sz-badge{
  background:#ea1d2c!important;
  color:#fff!important;
}

@media (max-width:767px){
  body.tdr-ifood-home .promo-list-rotativa .menu-card{
    border-radius:12px!important;
  }
}
