:root{
  --bg:#f6f7fb; --card:#fff; --text:#0f172a; --muted:#64748b;
  --line:#e6e8ef; --brand:#2563eb; --accent:#f97316;
  --radius:14px;
}

*{box-sizing:border-box}
body{
  margin:0;
  font-family: Arial, sans-serif;
  background:var(--bg);
  color:var(--text);
}

a{color:inherit; text-decoration:none}
.container{max-width:1200px; margin:0 auto; padding:16px}

.topbar{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.topbar .row{
  display:flex; gap:12px; align-items:center; justify-content:space-between;
  padding:10px 16px;
}
.topbar .phones{display:flex; gap:12px; flex-wrap:wrap; color:var(--muted); font-size:14px}
.topbar .phones a{color:var(--brand); font-weight:700}
.topbar .right{display:flex; gap:10px; align-items:center; color:var(--muted); font-size:14px}

.header{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.header .row{
  display:flex; gap:14px; align-items:center; padding:14px 16px;
}
/* .logo{
  display:flex; gap:10px; align-items:center;
  font-weight:900; font-size:22px;
}
.logo img{
  width:44px;
  height:auto;
  border-radius:0;
  object-fit:contain;
} */


.search{
  flex:1;
  display:flex; gap:8px;
}
.search input{
  flex:1; padding:11px 12px; border:1px solid var(--line); border-radius:12px;
}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid var(--line);
  background:#fff;
  cursor:pointer;
  font-weight:700;
}
.btn.primary{background:var(--brand); color:#fff; border-color:transparent}
.btn.accent{background:var(--accent); color:#fff; border-color:transparent}

.badge{
  display:inline-block; padding:4px 8px; border-radius:999px;
  background:#eef2ff; color:#3730a3; font-size:12px; font-weight:700;
}

.grid{
  display:grid;
  grid-template-columns:repeat(5, 1fr);
  gap:14px;
}
@media(max-width:1100px){ .grid{grid-template-columns:repeat(4, 1fr);} }
@media(max-width:900px){ .grid{grid-template-columns:repeat(3, 1fr);} }
@media(max-width:650px){ .grid{grid-template-columns:repeat(2, 1fr);} }

.card{
  background:var(--card);
  border:1px solid var(--line);
  border-radius:var(--radius);
  padding:12px;
  box-shadow:0 10px 22px rgba(0,0,0,.04);
}
.card .thumb{
  width:100%; height:170px; object-fit:contain;
  background:#fff;
  border-radius:12px;
  border:1px solid #f1f3f9;
}
.card .title{font-weight:800; margin:10px 0 6px; font-size:14px; min-height:36px}
.card .meta{color:var(--muted); font-size:13px; display:flex; justify-content:space-between; gap:10px}
.card .actions{margin-top:10px; display:flex; gap:8px; align-items:center}
.qty{
  display:inline-flex; align-items:center; border:1px solid var(--line); border-radius:12px; overflow:hidden;
}
.qty button{
  width:34px; height:34px; border:0; background:#fff; cursor:pointer; font-weight:900;
}
.qty input{
  width:44px; height:34px; border:0; text-align:center; outline:none;
}

.h1{font-size:22px; margin:16px 0}
.site-footer{
  margin-top: 36px;
  background: #f8fafc;
  border-top: 1px solid #e5e7eb;
}

.footer-wrap{
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 14px;
}

.footer-top{
  display: grid;
  grid-template-columns: 1.2fr .9fr .95fr .9fr .85fr;
  gap: 24px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e5e7eb;
}

.footer-col{
  min-width: 0;
}

.footer-brand{
  padding-right: 8px;
}

.footer-logo{
  display: flex;
  align-items: center;
  gap: 12px;
  color: #0f172a;
  margin-bottom: 12px;
}

.footer-logo img{
  width: 46px;
  height: 46px;
  object-fit: contain;
  border-radius: 10px;
  background: transparent;
  border: 0;
  padding: 0;
  flex: 0 0 46px;
}

.footer-logo-text{
  min-width: 0;
}

.footer-logo-title{
  font-size: 26px;
  line-height: 1;
  font-weight: 800;
  letter-spacing: -0.3px;
  color: #0f172a;
}

.footer-logo-sub{
  margin-top: 4px;
  font-size: 13px;
  color: #64748b;
  font-weight: 600;
}

.footer-about{
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 14px;
  max-width: 270px;
}

.footer-social-title{
  font-size: 13px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 10px;
}

.footer-social{
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.soc{
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 8px 12px;
  border-radius: 11px;
  background: #fff;
  border: 1px solid #e2e8f0;
  color: #0f172a;
  font-size: 13px;
  font-weight: 600;
  transition: all .2s ease;
}

.soc:hover{
  transform: translateY(-1px);
  border-color: #f97316;
  box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.soc-ico{
  font-size: 14px;
  line-height: 1;
}

.footer-head{
  font-size: 18px;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 12px;
  line-height: 1.2;
}

.footer-head-spaced{
  margin-top: 16px;
}

.footer-link{
  display: block;
  color: #1e293b;
  font-size: 13px;
  line-height: 1.65;
  margin-bottom: 5px;
  transition: color .2s ease;
}

.footer-link:hover{
  color: #f97316;
}

.footer-text{
  font-size: 13px;
  line-height: 1.65;
  color: #475569;
  margin-bottom: 3px;
}

.footer-btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 14px;
  min-height: 40px;
  padding: 0 16px;
  border-radius: 11px;
  border: 1px solid #cbd5e1;
  background: #fff;
  color: #0f172a;
  font-size: 13px;
  font-weight: 700;
  transition: all .2s ease;
}

.footer-btn:hover{
  border-color: #f97316;
  color: #f97316;
  box-shadow: 0 6px 18px rgba(249, 115, 22, 0.10);
}

.footer-bottom{
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding-top: 14px;
}

.footer-copy{
  font-size: 13px;
  color: #64748b;
}

.footer-bottom-links{
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.footer-bottom-links a{
  font-size: 13px;
  color: #64748b;
  transition: color .2s ease;
}

.footer-bottom-links a:hover{
  color: #f97316;
}

@media (max-width: 1100px){
  .footer-top{
    grid-template-columns: 1.2fr 1fr 1fr;
    gap: 22px;
  }
}

@media (max-width: 820px){
  .footer-top{
    grid-template-columns: 1fr 1fr;
    gap: 22px;
  }

  .footer-logo-title{
    font-size: 24px;
  }

  .footer-bottom{
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 560px){
  .footer-wrap{
    padding: 22px 14px 14px;
  }

  .footer-top{
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-logo img{
    width: 46px;
    height: 46px;
    flex-basis: 46px;
  }

  .footer-logo-title{
    font-size: 22px;
  }

  .footer-head{
    font-size: 17px;
    margin-bottom: 8px;
  }

  .soc{
    width: 100%;
    justify-content: flex-start;
  }

  .footer-bottom-links{
    gap: 10px;
  }
}




