/* ===== NovaSecure — Global Design System ===== */
:root {
  --accent:     #e5001a;
  --accent-h:   #c0001a;
  --accent-dim: rgba(229,0,26,.12);

  --bg:         #f0f2f5;
  --body-text:  #1a1a2a;
  --text:       #1a1a2a;
  --muted:      #6b7280;
  --muted2:     #9ca3af;

  --card:       #ffffff;
  --card-border:#e5e7eb;
  --border:     #e5e7eb;
  --card2:      #f9fafb;
  --surface:    #f3f4f6;

  --header-bg:  #0f1923;
  --header-text:#f2f2f2;
  --header-muted:rgba(242,242,242,.5);

  --success:    #16a34a;
  --warning:    #d97706;
  --info:       #2563eb;

  --radius:     10px;
  --radius-sm:  6px;
  --shadow:     0 1px 4px rgba(0,0,0,.08), 0 4px 16px rgba(0,0,0,.06);
  --shadow-md:  0 4px 20px rgba(0,0,0,.12);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--body-text);
  font-size: 14.5px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { display: block; max-width: 100%; }
button { cursor: pointer; font-family: inherit; }

/* ── HEADER ── */
.site-header {
  position: sticky; top: 0; z-index: 500;
  background: var(--header-bg);
}
.header-top {
  max-width: 1320px; margin: 0 auto;
  padding: 0 20px; height: 66px;
  display: flex; align-items: center; gap: 18px;
}
.logo {
  font-family: 'Outfit', sans-serif;
  font-size: 21px; font-weight: 800;
  color: var(--header-text);
  letter-spacing: -.5px; flex-shrink: 0;
}
.logo span { color: var(--accent); }

.search-bar {
  flex: 1; max-width: 480px;
  display: flex; align-items: center;
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; overflow: hidden;
  transition: border-color .2s, background .2s;
}
.search-bar:focus-within {
  background: rgba(255,255,255,.13);
  border-color: rgba(229,0,26,.5);
}
.search-bar input {
  flex: 1; background: transparent; border: none;
  color: var(--header-text); padding: 10px 14px;
  font-size: 14px; outline: none;
}
.search-bar input::placeholder { color: var(--header-muted); }
.search-bar button {
  background: var(--accent); border: none;
  color: #fff; padding: 10px 16px;
  display: flex; align-items: center;
  transition: background .2s;
}
.search-bar button:hover { background: var(--accent-h); }

.header-actions {
  display: flex; align-items: center; gap: 6px;
  margin-left: auto; flex-shrink: 0;
}
.icon-btn {
  display: flex; align-items: center; gap: 6px;
  color: var(--header-text); padding: 8px 14px;
  border-radius: 7px; font-size: 13px; font-weight: 500;
  transition: background .2s;
  border: 1px solid transparent;
}
.icon-btn:hover { background: rgba(255,255,255,.08); }
.cart-btn-h {
  display: flex; align-items: center; gap: 7px;
  background: var(--accent); color: #fff;
  padding: 9px 18px; border-radius: 7px;
  font-size: 13px; font-weight: 700;
  transition: background .2s; position: relative;
}
.cart-btn-h:hover { background: var(--accent-h); }
.cart-count {
  position: absolute; top: -6px; right: -6px;
  background: #fff; color: var(--accent);
  width: 18px; height: 18px; border-radius: 50%;
  font-size: 10px; font-weight: 800;
  display: none; align-items: center; justify-content: center;
}

