/* Extracted page styles: Hardware.html (block 1) */
:root{--primary:#2563eb;--dark:#0f172a;--mid:#1e293b;--border:#e2e8f0;--transition:all .3s cubic-bezier(.4,0,.2,1)}
*{box-sizing:border-box;margin:0;padding:0}
html{scroll-behavior:smooth}
body{background:#f4f6f8;font-family:'Vazirmatn',sans-serif;color:#333;overflow-x:hidden}

.section-nav{display:flex;align-items:center;justify-content:center;flex-wrap:wrap;background:#01478d;padding:12px;gap:8px;position:sticky;top:0;z-index:99}
.section-nav a{text-decoration:none;color:#fff;font-weight:bold;padding:8px 14px;border-radius:6px;font-size:14px;transition:var(--transition)}
.section-nav a:hover{background:rgba(255,255,255,.15);transform:translateY(-2px)}

.section-title{text-align:center;margin:30px 0 6px;font-size:22px;color:#01478d}
.section-subtitle{text-align:center;color:#666;margin-bottom:6px;font-size:14px}
.section-desc{max-width:780px;margin:0 auto 20px;text-align:center;color:#475569;font-size:13.5px;line-height:2.1;padding:0 16px}
.container{display:grid;grid-template-columns:repeat(4,1fr);gap:16px;max-width:1300px;margin:0 auto 40px;padding:0 15px}
.container.single{grid-template-rows:minmax(240px,340px);justify-content:center}

.card{background:#fff;border-radius:14px;overflow:hidden;box-shadow:0 2px 12px rgba(0,0,0,.06);cursor:pointer;transition:.3s;border:1px solid var(--border);display:flex;flex-direction:column}
.card:hover{transform:translateY(-4px);box-shadow:0 10px 30px rgba(37,99,235,.15);border-color:#2563eb}
.card .cimg{width:100%;height:260px;background:#f8fafc;display:flex;align-items:center;justify-content:center;padding:30px;overflow:hidden}
.card .cimg img{max-width:100%;max-height:100%;object-fit:contain;transition:transform .5s cubic-bezier(.4,0,.2,1)}
.card:hover .cimg img{transform:scale(1.15)}
.card .cbody{padding:12px 14px;flex:1;display:flex;flex-direction:column;justify-content:space-between}
.card .cbody h3{font-size:14px;margin-bottom:6px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.card .cbtns{display:flex;gap:8px;margin-top:4px}
.card .cbtns button,.card .cbtns .cinf{flex:1;padding:8px;border-radius:8px;border:none;font:inherit;font-weight:700;font-size:12px;cursor:pointer;transition:.2s;display:flex;align-items:center;justify-content:center;text-align:center;text-decoration:none}
.card .cbtns .cpri{background:linear-gradient(135deg,#059669,#10b981);color:#fff}
.card .cbtns .cpri:hover{background:linear-gradient(135deg,#047857,#059669);box-shadow:0 4px 12px rgba(5,150,105,.3);transform:translateY(-1px)}
.card .cbtns .cinf{background:linear-gradient(135deg,#667eea,#764ba2);color:#fff}
.card .cbtns .cinf:hover{box-shadow:0 4px 12px rgba(102,126,234,.4);transform:translateY(-1px)}

.card-logo{text-align:center;padding:10px 0 12px;border-top:1px solid #f1f5f9;transition:var(--transition)}
.card-logo img{height:22px;width:auto;opacity:.55;transition:var(--transition)}
.card:hover .card-logo img{opacity:1;transform:scale(1.05)}

@media(max-width:1200px){.container{grid-template-columns:repeat(3,1fr)}}
@media(max-width:992px){.container{grid-template-columns:repeat(2,1fr)}}
@media(max-width:500px){
.container{grid-template-columns:repeat(2,1fr);gap:10px;padding:0 8px}
.container.single{grid-template-columns:minmax(160px,1fr);max-width:320px;margin-left:auto;margin-right:auto}
.card .cimg{height:180px;padding:15px}.card .cbody{padding:8px 10px}.card .cbody h3{font-size:12px}
.card .cbtns button,.card .cbtns .cinf{padding:6px 4px;font-size:11px}
.card-logo{padding:6px 0 8px}.card-logo img{height:18px}
}

.hero{text-align:center;padding:26px 16px 14px}
.hero h1{font-size:24px;color:#00247d;margin-bottom:8px}
.hero p{color:#64748b;font-size:14px;max-width:720px;margin:0 auto;line-height:2}
.scroll-top{position:fixed;bottom:25px;left:25px;width:46px;height:46px;background:#2563eb;color:#fff;border:none;border-radius:50%;font-size:20px;cursor:pointer;opacity:0;visibility:hidden;transition:.3s;z-index:998}
.scroll-top.visible{opacity:1;visibility:visible}


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-001 { color:#2563eb }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-002 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-003 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-004 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-005 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-006 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-007 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-008 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-009 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-010 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-011 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-012 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-013 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-014 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-015 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-016 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-017 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-018 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-019 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-020 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-021 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-022 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-023 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-024 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-025 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-026 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-027 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-028 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-029 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-030 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-031 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-032 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-033 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-034 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-035 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-036 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-037 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-038 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-039 { cursor:pointer }


/* Extracted inline style from Hardware.html */
#codex-extracted-style-c8b8e617-040 { cursor:pointer }

@media (max-width: 500px) {
  .container.single {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-template-rows: auto;
    width: 100%;
    max-width: 1300px;
    margin-left: auto;
    margin-right: auto;
  }
}

/* Remove the visible product-card boxes while keeping their content and grid. */
.card,
.card:hover {
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.card .cimg { background: transparent; }
.card .cbody { background: transparent; }
.card-logo { border-top: 0; }

/* Light blue outline without the heavy card treatment */
.card,
.card:hover {
  border: 1px solid #c7daf3;
  border-radius: 10px;
  background: transparent;
  box-shadow: none;
  transform: none;
}
.card:hover { border-color: #9dbce8; }

/* Visually blend white product-photo backgrounds into the page canvas. */
.card .cimg { background: transparent !important; }
.card .cimg img { mix-blend-mode: multiply; }




/* Keep the footer slot consistent so product buttons align; only HP cards show a logo. */
.card-logo-placeholder { visibility: hidden; }


/* Fixed-height logo slot keeps card action buttons aligned across each grid row. */
.card-logo { height: 46px; min-height: 46px; box-sizing: border-box; display: flex; align-items: center; justify-content: center; }
.card-logo img { display: block; }
.card-logo-placeholder { visibility: hidden; }
@media (max-width: 500px) { .card-logo { height: 36px; min-height: 36px; } }
