/* =========================================================
   TAQUI RIO - ajuste visual provisório
   Incluir depois do main.css:
   <link rel="stylesheet" href="<?php echo base_url(); ?>assetsnest/css/taquirio-provisorio.css?v=1.0">
   ========================================================= */
:root{
    --tr-brand:#42b39c;
    --tr-brand-dark:#17866f;
    --tr-accent:#ffb703;
    --tr-dark:#121826;
    --tr-text:#253D4E;
    --tr-muted:#6b7280;
    --tr-border:#eef1f5;
    --tr-bg:#f6f8fb;
    --tr-card:#ffffff;
    --tr-radius:18px;
    --tr-shadow:0 12px 30px rgba(15,23,42,.08);
}

html{scroll-behavior:smooth;}
body{
    background:var(--tr-bg);
    color:var(--tr-text);
    font-family:"Lato", Arial, sans-serif;
    padding-bottom:76px;
}

.container{
    max-width:1240px;
}

/* Topo e respiro geral */
.section-padding{
    padding:34px 0 !important;
}
.section-title,
.section-title.style-2{
    margin-bottom:20px !important;
    align-items:center;
}
.section-title h3,
.section-title .title h3{
    font-size:26px;
    letter-spacing:-.5px;
    color:var(--tr-dark);
}
.section-title .show-all{
    color:var(--tr-brand-dark);
    font-weight:700;
    background:#eaf8f5;
    padding:8px 14px;
    border-radius:999px;
}

/* Slider hero */
.tr-hero{
    background:#fff !important;
    margin-bottom:20px !important;
    border-radius:0 0 26px 26px;
    box-shadow:0 10px 28px rgba(15,23,42,.06);
}
.tr-hero-viewport{
    border-radius:0 0 26px 26px;
}

.tr-hero-slide img{
    width:100%;
    height:100%;
    display:block;
    object-fit:cover;
    object-position:center center;
}
.tr-hero-btn{
    box-shadow:0 8px 20px rgba(15,23,42,.15);
    color:var(--tr-dark);
}
.tr-hero-dots button.active{
    background:var(--tr-brand) !important;
}

/* Cards de produto */
.product-grid-4{
    row-gap:18px;
}
.product-cart-wrap{
    border:1px solid var(--tr-border) !important;
    border-radius:var(--tr-radius) !important;
    overflow:hidden;
    background:var(--tr-card);
    box-shadow:0 8px 24px rgba(15,23,42,.055);
    transition:transform .2s ease, box-shadow .2s ease;
    height:100%;
    margin-bottom:0 !important;
}
.product-cart-wrap:hover{
    transform:translateY(-3px);
    box-shadow:var(--tr-shadow);
}
.product-img-action-wrap{
    padding:10px 10px 0 !important;
    background:#fff;
}
.product-cart-wrap .product-img{
    border-radius:15px;
    overflow:hidden;
    background:#f7f8fa;
    aspect-ratio:1/1;
}
.product-cart-wrap .product-img img{
    width:100%;
    height:100%;
    object-fit:cover;
}
.product-content-wrap{
    padding:12px 14px 14px !important;
}
.product-category a{
    font-size:11px !important;
    font-weight:800;
    color:var(--tr-brand-dark) !important;
    text-transform:uppercase;
    letter-spacing:.3px;
}
.titulo-produto{
    min-height:42px;
    margin:5px 0 8px;
}
.titulo-produto a{
    color:var(--tr-dark) !important;
    font-size:14px;
    line-height:1.35;
    font-weight:800;
    display:-webkit-box;
    -webkit-line-clamp:2;
    -webkit-box-orient:vertical;
    overflow:hidden;
}
.product-price{
    color:var(--tr-muted);
    font-size:12px;
}
.product-price span{
    color:var(--tr-brand-dark) !important;
    font-size:20px !important;
    font-weight:900 !important;
    letter-spacing:-.4px;
}
.product-price .old-price{
    color:#9ca3af !important;
    font-size:12px !important;
    margin-left:4px;
}
.add-cart{
    width:100%;
    margin-top:10px;
}
.add-cart .add{
    width:100%;
    height:40px;
    border-radius:12px !important;
    background:linear-gradient(135deg,var(--tr-brand),var(--tr-brand-dark)) !important;
    color:#fff !important;
    display:flex !important;
    align-items:center;
    justify-content:center;
    font-weight:900;
    box-shadow:0 8px 18px rgba(66,179,156,.25);
}
.product-badges span.best{
    background:var(--tr-accent) !important;
    color:#111827 !important;
    font-weight:900;
    border-radius:999px !important;
}

