@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&display=swap');

:root{--primary:#e10613;--primary-dark:#b4040f;--primary-soft:#fff1f3;--dark:#111111;--muted:#4b4b4b;--bg:#ffffff;--card:#ffffff;--stroke:#e6e6e6}
*{box-sizing:border-box}
body{margin:0;font-family:'Quicksand',Arial,sans-serif;background:var(--bg);color:var(--dark)}
a{text-decoration:none;color:inherit}
.container{width:min(1180px,92%);margin:auto}

.nav{position:sticky;top:0;background:rgba(255,255,255,.9);backdrop-filter:blur(10px);border-bottom:1px solid rgba(225,6,19,.12);z-index:20}
.navin{display:flex;align-items:center;justify-content:space-between;padding:10px 0;min-height:64px}
.logo{font-weight:900;letter-spacing:.4px;font-size:22px}
.menu{display:flex;align-items:center;gap:20px}
.menu>a,.menu-dd>a{font-weight:600;color:#1a1a1a;font-size:16px}
.menu>a:hover,.menu-dd>a:hover{color:var(--primary)}
.menu-dd{position:relative;display:flex;align-items:center}
.menu-dd>a{display:inline-flex;align-items:center}
.menu-toggle{display:none}
.mega-menu{position:absolute;top:100%;left:0;width:320px;background:#fff;border:1px solid #ededed;border-radius:12px;padding:8px;display:none;box-shadow:0 16px 36px rgba(17,17,17,.14);z-index:40;overflow:visible}
.menu-dd:hover .mega-menu,.menu-dd:focus-within .mega-menu{display:block}
.mega-brands{background:#fff;max-height:none;overflow:visible;display:flex;flex-direction:column;align-items:stretch}
.mega-item{position:relative}
.mega-brand-link{display:block;width:100%;padding:9px 12px;font-weight:600;color:#222;border-radius:8px;line-height:1.35;white-space:normal}
.mega-brand-link:hover{background:#fff1f3;color:var(--primary)}
.mega-models{display:none !important}
.mega-hint{display:none}

.hero{margin:20px 0;border:1px solid var(--stroke);border-radius:14px;overflow:hidden;display:grid;grid-template-columns:1.1fr .9fr;background:#fff}
.hero .left{padding:36px}
.hero h1{font-size:54px;line-height:1.05;margin:6px 0 10px}
.hero h1 span{color:var(--primary)}
.hero p{color:var(--muted);max-width:560px}
.hero .right{min-height:320px;background:linear-gradient(120deg,#1a1a1a,#3a3a3a)}
.home-hero{position:relative;overflow:hidden;border-radius:14px;min-height:500px;display:flex;align-items:center;margin:20px 0}
.home-hero-bg{position:absolute;inset:0;background:url('https://images.unsplash.com/photo-1486006920555-c77dcf18193c?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;transform:scale(1.02)}
.home-hero-overlay{position:absolute;inset:0;background:linear-gradient(90deg,rgba(0,0,0,.78) 0%,rgba(0,0,0,.45) 50%,rgba(0,0,0,.15) 100%)}
.home-hero-content{position:relative;z-index:2;padding:32px 40px;max-width:700px;color:#fff}
.home-hero-content h1{font-size:58px;line-height:1.04;margin:10px 0 12px;color:#fff}
.home-hero-content h1 span{color:#ff5f68}
.home-hero-content p{color:#f1f1f1;max-width:620px}
.tag{display:inline-block;background:var(--primary);color:#fff;padding:6px 10px;border-radius:6px;font-size:12px;font-weight:800}
.hero-actions{display:flex;gap:10px;margin-top:14px}
.btn{display:inline-block;background:var(--primary);color:#fff;padding:10px 14px;border-radius:8px;font-weight:700}
.btn:hover{background:var(--primary-dark)}
.btn.ghost{background:#fff;color:#1f2c28;border:1px solid #cfd3d2}

.sec{margin:28px 0}
.sec h2{font-size:28px;margin:0}
.sec-head{display:flex;align-items:center;justify-content:space-between;margin-bottom:12px}
.sec-head a{color:var(--primary);font-weight:700;font-size:14px}

.category-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.cat-card{background:#fff;border:1px solid var(--stroke);border-radius:12px;overflow:hidden}
.cat-card .thumb{height:210px;background:linear-gradient(120deg,#ffe3e7,#fff1f3)}
.cat-card .body{padding:12px}
.cat-card h3{margin:0 0 5px}
.cat-card p{margin:0;color:#5e726c}

.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px}
.card{background:#fff;border:1px solid var(--stroke);border-radius:12px;overflow:hidden}
.thumb{height:180px;background:linear-gradient(120deg,#ffe3e7,#fff1f3)}
.card .thumb{overflow:hidden}
.card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.card .body{background:#fff}
.body{padding:12px}
.body h3{margin:0 0 8px;font-size:16px}
.price{font-weight:800;color:var(--primary);margin:0}
.wa{display:inline-block;margin-top:8px;background:var(--primary);color:#fff;padding:7px 10px;border-radius:999px;font-weight:700;font-size:13px}
.wa:hover{background:var(--primary-dark)}

.split{display:grid;grid-template-columns:1fr 1fr;gap:14px}
.split-media{min-height:230px;background:linear-gradient(120deg,#ffe7eb,#fff5f7);border:1px solid var(--stroke);border-radius:12px}
.split-content{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:18px}
.split-content h2{margin:0 0 8px}
.split-content p{color:#5f726c}

.newsletter{margin:26px 0;background:var(--primary-soft);border:1px solid #ffc9cf;border-radius:12px;padding:16px;display:flex;justify-content:space-between;align-items:center;gap:12px}
.newsletter h3{margin:0 0 6px}
.newsletter p{margin:0;color:#6e6e6e}
.newsletter form{display:flex;gap:8px}
.newsletter input{height:38px;border:1px solid #ddd;border-radius:8px;padding:0 10px;min-width:220px}
.newsletter button{height:38px;background:var(--primary);color:#fff;border:0;border-radius:8px;padding:0 12px;font-weight:700}

.testimonials h2,.latest-blog h2{text-align:center;margin-bottom:14px}
.testimonial-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.t-card{background:#fff;border:1px solid var(--stroke);border-radius:12px;padding:14px}
.t-card p{margin:0 0 8px;color:#5d6f69}
.b-card{background:#fff;border:1px solid var(--stroke);border-radius:12px;overflow:hidden}
.b-card .thumb{height:180px;background:linear-gradient(120deg,#ffe9ed,#fff6f8);overflow:hidden}
.b-card .thumb img{width:100%;height:100%;object-fit:cover;display:block}
.b-card .body{padding:12px;background:#fff}
.b-card h3{margin:0 0 8px;font-size:16px;line-height:1.4;color:#111}
.b-card a{color:var(--primary);font-weight:700;font-size:14px}
.blog-preview-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}

.footer{margin-top:30px;padding:24px 0;border-top:1px solid var(--stroke);background:#fff}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1fr;gap:16px}
.footer h4{margin:0 0 8px}
.footer a{display:block;margin:4px 0;color:#415851}
.footer p{color:#667a74}

@media(max-width:980px){
  .hero{grid-template-columns:1fr}
  .hero h1{font-size:40px}
  .home-hero{min-height:420px}
  .home-hero-content{padding:28px}
  .home-hero-content h1{font-size:44px}
  .grid{grid-template-columns:repeat(2,1fr)}
  .category-grid{grid-template-columns:1fr}
  .split{grid-template-columns:1fr}
  .newsletter{flex-direction:column;align-items:flex-start}
  .footer-grid{grid-template-columns:1fr 1fr}
  .testimonial-grid,.blog-preview-grid{grid-template-columns:1fr 1fr}
  .mega-menu{width:min(760px,92vw)}
}
.cat-topbar{margin:18px 0 10px;background:#111;color:#fff;padding:10px 12px;border-radius:6px;font-weight:700;font-size:14px;border-left:4px solid var(--primary)}
.catalog-layout{display:grid;grid-template-columns:250px 1fr;gap:14px}
.catalog-sidebar{background:#fff;border:1px solid var(--stroke);border-radius:8px;overflow:hidden}
.catalog-sidebar h3{margin:0;background:#111;color:#fff;padding:10px 12px;font-size:14px;border-left:4px solid var(--primary)}
.brand-accordion details{border-bottom:1px solid #efefef}
.brand-accordion summary{list-style:none;padding:9px 12px;cursor:pointer;font-weight:700;color:#222;display:flex;align-items:center;justify-content:space-between}
.brand-accordion summary::-webkit-details-marker{display:none}
.brand-accordion details>a{display:block;padding:8px 14px 8px 22px;color:#2f4540;font-size:14px}
.brand-accordion details>a.active{color:var(--primary);font-weight:700;background:#fff3f5}
.left-link{display:block;padding:9px 12px;border-bottom:1px solid #efefef;color:#2f4540;font-size:14px}
.left-link.active{color:var(--primary);font-weight:700;background:#fff3f5}
.brand-accordion > details > summary{border-bottom:1px solid #efefef}
.brand-accordion > details > summary a{font-size:14px;font-weight:700;color:#222}
.brand-accordion > details[open] > summary a{color:var(--primary)}
.catalog-main{background:#fff;border:1px solid var(--stroke);border-radius:8px;padding:14px}
.catalog-head h1{margin:0 0 6px;font-size:34px}
.catalog-head p{margin:0;color:#60746e}
.catalog-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:6px;margin:12px 0 14px;border-top:1px solid #eee;border-bottom:1px solid #eee;padding:10px 0}
.catalog-filters a{font-size:13px;color:#333}
.catalog-filters a:hover{color:var(--primary)}
.catalog-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px}
.p-card{border:1px solid #eee;border-radius:8px;padding:8px;background:#fff}
.p-thumb{width:100%;height:200px;object-fit:cover;border-radius:6px;background:linear-gradient(120deg,#ffe3e7,#fff1f3)}
.p-thumb-link{display:block}
.p-title-link{color:inherit;text-decoration:none}
.p-title-link:hover{color:var(--primary)}
.p-card h3{font-size:14px;line-height:1.35;margin:8px 0 10px;min-height:40px}

@media(max-width:980px){
  .catalog-layout{grid-template-columns:1fr}
  .catalog-filters{grid-template-columns:repeat(2,1fr)}
  .catalog-grid{grid-template-columns:repeat(3,1fr)}
}
@media(max-width:620px){
  .grid{grid-template-columns:1fr}
  .home-hero{min-height:360px}
  .home-hero-content{padding:22px}
  .home-hero-content h1{font-size:34px}
  .navin{display:grid;grid-template-columns:1fr auto;align-items:center;gap:8px}
  .menu-toggle{display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--stroke);background:#fff;border-radius:8px;padding:7px 10px;font-size:18px;line-height:1}
  .menu{display:none;width:100%;grid-column:1 / -1;flex-direction:column;align-items:flex-start;gap:8px;padding-top:8px}
  .menu.open{display:flex}
  .menu>a,.menu-dd>a{font-size:14px}
  .testimonial-grid,.blog-preview-grid{grid-template-columns:1fr}
  .catalog-grid{grid-template-columns:repeat(2,1fr)}
  .mega-menu{position:static;display:none;min-width:auto;width:100%;box-shadow:none;border:1px solid #eee;margin-top:6px;min-height:auto}
  .menu-dd.open .mega-menu{display:block}
  .mega-brands{border-right:0;max-height:none}
  .mega-item{border-bottom:1px solid #efefef}
  .mega-models{display:none !important}
  .mega-hint{display:none}
}
.go-product-btn{display:inline-block;padding:8px 12px;border-radius:8px;background:var(--primary);color:#fff;font-weight:700;font-size:13px;text-decoration:none}
.go-product-btn:hover{opacity:.92}
.category-content-area{clear:both;display:block;margin:34px 0 28px;padding:22px;border:1px solid var(--stroke);border-radius:10px;background:#fff}
.category-content-area h2{margin:0 0 10px;font-size:20px}
.category-content-area p{margin:0;color:#546862;line-height:1.6}
.footer{margin-top:12px}

.breadcrumbs{display:flex;align-items:center;gap:8px;flex-wrap:wrap;font-size:13px;color:#6b7280;margin:14px 0 16px}.breadcrumbs a{color:#6b7280;text-decoration:none}.breadcrumbs a:hover{color:var(--primary)}.breadcrumbs span{line-height:1}

.brand-accordion{max-height:none;overflow:visible;padding-right:0}.brand-accordion details{margin:2px 0}.catalog-pager{margin:14px 0 4px;text-align:center}

.catalog-pager{display:flex;align-items:center;justify-content:center;gap:8px;flex-wrap:wrap;margin:16px 0 8px}
.pg-btn{border:1px solid var(--stroke);background:#fff;color:#1f2937;padding:7px 11px;border-radius:8px;font-weight:600;cursor:pointer}
.pg-btn:hover{border-color:var(--primary);color:var(--primary)}
.pg-btn.active{background:var(--primary);border-color:var(--primary);color:#fff}
.pg-btn:disabled{opacity:.45;cursor:not-allowed}
.pg-ellipsis{padding:0 2px;color:#6b7280;font-weight:700}

.site-top{position:sticky;top:0;z-index:50;background:#fff;border-bottom:1px solid #eee}.logo-wrap{display:flex;align-items:center;gap:8px;color:var(--primary);text-decoration:none;font-weight:800}.logo-text{letter-spacing:.4px}.menu{display:flex;align-items:center;gap:22px}.menu a{font-weight:700;color:#1a1a1a;text-decoration:none;font-size:16px}.menu a:hover{color:var(--primary)}@media(max-width:860px){.menu{gap:12px;flex-wrap:wrap}.menu a{font-size:14px}}


/* Global top menu fix */
.site-top{position:sticky;top:0;z-index:60;background:#fff;border-bottom:1px solid #ececec}
.site-top .navin{display:flex;align-items:center;justify-content:space-between;gap:20px;min-height:64px}
.logo-wrap{display:inline-flex;align-items:center;gap:10px;text-decoration:none;color:var(--primary)}
.logo-wrap img{height:52px !important;width:auto}
.logo-icon{display:inline-flex;align-items:center;justify-content:center;width:24px;height:24px;font-weight:800;color:var(--primary)}
.logo-text{font-size:24px;line-height:1;font-weight:900;letter-spacing:.2px;color:#111}
.menu{display:flex;align-items:center;gap:24px;flex-wrap:nowrap}
.menu a{display:inline-block;font-size:16px;line-height:1.2;font-weight:700;color:#1f2937;text-decoration:none}
.menu a:hover{color:var(--primary)}
@media (max-width: 960px){
  .site-top .navin{flex-direction:column;align-items:flex-start;padding:10px 0}
  .menu{gap:12px;flex-wrap:wrap}
  .menu a{font-size:14px}
  .logo-text{font-size:20px}
}

/* top menu hover layout fix */
.menu a{white-space:nowrap;padding:6px 0;border-bottom:2px solid transparent}
.menu a:hover{border-bottom-color:var(--primary)}


/* category layout stabilization */
main.container{width:min(1180px,92%);margin:0 auto}
.catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:16px;align-items:start}
.catalog-sidebar{width:260px;max-width:260px}
.catalog-main{min-width:0}
.catalog-filters{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px}
@media(max-width:980px){
  .catalog-layout{grid-template-columns:1fr}
  .catalog-sidebar{width:100%;max-width:none}
  .catalog-filters{grid-template-columns:repeat(2,minmax(0,1fr))}
}


.catalog-hero{margin:8px 0 14px;padding:22px;border:1px solid var(--stroke);border-radius:10px;background:linear-gradient(120deg,#fff7f8,#fff)}
.catalog-hero h1{margin:0 0 8px;font-size:34px}
.catalog-hero p{margin:0 0 12px;color:#4b5563}
.catalog-main .catalog-grid .p-card h3{min-height:auto}
.catalog-main .catalog-grid .p-card .wa{margin-top:4px}


.lightbox{position:fixed;inset:0;background:rgba(0,0,0,.82);display:none;align-items:center;justify-content:center;z-index:9999;padding:24px}.lightbox.open{display:flex}.lightbox img{max-width:min(1200px,92vw);max-height:88vh;border-radius:10px;box-shadow:0 10px 40px rgba(0,0,0,.45)}.lightbox-close{position:absolute;top:14px;right:18px;background:#fff;border:0;border-radius:8px;padding:8px 10px;font-weight:700;cursor:pointer}

.faq-sec h2{margin-bottom:12px}
.faq-list{display:grid;gap:8px}
.faq-list details{background:#fff;border:1px solid var(--stroke);border-radius:10px;padding:10px 12px}
.faq-list summary{cursor:pointer;font-weight:700;color:#1f2937;list-style:none}
.faq-list summary::-webkit-details-marker{display:none}
.faq-list p{margin:8px 0 2px;color:#4b5563;line-height:1.6}


.blog-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:22px;align-items:start;margin:0 0 28px}
.blog-detail-main{min-width:0}
.blog-sidebar{position:sticky;top:86px}
.blog-sidebar-card{background:#fff;border:1px solid var(--stroke);border-radius:10px;padding:16px}
.blog-sidebar-card h3{margin:0 0 10px;font-size:18px}
.sidebar-post-link{display:block;padding:10px 0;border-top:1px solid #ececec;color:#374151;font-weight:700;line-height:1.45}
.sidebar-post-link:first-of-type{border-top:0;padding-top:0}
.sidebar-post-link:last-of-type{padding-bottom:0}
.sidebar-post-link:hover,.sidebar-post-link.active{color:var(--primary)}
.blog-toc{margin:18px 0 20px;padding:16px;border:1px solid #f3c6cb;border-radius:10px;background:#fff6f7}
.blog-toc-title{font-size:18px;font-weight:800;color:#111;margin:0 0 10px}
.blog-toc-links{display:flex;flex-direction:column;gap:8px}
.blog-toc-links a{color:#344054;font-weight:700;line-height:1.45}
.blog-toc-links a:hover{color:var(--primary)}
.blog-toc-links .toc-subitem{padding-left:14px;font-weight:600;font-size:14px}
.category-content-area h1,.category-content-area h2,.category-content-area h3{margin-top:10px;margin-bottom:5px;scroll-margin-top:96px}
.category-content-area p{margin:0 0 14px;color:#546862;line-height:1.7}
@media(max-width:980px){.blog-detail-layout{grid-template-columns:1fr}.blog-sidebar{position:static}}
