/* =========================================================
   TRIỆU VY TOOLS v1.8.5 — EXACT FRONTEND MATCH
   Chỉ áp dụng cho CTA + Services + Category.
   Không đụng Converter / Backup / SEO.
   ========================================================= */


/* =========================================================
   CTA — ZALO + HOTLINE
   ========================================================= */

.tv-cta-wrapper{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
    margin:25px 0 35px;
}

.tv-cta-btn{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    gap:8px;

    width:300px;
    min-height:58px;

    padding:0 24px;

    border-radius:999px;

    color:#fff !important;
    text-decoration:none !important;

    font-size:18px;
    font-weight:700;
    line-height:1;

    box-shadow:0 8px 20px rgba(0,0,0,.10);

    transition:.3s;
}

.tv-cta-zalo{
    background:#146cf6 !important;
}

.tv-cta-hotline{
    background:#ef568b !important;
}

.tv-cta-btn:hover{
    transform:translateY(-3px);
    box-shadow:0 12px 28px rgba(0,0,0,.14);
    color:#fff !important;
}

.tv-cta-icon{
    font-size:16px;
}


/* =========================================================
   TRIỆU VY SERVICE
   ========================================================= */

.tv-services{
    display:grid;
    grid-template-columns:repeat(6,1fr);
    gap:18px;
    margin:40px 0 70px;
}

.tv-item{
    background:#fff;

    border:1px solid #ffe4ef;

    border-radius:18px;

    text-align:center;

    padding:20px 15px;

    transition:.35s;

    box-shadow:0 5px 15px rgba(0,0,0,.06);
}

.tv-item:hover{
    transform:translateY(-8px);

    box-shadow:0 12px 30px rgba(0,0,0,.12);

    border-color:#ff8db7;
}

.tv-icon{
    font-size:38px;

    margin-bottom:15px;

    transition:.35s;
}

.tv-item:hover .tv-icon{
    transform:scale(1.15);
}

.tv-item h4{
    margin:0;

    font-size:22px;

    font-weight:700;

    color:#222;
}

.tv-item p{
    margin-top:10px;
    margin-bottom:0;

    color:#666;

    font-size:15px;

    line-height:1.5;
}


/* =========================================================
   TRIỆU VY CATEGORY BLOCK
   ========================================================= */

.tv-category-section{
    background:#fff8fb;

    border-radius:24px;

    padding:45px;

    margin:60px 0;

    box-shadow:0 8px 30px rgba(0,0,0,.05);
}


/* TITLE */

.tv-section-title{
    text-align:center;

    margin-bottom:40px;
}

.tv-flower{
    display:inline-block;

    font-size:42px;

    margin-bottom:10px;
}

.tv-section-title h2{
    margin:0;

    font-size:34px;

    font-weight:700;

    color:#222;

    line-height:1.3;
}

.tv-section-title p{
    margin-top:12px;

    margin-bottom:0;

    color:#777;

    font-size:16px;
}


/* GRID */

.tv-category-grid{
    display:grid;

    grid-template-columns:repeat(4,1fr);

    gap:30px;
}


/* ITEM */

.tv-category-item{
    display:flex;

    flex-direction:column;

    align-items:center;

    text-align:center;

    text-decoration:none !important;

    transition:.35s;
}

.tv-category-item img{
    width:160px !important;

    height:160px !important;

    object-fit:cover !important;

    border-radius:50% !important;

    border:5px solid #fff !important;

    box-shadow:0 8px 25px rgba(0,0,0,.08);

    transition:.35s;

    margin:0 !important;
}

.tv-category-item span{
    display:block;

    margin-top:18px;

    font-size:20px;

    font-weight:700;

    color:#333;
}

.tv-category-item small{
    display:block;

    margin-top:8px;

    color:#ef5b93;

    font-size:15px;

    font-weight:700;
}


/* HOVER */

.tv-category-item:hover img{
    transform:scale(1.08);

    box-shadow:0 18px 40px rgba(239,91,147,.25);
}