/* Banners intermediários */
.banners .banner-img{
    border-radius:22px !important;
    overflow:hidden;
    box-shadow:0 10px 26px rgba(15,23,42,.08);
    border:1px solid var(--tr-border);
    margin-bottom:18px;
}
.banners .banner-img img{
    width:100%;
    height:220px;
    object-fit:cover;
}
.banners .banner-text h4{
    font-size:22px;
    color:#fff;
    text-shadow:0 2px 8px rgba(0,0,0,.35);
}
.banners .banner-text .btn{
    border-radius:999px;
    background:#fff !important;
    color:var(--tr-dark) !important;
    font-weight:900;
}

/* Categorias */
.popular-categories{
    background:#fff;
    border-radius:28px 28px 0 0;
    margin-top:8px;
}
.carausel-8-columns-cover,
.carausel-8-columns{
    padding-bottom:5px;
}
.card-2,
.category-grid .card-2{
    border-radius:18px !important;
    border:1px solid var(--tr-border) !important;
    box-shadow:0 8px 18px rgba(15,23,42,.05);
}

/* Rodapé */
.newsletter-inner{
    border-radius:28px !important;
    background:linear-gradient(135deg,#e8fff8,#f6fbff) !important;
    box-shadow:0 10px 30px rgba(15,23,42,.08);
}
.featured .banner-left-icon{
    border-radius:18px;
    background:#fff;
    border:1px solid var(--tr-border);
    box-shadow:0 8px 20px rgba(15,23,42,.05);
    padding:18px !important;
    height:100%;
}
.footer-mid{
    background:#fff;
}
.footer-link-widget p,
.footer-list li a,
.contact-infor li span{
    color:#5f6b7a !important;
}

/* Botão flutuante do carrinho existente */
.main-button{
    position:fixed;
    right:16px;
    bottom:88px;
    z-index:999;
}
.dot-cart-num{
    width:56px;
    height:56px;
    border-radius:50% !important;
    box-shadow:0 10px 24px rgba(23,134,111,.32);
    background:var(--tr-brand-dark) !important;
    border:0 !important;
}

/* Navegação inferior estilo app */
.tr-bottom-nav{
    position:fixed;
    left:12px;
    right:12px;
    bottom:10px;
    height:62px;
    z-index:9999;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(226,232,240,.95);
    border-radius:22px;
    display:none;
    align-items:center;
    justify-content:space-around;
    box-shadow:0 14px 34px rgba(15,23,42,.18);
    backdrop-filter:blur(10px);
}
.tr-bottom-nav a{
    flex:1;
    text-align:center;
    color:#64748b;
    font-size:11px;
    font-weight:800;
    line-height:1.1;
}
.tr-bottom-nav i{
    display:block;
    font-size:20px;
    margin-bottom:4px;
    color:var(--tr-brand-dark);
}

@media(max-width:768px){
    body{
        background:#f7f8fb;
    }
    .container{
        padding-left:12px;
        padding-right:12px;
    }
    .section-padding{
        padding:22px 0 !important;
    }
    .section-title h3,
    .section-title .title h3{
        font-size:21px;
    }
    .tr-hero{
        margin-left:0;
        margin-right:0;
        border-radius:0 0 22px 22px;
    }
    .tr-hero-viewport{
        border-radius:0 0 22px 22px;
    }
    .product-grid-4 > [class*="col-"]{
        padding-left:6px;
        padding-right:6px;
        margin-bottom:12px;
    }
    .product-content-wrap{
        padding:10px 10px 12px !important;
    }
    .titulo-produto{
        min-height:38px;
    }
    .titulo-produto a{
        font-size:13px;
    }
    .product-price span{
        font-size:18px !important;
    }
    .add-cart .add{
        height:38px;
        font-size:13px;
    }
    .banners .banner-img img{
        height:160px;
    }
    .newsletter{
        display:none;
    }
    .featured{
        padding-bottom:14px !important;
    }
    .footer-mid .row > .col,
    .footer-mid .row > [class*="col"]{
        flex:0 0 100%;
        max-width:100%;
        margin-bottom:22px;
    }
    .tr-bottom-nav{
        display:flex;
    }
}
.tr-header {
    background: #fff;
    position: relative;
    z-index: 999;
    border-bottom: 1px solid #edf0f3;
}

.tr-topbar {
    background: #f8fafc;
    border-bottom: 1px solid #edf0f3;
    font-size: 13px;
}

.tr-topbar-inner {
    height: 34px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.tr-topbar a {
    color: #51606f;
    font-weight: 500;
}

.tr-topbar span {
    color: #c6ccd3;
    margin: 0 10px;
}

.tr-whatsapp-top strong {
    color: #4ca992;
}

.tr-main-header {
    background: #fff;
    padding: 1px 0;
}

.tr-main-inner {
    display: flex;
    align-items: center;
    gap: 18px;
}

.tr-logo {
    flex: 0 0 128px;
}

.tr-logo img {
    width: 118px;
    max-height: 78px;
    object-fit: contain;
}

.tr-search {
    flex: 1;
    height: 48px;
    display: flex;
    background: #f5f7f9;
    border: 1px solid #edf0f3;
    border-radius: 16px;
    overflow: hidden;
}

.tr-search select {
    width: 170px;
    border: 0;
    background: transparent;
    padding: 0 18px;
    font-weight: 700;
    color: #253D4E;
}

.tr-search input {
    flex: 1;
    border: 0;
    background: transparent;
    padding: 0 18px;
    color: #253D4E;
}

.tr-search button {
    width: 110px;
    border: 0;
    background: #4ca992;
    color: #fff;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.tr-actions {
    align-items: center;
    gap: 14px;
}

.tr-action {
    height: 42px;
    padding: 0 12px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #253D4E;
    font-weight: 700;
    background: #fff;
    border: 1px solid #edf0f3;
    position: relative;
}

.tr-action i {
    font-size: 22px;
}

.tr-cart em,
.tr-mobile-icons em {
    position: absolute;
    top: -5px;
    right: -5px;
    min-width: 18px;
    height: 18px;
    background: #4ca992;
    color: #fff;
    border-radius: 999px;
    font-size: 11px;
    font-style: normal;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tr-nav {
    
    border-top:1px solid rgba(255,255,255,.04);
    background:linear-gradient(180deg,#243240,#1d2935);
}


.tr-nav-inner {
    min-height: 66px;
    display: flex;
    align-items: center;
    gap: 22px;
}

.tr-cat-btn {
    height: 44px;
    padding: 0 18px !important;
    border-radius: 12px !important;
    display: flex !important;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
}

.tr-menu {
    flex: 1;
    min-width: 0;
}

.tr-menu > ul {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

.tr-menu > ul > li > a {
    display: block;
    padding: 18px 8px;
    font-size: 14px;
    font-weight: 800;
    color: #253D4E;
    white-space: nowrap;
}

.tr-support {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #253D4E;
}

.tr-support i {
    font-size: 28px;
       color:#78d6bf;
}

.tr-support span {
    display: flex;
    flex-direction: column;
    font-size: 11px;
    line-height: 1.1;
      color:#c4d0da;
}

.tr-support strong {
    font-size: 17px;
    color: #4ca992;
    font-weight: 900;
}

@media (min-width: 992px) and (max-width: 1280px) {
    .tr-support {
        display: none;
    }

    .tr-menu > ul > li > a {
        font-size: 14px;
        padding-left: 8px;
        padding-right: 8px;
    }

    .tr-search {
        max-width: 620px;
    }
}

@media (max-width: 991px) {
    .tr-main-header {
        padding: 10px 0;
        position: sticky;
        top: 0;
        z-index: 999;
        box-shadow: 0 8px 24px rgba(15, 23, 42, .08);
    }

    .tr-main-inner {
        gap: 12px;
        flex-wrap: wrap;
    }

    .tr-logo {
        flex: 1;
    }

    .tr-logo img {
        width: 88px;
        max-height: 58px;
    }

    .tr-search {
        order: 3;
        flex: 0 0 100%;
        height: 46px;
        border-radius: 14px;
    }

    .tr-search select {
        display: none;
    }

    .tr-search input {
        padding: 0 14px;
        font-size: 14px;
    }

    .tr-search button {
        width: 54px;
    }

    .tr-search button span {
        display: none;
    }

    .tr-mobile-icons {
        align-items: center;
        gap: 14px;
    }

    .tr-mobile-icons a,
    .tr-mobile-menu-btn {
        width: 42px;
        height: 42px;
        border: 1px solid #edf0f3;
        background: #fff;
        border-radius: 14px;
        display: flex;
        align-items: center;
        justify-content: center;
        position: relative;
    }

    .tr-mobile-icons i {
        font-size: 22px;
        color: #253D4E;
    }

    .burger-icon > span {
        background-color: #253D4E !important;
    }
}

/* corrige menu quebrando com subcategorias abertas */
@media (min-width: 992px) {
    .tr-menu ul li ul,
    .tr-menu ul li .sub-menu,
    .tr-menu ul li .dropdown-menu {
        display: none !important;
    }

    .tr-menu > ul > li {
        position: relative;
    }

    .tr-menu > ul > li:hover > ul,
    .tr-menu > ul > li:hover > .sub-menu,
    .tr-menu > ul > li:hover > .dropdown-menu {
        display: block !important;
        position: absolute;
        top: 100%;
        left: 0;
        min-width: 230px;
        background: #fff;
        border: 1px solid #edf0f3;
        border-radius: 14px;
        padding: 12px 0;
        box-shadow: 0 18px 45px rgba(15, 23, 42, .12);
        z-index: 9999;
    }

    .tr-menu > ul > li:hover > ul li a,
    .tr-menu > ul > li:hover > .sub-menu li a,
    .tr-menu > ul > li:hover > .dropdown-menu li a {
        display: block;
        padding: 9px 18px !important;
        font-size: 14px;
        color: #253D4E;
        white-space: nowrap;
    }
}

/* fundo geral header */
.tr-header{
    background:#f7f9fc;
    box-shadow:0 2px 12px rgba(15,23,42,.04);
}

/* topbar */
.tr-topbar{
    background:#eef3f7;
    border-bottom:1px solid #dde5ec;
}

/* area principal */
.tr-main-header{
    background:#f7f9fc;
}

/* bloco da busca */
.tr-search{
    background:#ffffff;
    border:1px solid #dfe7ef;
    box-shadow:0 4px 14px rgba(15,23,42,.04);
}

/* botão buscar */
.tr-search button{
    background:#4ca992;
    background:linear-gradient(135deg,#4ca992,#3d927d);
    box-shadow:0 6px 18px rgba(76,169,146,.28);
}

/* login/carrinho */
.tr-action{
    background:#ffffff;
    border:1px solid #e4ebf2;
    box-shadow:0 2px 10px rgba(15,23,42,.04);
}

/* navbar */
.tr-nav{
    background:#243240;
    border-top:1px solid #314252;
    border-bottom:0;
    box-shadow:0 6px 18px rgba(0,0,0,.08);
}

/* categorias */
.tr-cat-btn{
    background:rgba(76,169,146,.12) !important;
    border:1px solid rgba(76,169,146,.24);
    color:#78d6bf !important;
    box-shadow:none;
}

.tr-cat-btn i,
.tr-cat-btn span{
    color:#78d6bf !important;
}

.tr-menu > ul > li > a{
    color:#f4f7fa;
    font-weight:700;
    position:relative;
}

/* hover moderno */
.tr-menu > ul > li > a:hover{
      color:#78d6bf;
}

/* linha hover */
.tr-menu > ul > li > a::after{
    content:'';
    position:absolute;
    left:10px;
    right:10px;
    bottom:12px;
    height:2px;
    background:#4ca992;
    transform:scaleX(0);
    transition:.25s;
}

.tr-menu > ul > li > a:hover::after{
    transform:scaleX(1);
}

/* hotline */
.tr-support{
   background:rgba(255,255,255,.06);
    border:1px solid rgba(255,255,255,.08);
    padding:10px 14px;
    border-radius:14px;
    border:1px solid #e4ebf2;
    box-shadow:0 2px 10px rgba(15,23,42,.04);
}








/* cards de produto - versão marketplace */
.product-cart-wrap {
    border: 0 !important;
    border-radius: 5px !important;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(15, 23, 42, .06);
    transition: .25s ease;
}

.product-cart-wrap:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 36px rgba(15, 23, 42, .12);
}

.product-cart-wrap .product-img-action-wrap {
    padding: 10px 10px 0 !important;
}

.product-cart-wrap .product-img {
    border-radius: 5px;
    overflow: hidden;
    background: #f6f8fa;
}

.product-cart-wrap .product-img img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 5px;
}

.product-content-wrap {
    padding: 14px 14px 16px !important;
}

.product-category a {
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    color: #16967f !important;
    letter-spacing: .3px;
}

.titulo-produto a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    min-height: 42px;
    overflow: hidden;
    font-size: 15px;
    line-height: 21px;
    font-weight: 800;
    color: #111827 !important;
}

.product-price {
    margin-top: 14px;
    min-height: 34px;
}

.product-price,
.product-price span {
    color: #07906f !important;
    font-size: 22px !important;
    font-weight: 900 !important;
}

.product-price::first-line {
    font-size: 12px;
    color: #64748b;
}

.old-price {
    display: block;
    font-size: 13px !important;
    color: #94a3b8 !important;
    margin-top: 2px;
}

.add-cart {
    width: 100%;
}

.add-cart .add {
    width: 100%;
    height: 42px;
    border-radius: 5px !important;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 6px;
    background: linear-gradient(135deg, #34b39b, #078669) !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 900;
    box-shadow: 0 8px 18px rgba(7, 134, 105, .22);
}

.product-badges span {
    border-radius: 999px !important;
    padding: 8px 18px !important;
    font-size: 12px !important;
    font-weight: 900;
    background: #ffb703 !important;
    color: #111827 !important;
}

/* mobile: mantém 2 colunas, mas mais leve */
@media (max-width: 768px) {
    .product-grid-4 {
        margin-left: -6px;
        margin-right: -6px;
    }

    .product-grid-4 > [class*="col-"] {
        padding-left: 6px;
        padding-right: 6px;
    }

    .product-cart-wrap {
        border-radius: 8px !important;
        margin-bottom: 14px !important;
    }

    .product-content-wrap {
        padding: 10px 10px 12px !important;
    }

    .titulo-produto a {
        font-size: 13px;
        line-height: 18px;
        min-height: 36px;
    }

    .product-price,
    .product-price span {
        font-size: 18px !important;
    }

    .add-cart .add {
        height: 38px;
        font-size: 13px;
    }
}