/* category nav */
.cat-nav { background: #162130; border-bottom: 1px solid rgba(255,255,255,.06); }
.cat-nav-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 20px;
  display: flex; gap: 0; overflow-x: auto; scrollbar-width: none;
}
.cat-nav-inner::-webkit-scrollbar { display: none; }
.cat-nav-item {
  display: flex; align-items: center; gap: 6px;
  padding: 11px 15px; white-space: nowrap;
  font-size: 13px; font-weight: 500;
  color: rgba(255,255,255,.5);
  border-bottom: 2px solid transparent;
  transition: color .15s, border-color .15s;
}
.cat-nav-item:hover { color: rgba(255,255,255,.9); }
.cat-nav-item.active { color: #fff; border-bottom-color: var(--accent); }

/* ── TRUST BAR ── */
.trust-bar { background: #fff; border-bottom: 1px solid var(--card-border); }
.trust-bar-inner {
  max-width: 1320px; margin: 0 auto; padding: 10px 20px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 6px;
}
.trust-item {
  display: flex; align-items: center; gap: 7px;
  font-size: 12.5px; font-weight: 500; color: var(--muted);
}
.trust-item i { color: var(--success); }

/* ── BUTTONS ── */
.btn {
  display: inline-flex; align-items: center; gap: 7px;
  font-weight: 700; border-radius: 8px; border: none;
  font-family: inherit; transition: all .18s; cursor: pointer;
}
.btn-primary { background: var(--accent); color: #fff; padding: 12px 28px; font-size: 14px; }
.btn-primary:hover { background: var(--accent-h); }
.btn-secondary { background: var(--card2); color: var(--body-text); padding: 11px 22px; font-size: 14px; border: 1px solid var(--card-border); }
.btn-secondary:hover { background: #e9ecf0; }
.btn-outline { background: transparent; color: #fff; padding: 11px 22px; font-size: 14px; border: 1px solid rgba(255,255,255,.25); }
.btn-outline:hover { background: rgba(255,255,255,.1); }
.btn-sm { padding: 7px 16px; font-size: 12.5px; border-radius: 6px; }
.btn-lg { padding: 14px 36px; font-size: 15px; }

/* ── PRODUCT CARD ── */
.product-card {
  background: var(--card);
  border: 1px solid var(--card-border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.product-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.product-card:hover .product-img img { transform: scale(1.04); }

.product-img {
  height: 200px; background: #f8f9fc;
  position: relative; overflow: hidden;
  border-bottom: 1px solid var(--card-border);
}
.product-img img {
  width: 100%; height: 100%; object-fit: contain;
  padding: 20px; transition: transform .35s;
}
.product-badge {
  position: absolute; top: 10px; left: 10px;
  font-size: 10.5px; font-weight: 700; padding: 3px 8px;
  border-radius: 4px; letter-spacing: .03em;
}
.badge-sale { background: var(--accent); color: #fff; }
.badge-new  { background: var(--success); color: #fff; }
.badge-hot  { background: #ea580c; color: #fff; }

.product-body {
  padding: 14px 16px 18px; flex: 1; display: flex; flex-direction: column;
}
.product-brand {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.product-name {
  font-family: 'Outfit', sans-serif; font-size: 14.5px;
  font-weight: 700; line-height: 1.35; margin-bottom: 8px;
  color: var(--body-text);
}
.product-rating { display: flex; align-items: center; gap: 5px; margin-bottom: 8px; }
.stars { color: var(--warning); font-size: 12px; letter-spacing: .5px; }
.rating-count { font-size: 11.5px; color: var(--muted); }
.product-features { display: flex; flex-wrap: wrap; gap: 4px; margin-bottom: 12px; }
.feature-tag {
  font-size: 11px; background: #f0f2f5;
  border: 1px solid #e5e7eb; padding: 2px 6px;
  border-radius: 3px; color: var(--muted);
}
.product-footer {
  display: flex; align-items: center; justify-content: space-between;
  padding-top: 10px; border-top: 1px solid var(--card-border); margin-top: auto;
}
.price-old { font-size: 11.5px; color: var(--muted2); text-decoration: line-through; }
.price { font-family: 'Outfit', sans-serif; font-size: 20px; font-weight: 800; color: var(--body-text); }
.add-btn {
  display: flex; align-items: center; gap: 5px;
  background: var(--accent); color: #fff;
  padding: 8px 14px; border-radius: 6px;
  font-size: 12px; font-weight: 700; border: none;
  transition: background .18s;
}
.add-btn:hover { background: var(--accent-h); }

/* ── GRIDS ── */
.product-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.product-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }

/* ── SECTION ── */
.section { max-width: 1320px; margin: 0 auto; padding: 48px 20px; }
.section-sm { max-width: 1320px; margin: 0 auto; padding: 28px 20px; }
.section-header {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 24px; gap: 16px;
}
.section-title {
  font-family: 'Outfit', sans-serif;
  font-size: clamp(20px, 2.2vw, 26px); font-weight: 800; letter-spacing: -.3px;
}
.section-title span { color: var(--accent); }
.section-link {
  font-size: 13px; color: var(--accent); font-weight: 600;
  display: flex; align-items: center; gap: 3px; white-space: nowrap;
  transition: gap .15s;
}
.section-link:hover { gap: 7px; }

/* ── WHY CARDS ── */
.why-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); padding: 24px; box-shadow: var(--shadow);
}
.why-icon {
  width: 44px; height: 44px; border-radius: 10px;
  background: var(--accent-dim); display: flex;
  align-items: center; justify-content: center;
  color: var(--accent); margin-bottom: 14px;
}
.why-card h3 { font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700; margin-bottom: 6px; }
.why-card p  { font-size: 13px; color: var(--muted); line-height: 1.65; }

/* ── BLOG CARD ── */
.blog-card {
  background: var(--card); border: 1px solid var(--card-border);
  border-radius: var(--radius); overflow: hidden;
  box-shadow: var(--shadow); transition: transform .2s, box-shadow .2s;
  display: flex; flex-direction: column;
}
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-card img { height: 180px; object-fit: cover; width: 100%; }
.blog-body { padding: 18px 20px 22px; flex: 1; display: flex; flex-direction: column; }
.blog-tag {
  font-size: 10.5px; font-weight: 700; letter-spacing: .08em;
  text-transform: uppercase; color: var(--accent); margin-bottom: 8px;
}
.blog-title {
  font-family: 'Outfit', sans-serif; font-size: 16px; font-weight: 700;
  line-height: 1.35; margin-bottom: 8px; color: var(--body-text);
}
.blog-card:hover .blog-title { color: var(--accent); }
.blog-excerpt { font-size: 13px; color: var(--muted); line-height: 1.6; margin-bottom: 16px; flex: 1; }
.blog-meta { font-size: 12px; color: var(--muted2); display: flex; gap: 12px; margin-top: auto; }

/* ── FOOTER ── */
.site-footer { background: var(--header-bg); color: var(--header-text); margin-top: 0; }
.footer-inner {
  max-width: 1320px; margin: 0 auto; padding: 48px 20px 24px;
  display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 36px;
}
.footer-brand .logo { margin-bottom: 12px; }
.footer-brand p { font-size: 13px; color: var(--header-muted); line-height: 1.7; max-width: 240px; }
.contact-line {
  display: flex; align-items: center; gap: 7px;
  font-size: 13px; color: var(--header-muted); margin-top: 7px;
}
.contact-line i { color: var(--accent); flex-shrink: 0; }
.footer-col h4 {
  font-size: 10.5px; font-weight: 700; letter-spacing: .1em;
  text-transform: uppercase; color: rgba(255,255,255,.25); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 9px; }
.footer-col ul li a { font-size: 13.5px; color: rgba(255,255,255,.55); transition: color .15s; }
.footer-col ul li a:hover { color: #fff; }
.footer-bottom {
  max-width: 1320px; margin: 0 auto; padding: 16px 20px;
  border-top: 1px solid rgba(255,255,255,.07);
  display: flex; justify-content: space-between;
  font-size: 12px; color: rgba(255,255,255,.25); flex-wrap: wrap; gap: 6px;
}

/* ── LEGAL / STATIC PAGES ── */
.legal-page { background: var(--bg); }
.legal-page-inner { max-width: 860px; margin: 0 auto; padding: 48px 24px 80px; }
.legal-page h1 { font-family: 'Outfit', sans-serif; font-size: 32px; font-weight: 800; margin-bottom: 6px; letter-spacing: -.5px; }
.legal-page .updated,
.legal-page .legal-updated { font-size: 13px; color: var(--muted); margin-bottom: 32px; }
.legal-page h2 { font-family: 'Outfit', sans-serif; font-size: 18px; font-weight: 700; margin: 28px 0 10px; }
.legal-page h3 { font-family: 'Outfit', sans-serif; font-size: 15px; font-weight: 700; margin: 20px 0 8px; }
.legal-page p, .legal-page li { font-size: 14.5px; line-height: 1.75; color: var(--body-text); }
.legal-page ul, .legal-page ol { padding-left: 20px; margin: 8px 0 16px; }
.legal-page li { margin-bottom: 6px; }
.legal-page a { color: var(--accent); text-decoration: underline; }
.legal-page table { width: 100%; border-collapse: collapse; margin: 16px 0; font-size: 13.5px; }
.legal-page th { background: var(--surface); text-align: left; padding: 10px 14px; font-weight: 600; border: 1px solid var(--border); }
.legal-page td { padding: 10px 14px; border: 1px solid var(--border); vertical-align: top; }

/* ── CONTACT FORM ── */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13px; font-weight: 600; color: var(--muted); margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%; background: var(--card2); border: 1px solid var(--border);
  color: var(--text); padding: 12px 16px; border-radius: var(--radius-sm);
  font-size: 14px; font-family: inherit; outline: none; transition: border-color .2s;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { border-color: rgba(229,0,26,.4); }
.form-group textarea { resize: vertical; min-height: 130px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-check { display: flex; align-items: flex-start; gap: 10px; margin-bottom: 20px; }
.form-check input { margin-top: 3px; accent-color: var(--accent); flex-shrink: 0; }
.form-check label { font-size: 13px; color: var(--muted); line-height: 1.5; }
.form-check label a { color: var(--accent); text-decoration: underline; }

/* ── RESPONSIVE ── */
@media (max-width: 1100px) { .product-grid-4 { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 900px) {
  .product-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 24px; }
}
@media (max-width: 640px) {
  .header-top { height: auto; flex-wrap: wrap; padding: 10px 16px; gap: 8px; }
  .search-bar { order: 3; max-width: 100%; width: 100%; }
}
@media (max-width: 480px) {
  .product-grid-4, .product-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .footer-inner { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
}
