*{box-sizing:border-box}

html{
  scroll-behavior:smooth;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

body{
  margin:0;
  font-family:Inter,Arial,sans-serif;
  background:#fff;
  color:#171717;
  width:100%;
  max-width:100%;
  overflow-x:hidden;
}

a{color:inherit;text-decoration:none}
img{max-width:100%;display:block}

.app-strip{
  min-height:38px;
  background:linear-gradient(90deg,#f28a00,#d35400);
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  font-size:13px;
  font-weight:700;
  padding:7px 12px;
  text-align:center;
  flex-wrap:wrap;
}

.app-strip a{
  background:#202020;
  color:#fff;
  border-radius:18px;
  padding:7px 13px;
  font-size:12px;
  white-space:nowrap;
}

.topbar{
  background:#fff;
  border-bottom:1px solid #e9e9e9;
  position:sticky;
  top:0;
  z-index:30;
}

.topbar-inner{
  max-width:1180px;
  margin:0 auto;
  min-height:70px;
  padding:0 22px;
  display:flex;
  align-items:center;
  gap:22px;
}

.brand{
  display:flex;
  align-items:center;
  gap:8px;
  font-size:22px;
  font-weight:900;
  white-space:nowrap;
  min-width:0;
}

.brand-mark{font-size:24px}

.search{
  flex:1;
  height:46px;
  background:#f5f6f7;
  border:1px solid #ececec;
  border-radius:24px;
  display:flex;
  align-items:center;
  padding:0 14px;
  max-width:560px;
  min-width:0;
}

.search-ico{
  color:#777;
  font-size:19px;
  margin-right:8px;
  flex:0 0 auto;
}

.search input{
  border:0;
  outline:0;
  background:transparent;
  width:100%;
  min-width:0;
  height:100%;
  font-size:14px;
}

.search button{display:none}

.city-chip{
  height:40px;
  background:#f7f7f7;
  border-radius:22px;
  padding:0 12px;
  display:flex;
  align-items:center;
  gap:8px;
  font-size:13px;
  white-space:nowrap;
}

.city-chip small{
  background:#111;
  color:#fff;
  border-radius:12px;
  padding:4px 8px;
}

.nav{
  display:flex;
  gap:20px;
  font-size:14px;
  font-weight:700;
  color:#555;
  white-space:nowrap;
}

.page{
  max-width:1180px;
  margin:0 auto;
  padding:0 22px 80px;
  width:100%;
  min-width:0;
}

.category-nav{
  height:52px;
  display:flex;
  align-items:center;
  gap:28px;
  border-bottom:1px solid #eee;
  font-size:14px;
  color:#555;
  overflow-x:auto;
  overflow-y:hidden;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}

.category-nav::-webkit-scrollbar{display:none}

.category-nav a{
  white-space:nowrap;
  flex:0 0 auto;
}

.category-nav a.active{
  background:#111;
  color:#fff;
  border-radius:999px;
  padding:8px 12px;
}

.circle-rail{
  display:flex;
  gap:24px;
  overflow-x:auto;
  overflow-y:hidden;
  padding:28px 0 20px;
  -webkit-overflow-scrolling:touch;
  max-width:100%;
}

.circle-rail::-webkit-scrollbar{display:none}

.circle-store{
  min-width:88px;
  max-width:88px;
  text-align:center;
  flex:0 0 auto;
}

.circle-store span{
  width:78px;
  height:78px;
  margin:auto;
  border:2px solid #53a318;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  background:#fff;
  overflow:hidden;
}

.circle-store img{
  width:62px;
  height:62px;
  object-fit:contain;
  padding:8px;
}

.circle-store b{
  font-style:normal;
  color:#53a318;
}

.circle-store em{
  display:block;
  font-style:normal;
  font-size:13px;
  color:#555;
  margin-top:9px;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
}

.content-row{
  display:grid;
  grid-template-columns:minmax(0,1fr) 230px;
  gap:32px;
  min-width:0;
}

.main-content{min-width:0}

.section-title h1{
  font-size:34px;
  line-height:1.05;
  margin:16px 0 6px;
  letter-spacing:-.03em;
}

.section-title p{
  margin:0 0 20px;
  color:#777;
  font-size:16px;
}

.catalog-grid{
  display:grid;
  grid-template-columns:repeat(3,minmax(0,1fr));
  gap:28px 24px;
  min-width:0;
}

.catalog-card{
  display:block;
  min-width:0;
}

.cover{
  aspect-ratio:1/1.15;
  background:#f6f6f6;
  border-radius:15px;
  overflow:hidden;
  border:1px solid #eee;
}

.cover img{
  width:100%;
  height:100%;
  object-fit:cover;
}

.catalog-card h3{
  font-size:16px;
  line-height:1.25;
  margin:12px 0 5px;
  font-weight:900;
  overflow-wrap:anywhere;
}

.catalog-card p{
  font-size:12px;
  color:#777;
  margin:0 0 6px;
}

.catalog-card small{
  font-size:12px;
  color:#555;
  display:flex;
  align-items:center;
  gap:5px;
  min-width:0;
}

.catalog-card small i{
  width:12px;
  height:9px;
  border-radius:2px;
  background:#34b0a6;
  display:inline-block;
  flex:0 0 auto;
}

.side-ad{padding-top:160px}

.phone-card{
  position:sticky;
  top:96px;
  background:#df6b03;
  color:#fff;
  border-radius:18px;
  min-height:300px;
  padding:28px 24px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  text-align:center;
  overflow:hidden;
}

.phone-card:after{
  content:"";
  width:145px;
  height:170px;
  background:#fff;
  border-radius:22px;
  display:block;
  margin:20px auto -70px;
  box-shadow:0 10px 40px rgba(0,0,0,.18);
}

.phone-card b{
  font-size:20px;
  line-height:1.15;
}

.phone-card p{
  font-size:13px;
  color:#ffe2c7;
}

.phone-card a{
  background:#111;
  border-radius:20px;
  padding:10px 15px;
  font-size:13px;
  font-weight:900;
}

.tag-section{
  padding:58px 0 42px;
}

.tag-section h2,
.stores-block h2{
  font-size:27px;
  margin:0 0 18px;
  letter-spacing:-.02em;
}

.tag-cloud,
.mini-links{
  display:flex;
  gap:10px;
  flex-wrap:wrap;
  min-width:0;
}

.tag-cloud a{
  background:#f3f4f5;
  border-radius:4px;
  padding:9px 12px;
  font-size:13px;
  font-weight:800;
  overflow-wrap:anywhere;
}

.stores-block{
  background:#f6f6f6;
  padding:52px 22px;
  border-radius:0;
  margin-left:0;
  margin-right:0;
  width:100%;
  max-width:100%;
  overflow:hidden;
}

.store-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:20px 28px;
  min-width:0;
}

.store-card{
  height:94px;
  background:#fff;
  border:1px solid #ddd;
  border-radius:8px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  gap:10px;
  min-width:0;
  overflow:hidden;
  padding:8px;
}

.store-card img{
  max-width:96px;
  max-height:38px;
  object-fit:contain;
}

.store-card b{
  font-size:12px;
  text-align:center;
  overflow:hidden;
  text-overflow:ellipsis;
  white-space:nowrap;
  max-width:100%;
}

.store-initial{
  width:42px;
  height:42px;
  border-radius:50%;
  background:#f28a00;
  color:#fff;
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  flex:0 0 auto;
}

.bottom-lists{
  padding:70px 0 30px;
}

.bottom-lists h2{
  font-size:19px;
  margin:0 0 18px;
  letter-spacing:.02em;
}

.bottom-lists h2+div{
  margin-bottom:46px;
}

.mini-links a{
  font-size:13px;
  font-weight:800;
}

.country-grid{
  display:grid;
  grid-template-columns:repeat(6,minmax(0,1fr));
  gap:15px 30px;
  color:#555;
  font-size:14px;
  min-width:0;
}

.empty{
  grid-column:1/-1;
  background:#fff7ed;
  border:1px dashed #f59e0b;
  border-radius:14px;
  padding:25px;
  color:#92400e;
}

.site-footer{
  border-top:1px solid #eee;
  padding:55px 22px 28px;
  color:#777;
  width:100%;
  overflow:hidden;
}

.footer-inner{
  max-width:1180px;
  margin:0 auto 38px;
  display:flex;
  justify-content:space-between;
  gap:40px;
  min-width:0;
}

.footer-brand{
  font-size:22px;
  font-weight:900;
  color:#333;
}

.footer-links{
  display:grid;
  grid-template-columns:1fr;
  gap:10px;
  color:#666;
}

.site-footer small{
  display:block;
  text-align:center;
  font-size:12px;
}

.admin-card select{
  width:100%;
  padding:13px 14px;
  border:1px solid #ddd;
  border-radius:12px;
  background:#fff;
  margin:6px 0 14px;
  font:inherit;
}

.inline-form{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  gap:12px;
  align-items:end;
}

.inline-form label{
  grid-row:1;
  font-weight:800;
  font-size:13px;
  color:#555;
}

.inline-form input{grid-row:2}
.inline-form button{
  grid-row:2;
  white-space:nowrap;
}

.cat-list div{
  display:grid;
  grid-template-columns:minmax(0,1fr) minmax(0,1fr) auto;
  gap:10px;
  align-items:center;
  padding:12px 0;
  border-bottom:1px solid #eee;
}

.cat-list .danger{
  color:#b00020;
  font-weight:800;
  text-decoration:none;
}

@media(max-width:980px){
  .content-row{
    grid-template-columns:1fr;
  }

  .side-ad{
    display:none;
  }

  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .store-grid{
    grid-template-columns:repeat(3,minmax(0,1fr));
  }

  .city-chip,
  .nav{
    display:none;
  }

  .topbar-inner{
    min-height:auto;
    padding:14px 18px;
    flex-wrap:wrap;
    gap:12px;
  }

  .search{
    order:3;
    max-width:none;
    flex-basis:100%;
  }

  .category-nav{
    padding:0;
    margin:0;
  }
}

@media(max-width:560px){
  .app-strip{
    font-size:11px;
    min-height:auto;
    padding:8px 10px;
    gap:8px;
  }

  .page{
    padding:0 16px 50px;
  }

  .brand{
    font-size:20px;
    max-width:100%;
  }

  .topbar-inner{
    padding:12px 16px;
  }

  .catalog-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:22px 14px;
  }

  .catalog-card h3{
    font-size:14px;
  }

  .cover{
    border-radius:12px;
  }

  .store-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
    gap:14px;
  }

  .country-grid{
    grid-template-columns:repeat(2,minmax(0,1fr));
  }

  .section-title h1{
    font-size:28px;
  }

  .section-title p{
    font-size:14px;
  }

  .circle-rail{
    gap:15px;
  }

  .circle-store{
    min-width:78px;
    max-width:78px;
  }

  .circle-store span{
    width:70px;
    height:70px;
  }

  .circle-store img{
    width:56px;
    height:56px;
  }

  .stores-block{
    padding:38px 16px;
  }

  .footer-inner{
    display:block;
  }
}

@media(max-width:700px){
  .inline-form,
  .cat-list div{
    grid-template-columns:1fr;
  }

  .inline-form label,
  .inline-form input,
  .inline-form button{
    grid-row:auto;
  }
}