/* NexView - components: header, footer, hero, sections, cards, buttons
   (ported from the original NexView homepage and extended for the multi-page site) */

/* ---- Header / nav ---- */
.nav{ display:flex; align-items:center; justify-content:space-between; padding:0 40px; height:64px;
  background:#fff; border-bottom:1px solid var(--line); position:sticky; top:0; z-index:100; }
.nav-logo img{ height:30px; width:auto; object-fit:contain; display:block; }
.nav-links{ display:flex; align-items:center; gap:26px; }
.nav-links a{ font-size:14px; color:#4b5563; font-weight:500; }
.nav-links a:hover,.nav-links a.active{ color:var(--blue); }
.nav-wa{ background:var(--blue); color:#fff !important; border-radius:8px; padding:9px 18px;
  font-size:13px; font-weight:600; display:inline-flex; align-items:center; gap:7px; }
.nav-wa:hover{ background:var(--blue-700); }
.nav-toggle{ display:none; background:none; border:none; font-size:24px; color:var(--ink); cursor:pointer; }

/* ---- Buttons (marketing) ---- */
.btn-primary{ background:var(--blue); color:#fff; border:none; border-radius:9px; padding:14px 28px;
  font-size:15px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:background .15s; }
.btn-primary:hover{ background:var(--blue-700); }
.btn-secondary{ background:var(--green); color:#fff; border:none; border-radius:9px; padding:14px 28px;
  font-size:15px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:8px; transition:background .15s; }
.btn-secondary:hover{ background:var(--green-700); }
.btn-order{ background:var(--green); color:#fff; border:none; border-radius:8px; padding:9px 16px;
  font-size:13px; font-weight:600; cursor:pointer; display:inline-flex; align-items:center; gap:6px; transition:background .15s; }
.btn-order:hover{ background:var(--green-700); }

/* ---- Hero ---- */
.hero{ position:relative; background-size:cover; background-position:center; min-height:480px;
  display:flex; align-items:center; border-bottom:1px solid var(--line); background-color:#e8eef9; }
.hero::before{ content:''; position:absolute; inset:0;
  background:linear-gradient(90deg,rgba(255,255,255,.97) 0%,rgba(255,255,255,.85) 45%,rgba(255,255,255,.3) 100%); }
.hero-text{ position:relative; z-index:1; max-width:var(--maxw); margin:0 auto; width:100%; padding:64px 40px; }
.hero-eyebrow{ display:inline-block; background:var(--blue-50); color:var(--blue); font-size:12px;
  font-weight:600; padding:5px 16px; border-radius:20px; margin-bottom:22px; border:1px solid var(--blue-200);
  letter-spacing:.04em; text-transform:uppercase; }
.hero h1{ font-size:52px; line-height:1.15; margin-bottom:18px; letter-spacing:-1px; }
.hero h1 span{ color:var(--blue); }
.hero p{ font-size:17px; color:var(--text); max-width:480px; margin:0 0 36px; line-height:1.75; }
.hero-btns{ display:flex; gap:14px; flex-wrap:wrap; }

/* ---- Trust bar ---- */
.trust-bar{ background:#f1f5ff; border-bottom:1px solid var(--blue-100); padding:16px 40px;
  display:flex; justify-content:center; gap:48px; flex-wrap:wrap; }
.trust-item{ display:flex; align-items:center; gap:9px; font-size:13px; color:var(--text); font-weight:500; }
.trust-item i{ color:var(--blue); font-size:17px; }

/* ---- Sections ---- */
.section{ padding:64px 40px; max-width:var(--maxw); margin:0 auto; width:100%; }
.section--soft{ background:var(--bg); }
.section-header{ margin-bottom:36px; }
.section-header .eyebrow{ font-size:12px; font-weight:700; color:var(--blue); text-transform:uppercase;
  letter-spacing:.08em; margin-bottom:8px; }
.section-header h2{ font-size:32px; letter-spacing:-.5px; }
.section-header p{ font-size:15px; color:var(--muted); margin-top:6px; }
.prod-section{ background:var(--bg); }
.prod-section .section-header,.prod-section .prod-grid{ max-width:var(--maxw); margin-left:auto; margin-right:auto; }

/* ---- Category cards ---- */
.cat-grid{ display:grid; grid-template-columns:repeat(3,1fr); gap:16px; }
.cat-card{ background:#fff; border:1px solid var(--line); border-radius:16px; padding:32px 20px;
  text-align:center; cursor:pointer; transition:border-color .2s, box-shadow .2s, transform .2s; display:block; }
.cat-card:hover{ border-color:var(--blue); box-shadow:var(--shadow); transform:translateY(-2px); }
.cat-icon-wrap{ width:64px; height:64px; background:var(--blue-50); border-radius:16px; display:flex;
  align-items:center; justify-content:center; margin:0 auto 16px; }
.cat-icon-wrap i{ font-size:28px; color:var(--blue); }
.cat-name{ font-size:15px; font-weight:700; color:var(--ink-2); margin-bottom:4px; }
.cat-sub{ font-size:13px; color:var(--muted-2); }

/* ---- Product cards ---- */
.prod-grid{ display:grid; grid-template-columns:repeat(auto-fit,minmax(220px,1fr)); gap:18px; }
.prod-card{ background:#fff; border:1px solid var(--line); border-radius:16px; overflow:hidden;
  transition:box-shadow .2s, transform .2s; display:flex; flex-direction:column; }
.prod-card:hover{ box-shadow:var(--shadow-lg); transform:translateY(-2px); }
.prod-card a.prod-img,.prod-card .prod-img{ background:#f3f6fb; height:200px; display:block; position:relative; overflow:hidden; }
.prod-img img{ width:100%; height:100%; object-fit:cover; transition:transform .35s; }
.prod-card:hover .prod-img img{ transform:scale(1.04); }
.prod-badge{ position:absolute; top:12px; left:12px; font-size:11px; padding:4px 12px; border-radius:20px;
  font-weight:700; background:var(--blue-100); color:#1e40af; }
.badge-green{ background:#dcfce7; color:#166534; }
.badge-blue{ background:#dbeafe; color:#1e40af; }
.badge-amber{ background:#fef3c7; color:#92400e; }
.prod-info{ padding:18px; display:flex; flex-direction:column; flex:1; }
.prod-name{ font-size:15px; font-weight:700; color:var(--ink-2); margin-bottom:4px; }
.prod-name a:hover{ color:var(--blue); }
.prod-desc{ font-size:13px; color:var(--muted-2); margin-bottom:16px; line-height:1.5;
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden; }
.prod-footer{ display:flex; align-items:center; justify-content:space-between; margin-top:auto; gap:10px; }
.prod-price{ font-size:20px; font-weight:700; color:var(--blue); }
.prod-price span{ font-size:12px; font-weight:500; color:var(--muted-2); display:block; line-height:1; }

/* ---- COD band ---- */
.cod-section{ background:#fff; padding:64px 40px; }
.cod-inner{ max-width:var(--maxw); margin:0 auto; background:var(--bg-soft); border:1px solid var(--blue-100);
  border-radius:20px; padding:40px; display:flex; align-items:flex-start; gap:24px; }
.cod-icon-wrap{ width:64px; height:64px; background:var(--blue-50); border-radius:16px; display:flex;
  align-items:center; justify-content:center; flex-shrink:0; }
.cod-icon-wrap i{ font-size:28px; color:var(--blue); }
.cod-text h3{ font-size:22px; margin-bottom:8px; }
.cod-text p{ font-size:15px; color:var(--muted); line-height:1.7; }

/* ---- Dark contact band ---- */
.contact-section{ background:var(--dark); padding:64px 40px; text-align:center; }
.contact-section h2{ font-size:36px; color:#fff; margin-bottom:12px; letter-spacing:-.5px; }
.contact-section p{ font-size:16px; color:#94a3b8; margin-bottom:32px; }
.contact-btns{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }
.btn-wa-large{ background:var(--green); color:#fff; border-radius:10px; padding:15px 32px; font-size:15px;
  font-weight:700; display:inline-flex; align-items:center; gap:9px; }
.btn-wa-large:hover{ background:var(--green-700); }
.btn-mail-large{ background:var(--blue); color:#fff; border-radius:10px; padding:15px 32px; font-size:15px;
  font-weight:700; display:inline-flex; align-items:center; gap:9px; }
.btn-mail-large:hover{ background:var(--blue-700); }

/* ---- Footer ---- */
.footer{ background:#fff; border-top:1px solid var(--line); margin-top:auto; }
.footer-inner{ max-width:var(--maxw); margin:0 auto; padding:44px 40px 24px; display:grid;
  grid-template-columns:1.5fr 1fr 1.2fr; gap:32px; }
.footer-brand img{ height:26px; margin-bottom:12px; }
.footer-brand p{ font-size:13px; color:var(--muted-2); max-width:280px; }
.footer-links{ display:flex; flex-direction:column; gap:8px; }
.footer-links a{ font-size:14px; color:var(--text); }
.footer-links a:hover{ color:var(--blue); }
.footer-contact{ display:flex; flex-direction:column; gap:8px; }
.footer-contact a{ font-size:14px; color:var(--text); display:flex; align-items:center; gap:8px; }
.footer-contact a:hover{ color:var(--blue); }
.footer-bottom{ border-top:1px solid var(--line); text-align:center; padding:18px; font-size:13px; color:var(--muted-2); }

/* ---- Breadcrumb ---- */
.breadcrumb{ max-width:var(--maxw); margin:0 auto; padding:20px 40px 0; font-size:13px; color:var(--muted); }
.breadcrumb a:hover{ color:var(--blue); }

/* ---- Shop toolbar (filters + search) ---- */
.shop-toolbar{ display:flex; align-items:center; justify-content:space-between; gap:16px; flex-wrap:wrap; margin-bottom:28px; }
.filter-tabs{ display:flex; gap:8px; flex-wrap:wrap; }
.filter-tab{ background:#fff; border:1px solid var(--line); border-radius:24px; padding:8px 18px;
  font-size:13px; font-weight:600; color:var(--text); cursor:pointer; transition:all .15s; }
.filter-tab:hover{ border-color:var(--blue); color:var(--blue); }
.filter-tab.active{ background:var(--blue); border-color:var(--blue); color:#fff; }
.search-box{ position:relative; }
.search-box i{ position:absolute; left:14px; top:50%; transform:translateY(-50%); color:var(--muted-2); font-size:18px; }
.search-box input{ border:1px solid var(--line); border-radius:24px; padding:10px 18px 10px 40px;
  font-size:14px; font-family:var(--font); min-width:240px; outline:none; }
.search-box input:focus{ border-color:var(--blue); }

/* ---- Responsive ---- */
@media (max-width:768px){
  .nav{ padding:0 20px; }
  .nav-toggle{ display:block; }
  .nav-links{ position:absolute; top:64px; left:0; right:0; flex-direction:column; align-items:stretch;
    gap:4px; background:#fff; border-bottom:1px solid var(--line); padding:14px 20px; box-shadow:var(--shadow-lg); display:none; }
  .nav-links.open{ display:flex; }
  .nav-wa{ justify-content:center; margin-top:6px; }
  .hero{ min-height:380px; }
  .hero::before{ background:linear-gradient(180deg,rgba(255,255,255,.55) 0%,rgba(255,255,255,.97) 65%); }
  .hero-text{ padding:24px 20px 40px; display:flex; flex-direction:column; justify-content:flex-end; min-height:380px; }
  .hero h1{ font-size:34px; }
  .trust-bar{ padding:14px 20px; gap:20px; }
  .section,.prod-section,.cod-section,.contact-section{ padding:48px 20px; }
  .cat-grid{ grid-template-columns:1fr 1fr; }
  .cod-inner{ flex-direction:column; }
  .footer-inner{ grid-template-columns:1fr; gap:24px; padding:36px 20px 20px; }
  .shop-toolbar{ flex-direction:column; align-items:stretch; }
  .search-box input{ width:100%; }
}