.tv-category-item:hover span{
    color:#ef5b93;
}

.tv-category-item:hover{
    text-decoration:none !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media(max-width:1024px){

    .tv-services{
        grid-template-columns:repeat(3,1fr);
    }

    .tv-category-grid{
        grid-template-columns:repeat(2,1fr);
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media(max-width:768px){

    .tv-cta-wrapper{
        gap:10px;
    }

    .tv-cta-btn{
        width:calc(50% - 5px);

        min-height:50px;

        padding:0 12px;

        font-size:14px;
    }

    .tv-services{
        grid-template-columns:repeat(2,1fr);

        gap:12px;
    }

    .tv-item{
        padding:18px 12px;
    }

    .tv-item h4{
        font-size:18px;
    }

    .tv-item p{
        font-size:14px;
    }

    .tv-icon{
        font-size:32px;
    }

    .tv-category-section{
        padding:25px;
    }

    .tv-section-title h2{
        font-size:28px;
    }

    .tv-section-title p{
        font-size:15px;
    }

    .tv-category-grid{
        grid-template-columns:repeat(2,1fr);

        gap:18px;
    }

    .tv-category-item img{
        width:120px !important;

        height:120px !important;
    }

    .tv-category-item span{
        font-size:17px;
    }

    .tv-category-item small{
        font-size:14px;
    }
}


@media(max-width:360px){

    .tv-cta-btn{
        width:100%;
    }

    .tv-services,
    .tv-category-grid{
        grid-template-columns:1fr;
    }

}


/* =========================================================
   v1.8.7 — MOBILE RESPONSIVE FIX
   Chỉ ghi đè mobile, giữ nguyên desktop v1.8.5
   ========================================================= */

@media(max-width:430px){

    .tv-cta-wrapper{
        gap:8px;
        margin:18px 0 26px;
        padding:0 6px;
    }

    .tv-cta-btn{
        width:calc(50% - 4px);
        min-height:46px;
        padding:0 8px;
        font-size:13px;
        border-radius:999px;
        gap:5px;
    }

    .tv-cta-icon{
        font-size:14px;
    }

    .tv-services{
        grid-template-columns:repeat(2,1fr);
        gap:10px;
        margin:26px 0 38px;
    }

    .tv-item{
        padding:16px 9px;
        border-radius:14px;
    }

    .tv-icon{
        font-size:30px;
        margin-bottom:10px;
    }

    .tv-item h4{
        font-size:16px;
        line-height:1.3;
    }

    .tv-item p{
        margin-top:8px;
        font-size:12.5px;
        line-height:1.45;
    }

    .tv-category-section{
        padding:20px 14px;
        margin:38px 0;
        border-radius:18px;
    }

    .tv-section-title{
        margin-bottom:24px;
    }

    .tv-flower{
        font-size:34px;
        margin-bottom:6px;
    }

    .tv-section-title h2{
        font-size:24px;
        line-height:1.25;
    }

    .tv-section-title p{
        margin-top:8px;
        font-size:13px;
        line-height:1.45;
    }

    .tv-category-grid{
        grid-template-columns:repeat(2,1fr);
        gap:12px;
    }

    .tv-category-item img{
        width:108px !important;
        height:108px !important;
        border-width:4px !important;
    }

    .tv-category-item span{
        margin-top:12px;
        font-size:15px;
        line-height:1.3;
    }

    .tv-category-item small{
        margin-top:6px;
        font-size:12.5px;
    }
}

@media(max-width:375px){

    .tv-cta-btn{
        font-size:12.5px;
        padding:0 6px;
    }

    .tv-item h4{
        font-size:15px;
    }

    .tv-item p{
        font-size:12px;
    }

    .tv-category-item img{
        width:100px !important;
        height:100px !important;
    }

    .tv-category-item span{
        font-size:14px;
    }
}

@media(max-width:340px){

    .tv-cta-btn{
        width:100%;
    }

    .tv-services,
    .tv-category-grid{
        grid-template-columns:1fr;
    }
}
