﻿
:root{
  --em-bg:#f4f7fb;
  --em-text:#0f172a;
  --em-muted:#667085;
  --em-blue:#0b3a70;
  --em-blue2:#1767d8;
  --em-cyan:#38c7b6;
  --em-border:#dbe4f0;
  --em-card:#ffffff;
  --em-shadow:0 18px 45px rgba(15,23,42,.08);
  --em-radius:22px;
}
*{box-sizing:border-box}
body{
  margin:0;
  background:var(--em-bg);
  color:var(--em-text);
  font-family:Inter,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;
  font-size:16px;
  line-height:1.55;
}
a{color:#1155cc}
a:hover{text-decoration:none;color:#0b3a70}
.em-navbar{
  background:linear-gradient(90deg,#0b2547,#15488f,#2367d1);
  min-height:74px;
  box-shadow:0 10px 25px rgba(11,37,71,.18);
}
.em-brand{
  display:flex;
  align-items:center;
  gap:12px;
  font-weight:900;
  letter-spacing:-.03em;
  white-space:nowrap;
}
.em-brand-mark{
  width:42px;height:42px;border-radius:15px;
  display:inline-flex;align-items:center;justify-content:center;
  background:rgba(255,255,255,.15);
  border:1px solid rgba(255,255,255,.25);
}
.em-navbar .nav-link{
  color:rgba(255,255,255,.86)!important;
  font-weight:800;
  padding:.65rem .9rem!important;
}
.em-navbar .nav-link:hover{color:#fff!important}
.em-search{max-width:520px;width:36vw;min-width:280px}
.em-search .form-control{
  border:0;border-radius:999px 0 0 999px!important;
  height:46px;
}
.em-search .btn{
  border-radius:0 999px 999px 0!important;
  background:var(--em-cyan);
  color:#fff;
  border:0;
  width:56px;
}
.em-shell{
  max-width:1760px;
  padding-top:24px;
}
.em-sidebar{
  background:#fff;
  border:1px solid var(--em-border);
  border-radius:22px;
  box-shadow:var(--em-shadow);
  overflow:hidden;
}
.em-sidebar-header{
  padding:18px 20px;
  border-bottom:1px solid var(--em-border);
}
.em-sidebar-title{
  margin:0;
  color:#667085;
  font-size:.92rem;
  font-weight:900;
  letter-spacing:.09em;
  text-transform:uppercase;
}
.em-category-list{
  max-height:none!important;
  overflow:visible!important;
  padding:8px 0 14px;
}
.em-category-list .list-group-item{
  border:0;
  border-radius:0;
  display:flex;
  justify-content:space-between;
  align-items:flex-start;
  gap:10px;
  padding:10px 18px 10px 24px;
  background:#fff;
  color:#334155;
  font-weight:500;
  line-height:1.35;
}
.em-category-list .list-group-item:hover{
  background:#f1f6ff;
  color:#0b3a70;
}
.em-category-list .list-group-item-bold{
  color:#0f172a;
  font-weight:900;
  padding-top:14px;
}
.em-category-count{
  flex:0 0 auto;
  min-width:38px;
  text-align:center;
  border-radius:999px;
  padding:2px 8px;
  background:#eef2f7;
  color:#64748b;
  font-size:.82rem;
  font-weight:900;
}
.em-content{min-width:0}
.em-hero{
  position:relative;
  overflow:hidden;
  border-radius:28px;
  background:linear-gradient(135deg,#082a55,#1454a4 58%,#1874e7);
  color:#fff;
  padding:44px 44px 38px;
  box-shadow:var(--em-shadow);
  min-height:250px;
}
.em-hero:after{
  content:"";
  position:absolute;
  right:-70px;top:-90px;
  width:330px;height:330px;
  border-radius:999px;
  background:rgba(255,255,255,.09);
}
.em-section-label{
  display:inline-flex;
  align-items:center;
  gap:8px;
  font-size:.86rem;
  font-weight:900;
  text-transform:uppercase;
  letter-spacing:.08em;
  color:#e6efff;
}
.em-hero h1{
  position:relative;
  z-index:1;
  max-width:980px;
  margin:14px 0 14px;
  font-size:clamp(2rem,4vw,4.15rem);
  line-height:.98;
  letter-spacing:-.07em;
  font-weight:950;
}
.em-hero p{
  position:relative;
  z-index:1;
  max-width:970px;
  margin:0 0 24px;
  color:#e7f0ff;
  font-size:1.13rem;
}
.em-hero-actions{position:relative;z-index:1;display:flex;gap:12px;flex-wrap:wrap}
.em-pill-btn{
  border-radius:14px;
  font-weight:900;
  padding:.75rem 1.25rem;
}
.em-btn-white{background:#fff;color:#0b3a70;border:0}
.em-btn-outline-white{border:1px solid rgba(255,255,255,.55);color:#fff;background:rgba(255,255,255,.08)}
.em-btn-outline-white:hover{background:#fff;color:#0b3a70}
.em-intro{
  background:#fff;
  border:1px solid var(--em-border);
  border-radius:20px;
  padding:20px 24px;
  margin:22px 0;
  box-shadow:0 10px 30px rgba(15,23,42,.05);
}
.em-intro h2{
  margin:0 0 6px;
  font-size:1.22rem;
  font-weight:950;
  letter-spacing:-.03em;
}
.em-intro p{
  margin:0;
  color:#5b6678;
}
.em-shop-grid{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:18px;
}
.em-shop-card{
  display:grid;
  grid-template-columns:190px minmax(0,1fr);
  gap:18px;
  background:#fff;
  border:1px solid var(--em-border);
  border-radius:22px;
  padding:16px;
  box-shadow:0 12px 28px rgba(15,23,42,.06);
  min-height:180px;
  transition:transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}
.em-shop-card:hover{
  transform:translateY(-2px);
  box-shadow:0 20px 45px rgba(15,23,42,.10);
  border-color:#bdd2f4;
}
.em-shop-thumb{
  display:block;
  overflow:hidden;
  border-radius:18px;
  background:#eef4fb;
  border:1px solid #dde8f5;
  height:146px;
  position:relative;
}
.em-shop-thumb img{
  width:100%;
  height:100%;
  object-fit:cover;
  display:block;
  transition:transform .25s ease;
}
.em-shop-card:hover .em-shop-thumb img{transform:scale(1.03)}
.em-shop-title{
  font-size:1.18rem;
  font-weight:950;
  letter-spacing:-.025em;
  line-height:1.2;
  margin:2px 0 8px;
}
.em-shop-title a{color:#0f172a;text-decoration:underline;text-decoration-thickness:1px;text-underline-offset:3px}
.em-shop-desc{
  color:#667085;
  font-size:.96rem;
  line-height:1.45;
  display:-webkit-box;
  -webkit-line-clamp:3;
  -webkit-box-orient:vertical;
  overflow:hidden;
}
.em-shop-actions{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  flex-wrap:wrap;
  margin-top:18px;
}
.em-chip{
  display:inline-flex;
  align-items:center;
  gap:5px;
  border-radius:999px;
  padding:6px 11px;
  background:#eaf2ff;
  color:#0b4da2;
  font-size:.83rem;
  font-weight:900;
}
.em-shop-btn{
  border-radius:999px;
  font-weight:900;
  padding:.55rem 1rem;
}
.em-pagination-wrap{
  padding:24px 0 8px;
  text-align:center;
}
.em-pagination-wrap .btn{
  border-radius:12px;
  margin:3px;
  font-weight:800;
}
.em-category-mobile{
  display:none;
}
.footer{
  background:#fff;
  border-top:1px solid var(--em-border);
  color:#667085;
}
@media (max-width:1399px){
  .em-shop-grid{grid-template-columns:1fr}
}
@media (max-width:991.98px){
  .em-shell{padding-top:16px}
  .em-search{width:100%;max-width:none;margin-top:12px}
  .em-category-mobile{display:block;margin-bottom:16px}
  .em-hero{padding:32px 24px}
}
@media (max-width:575.98px){
  .em-shop-card{grid-template-columns:1fr}
  .em-shop-thumb{height:190px}
  .em-hero h1{font-size:2.35rem}
  .em-hero p{font-size:1rem}
}

/* detail compatibility */
.em-detail-hero,.em-detail-panel{
  background:#fff;
  border:1px solid var(--em-border);
  border-radius:24px;
  box-shadow:var(--em-shadow);
  padding:26px;
}
.em-detail-layout{display:grid;grid-template-columns:minmax(0,1fr) 420px;gap:26px;align-items:center}
.em-detail-main h1{font-size:clamp(2rem,4vw,4rem);font-weight:950;letter-spacing:-.07em}
.em-detail-domain{font-size:1.1rem;margin:12px 0 14px}
.em-browser-card{background:#fff;border:1px solid var(--em-border);border-radius:22px;overflow:hidden;box-shadow:var(--em-shadow)}
.em-browser-top{background:#111827;height:42px;display:flex;align-items:center;padding:0 14px;gap:8px}
.em-dot{width:11px;height:11px;border-radius:999px;background:#475569}
.em-browser-image{height:250px;background:#eef4fb;overflow:hidden}
.em-browser-image img{width:100%;height:100%;object-fit:cover;display:block}
@media (max-width:1199px){.em-detail-layout{grid-template-columns:1fr}.em-browser-image{height:320px}}
