/* sn-layout-v2.css — সেকশনের সমান দূরত্ব, ক্যাটাগরি আইকন, মতামত মোজাইক, ফুটার, ব্লগ লিড */

/* ---------- সেকশন দূরত্ব: মোবাইল ও ডেস্কটপে একই নিয়ম ---------- */
:root{--sec-y:44px}
@media (max-width:760px){:root{--sec-y:30px}}
main > section:not(.hero):not(.sn-promise-wrap){padding-top:var(--sec-y)!important;padding-bottom:var(--sec-y)!important}
.section-head{margin-bottom:28px}
.section-head h2{font-size:clamp(24px,3.2vw,32px)}
@media (max-width:760px){.section-head{margin-bottom:20px}}

/* ---------- ক্যাটাগরি: গোল আইকন, ক্যাটাগরি ও জনপ্রিয় পণ্য এক জায়গায় ---------- */
#categories{padding-bottom:12px!important}
#products{padding-top:var(--sec-y)!important}
#categories .cat-grid{grid-template-columns:repeat(auto-fit,minmax(118px,1fr))!important;gap:18px 12px;justify-items:center}
#categories .cat-card{background:none!important;box-shadow:none!important;border-radius:0;overflow:visible;text-align:center;width:auto}
#categories .cat-card:hover{transform:none!important}
#categories .cat-count,#categories .cat-emoji,#categories .cat-body>span{display:none!important}
#categories .cat-img-wrap{width:100px!important;height:100px!important;margin:0 auto 10px;border-radius:50%;overflow:hidden;border:3px solid #fff;box-shadow:0 0 0 2px var(--gold,#f0a500)}
#categories .cat-img-wrap img{width:100%;height:100%;object-fit:cover}
#categories .cat-body h3{font-size:14.5px;line-height:1.35;margin:0;color:var(--green-dark,#173d1f)}
@media (max-width:760px){
  #categories .cat-grid{display:flex!important;overflow-x:auto;gap:14px;margin:0 -16px;padding:4px 16px 8px;scrollbar-width:none;scroll-snap-type:x proximity}
  #categories .cat-grid::-webkit-scrollbar{display:none}
  #categories .cat-card{flex:0 0 92px;scroll-snap-align:start}
  #categories .cat-img-wrap{width:84px!important;height:84px!important}
}

