
/*
 Theme Name:  VoIP Department Child (Counters + Best Sellers + Slider + Animated)
 Template:    twentytwentyfour
 Version:     1.1.1
 Description: Child theme with image holders, testimonial slider, infographic counters (manual + auto) and animated counting, plus best-sellers gallery.
 Author:      The VoIP Department
*/

:root{
  --blue:#3CA9F5;
  --text:#111827;
  --border:#E5E7EB;
  --muted:#6B7280;
  --card:#FFFFFF;
}

html,body{margin:0;padding:0;background:#fff;color:var(--text);font-family: system-ui, -apple-system, Segoe UI, Roboto, Inter, Arial, sans-serif;}
a{color:inherit;text-decoration:none}
.container{max-width:1200px;margin:0 auto;padding:0 16px}
.btn{display:inline-block;padding:.85rem 1.2rem;border-radius:12px;font-weight:600;border:1px solid transparent}
.btn-primary{background:var(--blue);color:#fff}
.btn-outline{background:#fff;border-color:var(--border)}
.btn-dark{background:#1D4ED8;color:#fff}
.card{background:var(--card);border:1px solid var(--border);border-radius:12px;padding:20px}

/* Image holder utility */
.img-holder{position:relative;overflow:hidden;border-radius:12px;background:#f3f4f6;border:1px solid #e5e7eb}
.img-holder img{display:block;width:100%;height:100%;object-fit:cover}

/* Hero & product ratios */
.hero .mock{aspect-ratio:4/3}
.product .thumb{aspect-ratio:1/1}

/* Counters / Infographics */
.counters{padding:28px 0}
.counter-grid{display:grid;grid-template-columns:1fr;gap:14px}
@media(min-width:768px){.counter-grid{grid-template-columns:repeat(3,1fr)}}
.counter{background:#fff;border:1px solid var(--border);border-radius:16px;padding:20px;text-align:center}
.counter .value{font-size:32px;font-weight:800;color:var(--text);line-height:1}
.counter .label{color:var(--muted)}
.count-up[data-animated='true']{will-change:contents}

/* Testimonials slider */
.testimonials{padding:32px 0;background:#f9fafb}
.testi{background:#fff;border:1px solid var(--border);border-radius:12px;padding:20px;text-align:center;display:flex;flex-direction:column;gap:12px;align-items:center}
.testi .avatar{width:96px;height:96px;border-radius:50%;overflow:hidden;border:1px solid var(--border);background:#f3f4f6}
.testi .avatar img{width:100%;height:100%;object-fit:cover;border-radius:50%}
.testi blockquote{margin:0;font-size:16px;color:#374151}
.testi .author{font-weight:600}

/* Swiper controls */
.swiper{width:100%;padding:12px 0}
.swiper-button-prev,.swiper-button-next{color:var(--blue)}
.swiper-pagination-bullet{background:var(--blue)}

/* Best-sellers gallery */
.best-sellers{padding:28px 0}
.best-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px}
.best-grid .cell{aspect-ratio:1/1}
.best-grid .title{font-size:14px;margin-top:6px}