/* ---------- গ্রাহকের মতামত: ছবি + কার্ড মোজাইক ---------- */
.testimonial-section .mz-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.testimonial-section .mz-block{display:contents}
.testimonial-section .mz-photo{border-radius:16px;overflow:hidden;min-height:170px;background:#dfe9dc}
.testimonial-section .mz-photo img{width:100%;height:100%;object-fit:cover;display:block}
.testimonial-section .mz-card{border-radius:16px;padding:20px 22px;display:flex;flex-direction:column;justify-content:space-between;gap:14px;min-width:0;margin:0}
.testimonial-section .mz-light{background:#e8f3e6;color:#1f3a22}
.testimonial-section .mz-dark{background:#0d3b17;color:#eaf5e6}
.testimonial-section .mz-card p{margin:0;font-size:14px;line-height:1.65;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.testimonial-section .mz-user{display:flex;align-items:center;gap:10px}
.testimonial-section .mz-av{width:40px;height:40px;border-radius:50%;overflow:hidden;flex-shrink:0;background:var(--gold,#f0a500);color:#fff;font-weight:700;display:flex;align-items:center;justify-content:center}
.testimonial-section .mz-av img{width:100%;height:100%;object-fit:cover}
.testimonial-section .mz-user strong{display:block;font-size:14px}
.testimonial-section .mz-user small{display:block;font-size:12px;opacity:.75}
@media (max-width:760px){
  .testimonial-section .mz-grid{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;gap:12px;margin:0 -16px;padding:2px 16px 10px;scrollbar-width:none}
  .testimonial-section .mz-grid::-webkit-scrollbar{display:none}
  .testimonial-section .mz-card{flex:0 0 80%;scroll-snap-align:start}
  .testimonial-section .mz-photo{flex:0 0 56%;min-height:230px;scroll-snap-align:start}
}

/* ---------- ফুটার: মোবাইল ও ডেস্কটপে কমপ্যাক্ট ---------- */
.site-footer{padding-top:32px!important}
.site-footer .footer-grid{gap:24px 32px}
.site-footer .footer-col h4{margin:0 0 10px}
.site-footer .footer-col li{margin:4px 0}
@media (max-width:760px){.site-footer{padding-top:22px!important}}

/* ---------- ব্লগ পোস্ট: সারসংক্ষেপ (AI/Google-এর জন্য উদ্ধৃতিযোগ্য প্রথম অনুচ্ছেদ) ---------- */
.sn-lead{font-size:17px;line-height:1.7;color:var(--text-dark,#1f2a1f);border-left:4px solid var(--gold,#f0a500);padding:4px 0 4px 14px;margin:14px 0 0}

/* ---------- FAQ: শুধু প্রশ্ন দেখা যাবে, ক্লিক করলে উত্তর; ডেস্কটপে দুই কলাম ---------- */
#faq .container{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px 22px;align-items:start}
#faq h2,#faq .container>p{grid-column:1/-1}
#faq .seo-faq-item{background:#fff;border:1px solid #e3ebe0;border-radius:12px;margin:0;padding:0;box-shadow:none}
#faq .seo-faq-item summary{list-style:none;cursor:pointer;display:flex;justify-content:space-between;align-items:center;gap:12px;padding:13px 16px}
#faq .seo-faq-item summary::-webkit-details-marker{display:none}
#faq .seo-faq-item summary h3{margin:0;font-size:15px;line-height:1.5;color:var(--green-dark,#173d1f)}
#faq .faq-ic{flex:0 0 auto;width:26px;height:26px;border-radius:50%;background:var(--green-pale,#e8f3e6);color:var(--green-dark,#173d1f);display:grid;place-items:center;font-weight:700;transition:transform .2s}
#faq .seo-faq-item[open] .faq-ic{transform:rotate(45deg)}
#faq .seo-faq-item p{margin:0;padding:0 16px 14px;font-size:14px;line-height:1.7;color:var(--text-muted,#5b665b)}
@media (max-width:760px){#faq .container{grid-template-columns:1fr;gap:8px}}

/* ---------- গ্রাহকের মতামত: রেটিং সহ অটো-স্ক্রল ---------- */
.testimonial-section .tq-wrap{overflow:hidden;position:relative;padding:6px 0 16px;-webkit-mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent);mask-image:linear-gradient(90deg,transparent,#000 6%,#000 94%,transparent)}
.tq-track{display:flex;width:max-content;animation:tq-scroll 40s linear infinite}
.tq-wrap:hover .tq-track,.tq-wrap:focus-within .tq-track{animation-play-state:paused}
@keyframes tq-scroll{from{transform:translateX(0)}to{transform:translateX(-50%)}}
.tq-card{flex:0 0 300px;margin:0 16px 0 0;background:#fff;border-radius:16px;padding:20px 20px 18px;box-shadow:0 4px 16px rgba(0,0,0,.07);border-top:4px solid var(--gold,#f0a500);display:flex;flex-direction:column;gap:10px}
.tq-stars{color:#b7791f;letter-spacing:2px;font-size:15px}
.tq-card blockquote{margin:0;font-size:14.5px;line-height:1.7;color:#334;display:-webkit-box;-webkit-line-clamp:4;-webkit-box-orient:vertical;overflow:hidden}
.tq-user{display:flex;align-items:center;gap:10px;margin-top:auto;padding-top:8px}
.tq-user strong{display:block;font-size:14.5px}
.tq-user small{color:var(--text-muted,#5b665b);font-size:12px}
.tq-av{flex:0 0 40px;width:40px;height:40px;border-radius:50%;overflow:hidden;background:var(--green-pale,#e8f3e6);display:grid;place-items:center;font-weight:700;color:var(--green-dark,#173d1f)}
.tq-av img{width:100%;height:100%;object-fit:cover}
@media (max-width:760px){.tq-card{flex-basis:260px}}
@media (prefers-reduced-motion:reduce){.tq-track{animation:none}.tq-wrap{overflow-x:auto}}

/* ---------- হোমপেজ: ক্যাটাগরি এক লাইনে ---------- */
.sn-catline{background:#fff;padding:20px 0 4px}
.sn-catline-in{display:flex;align-items:center;gap:14px}
.sn-catline-t{flex:0 0 auto;margin:0;font-size:16px;font-weight:800;color:var(--green-dark,#173d1f)}
.sn-chips{display:flex;gap:8px;overflow-x:auto;scrollbar-width:none;padding:4px 2px;flex:1 1 auto;min-width:0}
.sn-chips::-webkit-scrollbar{display:none}
.sn-chip{flex:0 0 auto;display:inline-flex;align-items:center;gap:6px;padding:8px 14px;border-radius:999px;background:var(--green-pale,#e8f3e6);border:1px solid #d3e5cf;color:var(--green-dark,#173d1f);font-weight:700;font-size:13.5px;text-decoration:none;white-space:nowrap;transition:.2s}
.sn-chip .ic{width:16px;height:16px;margin:0}
.sn-chip:hover{background:var(--gold,#f0a500);border-color:var(--gold,#f0a500);color:#3a2500}
.sn-chip.all{background:var(--green-dark,#173d1f);border-color:var(--green-dark,#173d1f);color:#fff}
@media (max-width:860px){.sn-catline-in{flex-direction:column;align-items:flex-start;gap:6px}.sn-chips{width:100%}}

/* ---------- অযাচিত ফাঁকা জায়গা কমানো ---------- */
.section-pad{padding:42px 0}
@media (max-width:760px){.section-pad{padding:30px 0}}

/* ---------- ফুটার: গোছানো ---------- */
@media (min-width:1001px){.footer-grid{grid-template-columns:1.6fr 1fr 1fr 1.5fr;gap:28px 40px}}
.footer-brand h4{font-size:16px;line-height:1.55;margin:0 0 8px}
.footer-contact li{display:flex;gap:8px;align-items:flex-start;line-height:1.6}
.footer-contact .ic{flex:0 0 18px;width:18px;height:18px;margin-top:3px;color:var(--gold,#f0a500)}
.footer-contact a{color:inherit}
.footer-contact a:hover{color:var(--gold,#f0a500)}
.footer-nav{display:flex;flex-wrap:wrap;justify-content:center;gap:6px 20px;padding:16px 0;border-bottom:1px solid rgba(255,255,255,.08)}
.footer-nav a{color:#a9c2a6;font-size:13.5px;text-decoration:none}
.footer-nav a:hover{color:var(--gold,#f0a500)}
